
    /* =========================================================================
       Base layout + typography
       ========================================================================= */
    :root {
        --cha-bg-page: #f5f5f5;
        --cha-header-bg: #323232;
        --cha-header-text: #ffffff;
        --cha-header-height: 80px;
        --cha-nav-gap: 28px;

        /* Brand / accent colours */
        --chaGreen1: #d8c764;      /* temp light yellow/green */
        --cha-banner-bg: #b38454;  /* temp light brown banner */

        --cha-muted-text: #666666;
        --cha-offwhite: #f7f5ed;
    }

    * {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0;
        padding: 0;
    }

    body {
        font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        background-color: var(--cha-bg-page);
        color: #111111;
    }

    .container-1300 {
        max-width: 1300px;
        margin: 0 auto;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Utility: remove side padding on 1300 container */
.container-1300.no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    @media (max-width: 768px) {
        .container-1300 {
            padding-left: 20px;
            padding-right: 20px;
        }
    }

    /* =========================================================================
       Site header / navigation
       ========================================================================= */

    .site-header {
        background-color: var(--cha-header-bg);
        color: var(--cha-header-text);
    }

    .site-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--cha-header-height);
        gap: 32px;
    }

    .site-brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: inherit;
    }

    .site-logo {
        height: 60px;
        width: auto;
        display: block;
    }

    .site-title {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
        display: none;
    }

    .primary-nav {
        margin-left: auto;
    }

    .primary-nav-list {
        list-style: none;
        display: flex;
        align-items: center;
        gap: var(--cha-nav-gap);
        margin: 0;
        padding: 0;
    }

    .primary-nav-link {
        position: relative;
        text-decoration: none;
        color: var(--cha-header-text);
        font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        padding-block: 4px;
    }

    /* Underline fade in/out */
    .primary-nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background-color: var(--cha-header-text);
        bottom: -5px;
        opacity: 0;
        transition: opacity 1000ms ease-out;
    }

    .primary-nav-link:hover::after,
    .primary-nav-link:focus-visible::after,
    .primary-nav-link.is-active::after {
        opacity: 0.5;
        transition: opacity 400ms ease-in;
    }

    .primary-nav-link:hover,
    .primary-nav-link:focus-visible,
    .primary-nav-link.is-active {
        color: #FFF;
    }

    .primary-nav-link:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.7);
        outline-offset: 2px;
    }

    .primary-nav-divider {
        opacity: 0.6;
    }

    @media (max-width: 900px) {
        .site-header-inner {
            flex-wrap: wrap;
            row-gap: 12px;
        }

        .primary-nav {
            width: 100%;
        }

        .primary-nav-list {
            justify-content: flex-end;
            flex-wrap: wrap;
            row-gap: 8px;
        }
    }

    /* =========================================================================
       Banner section
       ========================================================================= */

    #banner {
        background-color: var(--cha-banner-bg);
        color: #ffffff;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    /* When a resource has a banner image */
#banner.banner-has-bg {
    position: relative;
    color: #ffffff;
}

/* Optional: subtle dark overlay over the photo for text legibility */
#banner.banner-has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    /* tweak gradient/opacity to taste */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 0;
}

/* Make sure content sits above the overlay */
#banner.banner-has-bg .banner-inner {
    position: relative;
    z-index: 1;
}

    .banner-inner {
        min-height: 160px;
        display: flex;
        align-items: center;
    }

    .banner-title {
        font-family: "Lora", "Times New Roman", serif;
        font-size: 46px;
        font-weight: 400;
        line-height: 1.1;
        margin: 0;
    }

    .banner-subtitle {
        font-family: "Lora", "Times New Roman", serif;
        font-size: 22px;
        line-height: 1.3;
        margin: 5px 0 0;
    }

    @media (max-width: 768px) {
        .banner-inner {
            min-height: 140px;
        }

        .banner-title {
            font-size: 34px;
        }

        .banner-subtitle {
            font-size: 20px;
        }
    }

    /* =========================================================================
       Breadcrumbs section (chevron divider)
       ========================================================================= */

    #breadcrumbs {
        background-color: rgba(225, 225, 221, 1);
        border-top: 1px solid #d9d0c3;
        border-bottom: 1px solid #d9d0c3;
        font-size: 14px;
    }

    .breadcrumbs-bar {
        display: flex;
        align-items: stretch;
        min-height: 44px;
    }

    .breadcrumbs-nav {
        width: 100%;
    }

    .breadcrumb-list {
        list-style: none;
        display: flex;
        align-items: stretch;
        margin: 0;
        padding: 0;
        text-transform: uppercase;
        flex-wrap: wrap;
    }

    .breadcrumb-item {
        position: relative;
        display: flex;
        align-items: center;
        padding: 0 14px 0 10px;
        color: #444;
        white-space: nowrap;
    }

    .breadcrumb-item:first-child {
        padding-left: 0;
    }

    .breadcrumb-link {
        text-decoration: none;
        color: inherit;
        display: block;
        padding: 14px 0;
    }

    .breadcrumb-link:hover {
        background: none;
        color: #000;
        font-weight: 400;
    }

    .breadcrumb-item.is-current {
        font-weight: 400;
        color: #111;
    }

    .breadcrumb-item.is-current .breadcrumb-link {
        pointer-events: none;
        background: none;
    }

    /* Full-height chevron divider */
    .breadcrumb-item.has-chevron::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: -12px;
        width: 32px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 44'><polyline points='0,44 20,22 0,0' fill='none' stroke='%23c2bbb0' stroke-width='2'/></svg>");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        pointer-events: none;
    }

    .breadcrumb-item.has-chevron {
        padding-right: 22px;
    }

    /* =========================================================================
       Apple-style reveal
       ========================================================================= */

    .reveal {
        opacity: 0;
        transform: translate3d(0, 32px, 0) scale(0.985);
        --reveal-delay: 0ms;
        transition:
            opacity 1800ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay),
            transform 1800ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay);
        will-change: opacity, transform;
    }

    .reveal.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    /* =========================================================================
       Article body placeholder
       ========================================================================= */

    /* Article body placeholder */
#article-body {
    padding: 40px 0 0;   /* 40px top, 0 bottom */
}

#footer {
    padding: 40px 0;
}
    /* =========================================================================
       Generic Card Carousel (used for Related Resources, etc)
       ========================================================================= */

    .card-carousel-section {
        background-color: var(--cha-offwhite);
        padding: 40px 0;
    }

    .carousel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        gap: 16px;
    }

    .carousel-title {
        font-family: "Lora", serif;
        font-size: 36px;
        font-weight: 400;
        margin: 0;
    }

    .carousel-controls {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 2px solid #000;
        background: transparent;
        color: #000;
        font-size: 16px;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-arrow[disabled] {
        opacity: 0.35;
        cursor: default;
    }

    .carousel-showall {
        padding: 6px 16px;
        height: 38px;
        border-radius: 999px;
        border: 2px solid #000;
        background: transparent;
        font-size: 16px;
        cursor: pointer;
        color: #000;
    }

    .carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    /* hide scrollbars */
    scrollbar-width: none;          /* Firefox */
}

.carousel-viewport::-webkit-scrollbar {
    display: none;                  /* Safari + Chrome */
}

    .carousel-track {
    display: flex;
    gap: 32px;
    /* padding-bottom: 10px;  ← remove this */
    margin-bottom: 10px;           /* ← visual spacing without scroll */
}

    .resource-card {
        flex: 0 0 270px;
    }

    .resource-link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .resource-img {
        width: 100%;
        aspect-ratio: 4 / 3;
        background: #333;
        margin-bottom: 16px;
        overflow: hidden;
        position: relative;   /* needed for overlay */
    }

    .card-carousel-section .resource-img picture,
.card-carousel-section .resource-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* crop nicely if not exactly 4:3 */
}

