/*
Theme Name: CDH Engiadina Blocks
Theme URI: https://cdh-engiadina.ch/
Author: Oliver Marc Mediahouse
Description: Editierbares Block-Theme für den Club da Hockey Engiadina. Alle Bereiche können im WordPress Site Editor bearbeitet werden.
Version: 1.22.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: cdh-engiadina
*/

:root {
  --cdh-ink: #07182f;
  --cdh-ink-soft: #0d2345;
  --cdh-blue: #1745b3;
  --cdh-gold: #f5c83f;
  --cdh-gold-soft: #ffe689;
  --cdh-ice: #eaf4fc;
  --cdh-paper: #f7f7f2;
  --cdh-white: #fff;
  --cdh-muted: #667181;
  --cdh-line: rgba(7, 24, 47, 0.16);
  --cdh-max: 1320px;
  --cdh-pad: clamp(1.25rem, 4vw, 4rem);
  --cdh-radius: 1.1rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; min-width: 320px; background: var(--cdh-paper); overflow-x: hidden; }
body, button, input, textarea, select { font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }

.cdh-announcement { position: relative; z-index: 50; padding: 0.7rem var(--cdh-pad); color: var(--cdh-ink); background: var(--cdh-gold); text-align: center; }
.cdh-announcement p { margin: 0; font-size: 0.78rem; font-weight: 750; }
.cdh-announcement a { text-decoration: none; }
header.wp-block-template-part { position: relative; }

