/* Styling specific to the Article page */

.page-article {
    background-color: #ffffff;
    color: #111111;
}

.page-article .header {
    background: transparent;
}

.page-article .header a {
    color: #1a2f33;
}

.page-article .header a.btn-contact {
    color: #ffffff;
}

.page-article .header.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.article-main {
    padding-top: 150px; 
    padding-bottom: 0px; /* related-articles section follows immediately and has its own padding */
}

/* ARTICLE HERO */
.article-hero {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 40px;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-link svg {
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.back-link:hover {
    color: #1a2f33;
}

.back-link:hover svg {
    transform: rotate(180deg) translateX(4px);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    font-size: 15px;
}

.article-category {
    background-color: rgba(238, 27, 36, 0.1);
    color: #EE1B24;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.article-date {
    color: #6b7280;
    font-weight: 500;
}

.article-hero h1 {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    color: #1a2f33;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
}

.article-hero-img {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.article-hero-img img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* ARTICLE CONTENT */
.article-content {
    max-width: 800px;
    margin: 0 auto 100px auto;
    padding: 0 40px;
    font-size: 21px;
    line-height: 1.8;
    color: #4a5d60;
}

.article-content p {
    margin-bottom: 32px;
}

.article-content h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
    color: #1a2f33;
    letter-spacing: -0.5px;
    margin-top: 60px;
    margin-bottom: 24px;
}

.article-content blockquote {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.4;
    color: #1a2f33;
    border-left: 4px solid #EE1B24;
    padding-left: 32px;
    margin: 60px 0;
    font-style: italic;
}

.article-content ul {
    margin-bottom: 32px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 12px;
}


/* RELATED ARTICLES */
.related-articles {
    background-color: #f4f5f6;
    padding: 100px 60px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.related-header {
    max-width: 1400px;
    margin: 0 auto 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.related-header h2 {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -1px;
    color: #1a2f33;
}

.btn-all-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    background-color: transparent;
    color: #1a2f33;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-all-news:hover {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}

.related-grid {
    max-width: 1400px;
    margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .article-hero h1 {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 40px;
    }
    .article-main {
        padding-top: 120px;
    }
    .article-content {
        font-size: 18px;
        padding: 0 24px;
        margin-bottom: 60px;
    }
    .article-content blockquote {
        font-size: 22px;
        margin: 40px 0;
        padding-left: 20px;
    }
    .article-hero-img {
        padding: 0 20px;
        border-radius: 16px;
        margin-bottom: 40px;
    }
    .article-hero-img img {
        border-radius: 16px;
        max-height: 400px;
    }
    .related-articles {
        padding: 60px 24px;
    }
    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