/* Base media overlay icon – match featured style */
.resource-media-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 20px;          /* same as .featured-media-icon */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}
/* Optional: podcast-specific tweaks if you ever add other media icons */
.resource-media-icon--podcast {
    /* e.g. slightly stronger glow */
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

/* Visually hidden helper for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

    .resource-title {
        font-family: "Lora", serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.35;
        margin: 0 0 8px 0;
        color: #111;
        transition: color 180ms ease;
    }

    .resource-type-date {
        font-size: 13px;
        color: var(--cha-muted-text);
        margin: 5px 0 10px 0;
    }

    .resource-excerpt {
        font-size: 16px;
        line-height: 1.45;
        color: #333;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .resource-link:hover .resource-title {
        color: #006699;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 40px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.25);
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .carousel-dot.is-active {
        background: #000;
    }

    .carousel-arrows-hidden .carousel-arrow {
        display: none;
    }

    .carousel-dots-hidden {
        display: none;
    }

    @media (max-width: 900px) {
        .carousel-title {
            font-size: 28px;
        }
    }

    /* ================================================================
       Global Black Outline Button (Reusable)
       ================================================================ */

    .btn-outline-black {
        border: 2px solid #000;
        color: #000;
        cursor: pointer;
        transition:
            background 180ms ease,
            color 180ms ease,
            border-color 180ms ease,
            opacity 160ms ease;
    }

    .btn-outline-black:hover:not(.is-disabled):not([disabled]) {
        background: #000;
        color: #fff;
        border-color: #000;
    }

    .btn-outline-black.is-disabled,
    .btn-outline-black[disabled] {
        opacity: 0.4;
        cursor: default;
        background: #fff;
        color: #000;
        border-color: #ccc;
    }

    /* ============================================================
       Dark theme variant for card carousels
       ============================================================ */

    .card-carousel-section.theme-dark {
        color: #ffffff;
    }

    .card-carousel-section.theme-dark .resource-title,
    .card-carousel-section.theme-dark .resource-type-date,
    .card-carousel-section.theme-dark .resource-excerpt {
        color: #ffffff;
    }

    .card-carousel-section.theme-dark .resource-link:hover .resource-title {
        color: #66c8ff;
    }

    .card-carousel-section.theme-dark .btn-outline-black {
        border-color: #ffffff;
        color: #ffffff;
        background: transparent;
    }

    .card-carousel-section.theme-dark .btn-outline-black:hover:not(.is-disabled):not([disabled]) {
        background: #000000;
        color: #ffffff;
        border-color: #ffffff;
    }

    .card-carousel-section.theme-dark .carousel-dot {
        background-color: rgba(255, 255, 255, 0.4);
    }

    .card-carousel-section.theme-dark .carousel-dot.is-active {
        background-color: #ffffff;
    }

    /* =========================================================================
       Explore section (Browse & search)
       ========================================================================= */

    .explore-section {
        background-color: #323232;
        color: #ffffff;
        padding: 40px 0 50px 0;
    }

    .explore-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 32px;
    }

    .explore-title {
        font-family: "Lora", serif;
        font-size: 36px;
        font-weight: 400;
        margin: 0 0 6px 0;
    }

    .explore-subtitle {
        font-family: "Lora", serif;
        font-size: 22px;
        margin: 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .explore-search-wrap {
        display: flex;
        align-items: flex-start;
    }

    .explore-search-btn {
        border-radius: 999px;
        border: 2px solid #ffffff;
        background: transparent;
        color: #ffffff;
        font-size: 16px;
        padding: 8px 28px;
        cursor: pointer;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        transition:
            background 180ms ease,
            color 180ms ease,
            border-color 180ms ease;
    }

    .explore-search-btn:hover {
        background: #ffffff;
        color: #333333;
        border-color: #ffffff;
    }

    .explore-columns {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    .explore-column {
        flex: 0 0 274px;
        max-width: 100%;
    }

    .explore-column-title {
        font-family: "Lora", serif;
        font-size: 24px;
        font-weight: 400;
        margin: 0 0 16px 0;
    }

    .explore-list {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.9);
    }

    .explore-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    }

    .explore-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 42px;
        padding: 0 6px;
        text-decoration: none;
        color: #ffffff;
        font-size: 16px;
        transition: background-color 160ms ease;
    }

    .explore-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .explore-link-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .explore-link-icon {
        margin-left: 16px;
        flex-shrink: 0;
        font-size: 22px;
        line-height: 0.9;
    }

    @media (max-width: 900px) {
        .explore-columns {
            gap: 24px;
        }

        .explore-column {
            flex: 1 1 260px;
        }

        .explore-header {
            flex-direction: column;
            align-items: flex-start;
        }

        .explore-search-wrap {
            align-self: flex-start;
        }
    }

    .explore-show-more .explore-link {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .explore-show-more .explore-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    /* =========================================================================
       Article layout (2 columns)
       ========================================================================= */

    #article-body {
        padding: 40px 0 0 0;
        background-color: #f7f6f1;
    }

    .article-layout {
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

    .article-main,
    .article-aside {
        flex: 1 1 0;
        min-width: 0;
    }

    .article-title {
        font-family: "Lora", serif;
        font-size: 36px;
        font-weight: 400;
        line-height: 1.2;
        margin: 0 0 6px 0;
    }

    .article-subtitle {
        font-family: "Lora", serif;
        font-size: 22px;
        font-weight: 400;
        line-height: 1.3;
        margin: 0 0 20px 0;
    }

    .article-author-block {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .article-author-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: #d9d0c3;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .article-author-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .article-author-copy {
        margin-left: 10px;
        font-size: 14px;
        line-height: 1.3;
    }

    .article-author-name {
        font-weight: 600;
        margin: 0 0 0px 0;
    }

    .article-author-role {
        margin: 0;
    }

    .article-author-role a {
        color: #006699;
        text-decoration: none;
    }

    .article-author-role a:hover {
        text-decoration: underline;
    }

    .article-meta {
        font-size: 13px;
        line-height: 30px;
        border-top: 1px solid #e0ded8;
        border-bottom: 1px solid #e0ded8;
        padding: 0;
    }

    .article-meta-row {
        display: flex;
        align-items: center;
    }

    .article-meta-row + .article-meta-row {
        border-top: 1px solid #e0ded8;
    }

    .article-meta-row--date {
        justify-content: space-between;
    }

    .article-meta-label {
        flex: 0 0 70px;
        font-weight: 600;
        color: #555555;
    }

    .article-meta-content {
        flex: 1 1 auto;
    }

    .article-meta-content a {
        color: #006699;
        text-decoration: none;
    }

    .article-meta-content a:hover {
        text-decoration: underline;
    }

    .article-save-link {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        font-family: "Inter", sans-serif;
        font-size: 13px;
        line-height: 30px;
        font-weight: 400;
        color: #333333;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        white-space: nowrap;
    }

    .article-save-link:hover {
        color: #000000;
    }

    .article-save-icon {
        order: 2;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 1px solid #999999;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        line-height: 1;
        color: #333333;
    }

    .article-save-label {
        order: 1;
    }

    .article-body-copy {
        padding-top: 20px;
        font-size: 17px;
        line-height: 1.4;
        color: #222222;
    }

    .article-body-copy p {
        margin: 0 0 16px 0;
    }

    @media (max-width: 900px) {
        .article-layout {
            flex-direction: column;
            gap: 32px;
        }
    }

    .article-aside-heading {
        font-family: "Lora", serif;
        font-size: 36px;
        font-weight: 400;
        line-height: 1.2;
        margin: 0 0 30px 0;
    }

    .article-featured-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 40px;
        margin-bottom:40px;
    }

    .article-featured-card {
        font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 16px;
        line-height: 1.4;
        color: #222222;
    }

    .article-featured-thumb {
        width: 100%;
        aspect-ratio: 4 / 3;
        background-color: #b9a28e;
        margin-bottom: 20px;
    }

    .article-featured-title {
        font-family: "Lora", serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.35;
        margin: 0 0 6px 0;
    }

    .article-featured-meta {
        font-size: 13px;
        line-height: 1.4;
        color: #777777;
        margin: 0 0 8px 0;
    }

    .article-featured-excerpt {
        margin: 0;
    }

    @media (max-width: 900px) {
        .article-featured-grid {
            grid-template-columns: 1fr;
            column-gap: 0;
            row-gap: 32px;
        }
    }

    .article-featured-link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .article-featured-card:hover .article-featured-title {
        color: #006699;
    }

    .article-featured-card:hover {
        cursor: pointer;
    }

    .article-cta-group {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        margin: 20px 0;
    }

    .article-cta-btn {
        height: 38px;
        padding: 0 20px;
        font-size: 16px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
    }

    .article-cta-btn:hover {
        background: #000;
        color: #fff;
        border-color: #000;
    }

    .article-downloads {
        margin-bottom: 32px;
    }

    .article-downloads-heading {
        font-family: "Lora", serif;
        font-size: 24px;
        font-weight: 400;
        margin: 0 0 20px 0;
    }

    .article-downloads-list {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid #000000;
    }

    .article-downloads-item {
        border-bottom: 1px solid #000000;
    }

    .article-downloads-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 40px;
        padding: 0 4px;
        text-decoration: none;
        color: #000000;
        font-size: 16px;
        transition: background-color 160ms ease;
    }

    .article-downloads-link:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .article-downloads-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .article-downloads-meta {
        margin-left: 16px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
    }

    .article-downloads-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        line-height: 1;
        position: relative;
        top: -1px;
    }

    .article-save-link:hover .article-save-icon {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }

    .readmore-toggle {
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        font: inherit;
        font-weight: 600;
        color: #000000;
        white-space: nowrap;
    }

    .readmore-toggle:hover {
        text-decoration: underline;
    }

    .readmore-extra {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
            max-height 600ms ease,
            opacity 600ms ease;
    }

    .readmore-extra.is-open {
        opacity: 1;
    }

    /* ----------------------------------------------------------
       Footer — Row 1
       ---------------------------------------------------------- */

    #site-footer {
        background: #333333;
        color: #ffffff;
        padding-top: 40px;
        font-family: "Inter", sans-serif;
    }

    #site-footer .container-1300 {
        padding-bottom: 40px;
    }

    .footer-row-1 {
        display: grid;
        grid-template-columns: 1.1fr 1fr 1fr 1fr;
        gap: 40px;
    }

