:root {
    --color-primary: #1a9dd9;
    --color-primary-deep: #0877ac;
    --color-secondary: #97c232;
    --color-secondary-deep: #739d16;
    --color-accent: #f27523;
    --color-accent-deep: #d85b10;
    --color-ink: #102b3a;
    --color-ink-soft: #314b59;
    --color-text: #283841;
    --color-muted: #667782;
    --color-bg: #f7f8f5;
    --color-surface: #ffffff;
    --color-surface-muted: #eef3f2;
    --color-line: #d9e3e4;
    --container: min(1180px, calc(100% - 2rem));
    --container-narrow: min(780px, calc(100% - 2rem));
    --radius-sm: 0.65rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --shadow-sm: 0 8px 24px rgba(15, 43, 58, 0.08);
    --shadow-md: 0 20px 55px rgba(15, 43, 58, 0.14);
    --header-height: 76px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-ink);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.8rem, 9vw, 6.4rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 4.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

p {
    margin-bottom: 1.2rem;
}

address {
    font-style: normal;
}

::selection {
    color: #fff;
    background: var(--color-primary-deep);
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 0.75rem;
    left: 0.75rem;
    transform: translateY(-150%);
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    background: #fff;
    color: var(--color-ink);
    font-weight: 800;
    text-decoration: none;
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.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;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.container.narrow {
    width: var(--container-narrow);
}

.section {
    padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-muted {
    background: var(--color-surface-muted);
}

.eyebrow {
    margin-bottom: 0.9rem;
    color: var(--color-primary-deep);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.78);
}

.eyebrow-green {
    color: #bde550;
}

.lead {
    max-width: 34rem;
    color: var(--color-muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.small-copy,
.section-note {
    color: inherit;
    font-size: 0.92rem;
    opacity: 0.78;
}

.placeholder-copy {
    padding: 1rem 1.15rem;
    border: 1px dashed #a7b6bc;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.65);
    color: var(--color-muted);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 42px;
    padding: 0.62rem 1rem;
    font-size: 0.88rem;
}

.button-orange {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(242, 117, 35, 0.22);
}

.button-orange:hover {
    background: var(--color-accent-deep);
}

.button-blue {
    background: var(--color-primary-deep);
    color: #fff;
}

.button-blue:hover {
    background: #08658f;
}

.button-light {
    background: #fff;
    color: var(--color-ink);
}

.button-light:hover {
    box-shadow: var(--shadow-sm);
}

.button-outline {
    border-color: var(--color-line);
    background: transparent;
    color: var(--color-ink);
}

.button-outline:hover {
    border-color: var(--color-primary);
    background: #fff;
}

.button-ghost-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.button-ghost-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.text-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    color: var(--color-primary-deep);
    font-weight: 850;
    text-decoration: none;
}

.text-link:hover span {
    transform: translateX(3px);
}

.text-link span {
    transition: transform var(--transition);
}

.text-link-light {
    color: #fff;
}

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid rgba(15, 43, 58, 0.08);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(15, 43, 58, 0.09);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    width: 92px;
    height: 62px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-decoration: none;
}

.brand img {
    width: 74px;
    height: auto;
}

.menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--color-ink);
    color: #fff;
    cursor: pointer;
}

.menu-toggle-lines {
    display: grid;
    gap: 4px;
}

.menu-toggle-lines span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.site-nav {
    position: fixed;
    z-index: 999;
    inset: var(--header-height) 0 auto 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    padding: 1rem;
    border-top: 1px solid var(--color-line);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.site-nav.is-open {
    display: grid;
}

.site-nav > a:not(.button) {
    padding: 0.9rem 0.4rem;
    border-bottom: 1px solid #edf1f2;
    color: var(--color-ink);
    font-weight: 800;
    text-decoration: none;
}

.site-nav > a[aria-current="page"]:not(.button) {
    color: var(--color-primary-deep);
}

.nav-cta {
    margin-top: 0.8rem;
}

/* Hero */
.home-hero {
    position: relative;
    min-height: min(760px, calc(100svh - var(--header-height)));
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    background: #1d4659;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -2;
    background-image: url('../images/hero-club-1200.webp');
    background-position: 61% center;
    background-size: cover;
    transform: scale(1.015);
}

.hero-shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 27, 38, 0.86) 0%, rgba(7, 27, 38, 0.64) 46%, rgba(7, 27, 38, 0.15) 78%),
        linear-gradient(0deg, rgba(7, 27, 38, 0.58) 0%, rgba(7, 27, 38, 0.02) 45%);
}

