/* Article Page Styles */

/* ===== Article Hero ===== */
.article-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.article-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 60px;
}

.article-category {
    display: inline-block;
    background: var(--pink, #1e40af);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.article-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 30px;
    max-width: 900px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-title {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
}

.publish-date,
.read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== Article Body ===== */
.article-body {
    padding: 80px 0;
    background: var(--bg-primary, #f8fafc);
}

.article-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-lead {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--dark, #1a1a2e);
    margin-bottom: 40px;
    font-weight: 500;
}

.article-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-primary, #374151);
    margin-bottom: 28px;
}

.article-body h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark, #1a1a2e);
    margin-top: 56px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.article-body h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark, #1a1a2e);
    margin-top: 40px;
    margin-bottom: 16px;
}

/* Callout / Blockquote */
.article-callout {
    background: linear-gradient(135deg, var(--pink, #1e40af) 0%, #3b82f6 100%);
    border-radius: 12px;
    padding: 32px 36px;
    margin: 48px 0;
    position: relative;
}

.article-callout::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.article-callout p {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Article CTA */
.article-cta {
    background: var(--dark, #1a1a2e);
    border-radius: 16px;
    padding: 48px;
    margin-top: 60px;
    text-align: center;
}

.article-cta h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
}

.article-cta p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 28px 0;
}

.article-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--pink, #1e40af);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-cta .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* ===== Article Footer Section ===== */
.article-footer-section {
    padding: 40px 0 80px;
    background: var(--bg-primary, #f8fafc);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.article-tags .tag {
    background: white;
    color: var(--pink, #1e40af);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.share-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.linkedin:hover {
    background: #005885;
}

.share-btn.twitter {
    background: #000;
    color: white;
}

.share-btn.twitter:hover {
    background: #333;
}

.article-nav {
    display: flex;
    justify-content: center;
}

.article-nav .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--dark, #1a1a2e);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid var(--dark, #1a1a2e);
    transition: all 0.3s ease;
}

.article-nav .btn-secondary:hover {
    background: var(--dark, #1a1a2e);
    color: white;
}

/* ===== Footer Styles for Article Pages ===== */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--pink, #1e40af);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .article-hero {
        height: 60vh;
        min-height: 400px;
    }

    .article-hero-content {
        padding-bottom: 40px;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-body {
        padding: 50px 0;
    }

    .article-lead {
        font-size: 1.15rem;
    }

    .article-body p {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.4rem;
        margin-top: 40px;
    }

    .article-callout {
        padding: 24px;
    }

    .article-callout p {
        font-size: 1.1rem;
    }

    .article-cta {
        padding: 32px 24px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }
}