@media (max-width: 900px) {
    .footer-row-1 {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;      /* was 32px if you want it tighter like Explore */
    }
}

    @media (max-width: 600px) {
        .footer-row-1 {
            grid-template-columns: 1fr;
        }
    }

    .footer-logo {
        width: 80px;
        margin-bottom: 20px;
        margin-top: 0px;
    }

    .footer-about p {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    .footer-contact a {
        font-size: 16px;
        line-height: 1.4;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid transparent;
    }

    .footer-contact a:hover {
        border-bottom: 1px solid #ffffff;
    }

    .footer-heading {
        font-family: "Lora", serif;
        font-size: 28px;
        font-weight: 400;
        margin-top: 60px;
        margin-bottom: 20px;
    }

    /* Lists (Explore-style rows, white variant) */

    .footer-list {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.9);
    }

    .footer-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    }

    .footer-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 42px;
        padding: 0 6px;
        text-decoration: none;
        color: #ffffff;
        font-size: 16px;
        transition: background-color 160ms ease;
    }

    .footer-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .footer-link-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .footer-link-icon {
        margin-left: 16px;
        flex-shrink: 0;
        font-size: 22px;
        line-height: 0.9;
    }

    .footer-join-text {
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .footer-email {
        width: 100%;
        height: 40px;
        padding: 0 14px;
        border-radius: 40px;
        border: 1px solid #ffffff;
        background: transparent;
        color: #ffffff;
        font-size: 16px;
        margin-bottom: 14px;
    }

    .footer-email::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-send-btn {
        width: 100%;
        height: 40px;
        border-radius: 40px;
        background: transparent;
        border: 1px solid #ffffff;
        color: #ffffff;
        font-size: 16px;
        cursor: pointer;
        transition: background 160ms ease, color 160ms ease;
    }

    .footer-send-btn:hover {
        background: #ffffff;
        color: #333333;
    }

    /* ----------------------------------------------------------
   Footer — Back to top button
---------------------------------------------------------- */

/* Wrapper inside Column 4 — aligns button to the right */
.footer-top-btn-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

/* Top button inside Column 4 */
.footer-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 6px 22px;
    height: 44px;

    border-radius: 999px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;

    cursor: pointer;
    margin-bottom: 40px;

    transition: background 160ms ease, color 160ms ease;
}

.footer-top-btn:hover {
    background: #ffffff;
    color: #333333;
}

/* Chevron icon — vertically centred */
.footer-top-btn i,
.footer-top-icon {
    font-size: 22px;
    line-height: 1;
    position: relative;
    top: -1px;
    display: inline-block;
}

/* =========================================================================
   Footer — Row 2 (Sponsors + Partners)
   ========================================================================= */

.footer-row-2 {
    text-align: center;
    padding: 60px 0 40px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

/* Founding Partner Block */
.footer-founding-partner {
    margin-bottom: 50px;
}

.footer-founding-text {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Westpac links */
.footer-fp-link,
.footer-fp-learn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.footer-fp-link:hover,
.footer-fp-learn:hover {
    border-bottom: 1px solid #ffffff;
}

/* Logo */
.footer-fp-logo-link {
    display: inline-block;
}

.footer-fp-logo {
    height: 40px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Hub Partners */
.footer-hub-partners {
    margin-top: 0px;
}

.footer-hub-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
}

.footer-hub-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-hub-list li {
    margin: 0;
}

.footer-hub-link {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.footer-hub-link:hover {
    border-bottom: 1px solid #ffffff;
}

/* Footer sponsor logo hover scale */
.footer-sponsor-logo {
    transition: transform 220ms ease;
    display: inline-block;   /* ensures transform works cleanly */
}

.footer-sponsor-logo:hover {
    transform: scale(1.07);
}

/* ----------------------------------------------------------
   Footer — Row 3 (Copyright + Social Icons)
---------------------------------------------------------- */

.footer-row-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;               /* spacing top/bottom */
    margin-top: 0px;              /* gap from partners row */
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
    color: #ffffff;
}

/* Social icons */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;                     /* 20px gutter as requested */
}

.footer-social-link {
    color: #ffffff;
    font-size: 40px;              /* icon height */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 160ms ease, transform 160ms ease;
    text-decoration: none;
}

.footer-social-link:hover {
    opacity: 0.75;
    transform: scale(1.05);
}

.card-carousel-section .resource-img picture,
.card-carousel-section .resource-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* crop nicely if not exactly 4:3 */
}

/* ============================================================
   Media-type specific tweaks
   ============================================================ */

/* Podcast cards: grayscale artwork */
.resource-img--podcast img,
.resource-img--podcast picture img {
    filter: grayscale(100%);
    transition: filter 0.25s ease;
}

/* Optional: bring colour back on hover */
.resource-card:hover .resource-img--podcast img,
.resource-card:hover .resource-img--podcast picture img {
    /* filter: grayscale(0%); */
}

.readmore-inline-extra {
  display: none;
}

.readmore-inline-extra.is-open {
  display: inline;
}

.readmore-inline-toggle {
  border: none;
  background: none;
  color: var(--cha-link-color, #0067b8);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
}

/* Inline read-more (Topics / Tags) */
.readmore-inline-extra {
  display: none;          /* fully hidden until opened */
}

.readmore-inline-extra.is-open {
  display: inline;        /* appears inline with the rest of the links */
}

.readmore-inline-toggle {
  border: none;
  background: none;
  color: var(--cha-link-color, #0067b8);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
}

/* ------------------------------------------------------------
   Full Article Modal — Backdrop
   ------------------------------------------------------------ */
.article-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);  /* dim page */
    backdrop-filter: blur(4px);       /* soften page behind */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms ease;
}

