:root {
    --black: #111111;
    --black-soft: #1c1c1c;
    --black-card: #242424;

    --scarlet: #cc0000;
    --scarlet-dark: #a00000;
    --scarlet-light: #e32636;

    --white: #ffffff;
    --off-white: #f7f7f7;
    --light-gray: #e5e5e5;

    --text-dark: #171717;
    --text-muted: #666666;

    --light-border: rgba(17, 17, 17, 0.14);
    --dark-border: rgba(255, 255, 255, 0.16);

    --shadow: 0 16px 42px rgba(0, 0, 0, 0.18);

    /* Club logo palette */
    --ctc-navy: #0b376f;
    --ctc-cream: #f4e6d4;
    --ctc-cream-soft: #fbf5ed;
    --ctc-logo-border: rgba(244, 230, 212, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.1;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    letter-spacing: -0.07em;
}

h2 {
    margin-bottom: 28px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    letter-spacing: -0.055em;
}

h3 {
    font-size: 1.35rem;
    letter-spacing: -0.035em;
}

.container {
    width: min(1180px, 88%);
    margin: 0 auto;
}

.narrow {
    max-width: 900px;
}

/* Header and navigation */

.site-header {
    background: var(--black);
    border-bottom: 1px solid var(--dark-border);
}

.navbar {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    line-height: 1.15;
}

.logo-image {
    height: 42px;
    width: auto;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 26px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--scarlet-light);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Background image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url("images/bu-bckgr.jpg") center center / cover no-repeat;

    filter: blur(8px);
    transform: scale(1.08); /* prevents blur from showing edges */

    z-index: -2;
}

/* Dark overlay for readability */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(10, 18, 32, 0.68);

    z-index: -1;
}

/* Keep content above background */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 7rem 0;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(42px, 6vw, 88px);
}

.hero-text-column {
    flex: 1 1 58%;
    max-width: 700px;
}

.hero-logo-column {
    flex: 1 1 42%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-frame {
    position: relative;
    width: min(100%, 560px);
    padding: clamp(9px, 1.4vw, 15px);
    border: 1px solid rgba(244, 230, 212, 0.24);
    border-radius: 32px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
        rgba(5, 27, 58, 0.38);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    isolation: isolate;
}

.hero-logo-frame::before {
    content: "";
    position: absolute;
    inset: 8% -7% -8% 12%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.13);
    filter: blur(38px);
}

.hero-logo-large {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 22px;
    background: var(--ctc-cream);
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.16rem;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--scarlet-light);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--scarlet-dark);
}

/* Buttons */

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-red,
.button-gold {
    background: var(--scarlet);
    color: var(--white);
}

.button-red:hover,
.button-gold:hover {
    background: var(--scarlet-light);
}

.button-outline {
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--white);
}

.button-outline:hover {
    border-color: var(--scarlet-light);
    color: var(--scarlet-light);
}

.button-dark {
    margin-top: 8px;
    background: var(--black);
    color: var(--white);
}

.button-dark:hover {
    background: var(--black-soft);
}

/* General sections */

.section {
    padding: 108px 0;
}

.section-light {
    background: var(--off-white);
    color: var(--text-dark);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-red,
.section-gold {
    background: var(--off-white);
    color: var(--text-dark);
}

.split-layout,
.image-text-layout,
.meeting-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

.large-copy {
    color: #3f3f3f;
    font-size: 1.22rem;
}

.dark-copy {
    color: var(--text-dark);
}

/* Cards */

.card-grid {
    display: grid;
    gap: 22px;
    margin-top: 42px;
}

.three-column {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    min-height: 265px;
    padding: 30px;
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.72);
}

.card-number {
    color: var(--scarlet-light) !important;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.light-card {
    padding: 28px;
    border: 1px solid var(--light-border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.light-card .card-number {
    color: var(--scarlet-dark) !important;
}

.section-dark .light-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--dark-border);
    color: white;
}

.section-dark .light-card p {
    color: rgba(255,255,255,0.75);
}

.section-dark .light-card .card-number {
    color: var(--scarlet-light) !important;
}

.section-light .dark-list-card {
    border-bottom: 1px solid var(--light-border);
}

.section-light .dark-list-card h3 {
    color: var(--text-dark);
}

.section-light .content-meta {
    color: var(--scarlet-dark);
}

/* Image panels */

.image-panel {
    min-height: 440px;
    border-radius: 18px;
    background-color: var(--black-soft);
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow);
}

