/* Discovery hubs — Clubs (violet) / Compétitions (cyan). No club-color takeover. */

.dh-body--clubs {
    --dh-accent: #7c3aed;
    --dh-accent-deep: #4c1d95;
    --dh-hero-from: #07060f;
    --dh-hero-to: #1a1030;
}

.dh-body--competitions {
    --dh-accent: #22d3ee;
    --dh-accent-deep: #0e7490;
    --dh-hero-from: #061018;
    --dh-hero-to: #08222c;
}

.dh-page,
main.page-shell.dh-page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 72px;
}

.dh-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 48px;
    padding: 0;
    color: #f6f3ff;
    background:
        radial-gradient(ellipse 55% 80% at 88% 35%, color-mix(in srgb, var(--dh-accent) 34%, transparent) 0%, transparent 64%),
        linear-gradient(120deg, var(--dh-hero-from) 0%, var(--dh-hero-to) 100%);
    border-bottom: 3px solid var(--dh-accent);
}

.dh-hero--clubs {
    min-height: clamp(400px, 36vw, 520px);
    display: flex;
    align-items: stretch;
}

.dh-hero--clubs::before {
    content: "";
    position: absolute;
    right: clamp(4%, 8vw, 10%);
    top: 50%;
    z-index: 0;
    width: min(38vw, 340px);
    aspect-ratio: 4 / 5;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.18;
    background:
        radial-gradient(ellipse 70% 40% at 50% 18%, rgba(246, 243, 255, 0.28), transparent 58%),
        linear-gradient(180deg, rgba(167, 139, 250, 0.22), rgba(76, 29, 149, 0.08) 62%, transparent);
    clip-path: polygon(50% 0, 100% 14%, 92% 72%, 50% 100%, 8% 72%, 0 14%);
}

.dh-hero--clubs::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 0;
    height: 42%;
    pointer-events: none;
    opacity: 0.2;
    background:
        repeating-linear-gradient(90deg, transparent 0 18px, rgba(246, 243, 255, 0.08) 18px 19px),
        radial-gradient(ellipse 80% 90% at 50% 120%, rgba(124, 58, 237, 0.28), transparent 64%);
}

.dh-hero--clubs .dh-hero-copy,
.dh-hero--competitions .dh-hero-copy {
    position: relative;
    z-index: 1;
    width: min(100%, var(--d3-shell, 1380px));
    max-width: none;
    min-height: inherit;
    margin: 0 auto;
    padding: clamp(64px, 7vw, 96px) clamp(24px, 2.2vw, 32px) clamp(54px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dh-hero .dh-brand-line {
    margin: 0 0 14px;
    max-width: 25ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.18;
    color: #f6f3ff;
}

.dh-page .dh-hero h1,
main.page-shell.dh-page .dh-hero h1,
.dh-hero--clubs h1,
.dh-hero--competitions h1 {
    max-width: min(100%, var(--d3-shell-hero-copy, 1280px)) !important;
    font-family: "Bebas Neue", Impact, sans-serif !important;
    font-size: var(--d3-hero-title-size, clamp(64px, 8vw, 118px)) !important;
    line-height: 0.96 !important;
    letter-spacing: 0.02em !important;
    color: #f6f3ff !important;
    -webkit-text-fill-color: #f6f3ff !important;
    background: none !important;
}

.dh-page .dh-hero--clubs h1,
main.page-shell.dh-page .dh-hero--clubs h1 {
    font-size: var(--d3-hero-title-size, clamp(72px, 10vw, 148px)) !important;
    line-height: 0.86 !important;
    margin: 0 0 18px !important;
}

.dh-hero-marks {
    position: absolute;
    inset: 0 max(24px, calc((100vw - var(--d3-shell, 1380px)) / 2)) 0 48%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.24;
}

.dh-hero-mark {
    position: absolute;
    width: clamp(190px, 22vw, 360px);
    height: clamp(190px, 22vw, 360px);
    object-fit: contain;
    filter: saturate(0.8) drop-shadow(0 28px 60px rgba(0, 0, 0, 0.34));
}

.dh-hero-marks--clubs .dh-hero-mark--1 { right: 34%; top: 5%; transform: rotate(-8deg); }
.dh-hero-marks--clubs .dh-hero-mark--2 { right: 2%; top: 18%; transform: rotate(7deg); }
.dh-hero-marks--clubs .dh-hero-mark--3 { right: 18%; bottom: -22%; transform: rotate(-2deg); }

.dh-hero--competitions {
    min-height: clamp(420px, 37vw, 540px);
    display: flex;
    align-items: stretch;
}

.dh-hero-marks--competitions .dh-hero-mark {
    width: clamp(120px, 14vw, 230px);
    height: clamp(120px, 14vw, 230px);
}

.dh-hero-marks--competitions .dh-hero-mark--1 { right: 31%; top: 4%; width: clamp(190px, 19vw, 300px); height: clamp(190px, 19vw, 300px); }
.dh-hero-marks--competitions .dh-hero-mark--2 { right: 4%; top: 3%; transform: rotate(7deg); }
.dh-hero-marks--competitions .dh-hero-mark--3 { right: 2%; bottom: 2%; transform: rotate(-5deg); }
.dh-hero-marks--competitions .dh-hero-mark--4 { right: 34%; bottom: -8%; transform: rotate(5deg); }
.dh-hero-marks--competitions .dh-hero-mark--5 { right: 57%; top: 17%; transform: rotate(-7deg); }
.dh-hero-marks--competitions .dh-hero-mark--6 { right: 58%; bottom: -18%; transform: rotate(4deg); }

.dh-grid,
.dh-live,
.dh-upcoming,
.dh-activity {
    width: min(100%, var(--d3-shell, 1380px));
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(24px, 2.2vw, 32px);
}

.dh-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--dh-accent) 80%, #fff);
}