.article-modal-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ------------------------------------------------------------
   Modal Panel (size + skin controlled via JS / data-attrs)
   ------------------------------------------------------------ */
.article-modal {
    /* Size is set from JS (width/height/max-*) */
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;

    /* Visual skin defaults */
    background-color: #ffffff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;

    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition:
        opacity 450ms cubic-bezier(0.19, 1, 0.22, 1),
        transform 450ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* When open */
.article-modal.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ------------------------------------------------------------
   Theme variants (light / dark)
   ------------------------------------------------------------ */

.article-modal--light {
    background-color: #ffffff;
    color: #111111;
}

.article-modal--light .article-modal-heading {
    color: #111111;
}

.article-modal--dark {
    background-color: #111827;               /* deep blue-black */
    color: #e5e7eb;
}

.article-modal--dark .article-modal-heading {
    color: #f9fafb;
}

/* If there is a busy background image on dark theme,
   you can slightly tint it by adding a gradient overlay */
.article-modal--dark.article-modal--has-bg {
    background-image:
        linear-gradient(
            to bottom,
            rgba(15, 23, 42, 0.75),
            rgba(15, 23, 42, 0.9)
        );
}

/* =============================================================
   Modal Close Button — THEMED (Light / Dark)
   ============================================================= */

/* Base shape + behaviour */
.article-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    background: transparent;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 160ms ease;
}

/* Font Awesome icon */
.article-modal-close i {
    font-size: 20px;
    line-height: 1;
    position: relative;
    top: 1px;        /* vertical centering */
    transition: color 180ms ease;
}

/* -------------------------------------------------------------
   LIGHT THEME
   ------------------------------------------------------------- */
.article-modal--light .article-modal-close {
    border: 2px solid #000;
    color: #000;
    background: transparent;
}

.article-modal--light .article-modal-close:hover {
    background: #000;
    color: #fff;                     /* invert icon */
    transform: scale(1.07);
}

.article-modal--light .article-modal-close:active {
    transform: scale(0.92);
}

/* -------------------------------------------------------------
   DARK THEME
   ------------------------------------------------------------- */
.article-modal--dark .article-modal-close {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.article-modal--dark .article-modal-close:hover {
    background: rgba(255, 255, 255, 0.20);
    color: #fff;                     /* stays white */
    transform: scale(1.07);
}

.article-modal--dark .article-modal-close:active {
    transform: scale(0.92);
}

/* ------------------------------------------------------------
   Mobile layout — full screen modal (with themed close btn)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    .article-modal {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    .article-modal-body {
        padding: 24px;
    }

    .article-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }
}

/* ------------------------------------------------------------
   Modal Content Area
   ------------------------------------------------------------ */
.article-modal-body {
    padding: 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.article-modal-heading {
    font-family: "Lora", serif;
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

/* ------------------------------------------------------------
   Modal Typography (matches article-body styles)
   ------------------------------------------------------------ */

/* Headings inside modal body */
.article-modal-content h1,
.article-modal-content h2,
.article-modal-content h3,
.article-modal-content h4,
.article-modal-content h5,
.article-modal-content h6 {
    font-family: "Lora", serif;
    font-weight: 400;
    line-height: 1.25;
    margin: 1.6em 0 0.6em;
    color: #222;
}

/* Matching the main article scale */
.article-modal-content h1 { font-size: 32px; }
.article-modal-content h2 { font-size: 26px; }
.article-modal-content h3 { font-size: 22px; }
.article-modal-content h4 { font-size: 20px; }
.article-modal-content h5 { font-size: 18px; }
.article-modal-content h6 { font-size: 17px; }

/* Body text */
.article-modal-content p {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 1.1em 0;
    color: #222;
}

/* Lists */
.article-modal-content ul,
.article-modal-content ol {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 1.2em 1.6em;
    color: #222;
}

.article-modal-content li {
    margin-bottom: 0.4em;
}

/* ============================================
   Pull-quotes inside the Full Article modal
   ============================================ */

.article-modal-content blockquote {
    max-width: 420px;
    background-color: var(--pullquote-bg, #e3e2d3);
    border: none;
    padding: 20px;                /* container padding */
    margin: 1.8em 0 1.2em 0; 
    position: relative;

    font-family: "Lora", serif;
    font-size: 18px;
    line-height: 1.4;
    color: #fff;
}

/* Text block – pushed clear of the icons */
.article-modal-content blockquote p {
    margin: 32px 0;               /* ~10px gap from icons given their size/pos */
   padding: 10px;
    color: #fff;
}

/* Shared icon styling */
.article-modal-content blockquote::before,
.article-modal-content blockquote::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* Opening icon (top-left) */
.article-modal-content blockquote::before {
    background-image: url("/assets/icons/pullquote-open.svg");
    top: 20px;
    left: 20px;
}

/* Closing icon (bottom-right) */
.article-modal-content blockquote::after {
    background-image: url("/assets/icons/pullquote-close.svg");
    bottom: 20px;
    right: 20px;
}

/* Clear floats */
.article-modal-content::after {
    content: "";
    display: block;
    clear: both;
}

/* Alternate left/right on desktop */
@media (min-width: 900px) {
    .article-modal-content blockquote:nth-of-type(odd) {
        float: left;
        clear: left;
        margin: 0.5em 32px 1.5em 0;
    }
    .article-modal-content blockquote:nth-of-type(even) {
        float: right;
        clear: right;
        margin: 0.5em 0 1.5em 32px;
    }
}

/* Mobile resets */
@media (max-width: 899.98px) {
    .article-modal-content blockquote {
        float: none;
        max-width: 100%;
        margin: 1.5em 0;
    }
}

/* Horizontal rule */
.article-modal-content hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2em 0;
}

/* ============================================================
   Modal markdown tables
   ============================================================ */

.article-modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 26px 0;
    font-size: 15px;
    line-height: 1.4;
}

/* Cells */
.article-modal-content th,
.article-modal-content td {
    padding: 8px 12px;
    border: 1px solid #c8c2b0;
    text-align: left;
    vertical-align: top;
}

/* Header row */
.article-modal-content thead th {
    font-weight: 600;
    background-color: #e3ddc8;
}

/* Zebra striping */
.article-modal-content tbody tr:nth-child(odd) {
    background-color: #f3efe1;
}

.article-modal-content tbody tr:nth-child(even) {
    background-color: #f9f6ec;
}

/* Tighten up when a table immediately follows a heading */
.article-modal-content h3 + table,
.article-modal-content h4 + table {
    margin-top: 12px;
}

/* Make long tables usable on small screens */
@media (max-width: 768px) {
    .article-modal-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

/* -------------------------------
   Dark theme variants for tables
   ------------------------------- */

.article-modal--dark .article-modal-content table {
    border-color: #4c4c4c;
}

.article-modal--dark .article-modal-content th,
.article-modal--dark .article-modal-content td {
    border-color: #4c4c4c;
}

.article-modal--dark .article-modal-content thead th {
    background-color: #3d3d3d;
}

.article-modal--dark .article-modal-content tbody tr:nth-child(odd) {
    background-color: #333333;
}

.article-modal--dark .article-modal-content tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

/* ------------------------------------------------------------
   Full Article Modal – Header (single source of truth)
   ------------------------------------------------------------ */

.article-modal-header {
    padding: 0 0 6px 0;                 /* controls gap below the date */
    margin: 0 0 20px 0;                  /* space between header and body copy */
}

/* Title – allow either .article-title or .article-modal-title */
.article-modal-header .article-title,
.article-modal-header .article-modal-title {
    font-family: "Lora", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 6px 0;
    color: #000;
}

/* Subtitle – allow either .article-subtitle or .article-modal-subtitle */
.article-modal-header .article-subtitle,
.article-modal-header .article-modal-subtitle {
    font-family: "Lora", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: #333;
}

/* Author block matches main article, scoped to modal header */
.article-modal-header .article-author-block {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    margin-top:6px;
    padding-bottom:0px;
}

.article-modal-header .article-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #d9d0c3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-modal-header .article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-modal-header .article-author-copy {
    margin-left: 20px;
    font-size: 14px;
    line-height: 1.3;
}

.article-modal-header .article-author-name {
    font-weight: 600;
    margin: 0;
}

.article-modal-header .article-author-role {
    margin: 0;
}

.article-modal-header .article-author-role a {
    color: #006699;
    text-decoration: none;
}

.article-modal-header .article-author-role a:hover {
    text-decoration: underline;
}

/* Date row – same as article meta, but no Save button */
.article-modal-header .article-meta {
    font-size: 13px;
    line-height: 30px;
    border-top: 1px solid #e0ded8;
    border-bottom: 1px solid #e0ded8;
    padding: 0;
    margin-top: 8px;
}

.article-modal-header .article-meta-row {
    display: flex;
    align-items: center;
}

/* With no save-cta we can just left-align the date */
.article-modal-header .article-meta-row--date {
    justify-content: flex-start;
}

/* ===============================
   Override modal body headings
   =============================== */

/* H2 inside modal body */
.article-modal .article-modal-content h2 {
    font-size: 36px;
    margin-top: 32px;   /* instead of 1.6em */
    margin-bottom: 8px;
    line-height: 1.22;
}

/* H3 inside modal body */
.article-modal .article-modal-content h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* H4–H6 inside modal body */
.article-modal .article-modal-content h4,
.article-modal .article-modal-content h5,
.article-modal .article-modal-content h6 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.article-modal-author-meta {
    display: flex;
    flex-direction: column;
    gap: 10px; /* adds breathing room */
}

/* Light theme — stronger date divider lines */
.article-modal--light .article-meta {
    border-top: 1px solid #333 !important;
    border-bottom: 1px solid #333 !important;
}

/* ============================================================
   Full Article Modal — DARK THEME TYPOGRAPHY OVERRIDES
   Ensures ALL text inside modal turns white when
   data-modal-theme="dark" is applied.
   ============================================================ */

.article-modal--dark,
.article-modal--dark .article-modal-content,
.article-modal--dark .article-modal-content * {
    color: #fff !important;
}

/* Headings */
.article-modal--dark h1,
.article-modal--dark h2,
.article-modal--dark h3,
.article-modal--dark h4,
.article-modal--dark h5,
.article-modal--dark h6 {
    color: #fff !important;
}

/* Paragraphs */
.article-modal--dark p {
    color: #fff !important;
}

/* Lists */
.article-modal--dark ul,
.article-modal--dark ol,
.article-modal--dark li {
    color: #fff !important;
}

/* Blockquotes */
.article-modal--dark blockquote {
    color: #fff !important;
    border-left-color: rgba(255,255,255,0.5);
}

/* Tables */
.article-modal--dark table,
.article-modal--dark th,
.article-modal--dark td {
    color: #fff !important;
    border-color: rgba(255,255,255,0.25) !important;
}

.article-modal--dark thead th {
    background-color: rgba(255,255,255,0.1) !important;
}

.article-modal--dark tbody tr:nth-child(odd) {
    background-color: rgba(255,255,255,0.07) !important;
}

.article-modal--dark tbody tr:nth-child(even) {
    background-color: rgba(255,255,255,0.12) !important;
}

/* Date row borders */
.article-modal--dark .article-meta {
    border-top-color: rgba(255,255,255,0.3) !important;
    border-bottom-color: rgba(255,255,255,0.3) !important;
}

/* Wrapper for the image */
.article-featured-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;      /* 4:3 container */
    overflow: hidden;
    background: #d1d0c3;      /* whatever your neutral bg is */
}

/* Make the <picture> fill the thumb */
.article-featured-picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Actual image sizing + crop */
.article-featured-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;        /* fill 4:3, crop excess */
}
.featured-media-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 8px 10px;     /* Was 6px 8px */
    border-radius: 6px;
    font-size: 27px;       /* Was 18px */
    pointer-events: none;
    z-index: 3;
}