.commodity-image {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.14)),
        url("images/market-screens.jpg");
}

.team-image {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        url("images/team.jpg");
}

/* Links */

.text-link {
    color: var(--scarlet-dark);
    font-weight: 800;
}

.text-link:hover {
    color: var(--scarlet-light);
}

.light-link {
    color: var(--scarlet-light);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

/* News section */

.news-list {
    margin-top: 34px;
    border-top: 1px solid var(--dark-border);
}

.news-item {
    display: grid;
    grid-template-columns: 130px 1.6fr 1fr;
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid var(--dark-border);
}

.news-item span,
.content-meta,
.resource-card span {
    color: var(--scarlet-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-item h3,
.news-item p {
    margin-bottom: 0;
}

.news-item p {
    color: rgba(255, 255, 255, 0.63);
}


/* Clickable news-feed rows */

.news-item-clickable {
    position: relative;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        padding-left 0.2s ease,
        padding-right 0.2s ease;
}

.news-item-clickable:hover,
.news-item-clickable:focus-within {
    padding-left: 16px;
    padding-right: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.news-item-clickable h3 {
    transition: color 0.2s ease;
}

.news-item-clickable:hover h3,
.news-item-clickable:focus-within h3 {
    color: var(--scarlet-light);
}

.news-item-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 8px;
}

.news-item-overlay:focus-visible {
    outline: 2px solid var(--scarlet-light);
    outline-offset: 4px;
}

/* Upcoming meeting */

.meeting-details {
    padding: 32px;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 4px solid var(--scarlet);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.meeting-details p:last-child {
    margin-bottom: 0;
}

.section-red .eyebrow,
.section-gold .eyebrow {
    color: var(--scarlet);
}

.section-red h2,
.section-gold h2 {
    color: var(--text-dark);
}

/* Join section */

.join-section {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.93)
        ),
        url("images/market-screens.jpg");
    background-position: center;
    background-size: cover;
}

.join-content {
    max-width: 740px;
}

.join-content p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
}

.join-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.join-card {
    display: block;
    min-height: 230px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    transition: 0.2s ease;
}

.join-card:hover {
    transform: translateY(-4px);
    border-color: var(--scarlet-light);
    background: rgba(255,255,255,0.12);
}

.join-card h3 {
    margin-bottom: 12px;
}

.join-card p {
    color: rgba(255,255,255,0.72);
}

.join-card span {
    color: var(--scarlet-light);
    font-weight: 800;
}

/* Secondary page hero sections */

.page-hero {
    display: flex;
    min-height: 540px;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96),
            rgba(0, 0, 0, 0.72)
        ),
        url("images/hero-bg.jpg");
    background-position: center;
    background-size: cover;
}

.page-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(3.3rem, 6vw, 6.4rem);
}

.compact-hero {
    min-height: 480px;
}

.resource-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.68)
        ),
        url("images/hero-bg.jpg");
    background-position: center;
    background-size: cover;
}

/* About page */

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.tag-grid span {
    padding: 11px 16px;
    border: 1px solid var(--light-border);
    border-radius: 999px;
    background: var(--white);
    font-weight: 700;
}

.person-card {
    padding: 16px;
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.person-card h3 {
    margin: 18px 4px 4px;
}

.person-card p {
    margin: 0 4px 6px;
    color: rgba(255, 255, 255, 0.66);
}

.person-placeholder {
    display: grid;
    min-height: 230px;
    place-items: center;
    border-radius: 10px;
    background: var(--black-card);
    color: rgba(255, 255, 255, 0.38);
    font-weight: 700;
}

/* Notes page */

.content-list {
    display: grid;
    gap: 16px;
    margin-top: 34px;
}

.content-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px;
    border: 1px solid var(--light-border);
    border-radius: 14px;
    background: var(--white);
}

.content-card h3 {
    margin-bottom: 8px;
}

.content-card p:last-child {
    margin-bottom: 0;
    color: #555555;
}

.content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.small-button {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--scarlet);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
}

.small-button:hover {
    background: var(--scarlet-light);
}