.cdh-site-header { position: absolute; z-index: 60; top: 100%; left: 0; width: 100%; min-height: 5.6rem; padding: 0.9rem var(--cdh-pad); color: var(--cdh-white); box-sizing: border-box; }
.cdh-site-header .cdh-logo, .cdh-site-header .cdh-logo img { width: 3.4rem; height: 3.4rem; margin: 0; object-fit: contain; background: var(--cdh-white); border-radius: 50%; }
.cdh-brand { gap: 0.85rem; }
.cdh-brand-copy { gap: 0.15rem; }
.cdh-brand-copy .wp-block-site-title { margin: 0; font-size: 0.94rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.cdh-brand-copy .wp-block-site-title a { text-decoration: none; }
.cdh-brand-copy .wp-block-site-tagline { margin: 0; font-size: 0.61rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.68; }
.cdh-site-header .wp-block-navigation { font-size: 0.76rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.cdh-site-header .wp-block-navigation__container { gap: clamp(.65rem, 1vw, 1.25rem); }
.cdh-site-header .wp-block-navigation-item__content { text-decoration: none; }
.cdh-site-header .wp-block-button__link { padding: 0.8rem 1rem; color: var(--cdh-ink); background: var(--cdh-gold); border-radius: 99px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
body:not(.home) .cdh-site-header { position: relative; top: 0; color: var(--cdh-white); background: var(--cdh-ink); }

.cdh-hero { position: relative; color: var(--cdh-white); background: var(--cdh-paper); overflow: visible; }
.cdh-hero-grid { min-height: min(870px, calc(100svh - 3rem)); display: grid !important; grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr); gap: 0 !important; overflow: hidden; background: var(--cdh-ink); }
.cdh-hero-copy { padding: clamp(10rem, 15vh, 13rem) clamp(2rem, 5vw, 6rem) 7rem max(var(--cdh-pad), calc((100vw - var(--cdh-max)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.cdh-eyebrow { margin: 0 0 1.25rem; color: var(--cdh-gold); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.cdh-eyebrow-blue { color: var(--cdh-blue); }
.cdh-hero-title { max-width: 9ch; margin: 0; font-size: clamp(4rem, 7.1vw, 8.2rem); font-weight: 820; letter-spacing: -0.075em; line-height: 0.86; }
.cdh-hero-lead { max-width: 39rem; margin: 2.4rem 0 0; color: rgba(255, 255, 255, 0.72); font-size: clamp(1rem, 1.25vw, 1.3rem); line-height: 1.62; }
.cdh-actions { margin-top: 2.4rem; gap: 1.5rem; }
.cdh-button .wp-block-button__link { min-height: 3.4rem; padding: 0.9rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; color: var(--cdh-ink); background: var(--cdh-gold); border-radius: 99px; text-decoration: none; font-size: 0.77rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cdh-link a { color: var(--cdh-white); border-bottom: 1px solid rgba(255, 255, 255, 0.45); text-decoration: none; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.cdh-hero-visual { position: relative; min-height: 44rem; overflow: hidden; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.cdh-hero-visual figure, .cdh-hero-visual img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.cdh-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 24, 47, 0.8), rgba(7, 24, 47, 0.04) 48%), linear-gradient(0deg, rgba(7, 24, 47, 0.65), transparent 45%); pointer-events: none; }
.cdh-score { position: absolute; z-index: 3; right: var(--cdh-pad); bottom: 3.5rem; width: 11.5rem; padding: 1.1rem 1.2rem; color: var(--cdh-ink); background: var(--cdh-gold); box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24); transform: rotate(-2deg); }
.cdh-score p { margin: 0; font-size: 0.59rem; font-weight: 850; letter-spacing: 0.16em; }
.cdh-score h3 { margin: 0.3rem 0 0.15rem; font-size: 1.35rem; letter-spacing: -0.05em; }
.cdh-hero-year { position: absolute; z-index: 3; top: 11rem; right: -0.1em; margin: 0; color: rgba(255, 255, 255, 0.16); font-size: clamp(5rem, 10vw, 10rem); font-weight: 900; letter-spacing: -0.08em; writing-mode: vertical-rl; }
.cdh-ticker { position: relative; z-index: 4; min-height: 4.6rem; margin: -1rem 0 0; padding: 1.3rem 2rem; color: var(--cdh-ink); background: var(--cdh-gold); transform: rotate(-.7deg) scale(1.025); transform-origin: center; box-sizing: border-box; }
.cdh-ticker p { width: max-content; margin: 0; font-size: 0.78rem; font-weight: 900; line-height: 1.6; letter-spacing: 0.16em; white-space: nowrap; }

@media (pointer: fine) { body, a, button, input, textarea, select, .cdh-game-rink { cursor: url("assets/puck-cursor.svg") 24 24, auto; } }
@media (hover: hover) and (pointer: fine) {
  :is(a, button, summary, select, label[for], [role="button"], input[type="button"], input[type="submit"], input[type="reset"]):not(:disabled):hover,
  :is(a, button, summary, select, label[for], [role="button"], input[type="button"], input[type="submit"], input[type="reset"]):not(:disabled):hover * {
    cursor: url("assets/puck-cursor-hover.svg") 24 24, pointer;
  }
}
.cdh-game-section { padding: clamp(4rem, 8vw, 7rem) var(--cdh-pad); color: #fff; background: var(--cdh-ink); }
.cdh-game-heading { width: min(100%, var(--cdh-max)); margin: 0 auto 2rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.cdh-game-heading h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.5rem); line-height: .98; letter-spacing: -.06em; }
.cdh-game-heading p:not(.cdh-eyebrow):not(.cdh-game-score) { max-width: 37rem; color: #b5c5d8; line-height: 1.5; }
.cdh-game-score { min-width: 5rem; padding: .8rem 1rem; border: 1px solid #ffffff50; text-align: center; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.cdh-game-score strong { display: block; color: var(--cdh-gold); font-size: 2rem; }
.cdh-game-score span { display: block; margin-top: .35rem; padding-top: .35rem; border-top: 1px solid #ffffff50; white-space: nowrap; }
.cdh-game-score b { color: var(--cdh-gold); }
.cdh-game-rink { position: relative; width: min(100%, var(--cdh-max)); aspect-ratio: 2.3; min-height: 250px; max-height: 580px; margin: auto; overflow: hidden; border: 7px solid #fff; border-radius: 1.5rem; box-shadow: 0 24px 70px #0005; touch-action: none; outline-offset: 5px; }
.cdh-game-rink canvas { display: block; width: 100%; height: 100%; }
.cdh-game-status { position: absolute; right: 1rem; bottom: .8rem; margin: 0; padding: .45rem .7rem; color: var(--cdh-ink); background: #ffffffe8; border-radius: .35rem; font-size: .75rem; font-weight: 700; pointer-events: none; }
.cdh-game-over[hidden] { display: none !important; }
.cdh-game-over { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; padding: 1rem; background: #07182fd9; box-sizing: border-box; }
.cdh-game-over-card { width: min(100%, 29rem); max-height: 100%; padding: clamp(1.25rem, 3vw, 2rem); overflow: auto; color: var(--cdh-ink); background: #fff; border-top: .45rem solid var(--cdh-gold); border-radius: .7rem; box-shadow: 0 20px 60px #0006; box-sizing: border-box; }
.cdh-game-over-card .cdh-eyebrow { margin-bottom: .4rem; color: var(--cdh-blue); }
.cdh-game-over-card h3 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.06em; }
.cdh-game-over-card > p { margin: .6rem 0 1rem; }
.cdh-game-over-card label { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 800; }
.cdh-game-form-row { display: flex; gap: .5rem; }
.cdh-game-form-row input { min-width: 0; flex: 1; padding: .75rem; border: 1px solid #9ba8b6; border-radius: .3rem; font-size: 1rem; }
.cdh-game-form-row button, .cdh-game-restart { padding: .75rem 1rem; border: 0; border-radius: .3rem; color: var(--cdh-ink); background: var(--cdh-gold); font-weight: 800; cursor: pointer; }
.cdh-game-form-row button:disabled { opacity: .6; cursor: wait; }
.cdh-game-hint { margin: .45rem 0 0; color: var(--cdh-muted); font-size: .72rem; }
.cdh-game-feedback { min-height: 1.2rem; margin: .5rem 0; color: var(--cdh-blue); font-size: .8rem; font-weight: 700; }
.cdh-game-restart { background: var(--cdh-ink); color: #fff; }
.cdh-leaderboard { width: min(100%, var(--cdh-max)); margin: 1.5rem auto 0; border: 1px solid #ffffff56; border-radius: .6rem; }
.cdh-leaderboard summary { padding: 1rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--cdh-gold); cursor: pointer; font-weight: 800; list-style: none; }
.cdh-leaderboard summary::-webkit-details-marker { display: none; }
.cdh-leaderboard summary span { color: #fff; font-size: .8rem; font-weight: 600; }
.cdh-leaderboard-inner { padding: 0 1.25rem 1.25rem; }
.cdh-leaderboard ol { margin: 0; padding: 0; list-style: none; }
.cdh-leaderboard li { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: .8rem; padding: .7rem 0; border-top: 1px solid #ffffff2b; }
.cdh-leaderboard li strong { color: var(--cdh-gold); }
.cdh-leaderboard li.cdh-leaderboard-you { color: var(--cdh-gold); }
.cdh-leaderboard-inner > p { margin: .7rem 0 0; color: #b5c5d8; }
@media (max-width: 700px) { .cdh-game-heading { align-items: start; } .cdh-game-rink { aspect-ratio: 1.35; } }
@media (max-width: 520px) { .cdh-game-rink { min-height: 330px; } .cdh-game-form-row { flex-direction: column; } .cdh-game-over-card { padding: 1rem; } }

.cdh-section { width: min(100%, calc(var(--cdh-max) + 2 * var(--cdh-pad))); margin-inline: auto; padding: clamp(6rem, 10vw, 10rem) var(--cdh-pad); box-sizing: border-box; }
.cdh-section-intro { display: grid !important; grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr); column-gap: 4rem; }
.cdh-section-intro .cdh-eyebrow { grid-row: 1 / span 2; }
.cdh-section-title { max-width: 12ch; margin: 0; font-size: clamp(3rem, 5.3vw, 6.4rem); line-height: 0.95; letter-spacing: -0.065em; }
.cdh-section-copy { max-width: 46rem; margin: 2rem 0 0; color: var(--cdh-muted); font-size: clamp(1.04rem, 1.4vw, 1.35rem); line-height: 1.65; }
.cdh-club-grid { margin-top: 5rem; display: grid !important; grid-template-columns: 1.03fr 1.22fr 0.85fr; gap: 1rem; }
.cdh-card { position: relative; min-height: 32rem; padding: 1.5rem; border-radius: var(--cdh-radius); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.cdh-card-dark { color: var(--cdh-white); background: var(--cdh-ink); }
.cdh-card-gold { color: var(--cdh-ink); background: var(--cdh-gold); }
.cdh-card-index { width: 2.2rem; height: 2.2rem; margin: 0; display: flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; font-size: 0.68rem; font-weight: 800; }
.cdh-card-kicker { margin: 0 0 0.8rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.15em; opacity: 0.65; }
.cdh-card h3 { max-width: 10ch; margin: 0; font-size: clamp(2.2rem, 3.2vw, 3.4rem); letter-spacing: -0.055em; line-height: 0.98; }
.cdh-card-copy { max-width: 25rem; margin: 1.2rem 0 0; font-size: 0.92rem; line-height: 1.55; opacity: 0.72; }
.cdh-card-link a { color: var(--cdh-gold); text-decoration: none; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cdh-card-photo { padding: 0; background: var(--cdh-ice); }
.cdh-card-photo figure, .cdh-card-photo img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.cdh-photo-label { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.4rem; left: 1.5rem; color: var(--cdh-white); font-size: 1.55rem; font-weight: 800; }
.cdh-mini-mark { align-self: flex-end; margin: 0; font-size: 5rem; font-weight: 900; letter-spacing: -0.09em; transform: rotate(-7deg); }
.cdh-facts { margin-top: 5rem; padding-top: 2.5rem; border-top: 1px solid var(--cdh-line); display: grid !important; grid-template-columns: repeat(3, 1fr); }
.cdh-fact { min-height: 7rem; padding: 0 2rem; border-right: 1px solid var(--cdh-line); display: flex; flex-direction: column; justify-content: center; }
.cdh-fact:last-child { border-right: 0; }
.cdh-fact h3 { margin: 0; font-size: clamp(2rem, 3vw, 3.4rem); letter-spacing: -0.06em; }
.cdh-fact p { margin: 0.25rem 0 0; color: var(--cdh-muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }

.cdh-school { min-height: 50rem; display: grid !important; grid-template-columns: 1.1fr 0.9fr; gap: 0 !important; color: var(--cdh-white); background: var(--cdh-blue); }
.cdh-school-photo { position: relative; min-height: 42rem; overflow: hidden; }
.cdh-school-photo figure, .cdh-school-photo img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.cdh-vertical-label { position: absolute; z-index: 2; bottom: 2rem; left: 2rem; margin: 0; padding: 0.55rem 0.75rem; color: var(--cdh-ink); background: var(--cdh-gold); font-size: 0.61rem; font-weight: 850; letter-spacing: 0.14em; }
.cdh-school-content { padding: clamp(5rem, 8vw, 9rem) max(var(--cdh-pad), calc((100vw - var(--cdh-max)) / 2)); padding-left: clamp(2.2rem, 6vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.cdh-school-title { max-width: 9ch; margin: 0; font-size: clamp(3.3rem, 5.4vw, 6.6rem); line-height: 0.9; letter-spacing: -0.07em; }
.cdh-school-lead { max-width: 36rem; margin: 2rem 0; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.cdh-schedule { margin: 0 0 2.7rem; }
.cdh-schedule-row { padding: 1.05rem 0; border-top: 1px solid rgba(255, 255, 255, 0.24); display: grid !important; grid-template-columns: 7rem 1fr; gap: 1rem; }
.cdh-schedule-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.cdh-schedule-row p { margin: 0; }
.cdh-schedule-label { color: var(--cdh-gold); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.cdh-news-head { display: flex !important; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.cdh-news-head > p { max-width: 24rem; margin: 0 0 0.7rem; color: var(--cdh-muted); line-height: 1.55; }
.cdh-news-grid .wp-block-post-template { margin-top: 4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.cdh-news-card { min-width: 0; height: 100%; background: var(--cdh-white); border-radius: var(--cdh-radius); overflow: hidden; display: grid !important; grid-template-columns: 0.95fr 1.05fr; }
.cdh-news-card .wp-block-post-featured-image { min-height: 19rem; margin: 0; background: var(--cdh-ice); }
.cdh-news-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.cdh-news-copy { padding: clamp(1.4rem, 2.5vw, 2.3rem); display: flex; flex-direction: column; }
.cdh-news-meta { color: var(--cdh-blue); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.cdh-news-meta > * { margin: 0; }
.cdh-news-card .wp-block-post-title { margin: 1rem 0 0; font-size: clamp(1.45rem, 2vw, 2.1rem); line-height: 1.03; letter-spacing: -0.045em; }
.cdh-news-card .wp-block-post-title a { text-decoration: none; }
.cdh-news-card .wp-block-post-excerpt { margin-top: 1rem; color: var(--cdh-muted); font-size: 0.87rem; line-height: 1.55; }
.cdh-news-card .wp-block-post-excerpt__more-link { display: inline-block; margin-top: 1rem; color: var(--cdh-ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }

.cdh-join { position: relative; min-height: 45rem; padding: clamp(6rem, 11vw, 11rem) var(--cdh-pad); display: flex; align-items: center; color: var(--cdh-white); background: var(--cdh-ink); overflow: hidden; box-sizing: border-box; }
.cdh-join-inner { width: min(100%, var(--cdh-max)); margin-inline: auto; }
.cdh-join-title { max-width: 11ch; margin: 0; font-size: clamp(3.6rem, 7.5vw, 8.5rem); line-height: 0.87; letter-spacing: -0.075em; }
.cdh-join-title mark { color: var(--cdh-gold); background: transparent; }
.cdh-join-copy { max-width: 38rem; margin: 2.2rem 0; color: rgba(255, 255, 255, 0.65); line-height: 1.65; }

.cdh-footer { padding: 4rem var(--cdh-pad) 1.4rem; color: var(--cdh-white); background: #041022; }
.cdh-footer-inner { width: min(100%, var(--cdh-max)); margin-inline: auto; }
.cdh-footer-brand { padding-bottom: 3rem; }
.cdh-footer-brand .cdh-logo, .cdh-footer-brand .cdh-logo img { margin: 0; background: var(--cdh-white); border-radius: 50%; }
.cdh-footer-brand .wp-block-site-title { margin: 0; font-size: 1.1rem; text-transform: uppercase; }
.cdh-footer-brand .wp-block-site-title a { text-decoration: none; }
.cdh-footer-tagline { margin: 0.35rem 0 0; color: rgba(255, 255, 255, 0.52); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cdh-footer-meta { padding: 2rem 0 3rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cdh-footer-meta h4 { margin: 0 0 0.6rem; color: var(--cdh-gold); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em; }
.cdh-footer-meta p { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 0.86rem; }
.cdh-footer-meta a { text-decoration: none; }
.cdh-footer-bottom { padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.38); font-size: 0.66rem; }

.cdh-content { width: min(100% - 2 * var(--cdh-pad), 900px); margin: 0 auto; padding: 10rem 0 6rem; }
.cdh-content h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; letter-spacing: -0.06em; }
.cdh-content .wp-block-post-content { font-size: 1.1rem; line-height: 1.75; }

.cdh-subpage-hero { position: relative; padding: clamp(3.5rem, 5.5vw, 5.5rem) var(--cdh-pad) clamp(4rem, 6vw, 6rem); color: var(--cdh-white); background: var(--cdh-ink); overflow: hidden; box-sizing: border-box; }
.cdh-subpage-hero::after { content: "1968"; position: absolute; right: -0.05em; bottom: -0.25em; color: rgba(255, 255, 255, 0.05); font-size: clamp(8rem, 21vw, 22rem); font-weight: 900; line-height: 1; letter-spacing: -0.1em; pointer-events: none; }
.cdh-subpage-hero-inner { position: relative; z-index: 1; width: min(100%, var(--cdh-max)); margin-inline: auto; }
.cdh-subpage-hero h1, .cdh-subpage-hero .wp-block-post-title { max-width: 18ch; margin: 0; font-size: clamp(3.35rem, 6.5vw, 7rem); line-height: .95; letter-spacing: -0.065em; overflow-wrap: anywhere; }
.cdh-subpage-hero .wp-block-post-excerpt, .cdh-subpage-lead { max-width: 44rem; margin: 2rem 0 0; color: rgba(255, 255, 255, 0.68); font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.65; }
.cdh-subpage-hero .wp-block-post-excerpt__more-text { display: none; }
.cdh-subpage .cdh-content { padding: clamp(2.75rem, 5vw, 5rem) 0; }
.cdh-subpage .wp-block-post-content > h2 { margin-top: clamp(4rem, 7vw, 7rem); font-size: clamp(2.5rem, 5vw, 5rem); line-height: 0.96; letter-spacing: -0.06em; }
.cdh-subpage .wp-block-post-content > h3 { margin-top: 2.5rem; font-size: clamp(1.6rem, 3vw, 2.7rem); letter-spacing: -0.04em; }
.cdh-subpage .wp-block-post-content :is(h1, h2, h3, h4) { overflow-wrap: anywhere; hyphens: auto; }
.cdh-subpage .wp-block-post-content p, .cdh-subpage .wp-block-post-content li { color: #344154; font-size: 1.08rem; line-height: 1.75; }
.cdh-page-intro { max-width: 42rem; margin: 0; color: var(--cdh-ink) !important; font-size: clamp(1.45rem, 2.6vw, 2.25rem) !important; font-weight: 650; line-height: 1.35 !important; letter-spacing: -0.03em; }
.cdh-page-intro h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; overflow-wrap: anywhere; }
.cdh-page-card-grid { width: min(calc(100vw - 2 * var(--cdh-pad)), var(--cdh-max)); max-width: none !important; position: relative; left: 50%; margin: clamp(3rem, 5vw, 5rem) 0 0 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; transform: translateX(-50%); }
.cdh-page-card { min-height: 22rem; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--cdh-white); border: 1px solid var(--cdh-line); border-radius: var(--cdh-radius); box-sizing: border-box; }
.cdh-page-card-dark { color: var(--cdh-white); background: var(--cdh-ink); border-color: var(--cdh-ink); }
.cdh-page-card-gold { color: var(--cdh-ink); background: var(--cdh-gold); border-color: var(--cdh-gold); }
.cdh-page-card h3 { margin: 0; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 0.98; letter-spacing: -0.055em; }
.cdh-page-card p { color: inherit !important; opacity: 0.76; }
.cdh-page-link { margin-top: auto; padding-top: 2rem; font-size: 0.75rem !important; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cdh-page-link a { text-decoration: none; }
.cdh-contact-grid { width: min(calc(100vw - 2 * var(--cdh-pad)), var(--cdh-max)); max-width: none !important; position: relative; left: 50%; margin: clamp(3rem, 5vw, 5rem) 0 0 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; transform: translateX(-50%); }
.cdh-contact-grid > .wp-block-column { padding: 2rem; background: var(--cdh-white); border: 1px solid var(--cdh-line); border-radius: var(--cdh-radius); }
.cdh-contact-grid h3 { margin-top: 0; color: var(--cdh-blue); font-size: 0.72rem !important; font-weight: 850; letter-spacing: 0.12em !important; text-transform: uppercase; }
.cdh-offer-list { margin: 3rem 0; padding: 0; list-style: none; border-top: 1px solid var(--cdh-line); }
.cdh-offer-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--cdh-line); }
.cdh-offer-list a { display: block; color: var(--cdh-ink); text-decoration: none; font-size: clamp(1.35rem, 2.5vw, 2.2rem); font-weight: 750; letter-spacing: -0.03em; }
.cdh-subpage blockquote { margin: 3rem 0; padding: 2rem; color: var(--cdh-ink); background: var(--cdh-gold-soft); border-left: 0.4rem solid var(--cdh-gold); }
.cdh-subpage blockquote p { margin: 0; color: inherit !important; font-size: clamp(1.35rem, 2.3vw, 2rem) !important; font-weight: 700; }
.cdh-news-archive-content { width: min(100% - 2 * var(--cdh-pad), var(--cdh-max)); }
.cdh-news-archive-content .wp-block-post-template { gap: 1.2rem; }
.cdh-news-archive-card { height: 100%; background: var(--cdh-white); border-radius: var(--cdh-radius); overflow: hidden; }
.cdh-news-archive-card .wp-block-post-featured-image { margin: 0; }
.cdh-news-archive-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.cdh-news-archive-copy { padding: clamp(1.5rem, 3vw, 2.4rem); }
.cdh-news-archive-copy .wp-block-post-title { margin: 1rem 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -0.05em; }
.cdh-news-archive-copy .wp-block-post-title a { text-decoration: none; }
.cdh-news-archive-copy .wp-block-post-excerpt { color: var(--cdh-muted); line-height: 1.6; }
.cdh-news-archive-copy .wp-block-post-excerpt__more-link { color: var(--cdh-ink); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }

/* Imported club information stays readable, even when the original used tables and galleries. */
.cdh-source-note { margin: 0 0 2.5rem; padding: 1.1rem 1.35rem; border-left: 4px solid var(--cdh-gold); border-radius: 0 .7rem .7rem 0; background: #f0f2ef; color: var(--cdh-ink); font-size: .9rem; line-height: 1.55; }
.cdh-source-note a { color: inherit; font-weight: 800; }
.cdh-imported-content { overflow-wrap: anywhere; }
.cdh-imported-content img { max-width: 100%; height: auto; border-radius: .6rem; }
.cdh-imported-content iframe { max-width: 100%; }
.cdh-imported-content .wp-block-table { width: 100%; overflow-x: auto; }
.cdh-imported-content table { width: 100%; min-width: 28rem; border-collapse: collapse; }
.cdh-imported-content .wp-block-image, .cdh-imported-content .wp-block-gallery { max-width: 100%; }
.cdh-imported-content .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem; }
.cdh-imported-content .wp-block-gallery figure { margin: 0; }
.cdh-imported-content .wp-block-gallery img { width: 100%; height: 100%; max-height: 18rem; object-fit: cover; }
.cdh-imported-content th, .cdh-imported-content td { padding: .65rem .8rem; border: 1px solid var(--cdh-line); text-align: left; vertical-align: top; }
.cdh-imported-content tr:nth-child(even) { background: #f6f7f7; }
.cdh-info-grid { width: min(calc(100vw - 2 * var(--cdh-pad)), var(--cdh-max)); max-width: none !important; position: relative; left: 50%; margin: 2rem 0 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; transform: translateX(-50%); }
.cdh-info-card { min-height: 8rem; padding: 1.45rem; background: var(--cdh-white); border: 1px solid var(--cdh-line); border-radius: var(--cdh-radius); box-sizing: border-box; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cdh-info-card:hover { border-color: var(--cdh-gold); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(7,24,47,.07); }
.cdh-info-card h2 { margin: 0; font-size: 1.25rem; }
.cdh-info-card h2 a, .cdh-info-card li a { color: var(--cdh-ink); text-decoration: none; }
.cdh-info-card a:hover { text-decoration: underline; }
.cdh-info-card ul { margin: 1rem 0 0; padding-left: 1.2rem; line-height: 1.75; }

@media (max-width: 1350px) {
  .cdh-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .cdh-site-header .wp-block-navigation__responsive-container-open { display: flex; color: inherit; }
}

@media (max-width: 900px) {
  .cdh-site-header { color: var(--cdh-white); }
  .cdh-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .cdh-site-header .wp-block-navigation__responsive-container-open { display: flex; color: inherit; }
  .cdh-hero-grid { display: block !important; }
  .cdh-hero-copy { position: relative; z-index: 2; min-height: 42rem; padding: 10rem var(--cdh-pad) 4rem; box-sizing: border-box; }
  .cdh-hero-title { font-size: clamp(4.1rem, 18vw, 6.5rem); }
  .cdh-hero-visual { position: absolute; inset: 0 0 auto; width: 100%; height: 46rem; min-height: 0; opacity: 0.42; clip-path: none; }
  .cdh-score { display: none; }
  .cdh-hero-year { top: 8rem; font-size: 5rem; }
  .cdh-section-intro { display: block !important; }
  .cdh-club-grid { display: flex !important; overflow-x: auto; }
  .cdh-card { min-width: min(84vw, 24rem); min-height: 29rem; }
  .cdh-facts { grid-template-columns: 1fr; }
  .cdh-fact { padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--cdh-line); }
  .cdh-school { display: block !important; }
  .cdh-school-photo { min-height: 25rem; }
  .cdh-school-content { padding: 5rem var(--cdh-pad); }
  .cdh-news-head { display: block !important; }
  .cdh-news-grid .wp-block-post-template { grid-template-columns: 1fr; }
  .cdh-news-card { grid-template-columns: 0.9fr 1.1fr; }
  .cdh-footer-meta { grid-template-columns: 1fr; }
  .cdh-page-card-grid, .cdh-contact-grid { grid-template-columns: 1fr; }
  .cdh-page-card { min-height: 18rem; }
}

@media (max-width: 560px) {
  .cdh-announcement p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cdh-brand-copy .wp-block-site-tagline { display: none; }
  .cdh-site-header .wp-block-buttons { display: none; }
  .cdh-news-card { grid-template-columns: 1fr; }
  .cdh-news-card .wp-block-post-featured-image { min-height: 14rem; }
  .cdh-schedule-row { grid-template-columns: 1fr; gap: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Club portal, 2026 */
.cdh-new-hero{position:relative;min-height:690px;padding:clamp(10rem,17vw,15rem) var(--cdh-pad) 6rem;box-sizing:border-box;overflow:hidden;color:#fff;background:#061328}
.cdh-new-hero>*:not(.cdh-new-hero-photo){position:relative;z-index:2;width:min(100%,var(--cdh-max));margin-left:0;margin-right:0}
.cdh-new-hero-photo,.cdh-new-hero-photo img{position:absolute;inset:0;width:100%;height:100%;margin:0;object-fit:cover}
.cdh-new-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061328ed 0%,#061328b8 42%,#06132830 100%),linear-gradient(0deg,#061328af,transparent 45%);pointer-events:none}
.cdh-new-hero-title{font-size:clamp(3.8rem,8vw,8rem);line-height:.92;letter-spacing:-.07em;margin-top:0;margin-bottom:1.5rem;text-transform:uppercase;max-width:12ch!important}
.cdh-new-hero-title em{font-style:normal;color:var(--cdh-gold)}
.cdh-new-hero-lead{max-width:39rem!important;font-size:clamp(1.1rem,1.5vw,1.45rem);line-height:1.5}
.cdh-new-hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}
.cdh-new-hero-actions a,.cdh-sport-panel a,.cdh-school-content a{display:inline-block;padding:.85rem 1.15rem;border:1px solid var(--cdh-gold);border-radius:2rem;background:var(--cdh-gold);color:var(--cdh-ink);font-size:.82rem;font-weight:800;text-decoration:none}
.cdh-new-hero-actions a+a{background:transparent;color:#fff}
.cdh-main-sponsors,.cdh-teams-section,.cdh-quick-section{padding:clamp(3rem,6vw,6rem) var(--cdh-pad);max-width:var(--cdh-max);margin:auto}
.cdh-main-sponsors{text-align:center}.cdh-main-sponsors h2,.cdh-teams-section h2,.cdh-quick-section h2,.cdh-partner-section h2{font-size:clamp(2.3rem,4vw,4.5rem);letter-spacing:-.055em;line-height:1;margin:0 0 2rem}
.cdh-main-sponsor-logos{display:flex;justify-content:center;align-items:center;gap:clamp(2rem,7vw,8rem);flex-wrap:wrap;padding:1.5rem 2rem;background:#fff;border-radius:1rem;box-shadow:0 12px 35px #07182f10}
.cdh-main-sponsor-logos figure{width:min(42%,340px);height:100px;margin:0;display:flex;align-items:center;justify-content:center}.cdh-main-sponsor-logos img{max-height:100%;max-width:100%;object-fit:contain}
.cdh-text-link a{font-weight:800;color:var(--cdh-blue)}
.cdh-sport-strip{max-width:var(--cdh-max);margin:auto;padding:0 var(--cdh-pad) 3rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.cdh-sport-panel{padding:clamp(2rem,4vw,3.5rem);background:var(--cdh-ink);color:#fff;border-radius:.6rem}.cdh-sport-panel+ .cdh-sport-panel{background:var(--cdh-blue)}.cdh-sport-panel h2{font-size:clamp(2rem,3vw,3.5rem);line-height:1;margin:0 0 1rem}.cdh-sport-panel>p:not(.cdh-eyebrow){max-width:29rem}
.cdh-team-grid,.cdh-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.cdh-team-tile,.cdh-quick-card{padding:1.5rem;min-height:10rem;background:#fff;border:1px solid var(--cdh-line);border-radius:.5rem;display:flex;flex-direction:column;justify-content:space-between}.cdh-team-tile h3{font-size:clamp(1.5rem,2.3vw,2.5rem);margin:0}.cdh-team-tile a,.cdh-quick-card a{color:var(--cdh-blue);font-weight:800;text-decoration:none}
.cdh-school-feature{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:var(--cdh-ink);color:#fff}.cdh-school-feature>figure{height:100%;min-height:460px;margin:0}.cdh-school-feature>figure img{width:100%;height:100%;object-fit:cover}.cdh-school-content{padding:clamp(3rem,7vw,7rem)}.cdh-school-content h2{font-size:clamp(2.6rem,5vw,5rem);line-height:1;margin:0 0 1.5rem}.cdh-school-content>p{max-width:36rem;line-height:1.6}
.cdh-partner-section{padding:clamp(3rem,6vw,5rem) 0;background:#e8edf2;text-align:center;overflow:hidden}.cdh-partner-window{overflow:hidden}.cdh-partner-track{display:flex;align-items:center;gap:3rem;width:max-content;animation:cdh-partners 24s linear infinite}.cdh-partner-track figure{width:220px;height:95px;display:flex;align-items:center;justify-content:center;background:#fff;padding:1rem;border-radius:.4rem;box-sizing:border-box;margin:0}.cdh-partner-track img{max-height:100%;object-fit:contain}.cdh-partner-section>p:last-child{margin-top:2rem}.cdh-partner-section a{font-weight:800;color:var(--cdh-blue)}
@keyframes cdh-partners{to{transform:translateX(calc(-50% - 1.5rem))}}
.cdh-sponsor-logos{display:flex;gap:2rem;align-items:center;flex-wrap:wrap}.cdh-sponsor-logos img{max-width:300px;max-height:140px;object-fit:contain}
@media(max-width:800px){.cdh-new-hero{min-height:620px;padding-top:10rem}.cdh-sport-strip,.cdh-school-feature{grid-template-columns:1fr}.cdh-team-grid,.cdh-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cdh-school-feature>figure{min-height:300px}.cdh-main-sponsor-logos figure{width:100%}}
@media(max-width:1300px){.cdh-site-header .wp-block-buttons{display:none}}
@media(max-width:520px){.cdh-team-grid,.cdh-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cdh-new-hero-title{font-size:clamp(3rem,13vw,5rem)}.cdh-team-tile,.cdh-quick-card{padding:1rem}}
@media(max-width:360px){.cdh-team-grid,.cdh-quick-grid{grid-template-columns:1fr}}
@media(max-width:480px){.cdh-subpage .wp-block-post-content > h2{font-size:clamp(2rem,8vw,2.5rem)}}
@media(prefers-reduced-motion:reduce){.cdh-partner-track{animation:none;flex-wrap:wrap;justify-content:center;width:auto}}
@media(max-width:600px){.cdh-announcement p{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}.cdh-new-hero{padding-top:12rem}}

/* Sponsor list imported from the club workbook. */
.cdh-sponsor-page{position:relative;left:50%;width:min(calc(100vw - 2 * var(--cdh-pad)),var(--cdh-max));max-width:none;transform:translateX(-50%)}
.cdh-sponsor-hero{margin:0 0 3rem}.cdh-sponsor-hero>p:last-child{font-size:clamp(1.35rem,2.4vw,2rem);font-weight:700;line-height:1.3;color:var(--cdh-ink)}
.cdh-sponsor-page>h2{margin:3.5rem 0 1.5rem!important;font-size:clamp(2rem,3.5vw,3.5rem)!important}
.cdh-sponsor-page>.wp-block-list{columns:2;column-gap:2rem;margin-bottom:2rem}.cdh-sponsor-page>.wp-block-list li{break-inside:avoid}
.cdh-sponsor-logos{gap:1rem}.cdh-sponsor-logos figure{flex:1 1 260px;min-width:0;min-height:175px;padding:1.5rem 2rem;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;box-sizing:border-box;background:#fff;border:1px solid var(--cdh-line);border-radius:.75rem}.cdh-sponsor-logos img{max-width:100%;max-height:85px}.cdh-sponsor-logos figcaption{font-size:.8rem;font-weight:800;color:var(--cdh-ink);text-align:center}
.cdh-sponsor-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.cdh-sponsor-group{padding:1.5rem 1.75rem;background:#fff;border:1px solid var(--cdh-line);border-radius:.75rem}.cdh-sponsor-group h3{margin:0 0 .8rem!important;font-size:1.45rem!important}.cdh-sponsor-group ul{margin:0;padding-left:1.2rem}.cdh-sponsor-group li{font-size:.95rem!important;line-height:1.55!important}.cdh-sponsor-group-wide{grid-column:span 2}.cdh-sponsor-group-wide ul{columns:2;column-gap:2rem}
.cdh-supporters{margin:3rem 0;padding:1.25rem 1.5rem;background:#e8edf2;border:1px solid var(--cdh-line);border-radius:.75rem}.cdh-supporters summary{display:flex;justify-content:space-between;gap:1rem;cursor:pointer;font-size:1.2rem;font-weight:800}.cdh-supporters summary span{font-size:.8rem;color:var(--cdh-blue)}.cdh-supporters ul{columns:3;column-gap:2rem;margin:1.5rem 0 0}.cdh-supporters li{break-inside:avoid;font-size:.95rem!important}
@media(max-width:760px){.cdh-sponsor-page>.wp-block-list,.cdh-sponsor-group-wide ul,.cdh-supporters ul{columns:1}.cdh-sponsor-groups{grid-template-columns:1fr}.cdh-sponsor-group-wide{grid-column:auto}}

/* Mobile navigation stays above the announcement and uses the club palette. */
.cdh-site-header .wp-block-navigation__responsive-container.is-menu-open{box-sizing:border-box;padding:4.5rem var(--cdh-pad) 2rem;background:var(--cdh-ink);color:#fff}
.cdh-site-header .is-menu-open .wp-block-navigation__responsive-container-close{top:1.1rem;right:var(--cdh-pad);color:var(--cdh-gold)}
.cdh-site-header .is-menu-open .wp-block-navigation__responsive-container-content{padding:0;align-items:flex-start}
.cdh-site-header .is-menu-open .wp-block-navigation__container{align-items:flex-start;justify-content:flex-start;gap:1.2rem;text-align:left}
.cdh-site-header .is-menu-open .wp-block-navigation-item__content{color:#fff;font-size:clamp(1.15rem,5vw,1.55rem);line-height:1.2}
.cdh-site-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--cdh-ink)!important;color:#fff!important}
.cdh-site-header .is-menu-open .wp-block-navigation__responsive-container-content{padding-top:2.5rem!important;align-items:stretch!important;width:100%}
.cdh-site-header .is-menu-open .wp-block-navigation__container{align-items:flex-start!important;justify-content:flex-start!important;width:100%}
.cdh-site-header .is-menu-open .wp-block-navigation-item{align-items:flex-start!important;justify-content:flex-start!important;width:100%}
.cdh-site-header .is-menu-open .wp-block-navigation__responsive-container-close{position:fixed;top:1rem;right:var(--cdh-pad);color:var(--cdh-gold)}
body.admin-bar .cdh-site-header .is-menu-open .wp-block-navigation__responsive-container-close{top:calc(46px + 1rem)}
@media(min-width:783px){body.admin-bar .cdh-site-header .is-menu-open .wp-block-navigation__responsive-container-close{top:calc(32px + 1rem)}}
.cdh-site-header .is-menu-open .wp-block-navigation-item{min-height:3rem;align-items:center!important}

/* Keep the booking action distinct from Contact and the tablet menu toggle. */
.cdh-site-header .cdh-header-actions{gap:clamp(1.25rem,2.2vw,2rem);flex-wrap:nowrap;justify-content:flex-end}
.cdh-site-header .cdh-header-booking{flex:none;margin:0}
.cdh-site-header .cdh-header-booking .wp-block-button__link{white-space:nowrap}
.cdh-site-header .wp-block-navigation__container{column-gap:clamp(1rem,1.35vw,1.5rem);row-gap:.6rem}
@media(min-width:641px){
  .cdh-site-header .cdh-nav-booking{display:none}
  .cdh-site-header .cdh-header-booking{display:flex}
}
@media(min-width:641px) and (max-width:1350px){
  .cdh-site-header .cdh-header-actions{gap:1.25rem}
  .cdh-site-header .wp-block-navigation__responsive-container-open{display:flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;padding:.4rem;border:1px solid rgba(255,255,255,.45);border-radius:50%;box-sizing:border-box}
}
@media(max-width:640px){
  .cdh-site-header .cdh-header-booking{display:none}
  .cdh-site-header .cdh-header-actions{gap:0}
  .cdh-site-header .wp-block-navigation__responsive-container-open{display:flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem}
}
/* Club team photographs, supplied for the 2026 review. */
.cdh-team-photo{margin:0 0 clamp(2rem,4vw,4rem);overflow:hidden;border-radius:.45rem;background:var(--cdh-ink)}
.cdh-team-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center}
.cdh-team-photo-youth img{filter:none}
.cdh-team-photo figcaption{padding:.8rem 1rem;color:#fff;font-size:.8rem;font-weight:700;letter-spacing:.04em}
.cdh-team-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,2vw,1.5rem);margin:clamp(2rem,4vw,3rem) 0}
.cdh-team-gallery-card{display:block;overflow:hidden;border-radius:.45rem;background:var(--cdh-ink);color:#fff;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.cdh-team-gallery-card:hover,.cdh-team-gallery-card:focus-visible{transform:translateY(-4px);box-shadow:0 14px 32px rgba(3,18,38,.2)}
.cdh-team-gallery-card img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;object-position:center}
.cdh-team-gallery-youth img{filter:none}
.cdh-team-gallery-card>span{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;font-weight:700}
@media(max-width:640px){.cdh-team-gallery{grid-template-columns:1fr}}

/* Final editorial spacing and interaction polish. */
.cdh-main-sponsor-logos{padding:clamp(2rem,4vw,3.5rem);border:1px solid var(--cdh-line);box-shadow:0 16px 48px #07182f08}
.cdh-main-sponsors .cdh-text-link{margin:2rem 0 0!important}
.cdh-text-link a,.cdh-partner-section>p a{display:inline-flex;align-items:center;min-height:44px;padding:.35rem .15rem;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em}
.cdh-text-link a:hover,.cdh-partner-section>p a:hover{text-decoration-thickness:2px}
.cdh-team-tile,.cdh-quick-card{padding:clamp(1.35rem,2.4vw,2rem);gap:1.25rem;border-radius:.8rem;box-shadow:0 4px 18px #07182f04;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.cdh-team-tile:hover,.cdh-quick-card:hover{border-color:#aebaca;box-shadow:0 12px 30px #07182f0b;transform:translateY(-3px)}
.cdh-team-tile a,.cdh-quick-card a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.3em}
.cdh-team-tile a:hover,.cdh-quick-card a:hover{text-decoration:underline}
.cdh-quick-card h3{margin:0;line-height:1.15}.cdh-quick-card p{margin:0;line-height:1.65}
.cdh-sport-panel{border-radius:1rem;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}
.cdh-sport-panel>p:last-child{margin-top:auto;padding-top:1rem;margin-bottom:0}
.cdh-new-hero-actions a,.cdh-sport-panel a,.cdh-school-content a{min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:.9rem 1.4rem;line-height:1.35;transition:background .2s ease,box-shadow .2s ease}
.cdh-new-hero-actions a:hover,.cdh-sport-panel a:hover,.cdh-school-content a:hover{box-shadow:0 0 0 3px #ffce3240}
.cdh-main-sponsors h2,.cdh-teams-section h2,.cdh-quick-section h2,.cdh-partner-section h2{line-height:1.08;text-wrap:balance}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d69b00;outline-offset:5px;border-radius:3px}
@media(max-width:640px){.cdh-main-sponsors .cdh-text-link{margin-top:1.5rem!important}.cdh-main-sponsor-logos{gap:2rem}.cdh-main-sponsor-logos figure{height:75px}.cdh-quick-grid{grid-template-columns:1fr}.cdh-team-tile{min-height:8rem}.cdh-new-hero-actions{gap:.75rem}.cdh-school-content{padding:2.5rem var(--cdh-pad)}}
@media(prefers-reduced-motion:reduce){.cdh-team-tile,.cdh-quick-card,.cdh-team-gallery-card{transition:none}.cdh-team-tile:hover,.cdh-quick-card:hover,.cdh-team-gallery-card:hover{transform:none}.cdh-partner-track{animation:none;flex-wrap:wrap;width:auto;justify-content:center}.cdh-partner-track figure:nth-child(n+5){display:none}}
.cdh-main-sponsors .cdh-eyebrow,.cdh-teams-section .cdh-eyebrow,.cdh-quick-section .cdh-eyebrow,.cdh-partner-section .cdh-eyebrow{color:#876300}

/* Full team photos retain every player in the frame. */
.cdh-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cdh-team-tile .cdh-home-team-photo{margin:0;order:-1;width:100%}
.cdh-home-team-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:.4rem;background:#07182f}
.cdh-team-tile p{margin:0}
@media(max-width:640px){.cdh-team-grid{grid-template-columns:1fr}}
.cdh-footer-brand{gap:clamp(1.5rem,3vw,2.5rem)!important;align-items:center}
.cdh-footer-brand>.cdh-logo{flex:0 0 80px}
.cdh-footer-brand>.wp-block-group{min-width:0}
.cdh-footer-brand .wp-block-site-title{line-height:1.3}
.cdh-footer-tagline{line-height:1.6}
@media(max-width:420px){.cdh-footer-brand{gap:1.25rem!important}.cdh-footer-brand>.cdh-logo{flex-basis:64px}.cdh-footer-brand .cdh-logo img{width:64px!important}.cdh-footer-brand .wp-block-site-title{font-size:1rem}}

.cdh-training-calendar{width:100%;height:650px;border:1px solid var(--cdh-line);border-radius:.75rem;background:#fff;margin:1.5rem 0}
@media(max-width:640px){.cdh-training-calendar{height:560px}}
.cdh-home-news{max-width:var(--cdh-max);margin:auto;padding:3rem var(--cdh-pad)}
.cdh-home-news>h2{font-size:clamp(2.3rem,4vw,4.5rem);line-height:1.08;letter-spacing:-.055em}
.cdh-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:2rem 0}
.cdh-news-card{background:#fff;border:1px solid var(--cdh-line);border-radius:.75rem;overflow:hidden}
.cdh-news-card>a{display:block;height:100%;color:var(--cdh-ink);text-decoration:none}
.cdh-news-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.cdh-news-card a>div{padding:1.5rem}.cdh-news-card h2{font-size:1.5rem!important;line-height:1.2!important;margin:.6rem 0 1rem!important}
.cdh-news-card p{font-size:1rem;line-height:1.6}.cdh-news-card span{display:inline-block;margin-top:1rem;color:var(--cdh-blue);font-weight:800}
.cdh-news-card:hover h2{text-decoration:underline;text-underline-offset:.2em}
.cdh-news-label{font-size:.65rem!important;letter-spacing:.12em;font-weight:800;color:#876300}
.cdh-home-news .cdh-news-card:nth-child(n+4){display:none}
.cdh-news-detail-photo{margin:2rem 0}.cdh-news-detail-photo img{width:100%;height:auto;max-height:700px;object-fit:contain}
@media(max-width:900px){.cdh-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cdh-news-grid{grid-template-columns:1fr}}
.cdh-news-grid>article.cdh-news-card{display:block!important;height:auto}
.cdh-news-card img{object-fit:contain;background:#07182f}
.cdh-quick-card h2{font-size:1.5rem!important;line-height:1.2!important;margin:0!important}
/* News follow the club's familiar article list: headline, image, excerpt. */
.cdh-news-grid{display:block;margin:2rem 0}
.cdh-news-grid>article.cdh-news-card{border:0;border-bottom:1px solid var(--cdh-line);border-radius:0;background:transparent;margin:0;padding:2rem 0;overflow:visible}
.cdh-news-grid>article.cdh-news-card:first-child{padding-top:0}
.cdh-news-card>a{height:auto}
.cdh-news-card>a>h2{font-size:clamp(1.45rem,2.5vw,2rem)!important;line-height:1.25!important;margin:0 0 1.4rem!important;padding-bottom:1rem;border-bottom:1px solid var(--cdh-line);color:var(--cdh-blue)}
.cdh-news-card a>.cdh-news-row-body{padding:0;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:2rem;align-items:start}
.cdh-news-row-body img{width:100%;height:260px;aspect-ratio:auto;object-fit:contain;background:transparent;border-radius:.35rem}
.cdh-news-row-copy{padding:0;min-width:0}
.cdh-news-row-copy p{margin:0 0 1rem}
.cdh-news-card .cdh-news-row-copy span{padding:.65rem 1.15rem;background:var(--cdh-gold);color:var(--cdh-ink);border-radius:.25rem;margin:.25rem 0 0;font-size:.85rem}
.cdh-news-card a>.cdh-news-row-no-image{grid-template-columns:1fr}
@media(max-width:640px){.cdh-news-card a>.cdh-news-row-body{grid-template-columns:1fr;gap:1.25rem}.cdh-news-row-body img{height:auto;max-height:360px}.cdh-news-grid>article.cdh-news-card{padding:1.75rem 0}}

.cdh-archive-years{display:flex;flex-wrap:wrap;gap:.75rem;margin:2rem 0 3rem}.cdh-archive-years a{padding:.6rem 1rem;background:#fff;border:1px solid var(--cdh-line);border-radius:.3rem;text-decoration:none;font-weight:700}.cdh-archive-year{scroll-margin-top:8rem}.cdh-archive-year ul{list-style:none;padding:0}.cdh-archive-year li{display:grid;grid-template-columns:7rem 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--cdh-line)}.cdh-archive-year time{font-size:.85rem;color:var(--cdh-muted)}@media(max-width:500px){.cdh-archive-year li{grid-template-columns:1fr;gap:.35rem}}

/* Club feedback: comfortable offer cards and a dedicated shop. */
.cdh-offers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin:2rem 0}
.cdh-offers-grid .cdh-quick-card{display:flex;flex-direction:column;padding:2rem;min-width:0}
.cdh-offers-grid .cdh-quick-card h2{font-size:clamp(1.4rem,2.5vw,1.8rem);overflow-wrap:normal;word-break:normal;hyphens:none}
.cdh-offers-grid .cdh-quick-card>a{margin-top:auto;padding-top:1rem}
.cdh-shop-feature{display:grid;grid-template-columns:minmax(180px,300px) 1fr;align-items:center;gap:clamp(2rem,5vw,5rem);padding:2rem 0}
.cdh-shop-feature>img{width:100%;height:300px;object-fit:contain;background:white;border-radius:12px;padding:1rem;box-sizing:border-box}
.cdh-shop-feature .wp-element-button{display:inline-block;margin-top:1rem}
@media(max-width:600px){.cdh-offers-grid,.cdh-shop-feature{grid-template-columns:1fr}.cdh-offers-grid .cdh-quick-card{padding:1.5rem}.cdh-shop-feature>img{max-width:300px;margin:auto}}

.cdh-team-tile .cdh-team-icon-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid currentColor;border-radius:50%;text-decoration:none;transition:background .2s,color .2s,transform .2s}
.cdh-team-tile .cdh-team-icon-link:hover{background:var(--cdh-yellow,#f7ce3e);color:var(--cdh-navy,#08192e);transform:translateX(2px)}
.cdh-team-tile .cdh-team-icon-link:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.cdh-team-tile .cdh-team-icon-link::after{content:none!important}
@media(prefers-reduced-motion:reduce){.cdh-team-tile .cdh-team-icon-link{transition:none;transform:none}}

/* Measured full cycles cover every viewport, including wide desktop screens. */
.cdh-partner-track{animation:none;flex-wrap:nowrap;gap:3rem}
.cdh-partner-track>figure{flex:0 0 220px}
.cdh-partner-track.is-looping{animation:cdh-partners-seamless var(--partner-duration) linear infinite;will-change:transform}
@keyframes cdh-partners-seamless{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--partner-distance)))}}
@media(prefers-reduced-motion:reduce){.cdh-partner-track,.cdh-partner-track.is-looping{animation:none;flex-wrap:wrap;width:auto;justify-content:center}.cdh-partner-track>figure:nth-child(n){display:flex}.cdh-partner-track>[data-partner-copy]{display:none!important}}
.cdh-partner-window{width:100%;max-width:100vw;min-width:0;contain:inline-size}

.cdh-shop-outfit{max-width:620px!important;margin:2rem auto!important}.cdh-shop-outfit img{display:block;width:100%;height:auto;border-radius:12px}.cdh-shop-outfit figcaption{color:var(--cdh-muted);font-size:.9rem;margin-top:.75rem}

/* Editorial refinement: image-led club identity, consistent type and quiet surfaces. */
:root{--cdh-paper:#fafaf7;--cdh-radius:.25rem}
body{background:var(--cdh-paper)}
.cdh-eyebrow{font-weight:700;letter-spacing:.14em;font-size:.7rem}
.cdh-new-hero{min-height:740px;padding-top:clamp(12rem,20vw,17rem);padding-bottom:4.5rem}
.cdh-new-hero-title{font-family:"Helvetica Neue",Arial,sans-serif;font-size:clamp(3.25rem,6.4vw,6.6rem);font-weight:750;letter-spacing:-.045em;line-height:.98;max-width:14ch!important}
.cdh-new-hero:after{background:linear-gradient(90deg,#061328e6 0%,#06132895 44%,#06132812 100%),linear-gradient(0deg,#06132880,transparent 65%)}
.cdh-new-hero-lead{font-size:clamp(1rem,1.35vw,1.2rem);max-width:33rem!important;color:#edf1f6}
.cdh-site-header{border-bottom:1px solid #ffffff25}
.cdh-site-header .wp-block-button__link,.cdh-new-hero-actions a,.cdh-sport-panel a,.cdh-school-content a{border-radius:3px;font-weight:700;letter-spacing:.015em}
.cdh-main-sponsors{padding-top:3rem;padding-bottom:3rem;display:grid;grid-template-columns:1fr 1.7fr;column-gap:3rem;align-items:center;text-align:left}
.cdh-main-sponsors>.cdh-eyebrow{grid-column:1;margin:0 0 .6rem}
.cdh-main-sponsors>h2{grid-column:1;max-width:15ch;font-size:clamp(1.8rem,2.7vw,2.8rem);margin:0!important}
.cdh-main-sponsor-logos{grid-column:2;grid-row:1 / 4;background:transparent;box-shadow:none;border-radius:0;padding:1rem 0;gap:2.5rem;flex-wrap:nowrap}
.cdh-main-sponsor-logos figure{width:45%;height:85px}
.cdh-main-sponsors .cdh-text-link{margin:1.5rem 0 0!important}
.cdh-text-link a{text-decoration-thickness:1px;text-underline-offset:.35em;font-size:.9rem;font-weight:700}
.cdh-sport-strip{display:block;padding-top:0;padding-bottom:1rem}
.cdh-sport-panel{border-radius:3px;border-left:4px solid var(--cdh-gold);padding:2rem 2.5rem}
.cdh-sport-panel h2{font-size:clamp(1.7rem,2.6vw,2.4rem);letter-spacing:-.025em;font-weight:700}
.cdh-sport-panel>p:not(.cdh-eyebrow){max-width:none}
.cdh-sport-panel>p:has(a){display:inline-block;margin-right:.8rem;margin-bottom:0}
.cdh-sport-panel a{background:transparent;color:#fff;border-color:#ffffff60;min-height:44px}
.cdh-sport-panel a:hover{background:var(--cdh-gold);color:var(--cdh-ink)}
.cdh-home-news,.cdh-teams-section,.cdh-quick-section{padding-top:clamp(3.5rem,6vw,5.5rem);padding-bottom:clamp(3.5rem,6vw,5.5rem)}
.cdh-home-news>h2,.cdh-teams-section>h2,.cdh-quick-section>h2,.cdh-partner-section>h2{font-family:"Helvetica Neue",Arial,sans-serif;font-size:clamp(2rem,3.5vw,3.5rem);font-weight:700;letter-spacing:-.035em;line-height:1.12;margin:0 0 2.5rem}
.cdh-teams-section>h2{max-width:22ch}
.cdh-news-grid>article.cdh-news-card{padding:2.5rem 0;border-bottom-color:#ccd3da}
.cdh-news-card>a>h2{border-bottom:0;color:var(--cdh-ink);font-weight:700;letter-spacing:-.025em;font-size:clamp(1.5rem,2.5vw,2.1rem)!important;padding-bottom:0}
.cdh-news-card a>.cdh-news-row-body{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:clamp(1.5rem,4vw,4rem)}
.cdh-news-card a>.cdh-news-row-no-image{grid-template-columns:1fr;max-width:52rem}
.cdh-news-row-copy p{color:#475467;line-height:1.7}
.cdh-news-card .cdh-news-row-copy span{padding:.5rem 0;border-bottom:2px solid var(--cdh-gold);background:transparent;border-radius:0}
.cdh-news-label{font-size:.75rem!important;color:#667181!important;letter-spacing:.06em}
.cdh-team-grid{gap:2.5rem 2rem}
.cdh-team-tile{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem;padding:0 0 1rem;border:0;border-bottom:1px solid #cbd3dc;border-radius:0;background:transparent;box-shadow:none;min-height:0}
.cdh-team-tile .cdh-home-team-photo{grid-column:1 / -1;order:initial}
.cdh-home-team-photo img{border-radius:2px}
.cdh-team-tile h3{font-size:clamp(1.35rem,2.3vw,2rem);font-weight:700;letter-spacing:-.025em}
.cdh-team-tile:hover{transform:none;box-shadow:none;border-color:var(--cdh-blue)}
.cdh-team-tile .cdh-team-icon-link{width:44px;height:44px}
.cdh-school-content h2{font-family:"Helvetica Neue",Arial,sans-serif;font-weight:700;letter-spacing:-.035em;font-size:clamp(2.3rem,4vw,4rem);line-height:1.08}
.cdh-school-content{display:flex;flex-direction:column;justify-content:center}
.cdh-quick-grid{gap:0}
.cdh-quick-card{border:0;border-top:2px solid var(--cdh-ink);border-radius:0;box-shadow:none;background:transparent;padding:1.75rem 1.5rem 1rem;gap:1rem}
.cdh-quick-card+ .cdh-quick-card{border-left:1px solid var(--cdh-line)}
.cdh-quick-card h3{font-size:1.35rem;font-weight:700;letter-spacing:-.025em}
.cdh-quick-card p{font-size:.95rem;color:#566273;line-height:1.65}
.cdh-quick-card:hover{transform:none;box-shadow:none;background:#eef2f5;border-top-color:var(--cdh-blue)}
.cdh-quick-card a{font-size:.9rem}
.cdh-offers-grid{gap:1.5rem}.cdh-offers-grid .cdh-quick-card{border-left:0;background:#fff}
.cdh-partner-section{background:#edf1f4;border-top:1px solid #dce2e7}
.cdh-partner-track figure{border-radius:2px}
.cdh-subpage-hero{border-bottom:4px solid var(--cdh-gold)}
.cdh-subpage-hero h1,.cdh-subpage-hero .wp-block-post-title{font-family:"Helvetica Neue",Arial,sans-serif;font-weight:700;letter-spacing:-.035em;line-height:1.04;font-size:clamp(2.6rem,5.5vw,5.5rem)}
.cdh-subpage .wp-block-post-content>h2{font-size:clamp(2rem,3.5vw,3.25rem);font-weight:700;letter-spacing:-.03em;line-height:1.12}
.cdh-page-card,.cdh-sponsor-logos figure{border-radius:3px;box-shadow:none}
.cdh-game-heading h2{font-family:"Helvetica Neue",Arial,sans-serif;font-weight:700;font-size:clamp(2.25rem,4vw,4rem);letter-spacing:-.035em;line-height:1.08}
@media(min-width:1600px){.cdh-new-hero{padding-left:max(var(--cdh-pad),calc((100vw - 1320px)/2));min-height:800px}}
@media(max-width:800px){.cdh-main-sponsors{grid-template-columns:1fr;text-align:center;gap:0}.cdh-main-sponsors>h2{max-width:none}.cdh-main-sponsor-logos{grid-column:1;grid-row:auto;margin-top:1.5rem}.cdh-main-sponsor-logos figure{width:45%;height:70px}.cdh-quick-card:nth-child(3){border-left:0}.cdh-sport-panel{padding:1.75rem}.cdh-new-hero{min-height:680px;padding-top:12rem}.cdh-school-content{padding:3rem var(--cdh-pad)}}
@media(max-width:640px){.cdh-new-hero{min-height:660px;padding-top:11rem;padding-bottom:3rem}.cdh-new-hero-title{font-size:clamp(2.6rem,10.5vw,4rem)}.cdh-new-hero-photo img{object-position:60% center}.cdh-new-hero:after{background:linear-gradient(90deg,#061328db,#06132855),linear-gradient(0deg,#061328a0,transparent)}.cdh-new-hero-actions a{padding:.8rem 1rem}.cdh-main-sponsors{padding-top:2.5rem;padding-bottom:2.5rem}.cdh-news-card a>.cdh-news-row-body{grid-template-columns:1fr;gap:1.25rem}.cdh-quick-card+.cdh-quick-card{border-left:0}.cdh-team-grid{gap:2rem}.cdh-team-tile{padding:0 0 1rem}.cdh-home-news>h2,.cdh-teams-section>h2{margin-bottom:2rem}}
.cdh-main-sponsors>h2,.cdh-sport-panel h2,.cdh-team-tile h3,.cdh-quick-card h3,.cdh-news-card h2{font-family:"Helvetica Neue",Arial,sans-serif}
.cdh-main-sponsor-logos{border:0}
@media(min-width:801px){.cdh-sport-panel{display:grid;grid-template-columns:1fr auto;column-gap:2rem}.cdh-sport-panel>.cdh-eyebrow,.cdh-sport-panel>h2,.cdh-sport-panel>p:not(:has(a)){grid-column:1}.cdh-sport-panel>p:has(a){grid-column:2;grid-row:2;margin:0;align-self:center}.cdh-sport-panel>p:has(a)+p:has(a){grid-row:3}.cdh-sport-panel>p:not(.cdh-eyebrow):not(:has(a)){margin:0}}
.cdh-home-news>.cdh-eyebrow{color:#876300}