.article-featured-thumb {
    position: relative;
}

/* Featured podcasts: grayscale artwork */
.article-featured-thumb--podcast picture img,
.article-featured-thumb--podcast img {
    filter: grayscale(100%) !important;
    transition: filter 0.25s ease;
}

/* Optional: re-colour on hover */
.article-featured-card:hover .article-featured-thumb--podcast picture img,
.article-featured-card:hover .article-featured-thumb--podcast img {
    /* filter: grayscale(0%) !important; */
}

.article-modal-banner-wrapper {
    width: 100%;
    padding: 0 2rem;            /* match modal horizontal padding */
    box-sizing: border-box;
}

.article-modal-banner-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;        /* same as modal card corners */
    overflow: hidden;
}

/* Remove padding ONLY for the banner inside the modal header */
.article-modal-banner-full {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Make image perfectly fill modal width */
.article-modal-banner-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0; /* match your modal's curve */
}

/* Ensure modal itself creates a stacking context */
.article-modal {
    position: relative;
    z-index: 1000; /* backdrop should be lower */
}

/* Ensure the close button is ALWAYS above the content */
.article-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2000 !important; 
    pointer-events: auto;
}

.article-modal-body,
.article-modal-bodycopy {
    position: relative;
    z-index: 1;
}

/* Remove underline from Show All button (anchor has the .carousel-showall class directly) */
a.carousel-showall {
    text-decoration: none !important;
}

/* Hover state */
a.carousel-showall:hover {
    text-decoration: none !important;
}

a.carousel-showall:visited,
a.carousel-showall:focus,
a.carousel-showall:active {
    text-decoration: none !important;
}

.article-cta-btn {
    gap: 6px; 
}