.small-button.secondary {
    border: 1px solid var(--light-border);
    background: transparent;
    color: var(--black);
}

.small-button.secondary:hover {
    border-color: var(--scarlet);
    color: var(--scarlet);
}

.image-banner {
    display: flex;
    min-height: 390px;
    align-items: center;
}

.competition-banner {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.9)
        ),
        url("images/competition.jpg");
    background-position: center;
    background-size: cover;
}

/* Competitions page */

.competition-page-image {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.14)),
        url("images/competition.jpg");
}

/* Challenges page */

.dark-list-card {
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-border);
}

.dark-list-card h3 {
    margin-bottom: 0;
}

/* Resources page */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.resource-card {
    min-height: 200px;
    padding: 24px;
    border: 1px solid var(--light-border);
    border-radius: 14px;
    background: var(--white);
    transition: 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 0, 0, 0.38);
    box-shadow: var(--shadow);
}

.resource-card h3 {
    margin-top: 14px;
    margin-bottom: 8px;
}

.resource-card p {
    color: #5b5b5b;
}

.two-column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    margin-top: 36px;
}

.simple-list {
    display: grid;
}

.simple-list a {
    display: grid;
    gap: 4px;
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-border);
}

.simple-list a:hover strong {
    color: var(--scarlet-light);
}

.simple-list span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.news-link {
    color: var(--scarlet-light);
    font-weight: 700;
}

.news-link:hover {
    text-decoration: underline;
}

/* Footer */

.site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--dark-border);
    background: #080808;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-title {
    margin-bottom: 4px;
    font-weight: 800;
}

.site-footer p:not(.footer-title) {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.88rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--scarlet-light);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 16px;
    background: var(--ctc-cream);
    box-shadow: 0 0 0 1px rgba(244, 230, 212, 0.2);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

/* Informational, legal, accessibility, and error pages */
.legal-page {
    min-height: 68vh;
}

.legal-container {
    max-width: 820px;
}

.legal-container h1 {
    color: var(--);
    margin-bottom: 18px;
}

.legal-container h2 {
    color: var(--text-dark);
    margin-top: 34px;
    margin-bottom: 10px;
    font-size: 1.45rem;
}