.hero-content {
    padding-top: clamp(4rem, 12vw, 8rem);
    padding-bottom: clamp(5.5rem, 12vw, 8rem);
    color: #fff;
}

.hero-content h1 {
    max-width: 9ch;
    margin-bottom: 1.2rem;
    color: #fff;
    text-wrap: balance;
}

.hero-content h1 span {
    color: #b9e34e;
}

.hero-copy {
    max-width: 38rem;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-scroll {
    position: absolute;
    right: 1rem;
    bottom: 1.4rem;
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

/* Live football */
.live-football-section {
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(26, 157, 217, 0.22), transparent 32%),
        radial-gradient(circle at 10% 90%, rgba(151, 194, 50, 0.12), transparent 28%),
        #0d2533;
    color: #fff;
}

.live-football-intro {
    display: grid;
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.live-football-intro h2 {
    margin-bottom: 0;
    color: #fff;
}

.live-copy {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.78);
}

.live-copy > p:first-child {
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 650;
}

.live-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.live-panel-head,
.live-panel-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
}

.live-panel-head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.live-panel-head > div {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #b9e34e;
    box-shadow: 0 0 0 5px rgba(185, 227, 78, 0.11);
}

.live-source {
    display: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
}

.live-panel-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fixture-list {
    display: grid;
}

.fixture-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.75rem 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fixture-card:last-child {
    border-bottom: 0;
}

.fixture-date {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 58px;
    padding: 0.4rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.fixture-date strong {
    color: #fff;
    font-size: 0.95rem;
}

.fixture-main {
    min-width: 0;
}

.fixture-league {
    margin-bottom: 0.25rem;
    color: #a8c1cb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fixture-teams {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    color: #fff;
    line-height: 1.2;
}

.fixture-teams strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixture-teams span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.fixture-meta {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.fixture-meta time {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.channel-pill {
    display: inline-flex;
    max-width: 100%;
    padding: 0.3rem 0.55rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.68rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-note {
    margin: 0;
    padding: 0.75rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.8rem;
}

.feed-note-demo {
    color: #ffe0b8;
}

.empty-state {
    display: grid;
    gap: 0.3rem;
    padding: 2rem 1.1rem;
    color: rgba(255, 255, 255, 0.68);
}

.empty-state strong {
    color: #fff;
}

/* Intro / editorial */
.intro-section {
    background: #fff;
}

.editorial-grid {
    display: grid;
    gap: 2.2rem;
}

.editorial-heading h2 {
    max-width: 9ch;
    margin-bottom: 1.2rem;
}

.editorial-copy {
    max-width: 52rem;
    color: var(--color-ink-soft);
    font-size: 1.02rem;
}

.editorial-copy p:last-child {
    margin-bottom: 0;
}

/* Section heading */
.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading-split {
    display: grid;
    gap: 1rem;
}

.section-heading-split > p {
    max-width: 38rem;
    margin-bottom: 0;
    color: var(--color-muted);
}

/* Sports */
.sports-section {
    background: #edf4f0;
}

.football-feature {
    position: relative;
    display: grid;
    gap: 1.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    padding: clamp(1.5rem, 5vw, 3.3rem);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 90% 10%, rgba(151, 194, 50, 0.2), transparent 34%),
        linear-gradient(145deg, #102b3a, #0b1f2b);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.football-feature::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 310px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.025), 0 0 0 105px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.football-feature-mark {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 1.1rem;
    background: var(--color-accent);
    color: #fff;
    transform: rotate(-4deg);
}

.football-feature-mark svg {
    width: 42px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.football-feature-content {
    position: relative;
    z-index: 1;
    max-width: 57rem;
}

.football-feature h3 {
    max-width: 15ch;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.7rem);
}

.football-feature p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.79);
}

.football-feature a:not(.button) {
    color: #fff;
    font-weight: 850;
}

.sports-grid {
    display: grid;
    gap: 1rem;
}

.sport-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.4rem;
    border: 1px solid rgba(15, 43, 58, 0.07);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.sport-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 1.2rem;
    place-items: center;
    border-radius: 1rem;
    background: #edf8fd;
    color: var(--color-primary-deep);
}

.sport-icon-rugby {
    background: #fff0e6;
    color: var(--color-accent-deep);
}

.sport-icon-cricket {
    background: #f2f8e5;
    color: var(--color-secondary-deep);
}

.sport-icon-tennis {
    background: #edf8e3;
    color: var(--color-secondary-deep);
}

.sport-icon-squash {
    background: #eaf5fb;
    color: var(--color-primary-deep);
}

.sport-icon svg {
    width: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.sport-card h3 {
    margin-bottom: 0.7rem;
}

.sport-card p {
    flex: 1;
    color: var(--color-muted);
}

.card-status {
    color: #829099;
    font-size: 0.82rem;
    font-weight: 800;
}

/* Events */
.events-section {
    background: #fff;
}

.event-grid {
    display: grid;
    gap: 1rem;
}

.event-card {
    position: relative;
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-bg);
}

.event-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -65px;
    top: -65px;
    border-radius: 50%;
    background: rgba(26, 157, 217, 0.08);
}

