﻿.story-detail-hero {
    padding: 2.4rem 0 3rem;
    background: radial-gradient( circle at 85% 15%, rgba(0,135,81,.13), transparent 25rem ), linear-gradient( 180deg, #ffffff, #f5f9f7 );
    border-bottom: 1px solid var(--border);
}

.story-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 2.3rem;
    color: #768394;
    font-size: .8rem;
    font-weight: 650;
}

    .story-breadcrumb a {
        color: #667085;
    }

    .story-breadcrumb i {
        font-size: .65rem;
    }

.story-detail-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 3rem;
    align-items: center;
}

.story-sector-pill {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.15rem;
    padding: .38rem .7rem .38rem .38rem;
    color: var(--dbn-green-dark);
    background: var(--dbn-green-soft);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .055em;
}

.story-sector-letter {
    min-width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0 .45rem;
    color: #fff;
    background: var(--dbn-green);
    border-radius: 50%;
    font-size: .8rem;
}

.story-heading-copy h1 {
    max-width: 850px;
    margin: 0 0 1rem;
    color: #19364d;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(2rem, 4vw, 3.65rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.story-subtitle {
    max-width: 760px;
    margin-bottom: 1.4rem;
    color: #667085;
    font-size: 1.05rem;
    line-height: 1.75;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.2rem;
    color: #536273;
    font-size: .79rem;
    font-weight: 650;
}

    .story-meta span {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
    }

    .story-meta i {
        color: var(--dbn-green);
    }

.story-heading-image {
    overflow: hidden;
    aspect-ratio: 1.22;
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(16,24,40,.13);
}

    .story-heading-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.story-reading-section {
    padding: 4rem 0;
    background: #fff;
}

.story-reading-grid {
    display: grid;
    grid-template-columns: 235px minmax(0, 850px);
    justify-content: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.story-navigation {
    min-width: 0;
}

.story-nav-card {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem;
    background: #f8fafb;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.story-nav-caption {
    display: block;
    padding: .35rem .55rem .7rem;
    color: #87909e;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.story-nav-card a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .68rem .6rem;
    color: #485767;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

    .story-nav-card a:hover {
        color: var(--dbn-green-dark);
        background: #fff;
    }

    .story-nav-card a span {
        flex: 0 0 27px;
        width: 27px;
        height: 27px;
        display: grid;
        place-items: center;
        color: var(--dbn-green);
        background: var(--dbn-green-soft);
        border-radius: 8px;
        font-size: .65rem;
        font-weight: 850;
    }


.story-content-section {
    position: relative;
    padding-bottom: 4rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e9edf1;
}

    .story-content-section:last-child {
        border-bottom: 0;
    }

.story-section-number {
    margin-bottom: .55rem;
    color: rgba(0,135,81,.42);
    font-family: Poppins, Inter, sans-serif;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.story-section-heading {
    margin-bottom: 1.35rem;
}

    .story-section-heading h2 {
        margin: 0;
        color: #173b57;
        font-family: Poppins, Inter, sans-serif;
        font-size: clamp(1.45rem, 2.4vw, 2.15rem);
        font-weight: 850;
        line-height: 1.25;
        letter-spacing: -.025em;
    }

    .story-section-heading p {
        margin: .65rem 0 0;
        color: #667085;
    }

.story-rich-text {
    color: #344054;
    font-size: 1rem;
    line-height: 1.9;
}

    .story-rich-text p {
        margin-bottom: 1.25rem;
    }

    .story-rich-text strong {
        color: #1c3448;
        font-weight: 800;
    }

    .story-rich-text blockquote {
        margin: 2rem 0;
        padding: 1.3rem 1.5rem;
        color: #27495e;
        background: linear-gradient( 135deg, #effaf5, #f7fbfe );
        border-left: 4px solid var(--dbn-green);
        border-radius: 0 16px 16px 0;
    }


.story-chart-card {
    margin: 2.2rem 0 1rem;
    padding: clamp(1rem, 3vw, 1.6rem);
    background: #fff;
    border: 1px solid #dfe5ea;
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(16,24,40,.06);
}

.story-chart-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .story-chart-heading span {
        color: var(--dbn-green);
        font-size: .68rem;
        font-weight: 850;
        letter-spacing: .09em;
    }

    .story-chart-heading h3 {
        margin: .25rem 0 0;
        color: #29323b;
        font-size: 1.15rem;
        font-weight: 850;
    }

    .story-chart-heading p {
        margin: .35rem 0 0;
        color: #7a8491;
        font-size: .8rem;
    }

.story-chart-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .65rem;
    color: #526577;
    background: #f5f8fa;
    border: 1px solid #e9eef2;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
}

.heartbeat-chart {
    width: 100%;
}


.story-layout-highlight {
    padding: 2rem;
    background: linear-gradient( 145deg, rgba(0,135,81,.05), rgba(23,125,192,.04) );
    border: 1px solid rgba(0,135,81,.12);
    border-radius: 22px;
}

.story-related-section {
    padding: 4rem 0 5rem;
    background: #f5f8fb;
}


@media (max-width: 991.98px) {

    .story-detail-heading {
        grid-template-columns: 1fr;
    }

    .story-heading-image {
        max-height: 390px;
    }

    .story-reading-grid {
        grid-template-columns: 1fr;
    }

    .story-navigation {
        display: none;
    }
}