.legal-container p {
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-updated {
    font-size: 0.92rem;
    opacity: 0.72;
}

.button-outline-dark {
    border: 1px solid var(--ctc-navy);
    color: var(--ctc-navy);
    background: transparent;
}

.button-outline-dark:hover {
    background: var(--ctc-navy);
    color: white;
}

@media (max-width: 700px) {
    .footer-nav {
        align-items: flex-start;
    }

    .footer-legal {
        justify-content: flex-start;
    }
}

@media (min-width: 901px) {
    .hero::before {
        background-position: center 10%;
    }
}

/* Tablet layout */

@media (max-width: 900px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .nav-links {
        justify-content: flex-start;
        gap: 14px 20px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-logo-frame {
        width: min(78vw, 470px);
    }

    .hero-logo-large {
        width: 100%;
    }

    .button-row {
        justify-content: center;
    }

    .split-layout,
    .image-text-layout,
    .meeting-layout,
    .two-column-list {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .three-column,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .join-actions {
        grid-template-columns: 1fr;
    }

    .content-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .meeting-details {
        padding: 0 0 0 18px;
    }
}

/* Mobile layout */

@media (max-width: 560px) {
    h1 {
        font-size: 3.4rem;
    }

    .section {
        padding: 76px 0;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero-logo-column {
        margin-top: 12px;
    }

    .hero-logo-frame {
        width: min(88vw, 430px);
        border-radius: 22px;
    }

    .hero-logo-large {
        width: 100%;
        border-radius: 16px;
    }

    .footer-logo {
        width: 62px;
        height: 62px;
    }

    .hero-content {
        padding: 80px 0;
    }

    .image-panel {
        min-height: 290px;
    }

    .footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-brand {
        align-items: flex-start;
    }
}

@media (max-width: 430px) {
}

/* =========================================================
   Mobile-only refinements
   ========================================================= */

/* Hidden on desktop */
.mobile-menu {
    display: none;
}

.mobile-news-item-overlay {
    display: none;
}

@media (max-width: 560px) {
    /* General mobile spacing */
    .section {
        padding: 54px 0;
    }

    .container {
        width: min(92%, 1180px);
    }

    h2 {
        margin-bottom: 18px;
    }

    .eyebrow {
        margin-bottom: 12px;
    }

    /* Header */
    .navbar {
        min-height: 64px;
        padding: 10px 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        position: relative;
        display: block;
        flex: 0 0 auto;
        z-index: 30;
    }

    .mobile-menu summary {
        display: flex;
        width: 40px;
        height: 40px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        list-style: none;
        border: 1px solid var(--dark-border);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 999px;
        background: var(--white);
    }

    .mobile-menu-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: min(78vw, 285px);
        padding: 10px;
        border: 1px solid var(--dark-border);
        border-radius: 14px;
        background: #0b0b0b;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
    }

    .mobile-menu-links a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.92rem;
        font-weight: 700;
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a:focus-visible {
        background: rgba(255, 255, 255, 0.07);
        color: var(--scarlet-light);
    }

    .logo {
        min-width: 0;
        gap: 10px;
        font-size: 0.88rem;
    }

    .logo-image {
        height: 34px;
    }

    /* Index hero */
    .hero {
        min-height: 0;
        padding: 54px 0 50px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-split {
        gap: 26px;
    }

    .hero h1 {
        margin-bottom: 17px;
        font-size: 2.85rem;
    }

    .hero-text {
        margin-bottom: 24px;
        font-size: 1.03rem;
    }

    .hero-logo-column {
        margin-top: 0;
    }

    .hero-logo-frame {
        width: min(62vw, 245px);
        padding: 8px;
        border-radius: 18px;
    }

    .hero-logo-large {
        border-radius: 12px;
    }

    /* Tighter layouts */
    .split-layout,
    .image-text-layout,
    .meeting-layout,
    .two-column-list {
        gap: 24px;
    }

    /* Index mission */
    .section-light .split-layout {
        gap: 14px;
    }

    .large-copy {
        font-size: 1.06rem;
    }

    /* Latest News */
    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .section-heading-row h2 {
        margin-bottom: 0;
        font-size: 1.9rem;
        white-space: nowrap;
    }

    .section-heading-row .text-link {
        display: inline-block;
        white-space: nowrap;
    }

    .news-list {
        margin-top: 22px;
    }

    .news-item {
        gap: 5px;
        padding: 18px 0;
    }

    /* Full clickable Copper challenge row on mobile */
    .challenge-news-item {
        position: relative;
        cursor: pointer;
    }

    .challenge-news-item .news-link {
        position: relative;
        z-index: 2;
    }

    .mobile-news-item-overlay {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        border-radius: 8px;
    }

    .mobile-news-item-overlay:focus-visible {
        outline: 2px solid var(--scarlet-light);
        outline-offset: 3px;
    }

    /* Upcoming meeting */
    #meeting.section {
        padding: 50px 0;
    }

    #meeting .meeting-layout {
        gap: 20px;
    }

    .meeting-details {
        width: 100%;
        padding: 22px 20px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-left: 4px solid var(--scarlet);
        border-radius: 12px;
        background: white;
    }

    .meeting-details p {
        margin-bottom: 9px;
    }

    /* Join section */
    .join-actions {
        gap: 13px;
        margin-top: 24px;
    }

    .join-card {
        min-height: 0;
        padding: 20px;
    }

    .join-card h3 {
        margin-bottom: 8px;
    }

    .join-card p,
    .join-content p:not(.eyebrow) {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .join-card p {
        margin-bottom: 13px;
    }

    /* Secondary page heroes */
    .page-hero,
    .compact-hero {
        min-height: 0;
        padding: 64px 0 60px;
    }

    .page-hero h1 {
        margin-bottom: 16px;
        font-size: 2.55rem;
        letter-spacing: -0.055em;
    }

    .page-hero .hero-text {
        margin-bottom: 0;
    }

    /* General secondary-page spacing */
    .card-grid {
        gap: 14px;
        margin-top: 24px;
    }

    .feature-card,
    .light-card {
        min-height: 0;
        padding: 22px;
    }

    .image-panel {
        min-height: 250px;
    }

    .tag-grid {
        margin-top: 24px;
        gap: 9px;
    }

    /* Footer */
    .site-footer {
        padding: 28px 0;
    }

    .footer-layout {
        gap: 18px;
    }
}