.event-card:nth-child(2)::before {
    background: rgba(242, 117, 35, 0.1);
}

.event-card:nth-child(3)::before {
    background: rgba(151, 194, 50, 0.12);
}

.event-date {
    position: relative;
    z-index: 1;
    margin-bottom: 1.2rem;
    color: var(--color-primary-deep);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.event-card h3,
.event-card h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.8rem;
}

.event-card p {
    position: relative;
    z-index: 1;
    flex: 1;
    color: var(--color-muted);
}

.event-card .text-link {
    position: relative;
    z-index: 1;
}

/* Promos */
.split-promo-section {
    display: grid;
}

.promo-block {
    position: relative;
    display: grid;
    min-height: 440px;
    align-items: end;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4rem) max(1rem, calc((100vw - 1180px) / 2));
    isolation: isolate;
    color: #fff;
}

.promo-block::before,
.promo-block::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.promo-food::before {
    background: linear-gradient(145deg, #f27523, #bf4f0d);
}

.promo-food::after {
    background: radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.2), transparent 36%);
}

.promo-hire::before {
    background: linear-gradient(145deg, #148ec4, #08618b);
}

.promo-hire::after {
    background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 38%);
}

.promo-inner {
    max-width: 34rem;
}

.promo-inner h2 {
    color: #fff;
}

.promo-inner p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.85);
}

/* Membership */
.membership-section {
    background: #fff;
}

.membership-panel {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: var(--radius-xl);
    background: #edf4f0;
}

.membership-panel h2 {
    margin-bottom: 0.75rem;
}

.membership-panel p:last-child {
    margin-bottom: 0;
    color: var(--color-muted);
}

/* Location */
.location-section {
    padding: clamp(4rem, 8vw, 7.5rem) 0;
    background: #f0f5f6;
}

.location-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.location-copy h2 {
    margin-bottom: 1.25rem;
}

.location-copy address {
    margin-bottom: 1rem;
    color: var(--color-ink-soft);
    font-size: 1.05rem;
}

.location-copy a[href^="tel:"] {
    color: var(--color-ink);
    font-size: 1.15rem;
    font-weight: 850;
    text-decoration: none;
}

.map-card {
    min-height: 340px;
    overflow: hidden;
    border: 1px solid #d4dfe1;
    border-radius: var(--radius-xl);
    background: #dfe8e9;
    box-shadow: var(--shadow-sm);
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
}