.btn-outline-black {
    gap: 6px;
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin: 20px 0px 0px 0px;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.podcast-embed-wrapper {
    margin: 20px 0px 0px 0px;
}

.podcast-buttons {
    margin-top:20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Remove underline from podcast buttons */
.podcast-buttons a.article-cta-btn {
    text-decoration: none !important;
}

.podcast-buttons a.article-cta-btn:hover,
.podcast-buttons a.article-cta-btn:focus,
.podcast-buttons a.article-cta-btn:active {
    text-decoration: none !important;
}

.transcript-bodycopy a {
    color: #2b5c8a; /* or whatever suits your theme */
    text-decoration: underline;
}

.transcript-bodycopy a:hover {
    opacity: 0.8;
}

.transcript-bodycopy p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Make the whole author block clickable but keep normal text styles */
.article-author-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

/* Kill default link styling on the block in all states */
.article-author-block:link,
.article-author-block:visited,
.article-author-block:hover,
.article-author-block:active {
    text-decoration: none;
    color: inherit;
}

/* Ensure inner text isn’t underlined by default */
.article-author-block .article-author-name,
.article-author-block .article-author-role {
    text-decoration: none;
}

/* Style the “View profile” label to look like a link */
.article-author-view {
    color: #004c97;              /* or your brand link color */
    text-decoration: underline;
    font-weight: 500;
}

/* Optional: card hover feedback */
.article-author-block:hover .article-author-view {
    text-decoration: underline;
}


/* Tighten spacing between avatar and text block */
.article-author-block {
    display: flex;
    align-items: center;
    gap: 0.5rem;   /* reduce from the default, or whatever it was */
}

/* Make sure avatar doesn't have unexpected right-margin */
.article-author-avatar {
    margin-right: 0;
}

.article-modal-divider {
    border-bottom: 1px solid rgba(0,0,0,0.25);
    margin: 20px 0;
    padding: 0;
    width: 100%;
    display: block;
}

.profile-mobile-header {
    padding-top: 30px;
    padding-bottom:0px;
}

/* Modifier to centre CTA group contents */
.article-cta-group--center {
    justify-content: center;
}

/* Ensure CTA links look like buttons */
.article-cta-btn,
.article-cta-btn:link,
.article-cta-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;   /* removes underline */
}

/* Optional: small gap between icon and label */
.article-cta-btn i {
    margin-right: 6px;
}

/* ============================================================
   Reader view – full article blockquotes
   (mirror modal pull-quote styling)
   ============================================================ */

.article-body-copy blockquote {
    max-width: 320px;
    background-color: var(--pullquote-bg, #e3e2d3);
    border: none;
    padding: 20px;
    margin: 1.8em 0 1.2em 0;
    position: relative;

    font-family: "Lora", serif;
    font-size: 18px;
    line-height: 1.4;
    color: #fff;
}

/* Inner text */
.article-body-copy blockquote p {
    margin: 32px 0;
    padding: 10px;
    color: #fff;
}

/* Quote icons */
.article-body-copy blockquote::before,
.article-body-copy blockquote::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.article-body-copy blockquote::before {
    background-image: url("/assets/icons/pullquote-open.svg");
    top: 20px;
    left: 20px;
}

.article-body-copy blockquote::after {
    background-image: url("/assets/icons/pullquote-close.svg");
    bottom: 20px;
    right: 20px;
}

/* Alternate left/right float on desktop */
@media (min-width: 900px) {
    .article-body-copy blockquote:nth-of-type(odd) {
        float: left;
        clear: left;
        margin: 0.5em 32px 1.5em 0;
    }
    .article-body-copy blockquote:nth-of-type(even) {
        float: right;
        clear: right;
        margin: 0.5em 0 1.5em 32px;
    }
}

/* Mobile: full width */
@media (max-width: 899.98px) {
    .article-body-copy blockquote {
        float: none;
        max-width: 100%;
        margin: 1.5em 0;
    }
}

/* ============================================================
   Reader view – markdown tables in full article
   ============================================================ */

.article-body-copy table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 26px 0;
    font-size: 14px;      /* smaller than body copy */
    line-height: 1.4;
}

/* Cells */
.article-body-copy th,
.article-body-copy td {
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.18);
    text-align: left;
    vertical-align: top;
}

/* Header row */
.article-body-copy thead th {
    font-weight: 600;
    background-color: rgba(0,0,0,0.10);
    color: #111;
}

/* Zebra striping */
.article-body-copy tbody tr:nth-child(odd) {
    background-color: rgba(0,0,0,0.02);
}

.article-body-copy tbody tr:nth-child(even) {
    background-color: rgba(0,0,0,0.05);
}

/* Slightly tighter when table follows a heading */
.article-body-copy h3 + table,
.article-body-copy h4 + table {
    margin-top: 12px;
}

/* Horizontal scroll on small screens */
@media (max-width: 768px) {
    .article-body-copy table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

.article-meta-reader-toggle {
    margin-left: 12px; /* subtle spacing */
}

.article-reader-link {
    color: var(--cha-muted-text);
    font-weight: 500;
    text-decoration: none;      /* no underline */
    margin-left: 2px;
}

.article-reader-link:hover {
    color: var(--cha-blue);      /* subtle colour change */
    text-decoration: none;       /* still no underline */
}

.article-reader-link i {
    margin-left: 3px;
    font-size: 0.75rem;
    position: relative;
    top: -0.5px;                 /* visually aligns with text */
}

/* Fix Safari cropping issue in round author avatar */
.article-author-avatar picture,
.article-author-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Make the entire author block show a pointer cursor */
.article-author-block {
    cursor: pointer;
}

/* Style the 'View profile' link inside the author block */
.article-author-view {
    color: #006699;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;              /* space between text and chevron */
    cursor: pointer;
}

/* Chevron icon */
.article-author-view::after {
    content: "\f054";      /* Font Awesome: fa-chevron-right */
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;      /* solid style */
    font-size: 0.75rem;
    position: relative;
    top: -1px;             /* optical alignment */
}

/* Hover state */
.article-author-view:hover {
    font-weight: 500;      /* bold on hover */
    color: #005480;        /* slightly darker hue */
    text-decoration: none; /* ensure no underline */
}

/* Explore page CSS ----------------------------------------------------------- */
/* Explore hero ----------------------------------------------------------- */

.explore-hero {
    position: relative;
    min-height: 280px;
    padding: 40px 0;
    color: #ffffff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.explore-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.explore-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0; /* no visual gap between kicker and title */
}

/* Typography */

.explore-hero-kicker {
    font-family: "Lora", "Times New Roman", serif;
    font-size: 22px;
    opacity: 0.5;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    margin: 0;
    padding: 0;
}

.explore-hero-title {
    margin: 0;
    padding: 0;
    font-family: "Lora", "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 400;
}

.explore-hero-subtitle {
    max-width: 780px;
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.9;
    /* currently not used, kept in case we want a subtitle later */
}

/* Search bar */

.explore-search {
    margin-top: 24px; /* space between title block and search bar */
    width: 100%;
    max-width: 980px;
}

.explore-search-bar {
    position: relative;
    height: 60px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: rgba(0, 0, 0, 0.20);
    display: flex;
    align-items: center;
    padding: 0 64px 0 28px;
}

.explore-search-input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-size: 17px;
}

.explore-search-input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.explore-search-button {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
}

/* Clear “X” button inside search bar */
.explore-search-clear {
    position: absolute;
    right: 60px; /* <-- places it left of the magnifier */
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
    display: none; /* only shown when input has text */
    opacity: 0.85; /* same placeholder softness */
}

.explore-search-clear:hover {
    opacity: 1;
}

/* Filter pills row */
/* Filter pills row */
.explore-filter-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px; /* row gap / column gap */
    justify-content: center;
}

/* Pill container */
.explore-filter-pill {
    display: inline-flex;
    align-items: center;
    height: 30px;                /* total height of checkbox+label */
    padding: 0 8px 0 0;
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    gap: 10px;                   /* spacing between icon + label */
}

/* Icon size — tuned so FA square looks ~30px tall */
.explore-filter-icon i {
    font-size: 22px;             /* this produces ~28–30px rendered box */
    line-height: 1;
    vertical-align: middle;
}

/* Label */
.explore-filter-label {
    font-size: 16px;
    font-weight: 400;            /* normal weight unless checked */
}

/* Checked state */
.explore-filter-pill.is-checked .explore-filter-label {
    font-weight: 400;            /* bold label when selected */
}

.explore-filter-pill.is-checked .explore-filter-icon i {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.35); /* subtle pop */
}

