/**
 * News Article Detailed Page Stylesheet - Aberdeen Holdings
 * Clean, minimalistic corporate editorial styling
 */

.simple-article-page {
    background-color: #ffffff;
    color: #2b3940;
    font-family: 'Archivo', sans-serif;
}

/* ==========================================================================
   Common Universal Article Banner Image Layer
   Easily customize/replace ../assets/images/article-banner.jpg for all articles
   ========================================================================== */
.simple-article-page .about-hero-fullwidth::before,
.simple-article-page .article-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/article-banner.jpg?v=1') !important;
    background-size: cover;
    background-position: center 45% !important;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.15);
    animation: heroZoom 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.simple-article-page .about-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 10, 18, 0.2) 0%, rgba(1, 35, 49, 0.28) 50%, rgba(3, 10, 18, 0.42) 100%) !important;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation: heroOverlayIn 1.4s ease 0.1s forwards;
}

/* Centered Article Banner */
.simple-article-page .about-hero-fullwidth.article-banner-centered {
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 160px;
    padding-bottom: 70px;
}

.article-banner-centered .about-hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.article-banner-centered .article-banner-content-wrap {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.article-banner-centered .about-banner-title {
    text-align: center;
    font-size: clamp(30px, 4.2vw, 50px);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 auto;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.45);
}

.article-banner-centered .article-banner-content-wrap::after {
    content: '';
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1bbfdd, transparent);
    margin: 22px auto 0 auto;
    border-radius: 3px;
}

.simple-article-wrapper {
    padding: 90px 0px;
}

.article-content-container,
.simple-article-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back Link */
.simple-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #014f6e;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.simple-back-link:hover {
    color: #1bbfdd;
    transform: translateX(-4px);
}

/* 2-Column Split Hero Story Grid */
.article-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 36px;
}

.article-story-col p {
    font-size: 17.5px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 20px;
}

.article-story-col p:last-child {
    margin-bottom: 0;
}

.article-lead-text {
    font-size: 19px !important;
    line-height: 1.75 !important;
    color: #07131a !important;
    font-weight: 500;
    border-left: 3px solid #1bbfdd;
    padding-left: 16px;
}

.article-visual-col {
    position: sticky;
    top: 110px;
}

.article-visual-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(1, 79, 110, 0.12), 0 4px 14px rgba(0, 0, 0, 0.05);
    background-color: #07131a;
}

.article-visual-card img {
    width: 100%;
    height: 400px;
    max-height: 420px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.4s ease;
}

.article-visual-card:hover img {
    transform: scale(1.02);
}

.article-quote-block {
    margin: 36px 0;
    padding: 30px 40px;
    border-left: 4px solid #1bbfdd;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
    border-radius: 0 16px 16px 0;
    box-shadow: 0 4px 20px rgba(1, 79, 110, 0.04);
}

.article-quote-block p {
    font-size: 19px;
    line-height: 1.75;
    color: #014f6e;
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

.article-quote-intro {
    font-size: 17.5px;
    color: #1e293b;
    margin-bottom: 14px;
    font-weight: 600;
}

.article-full-width-section p {
    font-size: 17.5px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 22px;
}

.article-secondary-quote-block {
    margin: 28px 0;
    padding: 24px 32px;
    border-left: 3px solid #014f6e;
    background-color: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.article-secondary-quote-block p {
    font-size: 18px;
    line-height: 1.7;
    color: #07131a;
    font-style: italic;
    margin: 0;
}

@media (max-width: 991px) {
    .article-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-visual-col {
        position: static;
        order: -1;
    }

    .article-visual-card img {
        height: auto;
        min-height: unset;
        max-height: 340px;
    }

    .article-quote-block {
        padding: 22px 24px;
    }

    .article-quote-block p {
        font-size: 17.5px;
    }
}

/* Next / Previous Article Navigation */
.article-pagination-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-top: 55px;
    padding-top: 36px;
    border-top: 1px solid #e2e8f0;
}

.article-nav-btn {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex: 1;
    min-width: 0;
    transition: all 0.25s ease;
}

.article-nav-btn:hover {
    background: #ffffff;
    border-color: #1bbfdd;
    box-shadow: 0 8px 24px rgba(1, 79, 110, 0.08);
    transform: translateY(-2px);
}

.article-nav-btn.nav-prev {
    text-align: left;
}

.article-nav-btn.nav-next {
    text-align: right;
}

.nav-direction-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1bbfdd;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.article-nav-btn.nav-next .nav-direction-label {
    margin-left: auto;
}

.nav-article-title {
    font-size: 14px;
    font-weight: 600;
    color: #07131a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.article-nav-btn:hover .nav-article-title {
    color: #014f6e;
}

@media (max-width: 640px) {
    .article-pagination-nav {
        flex-direction: column;
        gap: 14px;
    }

    .article-nav-btn.nav-next {
        text-align: left;
    }

    .article-nav-btn.nav-next .nav-direction-label {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .simple-article-wrapper {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .simple-article-content p {
        font-size: 16.5px;
        line-height: 1.75;
    }

    .simple-article-content blockquote {
        padding: 16px 20px;
    }

    .simple-article-content blockquote p {
        font-size: 16.5px;
    }
}