/*
 * Article styles for fadefinder.com
 * Used in style guide pages and barber resources
 */

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
}

.article-header .container-narrow {
    padding: 0 2rem;
}

.header {
    background: #111827;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.category-tag {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #f59e0b;
}

.article-title,
.style-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
}

/* Article Content */
.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.article-content p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #e5e7eb;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 3.5rem 0 1.25rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f59e0b;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
}

.article-content a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
}

.article-content a:hover {
    text-decoration: underline;
    color: #d97706;
}

.article-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #d1d5db;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #f59e0b;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #1e293b;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

/* Section Styles */
.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f59e0b;
}

.section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 1.5rem 0 0.75rem;
}

.section p {
    margin-bottom: 1rem;
    color: #d1d5db;
}

.section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #d1d5db;
}

.section li {
    margin-bottom: 0.5rem;
}

/* Back Link */
.back-link {
    margin: 2rem 0 1rem;
}

.back-link a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link a:hover {
    color: #d97706;
}

.badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.quick-facts {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #334155;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.fact {
    text-align: center;
}

.fact-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.fact-value {
    font-weight: 600;
    color: #ffffff;
}

/* Highlight Boxes */
.highlight {
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #f59e0b;
    margin: 1rem 0;
}

.key-stats {
    background: #1e293b;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.key-stats h4 {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* Style Cards */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.style-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.style-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

.style-card h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.style-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.style-card .badge {
    margin-top: 1rem;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
}

.article-content th,
.article-content td {
    padding: 0.75rem;
    border-bottom: 1px solid #334155;
    text-align: left;
}

.article-content th {
    background: #111827;
    font-weight: 600;
    color: #ffffff;
}

.article-content td {
    color: #d1d5db;
}

.article-content tr:last-child td {
    border-bottom: none;
}

/* Info Boxes */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    position: relative;
    padding-left: 3rem;
}

.info-box::before {
    content: 'ℹ';
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.2rem;
    color: #3b82f6;
    font-weight: bold;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    position: relative;
    padding-left: 3rem;
}

.warning-box::before {
    content: '⚠';
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.2rem;
    color: #f59e0b;
    font-weight: bold;
}

/* Celebrity Examples */
.celebrity-examples {
    background: #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #334155;
}

.celebrity-examples h3 {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.celebrity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.celebrity-item {
    text-align: center;
    padding: 1rem;
    background: #111827;
    border-radius: 8px;
    border: 1px solid #374151;
}

.celebrity-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.celebrity-note {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 3rem 0 2rem;
        margin-bottom: 2rem;
    }

    .article-header .container-narrow {
        padding: 0 1.25rem;
    }

    .article-title,
    .style-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .article-subtitle {
        font-size: 1.05rem;
    }

    .article-content {
        padding: 0 1.25rem 3rem;
    }

    .article-content p {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: 1.5rem;
    }

    .quick-facts {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .styles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin: 2.5rem 0 1rem 0;
    }

    .article-content h3 {
        font-size: 1.125rem;
        margin: 2rem 0 0.75rem 0;
    }

    .article-content table {
        font-size: 0.8rem;
    }

    .article-content th,
    .article-content td {
        padding: 0.5rem;
    }

    .key-stats {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .celebrity-list {
        grid-template-columns: 1fr;
    }
}