/* Force checkbox icon to appear ~30px visually */
.explore-filter-pill .explore-filter-icon i {
    font-size: 30px !important;     /* renders as ~30px box */
    line-height: 1 !important;
    height: 30px;                   /* ensures consistent vertical sizing */
    width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* Mobile tweaks */

@media (max-width: 768px) {
    .explore-hero {
        padding: 32px 0;
        min-height: 240px;
    }

    .explore-hero-title {
        font-size: 34px;
    }

    .explore-search {
        max-width: 100%;
    }

    .explore-search-bar {
        padding: 0 56px 0 20px;
    }
}

/* Explore tool bar */
/* Explore toolbar (replacing breadcrumbs bar) ------------------------------ */

#explore-toolbar {
    background: #e3e1d1;
    border-top: 1px solid #d9d0c3;
    border-bottom: 1px solid #d9d0c3;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.explore-toolbar-inner {
    width: 100%;
    max-width: 1300px; /* matches .container-1300 */
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

/* Left side: view toggle + summary */

.explore-toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.explore-view-toggle {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid #c2b8aa;
    overflow: hidden;
}

.explore-view-btn {
    border: 0;
    padding: 6px 14px;
    font-size: 13px;
    background: transparent;
    color: #333;
    cursor: pointer;
    line-height: 1.2;
}

.explore-view-btn + .explore-view-btn {
    border-left: 1px solid #c2b8aa;
}

.explore-view-btn.is-active {
    background: #ffffff;
    color: #333;
    font-weight: 600;
}

.explore-result-summary {
    font-size: 14px;
    color: #333;
}

/* Right side: sort */

.explore-toolbar-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.explore-sort-label {
    font-size: 13px;
    color: #7b6f67;
}

.explore-sort-select {
    font-size: 13px;
    padding: 6px 14px;                  /* match pill padding */
    height: 32px;                       /* exact pill height */
    border-radius: 999px;               /* same rounded look */
    border: 1px solid #c2b8aa;
    background: #ffffff;
    color: #2f2927;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom dropdown arrow */
    background-image:
        linear-gradient(45deg, transparent 50%, #7b6f67 50%),
        linear-gradient(135deg, #7b6f67 50%, transparent 50%);
    background-position:
        calc(100% - 12px) 50%,
        calc(100% - 8px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;

    padding-right: 28px;               /* space for arrow */
}

/* explore body*/

#explore-body {
    background-color: #f7f6f1;
}

.explore-heading {
    font-family: "Lora", serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--cha-text-main);
    margin:0;
    padding-top:25px;
    opacity: 0;
    animation: exploreFadeIn 2000ms ease forwards;
}

@keyframes exploreFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px); /* optional subtle lift */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.explore-intro {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: #333;
    margin: 10px 0 25px;
}

/* Results cards */
/* Explore results area */
.explore-results {
    padding: 32px 0 40px;
    margin-top:0px;

}

/* Card grid layout – 4 desktop, 2 tablet, 1 mobile */
.explore-grid {
    display: grid;
    gap: 32px 24px;
}

.explore-grid--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Medium screens: 3 across */
@media (max-width: 1100px) {
    .explore-grid--cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablet: 2 across */
@media (max-width: 900px) {
    .explore-grid--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: 1 across */
@media (max-width: 600px) {
    .explore-grid--cards {
        grid-template-columns: 1fr;
    }
}

/* Make sure cards behave nicely in a grid */
.explore-grid .resource-card {
    height: 100%;
}

/* Pagination container */
.explore-pagination {
    margin-top:40px;
    margin-bottom:0px;
    text-align: center;
}

.explore-pagination-list {
    display: inline-flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Base button style */
.explore-pagination-link,
.explore-pagination-link:visited,
.explore-pagination-item span.explore-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 18px;
    min-width: 44px;

    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;

    border: 2px solid #000;
    border-radius: 999px;

    color: #000;
    background: transparent;
    text-decoration: none;

    transition: all 0.2s ease;
}

/* Hover state */
.explore-pagination-link:hover {
    background: #000;
    color: #fff;
}

/* ACTIVE page (is-current) */
.explore-pagination-link.is-current,
.explore-pagination-item span.is-current {
    background: #000 !important;
    color: #fff !important;
    cursor: default;
}

/* “Next ›” link styling */
.explore-pagination-link.next {
    padding: 6px 18px;
}

/* Fix Explore grid card images so they show the full 4:3 artwork */

.explore-grid--cards .resource-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* optional: keep a 4:3 box like the carousels */
    aspect-ratio: 4 / 3;
}

/* Remove any stretching/zoom from generic card rules */
.explore-grid--cards .resource-img picture,
.explore-grid--cards .resource-img img {
    display: block;
    width: 100%;
    height: auto;        /* <-- critical: no forced 100% height */
    object-fit: cover;   /* or `contain` if you *never* want cropping */
    transform: none;     /* kill any base zoom if a rule is scaling it */
}

.explore-pagination-link i {
    margin-left: 10px;
}
.explore-pagination-link.prev i {
    margin-left: 0;
    margin-right: 10px;
}

.explore-view-hidden {
    display: none !important;
}

/* =========================================================
   Explore – table view styling
   ========================================================= */

/* Base table */
.explore-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* <-- was fixed; this caused the huge gap */
}

/* Headers + cells: Inter 500 */
.explore-table th,
.explore-table td {
    padding: 0.6rem 0.75rem;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
}

/* Column widths */
.explore-table-col-thumb {
    width: 70px;      /* room for 50×50 img */
    padding-right: 0; /* no extra gap here */
}

.explore-table-col-main {
    /* let auto layout size this naturally */
}

.explore-table-col-type {
    width: 14%;
    white-space: nowrap;
}

.explore-table-col-author {
    width: 16%;
    white-space: nowrap;
}

.explore-table-col-date {
    width: 14%;
    white-space: nowrap;
}

/* Size of the thumb */
.explore-table-col-thumb img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: block;
}

/* Links – no underline by default */
.explore-table a {
    text-decoration: none;
    color: inherit;
}

.explore-table a:hover {
    text-decoration: underline;
}

/* Title + subtitle in main cell */
.explore-table-title {
    display: block;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 2px;
}

.explore-table-subtitle {
    font-weight: 500;
    font-size: 17px;
    line-height: 1.35;
    opacity: 0.8;
}