.dh-hero h1 {
    margin: 0 0 12px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(40px, 7vw, 72px);
    letter-spacing: 0.02em;
}

.dh-lede,
.dh-note {
    max-width: 40rem;
    margin: 0;
    line-height: 1.55;
    color: rgba(246, 243, 255, 0.82);
}

.dh-note {
    color: inherit;
    opacity: 0.78;
    margin-bottom: 18px;
}

.dh-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.dh-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dh-card {
    background: var(--card-strong, #111827);
    border: 1px solid color-mix(in srgb, var(--dh-accent) 28%, transparent);
    border-radius: 18px;
    min-height: 100%;
}

.dh-card-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    padding: 22px;
    color: inherit;
    text-decoration: none;
}

.dh-card--door {
    border-width: 1.5px;
    box-shadow: 0 18px 40px rgba(8, 6, 18, 0.18);
}

.dh-card--door .dh-card-link {
    min-height: 280px;
    padding: 26px 24px;
    gap: 12px;
}

.dh-card--door .dh-crest {
    width: 88px;
    height: 88px;
}

.dh-card--door h2 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: 0.02em;
}

.dh-teaser {
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--dh-accent) 28%, transparent);
    font-size: 0.95rem;
    line-height: 1.4;
}

.dh-teaser span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dh-accent);
}

.dh-now-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dh-now-card {
    min-height: 140px;
    padding: 20px;
    border-radius: 16px;
    background: var(--card-strong, #111827);
    border: 1px solid color-mix(in srgb, var(--dh-accent) 22%, transparent);
}

.dh-now-meta {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dh-accent);
}

.dh-now-card h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
}

.dh-now-card a {
    color: inherit;
    text-decoration: none;
}

.dh-card-link:focus-visible,
.nav-sub-panel a:focus-visible,
.topnav a:focus-visible,
.nav-toggle:focus-visible,
.nav-sub-trigger:focus-visible {
    outline: 2px solid var(--dh-accent, #7c3aed);
    outline-offset: 3px;
}

.dh-crest,
.dh-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 8px;
}

.dh-card h2,
.dh-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.dh-cta {
    margin-top: auto;
    font-weight: 700;
    color: var(--dh-accent);
}

.dh-status {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dh-accent);
}

.dh-card--soon {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    opacity: 0.78;
    pointer-events: none;
}

.dh-card--soon .dh-logo {
    width: 56px;
    height: 56px;
}

.dh-activity h2,
.dh-upcoming h2 {
    margin: 0 0 12px;
}

.dh-story-list {
    margin: 0;
    padding-left: 1.1rem;
}

.dh-story-list a {
    color: inherit;
}

.dh-empty {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .dh-grid,
    .dh-grid--five,
    .dh-now-grid {
        grid-template-columns: 1fr;
    }

    .dh-hero-marks {
        left: 42%;
        opacity: 0.14;
    }
}

@media (max-width: 760px) {
    .dh-hero--clubs,
    .dh-hero--competitions {
        min-height: 430px;
    }

    .dh-hero--clubs .dh-hero-copy,
    .dh-hero--competitions .dh-hero-copy {
        padding: 54px 16px 42px;
        justify-content: flex-end;
    }

    .dh-hero-marks {
        inset: 0 -10% 34% 25%;
        opacity: 0.1;
    }

    .dh-hero .dh-brand-line {
        font-size: clamp(21px, 6.5vw, 30px);
    }

    .dh-grid,
    .dh-live,
    .dh-upcoming,
    .dh-activity {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dh-card-link {
        min-height: 180px;
    }
}