/* Footer */
.site-footer {
    padding-top: clamp(3.5rem, 7vw, 6rem);
    background: #0b202b;
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand img {
    width: 105px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 0.9rem;
    background: #fff;
}

.footer-brand p {
    max-width: 19rem;
}

.site-footer h2 {
    margin-bottom: 0.9rem;
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-action {
    display: inline-block;
    margin-top: 0.8rem;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 1rem;
}

/* Content pages */
.page-hero {
    padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2.6rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 88% 16%, rgba(26, 157, 217, 0.11), transparent 28%),
        #edf3f2;
}

.page-hero h1 {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.page-hero p:last-child {
    max-width: 42rem;
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.page-hero + .section {
    padding-top: clamp(2.25rem, 4vw, 3.75rem);
}

.page-hero-dark {
    background: #102b3a;
}

.page-hero-dark h1,
.page-hero-dark p:last-child {
    color: #fff;
}

.page-hero-dark p:last-child {
    opacity: 0.78;
}

.page-hero-orange {
    background: var(--color-accent);
}

.page-hero-blue {
    background: var(--color-primary-deep);
}

.page-hero-orange h1,
.page-hero-orange p:last-child,
.page-hero-blue h1,
.page-hero-blue p:last-child {
    color: #fff;
}

.page-hero-orange p:last-child,
.page-hero-blue p:last-child {
    opacity: 0.84;
}

.content-layout {
    display: grid;
    gap: 2rem;
}

.prose {
    max-width: 48rem;
    font-size: 1.02rem;
}

.prose h2 {
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    color: var(--color-ink-soft);
}

.side-card {
    align-self: start;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.side-card h2 {
    font-size: 1.8rem;
}

.side-card p:not(.eyebrow) {
    color: var(--color-muted);
}

.card-grid-3 {
    display: grid;
    gap: 1rem;
}

.info-card {
    padding: 1.5rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.info-card h2 {
    font-size: 1.7rem;
}

.info-card p {
    color: var(--color-muted);
}

.number-tag {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--color-accent-deep);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.event-card-large {
    min-height: 320px;
}

.fixtures-page-section {
    background: #f6f8f7;
}

.fixtures-page-panel {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #102b3a;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.future-panel {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1.5rem;
    border: 1px dashed #b8c6ca;
    border-radius: var(--radius-lg);
    background: #fff;
}

.future-panel h2 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.future-panel p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.contact-details {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-details h2 {
    font-size: 2rem;
}

.contact-details address {
    margin-bottom: 1.2rem;
    color: var(--color-ink-soft);
}

.contact-details a[href^="tel:"] {
    color: var(--color-primary-deep);
    font-weight: 850;
    text-decoration: none;
}

.map-card-contact {
    min-height: 420px;
}

.map-card-contact iframe {
    min-height: 420px;
}

@media (min-width: 640px) {
    :root {
        --container: min(1180px, calc(100% - 3rem));
        --container-narrow: min(780px, calc(100% - 3rem));
    }

    .fixture-card {
        grid-template-columns: 62px minmax(0, 1fr) minmax(150px, auto);
        align-items: center;
    }

    .fixture-meta {
        grid-column: auto;
        justify-content: flex-end;
        text-align: right;
    }

    .fixture-meta time {
        font-size: 1.1rem;
    }

    .fixture-meta .channel-pill {
        flex-basis: 100%;
        justify-content: center;
    }

    .sports-grid,
    .event-grid,
    .card-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .membership-panel,
    .future-panel {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (min-width: 900px) {
    :root {
        --header-height: 88px;
    }

    .brand {
        width: 105px;
        height: 76px;
    }

    .brand img {
        width: 87px;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        max-height: none;
        align-items: center;
        gap: 0.2rem;
        overflow: visible;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-nav > a:not(.button) {
        position: relative;
        padding: 0.8rem 0.68rem;
        border: 0;
        font-size: 0.88rem;
    }

    .site-nav > a:not(.button)::after {
        content: "";
        position: absolute;
        right: 0.68rem;
        bottom: 0.4rem;
        left: 0.68rem;
        height: 2px;
        transform: scaleX(0);
        border-radius: 99px;
        background: var(--color-primary);
        transform-origin: left;
        transition: transform var(--transition);
    }

    .site-nav > a:hover::after,
    .site-nav > a[aria-current="page"]::after {
        transform: scaleX(1);
    }

    .nav-cta {
        margin-top: 0;
        margin-left: 0.45rem;
    }

    .home-hero {
        min-height: min(790px, calc(100svh - var(--header-height)));
    }

    .hero-media {
        background-image: url('../images/hero-club.webp');
        background-position: center center;
    }

    .hero-content {
        padding-bottom: 7.5rem;
    }

    .hero-scroll {
        right: max(1.5rem, calc((100vw - 1180px) / 2));
        bottom: 2rem;
    }

    .live-football-intro,
    .editorial-grid,
    .section-heading-split,
    .location-grid,
    .contact-grid,
    .content-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }

    .live-copy {
        justify-self: end;
        padding-top: 2rem;
    }

    .live-source {
        display: inline;
    }

    .fixture-card {
        padding: 1.05rem 1.4rem;
    }

    .editorial-heading {
        position: sticky;
        top: calc(var(--header-height) + 2rem);
    }

    .section-heading-split {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
        align-items: end;
    }

    .section-heading-split > p,
    .section-heading-split > .text-link {
        justify-self: end;
    }

    .football-feature {
        grid-template-columns: 130px minmax(0, 1fr);
        align-items: start;
        padding: 3.25rem;
    }

    .football-feature-mark {
        width: 96px;
        height: 96px;
        margin-top: 0.4rem;
    }

    .football-feature-mark svg {
        width: 54px;
    }

    .sports-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .event-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-promo-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-block {
        min-height: 520px;
    }

    .membership-panel {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .location-grid,
    .contact-grid {
        grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
        align-items: stretch;
    }

    .map-card,
    .map-card iframe {
        min-height: 470px;
    }

    .footer-grid {
        grid-template-columns: 1.25fr 0.8fr 1fr 0.75fr;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    }

    .card-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .site-nav > a:not(.button) {
        padding-inline: 0.9rem;
    }

    .site-nav > a:not(.button)::after {
        right: 0.9rem;
        left: 0.9rem;
    }

    .editorial-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 5rem;
    }
}

@media (max-width: 430px) {
    .button-row .button {
        width: 100%;
    }

    .home-hero {
        min-height: 650px;
    }

    .hero-content {
        padding-bottom: 6rem;
    }

    .hero-scroll span:first-child {
        display: none;
    }

    .fixture-card {
        padding-inline: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* WordPress integration: keep the original visual design. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header.is-scrolled { top: 0; } }
.prose .wp-block-image img, .event-featured-image img { width: 100%; height: auto; border-radius: var(--radius-md); }
.prose a:not(.button) { text-underline-offset: .14em; }
.prose .wp-block-heading { line-height: 1.12; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.supplementary-content { margin: 2rem auto 0; }
.osc-form { max-width: 680px; }
.osc-form label { display: block; margin: 1rem 0 .3rem; font-weight: 700; }
.osc-form input:not([type="checkbox"]), .osc-form textarea { display: block; width: 100%; padding: .85rem; border-radius: .65rem; border: 1px solid var(--color-line); background: #fff; color: var(--color-ink); }
.osc-form textarea { min-height: 150px; }
.osc-form .osc-hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.osc-alert { padding: 1rem 1.2rem; margin: 1rem 0; border-left: 4px solid var(--color-primary-deep); background: #fff; }
.osc-alert-error { border-color: #b72e32; }
.osc-showing { color: #18330b; background: #d9f398; border-radius: .5rem; padding: .25rem .55rem; font-size: .75rem; font-weight: 800; display: inline-flex; margin-top: .35rem; }
.osc-event-image { max-height: 180px; width: 100%; object-fit: cover; border-radius: .75rem; margin-bottom: 1rem; }
.event-featured-image { margin: 0 0 2rem; }
.osc-event-empty { grid-column: 1 / -1; }

/* v1.1 — club-approved Food & Drink and event posters */
.site-nav .nav-donate { color: var(--color-accent-deep); font-weight: 800; }
.food-detail-grid, .cafe-grid { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.food-detail-text h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.food-detail-text p:not(.eyebrow) { color: var(--color-ink-soft); max-width: 65ch; }
.food-detail-photo { margin: 0; }
.food-detail-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.opening-panel { padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.food-detail-section .opening-panel { margin-top: 2rem; background: #eaf3f4; }
.opening-panel h3, .delivery-panel h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: .9rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { padding: .6rem 0; border-bottom: 1px solid rgba(16,43,58,.12); line-height: 1.55; }
.hours-list li:last-child { border-bottom: 0; }
.hours-note { margin-top: 1rem; color: var(--color-muted); font-size: .9rem; }
.cafe-detail-section { background: #f4f7f6; }
.cafe-detail-section .section-heading p { max-width: 34rem; }
.cafe-menu-image img { display: block; max-width: 100%; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.cafe-info { display: grid; gap: 1.2rem; }
.delivery-panel { background: #102b3a; color: #fff; padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius-lg); }
.delivery-panel p { color: #e4f0f2; }
.delivery-panel .button { margin-top: .55rem; }
.hire-poster img { display: block; max-width: 100%; height: auto; width: min(100%, 560px); margin-top: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
/* Posters keep their full portrait composition instead of being cropped to 180px. */
.event-card .osc-event-image { display: block; width: 100%; aspect-ratio: 2 / 3; height: auto; max-height: none; object-fit: contain; object-position: center top; background: #0c1720; border-radius: .75rem; margin-bottom: 1.1rem; }
.event-featured-image img { width: min(100%, 580px); height: auto; display: block; margin-inline: auto; }
@media (min-width: 900px) {
    .food-detail-grid { grid-template-columns: 1.1fr 1fr; }
    .cafe-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .85fr); }
}

.cafe-menu-image { margin: 0; min-width: 0; }
.cafe-menu-image figcaption { margin-top: .75rem; }
.cafe-menu-image a:focus-visible { outline: 3px solid var(--color-primary-deep); outline-offset: 4px; }

/* Enhanced televised fixtures — provider logos and safe non-branded fallbacks. */
.fixture-card-enhanced { align-items: center; transition: background .2s ease; }
.fixture-card-enhanced:hover { background: rgba(255,255,255,.035); }
.fixture-card-enhanced .fixture-date { min-height: 72px; gap: .05rem; padding: .5rem .2rem; background: #213e4d; }
.fixture-card-enhanced .fixture-date strong { font-size: 1.4rem; line-height: 1.1; }
.fixture-league-row { display: flex; gap: .45rem; align-items: center; min-height: 21px; margin: 0 0 .4rem; }
.fixture-league-row .fixture-league { margin: 0; color: #c8e3ec; letter-spacing: .08em; }
.fixture-league-logo { width: 22px; height: 22px; object-fit: contain; }
.fixture-league-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #97c232; }
.fixture-teams-enhanced { gap: .14rem; }
.fixture-team { display: flex; min-width: 0; align-items: center; gap: .6rem; }
.fixture-team strong { font-weight: 800; font-size: .99rem; line-height: 1.25; overflow-wrap: anywhere; white-space: normal; }
.fixture-crest { position: relative; display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: .65rem; background: rgba(255,255,255,.08); overflow: hidden; }
.fixture-crest img { position: absolute; width: 34px; height: 34px; object-fit: contain; inset: 4px; }
.fixture-crest-fallback { color: #acd0dc; font-weight: 900; font-size: 1.1rem; }
.fixture-versus { display: block; width: 42px; color: #8eaeba; text-align: center; text-transform: uppercase; font-weight: 850; font-size: .65rem; margin: -.24rem 0; }
.fixture-card-enhanced .fixture-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.fixture-card-enhanced .fixture-meta time { display: inline-flex; align-items: baseline; font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 950; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fixture-broadcasters { display: flex; flex-wrap: wrap; gap: .35rem; width: 100%; }
.fixture-card-enhanced .channel-pill { max-width: 100%; min-height: 34px; padding: .35rem .55rem; gap: .45rem; white-space: normal; line-height: 1.3; border-color: rgba(255,255,255,.16); }
.fixture-channel-logo { width: auto; max-width: 56px; height: 20px; object-fit: contain; flex: 0 0 auto; }
.fixture-card-enhanced .osc-showing { margin-top: .5rem; }
@media (min-width:640px) {
    .fixture-card-enhanced { grid-template-columns: 62px minmax(0,1fr) minmax(178px,auto); gap: 1.1rem; }
    .fixture-card-enhanced .fixture-meta { justify-content: center; align-items: flex-end; text-align: right; }
    .fixture-card-enhanced .fixture-broadcasters { justify-content: flex-end; max-width: 230px; }
    .fixture-card-enhanced .fixture-meta .channel-pill { flex-basis: auto; }
}
@media (max-width:420px) {
    .fixture-card-enhanced { grid-template-columns: 49px minmax(0, 1fr); gap: .65rem; padding: .85rem .75rem; }
    .fixture-card-enhanced .fixture-date { min-height: 60px; }
    .fixture-card-enhanced .fixture-date strong { font-size: 1.2rem; }
    .fixture-crest { flex-basis: 34px; width: 34px; height: 34px; }
    .fixture-crest img { width: 27px; height: 27px; }
    .fixture-versus { width: 34px; }
    .fixture-team { gap: .42rem; }
    .fixture-team strong { font-size: .88rem; }
    .fixture-card-enhanced .fixture-meta { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; text-align: left; }
}