/* Row borders + alternating background */
.explore-table tbody tr {
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

.explore-table tbody tr:nth-child(odd) {
    background-color: transparent;
}

.explore-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Header background + typography */
.explore-table thead th {
    background: #e3e1d1;

    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;

    opacity: 0.85;
    height: 40px;
    min-height: 40px;
    padding: 0.75rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #333;
    border-top: 1px solid #333;
}

/* Resource header cell (colspan=2) */
.explore-table-col-resource {
    text-align: left;
}

/* Responsive tweaks */

@media (max-width: 768px) {
    .explore-toolbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .explore-toolbar-right {
        width: 100%;
        justify-content: flex-start;
    }
}

/* --------------------------------------------------
   Insight Report Page – Top Section
-------------------------------------------------- */

.section-insight-top {
    padding: 48px 0 64px;
    background: #f7f6f1; /* same family as article background */
}

/* Optional: slightly constrain the left column copy if needed */
.insight-top-main .article-body-copy {
    max-width: 720px;
}

/* Right column stack (inside article-aside) */
.insight-top-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --------------------------------------------------
   Cover card
-------------------------------------------------- */

.insight-cover-card {
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    border: 1px solid var(--cha-border, #cccab7);
}

.insight-cover-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.insight-cover-caption {
    margin-top: 8px;
    font-size: 14px;
    color: var(--cha-muted-text, #7b6f67);
}

/* --------------------------------------------------
   Subscribe box
-------------------------------------------------- */

.insight-subscribe-box {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5); /* 50% opacity */
    padding: 24px 24px 20px;
    border: 1px solid var(--cha-border, #cccab7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
}

.insight-subscribe-box h2 {
    margin: 0 0 8px;
    font-size: 36px;  /* hero size */
    line-height: 1.15;
}

.insight-subscribe-box p {
    margin: 0 0 16px;
    font-size: 16px; /* better readability */
}

.insight-subscribe-footnote {
    margin-top: 20px;
    font-size: 12px;
    color: var(--cha-muted-text, #7b6f67);
}

/* --------------------------------------------------
   Form layout + fields
-------------------------------------------------- */

.insight-subscribe-form {
    display: flex;
    flex-direction: column;
}

.insight-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.insight-form-row--two > .insight-field {
    flex: 1 1 0;
    min-width: 0;
}

.insight-field {
    margin-bottom: 14px;
}

.insight-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.insight-field input,
.insight-field select,
.insight-field textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #c5c4b8;
    padding: 8px 10px;
    font-size: 16px; /* readability */
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
    background-color: #fafaf7;
}

.insight-field input:focus,
.insight-field select:focus,
.insight-field textarea:focus {
    outline: none;
    border-color: var(--cha-green, #696f2e);
    box-shadow: 0 0 0 1px rgba(105, 111, 46, 0.25);
}

/* Transparent select to match your input styling */
.insight-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: transparent;       /* <— transparent background */
    border: 1px solid #c5c4b8;
    border-radius: 6px;

    padding: 10px 14px;
    width: 100%;
    min-height: 44px;
    font-size: 16px;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;

    line-height: 1.4;

    /* Custom downward chevron on the right */
    background-image:
        url("data:image/svg+xml,%3Csvg fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;

    /* Prevent Safari's dimming effect */
    backdrop-filter: none;
}

/* Focus state matches text inputs */
.insight-field select:focus {
    outline: none;
    border-color: var(--cha-green, #696f2e);
    box-shadow: 0 0 0 1px rgba(105, 111, 46, 0.25);
}
/* Better focus state */
.insight-field select:focus {
    outline: none;
    border-color: var(--cha-green, #696f2e);
    box-shadow: 0 0 0 1px rgba(105, 111, 46, 0.25);
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

/* Global outline pill style – shared across site */
.btn-outline-black,
button.btn-outline-black {
    border: 2px solid #000;
    border-radius: 999px;
    padding: 8px 22px;
    background: transparent;
    color: #000;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-black:hover,
button.btn-outline-black:hover {
    background: #000;
    color: #fff;
}

/* Insight subscription button – spacing + right align */
.insight-top-btn {
    margin-top: 12px;
    align-self: flex-end;   /* right-align within form */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;               /* spacing between text + icon */
    font-size: 15px;        /* slight tweak if desired */
}

/* --------------------------------------------------
   Utilities
-------------------------------------------------- */

.article-subtitle--nomargin {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* --------------------------------------------------
   Responsive tweaks
-------------------------------------------------- */

@media (max-width: 960px) {
    .section-insight-top {
        padding: 32px 0 40px;
    }

    .insight-subscribe-box {
        padding: 20px 18px 18px;
    }

    .insight-top-btn {
        align-self: stretch;   /* optional: full-width on small screens */
        justify-content: center;
    }
}

/* Two-column bottom row */
.insight-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* allows mobile stacking */
}

/* Left text */
.insight-bottom-text {
    flex: 1 1 50%;
    font-size: 12px;
    color: var(--cha-muted-text, #7b6f67);
    line-height: 1.4;
}

/* Right button */
.insight-bottom-row .insight-top-btn {
    flex: 0 0 auto;
    align-self: center;
}

/* Container for the 3 covers */
.insight-cover-strip {
    display: flex;
    gap: 0r;
    margin-top: 20px;
    flex-wrap: nowrap;
}

/* Each image — clean, no border, no radius, no shadow */
.insight-cover-img {
    width: 100%;
    max-width: 50%; /* Keeps all 3 nicely inside the column */
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin:0;padding:0;
}

/* If screen narrower, wrap tidy */
@media (max-width: 900px) {
    .insight-cover-strip {
        flex-wrap: wrap;
    }
    .insight-cover-img {
        max-width: 150px;
    }
}

@media (max-width: 600px) {
    .insight-cover-img {
        max-width: 120px;
    }
}

/* Home Page CSS */

/* ---------------------------------------------------------
   Home hero wrapper
   --------------------------------------------------------- */
.home-hero {
    padding: 0;   /* no top padding so it touches the nav */
    background-color: ##e3e2d3;
}

/* Banner container */
.home-hero-banner {
    position: relative;
    width: 100%;
    height: 560px;
    max-height: 560px;
    border-radius: 0;    /* remove rounded corners */
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    /* background-image is set inline in the HTML */
}

/* Overlay only applies when .has-overlay is on the banner element */
.home-hero-banner.has-overlay .home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.70) 0%,
        rgba(0,0,0,0.60) 35%,
        rgba(0,0,0,0.30) 55%,
        rgba(0,0,0,0.00) 80%
    );
}

/* Text container */
.home-hero-copy {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 40px;
    max-width: 480px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography */
.home-hero-eyebrow {
    margin: 0 0 .75rem;
    font-family: "Lora", serif;
    font-size: 22px;
    opacity: .5;
}

.home-hero-title {
    margin: 0 0 .9rem;
    font-family: "Lora", serif;
    font-size: 36px;
    color: #fff;
    font-weight: 400;
}

.home-hero-subtitle {
    margin: 0 0 0;
    font-family: "Lora", serif;
    font-size: 22px;
    color: #fff;
}

.home-hero-body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    color: #fff;
}

/* Buttons */
.btn-outline-white {
    display: inline-flex;
    padding: .75rem 1.8rem;
    border-radius: 999px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: .18s ease;
}

.btn-outline-white:hover {
    background: #fff;
    color: #222;
}

.home-hero-btn--ghost {
    background: rgba(255,255,255,0.1);
}

.home-hero-btn--ghost:hover {
    background: #fff;
    color: #222;
}

.home-hero-actions {
    margin-top: 2.2rem;
    display: flex;
    gap: .9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .home-hero-banner {
        height: 480px;
    }
}

@media (max-width: 640px) {
    .home-hero-banner {
        height: auto;
        min-height: 420px;
    }
}

/* Modifier: full-bleed hero version of container-1300 */
.container-1300.hero-fullwidth {
    padding-left: 0;
    padding-right: 0;
}

/* ---------------------------------------------------------
   Section wrapper
--------------------------------------------------------- */
.home-feature-section {
    margin-top: 0px;            /* visual spacing under hero */
    margin-bottom: 0px;         /* clean spacing before next section */
}

.home-feature-section .container-1300.no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---------------------------------------------------------
   Grid layout: middle column wider
--------------------------------------------------------- */
.home-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
}

/* ---------------------------------------------------------
   Feature boxes
--------------------------------------------------------- */
.home-feature-box {
    padding: 48px 42px;          /* more breathing room, matches mockup */
    color: #fff;
    border-radius: 0;
}

/* ---------------------------------------------------------
   Typography
--------------------------------------------------------- */
.hf-title {
    font-family: "Lora", serif;
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 400;
}

.hf-subtitle {
    font-family: "Lora", serif;
    font-size: 22px;
    margin: 0 0 22px;
    font-weight: 400;
}

.hf-body {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 30px;
}

/* ---------------------------------------------------------
   Forms + inputs + buttons
--------------------------------------------------------- */
.hf-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.hf-input {
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.hf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: 999px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    transition: 0.2s ease;
}

.hf-btn:hover {
    background: #fff;
    color: #333;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 960px) {
    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-box {
        padding: 36px 28px;
    }
}

/* ---------------------------------------------------------
   Input fields inside the feature boxes
--------------------------------------------------------- */
.hf-form .hf-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;                  /* Slightly more rounded */
    border: 2px solid rgba(255,255,255,0.7); /* White border (softened a touch for aesthetics) */
    background: rgba(0,0,0,0.2);   /* Your translucency */
    color: #fff;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Hover + focus states for polish */
.hf-form .hf-input:focus {
    background: rgba(0,0,0,0.28);
    border-color: #fff;
}

.hf-form .hf-input::placeholder {
    color: rgba(255,255,255,0.75);
}

.home-feature-box {
    position: relative;
    overflow: hidden; /* prevents reveal elements drifting outside on animate-in */
}

.home-feature-inner {
    display: flex;
    flex-direction: column;
}

.hf-btn-row {
    display: flex;
    gap: 16px;           /* Space between buttons */
    margin:0px;
    padding:0px
}

.hf-btn-row .hf-btn {
    flex: 1;             /* Each button takes up half the row */
    text-align: center;
}

.hf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;                 /* perfect spacing between icon and text */
}

.hf-btn i {
    font-size: 1.5em;         /* scale icon up nicely */
    line-height: 1;            /* prevents vertical jitter */
    position: relative;
    top:0px;       /* slight optical alignment tweak */
}