/* Denbigh Hockey Club — theme styles
 * Colours/fonts come from theme.json presets, so Styles → Colours in the
 * Site Editor updates them everywhere.
 */
:root {
	--dhc-red: var(--wp--preset--color--red, #B3102D);
	--dhc-red-dark: var(--wp--preset--color--red-dark, #8E0B23);
	--dhc-bright: var(--wp--preset--color--red-bright, #E3223F);
	--dhc-pink: var(--wp--preset--color--pink, #FF6B82);
	--dhc-blush: var(--wp--preset--color--blush, #FFD5DC);
	--dhc-ink: var(--wp--preset--color--ink, #17111F);
	--dhc-ink-soft: var(--wp--preset--color--ink-soft, #211A2B);
	--dhc-paper: var(--wp--preset--color--paper, #F5F3F0);
	--dhc-stone: var(--wp--preset--color--stone, #E6E2DD);
	--dhc-line: var(--wp--preset--color--line, #E3DFDA);
	--dhc-muted: var(--wp--preset--color--muted, #6B6474);
	--dhc-body: #4A4353;
	--dhc-border: #D6D1CB;
	--dhc-hair: #EEEAE5;
	--dhc-display: var(--wp--preset--font-family--display, "Barlow Condensed", sans-serif);
	--dhc-sans: var(--wp--preset--font-family--body, Barlow, sans-serif);
	--dhc-wrap: 1320px;
	--dhc-gutter: 28px;
	--dhc-section: 120px;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { max-width: 100%; height: auto; }

/* Our components space themselves with gap, not flow margins. */
html [class*="dhc-"]:not(.dhc-prose):not(.dhc-canvas__content):not(.dhc-news-grid) > *,
html .dhc-canvas__content > *,
html .dhc-news-grid > li > * { margin-block: 0; }
body .wp-site-blocks > * { margin-block-start: 0; }

:focus-visible { outline: 3px solid var(--dhc-bright); outline-offset: 3px; }
.dhc-hero :focus-visible, .dhc-join__panel :focus-visible, .dhc-footer :focus-visible { outline-color: #fff; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; background: #fff; color: var(--dhc-ink); display: block; height: auto; left: 8px; top: 8px; padding: 12px 16px; width: auto; z-index: 100000; }

/* ---------- Type helpers ---------- */
.dhc-display { font-family: var(--dhc-display); font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: 1; text-transform: uppercase; text-wrap: balance; }
.dhc-section__head .dhc-display, .dhc-news__title { white-space: nowrap; }
.dhc-lede { max-width: 420px; font-size: 17px; line-height: 1.5; color: var(--dhc-body); text-wrap: pretty; }
.is-style-dhc-kicker { font-family: var(--dhc-display); font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--dhc-red); }
p.is-style-dhc-more { display: flex; }
.is-style-dhc-more a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--dhc-ink); text-decoration: none; }
.is-style-dhc-more a::after { content: "→"; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--dhc-border); transition: background .2s, color .2s, border-color .2s; }
.is-style-dhc-more a:hover { color: var(--dhc-red); }
.is-style-dhc-more a:hover::after { background: var(--dhc-red); border-color: var(--dhc-red); color: #fff; }
.dhc-round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; flex: none; font-weight: 600; transition: background .2s; }
.dhc-round.is-dark { background: var(--dhc-ink); color: #fff; }
.dhc-round.is-bright { background: var(--dhc-bright); color: #fff; }
.dhc-empty { color: var(--dhc-muted); }
.dhc-editor-notice { padding: 20px 24px; border: 1px dashed #CFC9C2; border-radius: 12px; background: #fff; color: var(--dhc-muted); font-size: 14px; }

/* ---------- Buttons ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; white-space: nowrap; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.wp-block-buttons.dhc-hero__actions, .wp-block-buttons.dhc-join__actions, .wp-block-buttons.dhc-split__actions { gap: 12px; }
.wp-block-button.is-style-dhc-bright .wp-block-button__link { background: var(--dhc-bright); color: #fff; }
.wp-block-button.is-style-dhc-bright .wp-block-button__link:hover { background: var(--dhc-red); }
.wp-block-button.is-style-dhc-white .wp-block-button__link { background: #fff; color: var(--dhc-red); }
.wp-block-button.is-style-dhc-white .wp-block-button__link:hover { background: var(--dhc-blush); color: var(--dhc-red-dark); }
.wp-block-button.is-style-dhc-dark .wp-block-button__link { background: var(--dhc-ink); color: #fff; }
.wp-block-button.is-style-dhc-dark .wp-block-button__link:hover { background: var(--dhc-red); }
.wp-block-button.is-style-dhc-ghost-light .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); padding-top: 15px; padding-bottom: 15px; }
.wp-block-button.is-style-dhc-ghost-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.wp-block-button.is-style-dhc-outline .wp-block-button__link { background: transparent; color: var(--dhc-ink); border: 1px solid var(--dhc-border); padding-top: 15px; padding-bottom: 15px; }
.wp-block-button.is-style-dhc-outline .wp-block-button__link:hover { border-color: var(--dhc-ink); }

/* ---------- Header ---------- */
.dhc-site-header, .wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar .dhc-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dhc-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .dhc-site-header { top: 0; } }
.dhc-header { background: rgba(245, 243, 240, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dhc-line); }
.dhc-header__inner { max-width: var(--dhc-wrap); margin: 0 auto; padding: 14px var(--dhc-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dhc-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.dhc-brand__logo, .dhc-brand__logo a { display: block; line-height: 0; }
.dhc-brand__logo img { height: 46px !important; width: auto !important; display: block; }
.dhc-brand__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.dhc-brand__title { font-family: var(--dhc-display); font-weight: 800; font-size: 20px; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.dhc-brand__title a { color: var(--dhc-ink); text-decoration: none; }
.dhc-brand__tag { font-family: var(--dhc-display); font-weight: 500; font-size: 13px; letter-spacing: .14em; line-height: 1; text-transform: uppercase; color: var(--dhc-red); }
.dhc-nav { font-weight: 600; font-size: 15px; }
.dhc-nav .wp-block-navigation__container { gap: 24px; }
.dhc-nav .wp-block-navigation-item__content { color: var(--dhc-ink); text-decoration: none; padding: 6px 0; }
.dhc-nav .wp-block-navigation-item__content:hover, .dhc-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--dhc-red); }
.dhc-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.dhc-header__cta .wp-block-button__link { min-height: 44px; padding: 0 20px; font-size: 14px; }
.dhc-cart-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--dhc-border); border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--dhc-ink); text-decoration: none; white-space: nowrap; transition: border-color .2s; }
.dhc-cart-link:hover { border-color: var(--dhc-ink); color: var(--dhc-ink); }
.dhc-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--dhc-ink); color: #fff; font-size: 12px; }
.dhc-cart-link svg { display: none; }

.dhc-header .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border: 1px solid var(--dhc-border); border-radius: 999px; align-items: center; justify-content: center; color: var(--dhc-ink); background: transparent; }
.dhc-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--dhc-paper) !important; color: var(--dhc-ink) !important; padding: 24px var(--dhc-gutter); }
.dhc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; }
.dhc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; align-items: flex-start; }
.dhc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--dhc-display); font-weight: 800; font-size: clamp(32px, 8vw, 48px); line-height: 1.1; text-transform: uppercase; }
.dhc-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; top: 18px; right: var(--dhc-gutter); border: 1px solid var(--dhc-border); border-radius: 999px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 1279px) {
	.dhc-brand { margin-right: auto; }
	.dhc-nav { order: 3; flex: none; }
	.dhc-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.dhc-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.dhc-header__inner { gap: 12px; }
}
/* WooCommerce header blocks (Mini-Cart, Customer account) if added in the Site Editor */
.dhc-header:has(.wp-block-woocommerce-mini-cart) .dhc-cart { display: none; }
.dhc-header .wp-block-woocommerce-customer-account a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--dhc-border); border-radius: 999px; color: var(--dhc-ink); }
.dhc-header .wp-block-woocommerce-customer-account .label { display: none; }
.dhc-header .wc-block-mini-cart__button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--dhc-border); border-radius: 999px; color: var(--dhc-ink); }
.dhc-header .wc-block-mini-cart__amount { display: none; }
.dhc-header .wc-block-mini-cart__badge { background: var(--dhc-ink) !important; color: #fff !important; border: 0; }
.dhc-header__actions > * { flex: none; }

@media (max-width: 720px) {
	.dhc-header__inner { gap: 8px; }
	.dhc-header__actions { gap: 8px; }
	.dhc-header__actions .wp-block-buttons, .dhc-header__cta { display: none; }
	.dhc-brand { flex: 1 1 auto; min-width: 0; }
	.dhc-brand__text { min-width: 0; }
	.dhc-brand__title, .dhc-brand__tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 480px) {
	:root { --dhc-gutter: 20px; }
	.dhc-brand { gap: 10px; }
	.dhc-brand__logo img { height: 40px !important; }
	.dhc-brand__title { font-size: 17px; }
	.dhc-brand__tag { font-size: 11px; }
	.dhc-cart-link { padding: 0 12px; }
	.dhc-cart-link .dhc-cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.dhc-cart-link svg { display: block; }
	.dhc-header .wp-block-woocommerce-customer-account a, .dhc-header .wc-block-mini-cart__button, .dhc-header .wp-block-navigation__responsive-container-open, .dhc-cart-link { width: auto; min-width: 40px; height: 40px; }
	.dhc-header .wp-block-navigation__responsive-container-open { width: 40px; }
}
@media (max-width: 400px) {
	.dhc-brand__tag { display: none; }
	.dhc-brand__title { font-size: 15px; }
}
@media (max-width: 340px) {
	.dhc-brand__text { display: none; }
}

/* ---------- Hero ---------- */
.dhc-hero { padding: 20px 20px 0; }
.dhc-hero__frame { position: relative; isolation: isolate; max-width: 1400px; margin: 0 auto; min-height: 620px; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end; background: var(--dhc-ink); }
.dhc-hero__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 17, 31, .05) 0%, rgba(23, 17, 31, .1) 30%, rgba(23, 17, 31, .9) 100%), linear-gradient(90deg, rgba(23, 17, 31, .5) 0%, rgba(23, 17, 31, 0) 65%); pointer-events: none; }
.dhc-hero__media { position: absolute; inset: 0; z-index: -2; }
.dhc-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 42%; display: block; }
.dhc-hero__content { position: relative; width: 100%; padding: 56px; display: flex; flex-direction: column; gap: 28px; }
.dhc-hero__kicker.is-style-dhc-kicker { font-size: 16px; color: var(--dhc-pink); }
.dhc-hero__title { font-family: var(--dhc-display); font-weight: 800; font-size: clamp(64px, 11vw, 168px); line-height: .86; letter-spacing: -.01em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.dhc-hero__title mark { background: none; color: var(--dhc-bright); }
.dhc-hero__content p:not(.dhc-hero__kicker) { max-width: 520px; font-size: 18px; color: #EDE9F0; }
/* Solid red variant */
.dhc-hero.is-red .dhc-hero__frame { background: var(--dhc-red); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: stretch; }
.dhc-hero.is-red .dhc-hero__frame::after { display: none; }
.dhc-hero.is-red .dhc-hero__content { justify-content: flex-end; }
.dhc-hero.is-red .dhc-hero__kicker { color: var(--dhc-blush); }
.dhc-hero.is-red .dhc-hero__title { font-size: clamp(64px, 9vw, 148px); }
.dhc-hero.is-red .dhc-hero__media { position: relative; inset: auto; z-index: 0; min-height: 360px; }
.dhc-hero.is-red .dhc-hero__media img { position: absolute; inset: 0; object-position: 38% 50%; }

/* ---------- Next match bar ---------- */
.dhc-matchbar { position: relative; z-index: 2; max-width: var(--dhc-wrap); margin: 0 auto; padding: 0 var(--dhc-gutter); }
.dhc-matchbar__card { margin-top: -44px !important; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(23, 17, 31, .12); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dhc-matchbar__cell { padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dhc-matchbar__cell + .dhc-matchbar__cell { border-left: 1px solid var(--dhc-hair); }
.dhc-matchbar__label { font-family: var(--dhc-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dhc-muted); }
.dhc-matchbar__label.is-accent { color: var(--dhc-red); }
.dhc-matchbar__title { font-family: var(--dhc-display); font-weight: 800; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.dhc-matchbar__row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dhc-matchbar__score { font-family: var(--dhc-display); font-weight: 800; font-size: 28px; line-height: 1.05; color: var(--dhc-red); white-space: nowrap; }
.dhc-matchbar__meta { font-size: 14px; color: var(--dhc-muted); }
a.dhc-matchbar__link { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--dhc-ink); text-decoration: none; border-radius: 0 20px 20px 0; }
a.dhc-matchbar__link:hover { color: var(--dhc-red); }
a.dhc-matchbar__link:hover .dhc-round { background: var(--dhc-red); }
@media (max-width: 900px) {
	.dhc-matchbar__card { grid-template-columns: minmax(0, 1fr); }
	.dhc-matchbar__cell + .dhc-matchbar__cell { border-left: 0; border-top: 1px solid var(--dhc-hair); }
	a.dhc-matchbar__link { border-radius: 0 0 20px 20px; }
}

/* ---------- Sections ---------- */
.dhc-section { max-width: var(--dhc-wrap); margin: 0 auto; padding: var(--dhc-section) var(--dhc-gutter) 0; display: flex; flex-direction: column; gap: 36px; }
.dhc-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Teams */
.dhc-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dhc-team-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 22px; border-radius: 20px; overflow: hidden; background: var(--dhc-stone); color: #fff; text-decoration: none; }
.dhc-team-card__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dhc-team-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 17, 31, 0) 45%, rgba(23, 17, 31, .82) 100%); }
.dhc-team-card:hover .dhc-team-card__img { transform: scale(1.04); }
.dhc-team-card:hover .dhc-round { background: var(--dhc-red); }
.dhc-team-card__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dhc-team-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dhc-team-card__name { font-family: var(--dhc-display); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; color: #fff; }
.dhc-team-card__meta { font-size: 14px; color: rgba(255, 255, 255, .9); }
@media (max-width: 1024px) { .dhc-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.dhc-team-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--dhc-gutter) * -1); padding: 0 var(--dhc-gutter) 8px; scrollbar-width: none; }
	.dhc-team-grid::-webkit-scrollbar { display: none; }
	.dhc-team-card { flex: 0 0 78%; scroll-snap-align: start; scroll-margin-left: var(--dhc-gutter); }
	.dhc-team-card__name { font-size: 30px; }
}

/* Join + training */
.dhc-join__panel { border-radius: 28px; background: var(--dhc-ink); color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); overflow: hidden; }
.dhc-join__intro { padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.dhc-join__intro .dhc-display { color: #fff; white-space: normal; }
.dhc-join__kicker.is-style-dhc-kicker { color: var(--dhc-pink); }
.dhc-join__text { max-width: 460px; font-size: 17px; line-height: 1.55; color: #C9C3D0; text-wrap: pretty; }
.dhc-join__training { padding: 56px; background: var(--dhc-ink-soft); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.dhc-join__label.is-style-dhc-kicker { color: #9A93A3; }
.dhc-training { display: flex; flex-direction: column; }
.dhc-train-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.dhc-train-row__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dhc-train-row__group { font-family: var(--dhc-display); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: #fff; }
.dhc-train-row__where { font-size: 14px; color: #9A93A3; }
.dhc-train-row__time { font-family: var(--dhc-display); font-weight: 700; font-size: 24px; line-height: 1.1; color: var(--dhc-pink); text-align: right; white-space: nowrap; }
.dhc-train-row__time a { color: inherit; }

/* Shop */
.dhc-product-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 200px)); justify-content: start; gap: 28px 16px; }
.dhc-product { display: flex; flex-direction: column; gap: 12px; min-width: 0; width: 100%; max-width: 200px; }
.dhc-product__media { position: relative; aspect-ratio: 1 / 1; width: 100%; border-radius: 16px; overflow: hidden; background: #ECE8E3; }
.dhc-product__img-link { display: block; width: 100%; height: 100%; }
.dhc-product__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dhc-product:hover .dhc-product__media img { transform: scale(1.03); }
.dhc-product__tag { position: absolute; top: 10px; left: 10px; padding: 6px 10px; border-radius: 999px; background: var(--dhc-red); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
.dhc-product__add, .dhc-product__media .added_to_cart { position: absolute; left: 10px; right: 10px; bottom: 10px; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--dhc-ink); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.dhc-product__add:hover { background: var(--dhc-red); color: #fff; }
.dhc-product__add.loading { opacity: .6; pointer-events: none; }
.dhc-product__add.added { display: none; }
.dhc-product__media .added_to_cart { background: var(--dhc-red); }
.dhc-product__info { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 15px; }
.dhc-product__name { font-family: var(--dhc-sans); font-weight: 600; font-size: 15px; line-height: 1.3; text-transform: none; }
.dhc-product__name a { color: var(--dhc-ink); text-decoration: none; }
.dhc-product__name a:hover { color: var(--dhc-red); }
.dhc-product__price { color: var(--dhc-red); }
.dhc-product__price del { color: var(--dhc-muted); font-weight: 500; margin-right: 4px; }
.dhc-product__price ins { text-decoration: none; }
@media (max-width: 600px) {
	.dhc-product-grid { grid-template-columns: repeat(2, minmax(0, 200px)); gap: 20px 12px; }
	.dhc-product__add, .dhc-product__media .added_to_cart { font-size: 13px; padding: 0 8px; }
}

/* News */
.dhc-news-grid { list-style: none; padding: 0; margin: 0; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.dhc-news-grid > li { display: flex; flex-direction: column; gap: 14px; min-width: 0; margin: 0 !important; }
.dhc-news-card__img, .dhc-img-fallback { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--dhc-stone); }
.dhc-news-card__img img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dhc-news-grid > li:hover .dhc-news-card__img img { transform: scale(1.03); }
.dhc-img-fallback a, .dhc-img-fallback { display: grid; place-items: center; }
.dhc-img-fallback a { width: 100%; height: 100%; }
.dhc-img-fallback__crest { display: block; width: 64px; height: 76px; background: center / contain no-repeat; opacity: .45; }
.dhc-news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.dhc-news-card__date, .dhc-news-card__cat { font-family: var(--dhc-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dhc-red); }
.dhc-news-card__cat, .dhc-news-card__cat a { color: var(--dhc-muted); text-decoration: none; }
.dhc-news-card__title { font-family: var(--dhc-display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.dhc-news-card__title a { color: var(--dhc-ink); text-decoration: none; }
.dhc-news-card__title a:hover { color: var(--dhc-red); }
.dhc-news-card__excerpt { color: var(--dhc-body); font-size: 16px; }
.dhc-news-card__excerpt .wp-block-post-excerpt__more-text { margin-top: 8px; }
@media (max-width: 1024px) { .dhc-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dhc-news-grid { grid-template-columns: minmax(0, 1fr); } }

/* Sponsors */
.dhc-sponsors { padding-bottom: var(--dhc-section); }
.dhc-sponsors:not(:has(.dhc-sponsor-strip, .dhc-editor-notice)) { padding-top: 0; }
.dhc-sponsor-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 32px; padding: 32px 0; border-top: 1px solid var(--dhc-line); border-bottom: 1px solid var(--dhc-line); }
.dhc-sponsor-strip__label { font-family: var(--dhc-display); font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--dhc-muted); }
.dhc-sponsor-strip__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.dhc-sponsor, .dhc-sponsor > a { width: 140px; height: 56px; display: flex; align-items: center; justify-content: center; }
.dhc-sponsor { border-radius: 10px; border: 1px solid var(--dhc-line); background: #fff; }
.dhc-sponsor__logo { max-width: 112px; max-height: 38px; width: auto !important; height: auto !important; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.dhc-sponsor a:hover .dhc-sponsor__logo, .dhc-sponsor a:focus-visible .dhc-sponsor__logo { filter: none; opacity: 1; }
.dhc-sponsor__name { font-family: var(--dhc-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--dhc-muted); text-align: center; padding: 0 8px; }

/* ---------- Footer ---------- */
.dhc-footer { background: var(--dhc-red); color: #fff; }
.dhc-footer__inner { max-width: var(--dhc-wrap); margin: 0 auto; padding: 72px var(--dhc-gutter) 32px; display: flex; flex-direction: column; gap: 56px; }
.dhc-footer__top { display: flex; flex-wrap: wrap; gap: 40px; }
.dhc-footer__brand { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dhc-footer__big { font-family: var(--dhc-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .9; text-transform: uppercase; }
.dhc-footer__sub { font-size: 15px; color: var(--dhc-blush); }
.dhc-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.dhc-footer__heading { font-family: var(--dhc-display); font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--dhc-blush); }
.dhc-footer-nav .wp-block-navigation__container { gap: 10px; }
.dhc-footer-nav .wp-block-navigation-item__content { color: #fff; text-decoration: none; padding: 2px 0; }
.dhc-footer-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 3px; }
.dhc-footer a { color: #fff; }
.dhc-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 13px; color: var(--dhc-blush); }
.dhc-social.wp-block-social-links { gap: 18px; font-size: 13px; }
.dhc-social .wp-social-link, .dhc-social .wp-social-link a { color: #fff !important; background: none !important; padding: 0; text-decoration: none; }
.dhc-social .wp-social-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dhc-social .wp-block-social-link-label { font-size: 13px; }

/* ---------- Inner pages ---------- */
.dhc-page { max-width: var(--dhc-wrap); margin: 0 auto; padding: 88px var(--dhc-gutter) var(--dhc-section); display: flex; flex-direction: column; gap: 56px; }
.dhc-canvas .dhc-page + .dhc-page { padding-top: 0; }
.dhc-page__head { display: flex; flex-direction: column; gap: 20px; }
.dhc-page__head .dhc-lede { max-width: 620px; font-size: 19px; }
.dhc-page__image { border-radius: 28px; overflow: hidden; }
.dhc-page__image img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.dhc-prose { max-width: 760px; width: 100%; font-size: 18px; line-height: 1.65; color: var(--dhc-body); }
.dhc-prose > :is(h2, h3, h4) { color: var(--dhc-ink); margin-top: 2em; }
.dhc-prose h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.dhc-prose h3 { font-size: 28px; }
.dhc-prose a { color: var(--dhc-red); text-underline-offset: 3px; }
.dhc-prose a:hover { color: var(--dhc-red-dark); }
.dhc-prose img { border-radius: 20px; }
.dhc-prose blockquote { margin-left: 0; padding: 0; font-family: var(--dhc-display); font-weight: 700; font-size: 32px; line-height: 1.1; text-transform: uppercase; color: var(--dhc-ink); border: 0; }
.dhc-prose .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 16px; }
.dhc-prose .wp-block-table :is(td, th) { border: 0; border-bottom: 1px solid var(--dhc-line); padding: 12px 8px; text-align: left; }
.dhc-article__head { display: flex; flex-direction: column; gap: 16px; max-width: 1000px; }
.dhc-article__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-top: 24px; border-top: 1px solid var(--dhc-line); max-width: 760px; width: 100%; }
.dhc-article__foot a { font-family: var(--dhc-display); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--dhc-ink); text-decoration: none; }
.dhc-article__foot a:hover { color: var(--dhc-red); }

.dhc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.dhc-split__media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.dhc-split__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.dhc-split__text { display: flex; flex-direction: column; gap: 20px; }
.dhc-split__title { font-family: var(--dhc-display); font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: .95; text-transform: uppercase; }
.dhc-split__p { font-size: 18px; line-height: 1.6; color: var(--dhc-body); max-width: 560px; }
@media (max-width: 900px) { .dhc-split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.dhc-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.dhc-info-card { background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.dhc-info-card__title { font-family: var(--dhc-display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.dhc-info-card__text { color: var(--dhc-body); font-size: 16px; flex: 1; }

.dhc-team-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.dhc-team-layout .dhc-prose:empty { display: none; }
@media (max-width: 900px) { .dhc-team-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.dhc-details { background: #fff; border-radius: 20px; padding: 12px 28px; display: flex; flex-direction: column; }
.dhc-details__row { padding: 16px 0; display: flex; flex-direction: column; gap: 4px; }
.dhc-details__row + .dhc-details__row { border-top: 1px solid var(--dhc-hair); }
.dhc-details dt { font-family: var(--dhc-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dhc-muted); }
.dhc-details dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--dhc-ink); overflow-wrap: anywhere; }
.dhc-details dd a { color: var(--dhc-red); }

/* ---------- Fixtures & results ---------- */
.dhc-fixtures { display: flex; flex-direction: column; gap: 56px; }
.dhc-fixtures__filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.dhc-fixtures__filter label { font-weight: 600; }
.dhc-fixtures__filter select { height: 48px; min-width: 220px; padding: 0 44px 0 18px; border: 1px solid var(--dhc-border); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317111F' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; font: 500 16px var(--dhc-sans); color: var(--dhc-ink); -webkit-appearance: none; appearance: none; }
.dhc-fixtures__go { height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--dhc-ink); color: #fff; font: 600 15px var(--dhc-sans); cursor: pointer; }
.dhc-fixtures__group { display: flex; flex-direction: column; gap: 20px; }
.dhc-fixtures__title { font-family: var(--dhc-display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1; text-transform: uppercase; }
.dhc-fixtures__list { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: 20px; overflow: hidden; }
.dhc-fixtures__empty { padding: 24px 28px; background: #fff; border-radius: 20px; color: var(--dhc-muted); }
.dhc-match { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 20px 28px; }
.dhc-match + .dhc-match { border-top: 1px solid var(--dhc-hair); }
.dhc-match__date { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 2px; }
.dhc-match__day, .dhc-match__mon { font-family: var(--dhc-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dhc-muted); }
.dhc-match__mon { color: var(--dhc-red); }
.dhc-match__num { font-family: var(--dhc-display); font-weight: 800; font-size: 32px; }
.dhc-match__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dhc-match__team { font-family: var(--dhc-display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dhc-red); }
.dhc-match__teams { font-family: var(--dhc-display); font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.dhc-match__meta { font-size: 14px; color: var(--dhc-muted); }
.dhc-match__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.dhc-match__score { font-family: var(--dhc-display); font-weight: 800; font-size: 30px; line-height: 1; white-space: nowrap; }
.dhc-match__time { font-family: var(--dhc-display); font-weight: 700; font-size: 22px; white-space: nowrap; }
.dhc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.dhc-badge.is-win { background: #E3F2E8; color: #17603A; }
.dhc-badge.is-draw { background: var(--dhc-hair); color: var(--dhc-body); }
.dhc-badge.is-loss { background: #FBE3E7; color: var(--dhc-red-dark); }
.dhc-badge.is-off { background: #FFF0D4; color: #7A4B00; }
@media (max-width: 600px) {
	.dhc-match { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 16px; padding: 18px 20px; }
	.dhc-match__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
	.dhc-match__teams { font-size: 20px; }
	.dhc-fixtures__filter select { min-width: 0; flex: 1; }
}

/* Pagination / search */
.dhc-pagination { gap: 8px; font-weight: 600; margin-top: 40px !important; }
.dhc-pagination a, .dhc-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dhc-border); color: var(--dhc-ink); text-decoration: none; }
.dhc-pagination .current { background: var(--dhc-ink); border-color: var(--dhc-ink); color: #fff; }
.dhc-search .wp-block-search__inside-wrapper { gap: 8px; border: 0; padding: 0; max-width: 520px; }
.dhc-search .wp-block-search__input { height: 52px; padding: 0 22px; border: 1px solid var(--dhc-border); border-radius: 999px; font: 16px var(--dhc-sans); background: #fff; }
.dhc-search .wp-block-search__button { margin: 0; border-radius: 999px; background: var(--dhc-ink); color: #fff; padding: 0 24px; min-height: 52px; }

/* ---------- Responsive rhythm ---------- */
@media (max-width: 900px) {
	:root { --dhc-section: 88px; }
	.dhc-join__intro, .dhc-join__training { padding: 40px 32px; }
}
@media (max-width: 600px) {
	:root { --dhc-section: 72px; --dhc-gutter: 20px; }
	.dhc-hero { padding: 12px 12px 0; }
	.dhc-hero__frame { min-height: 560px; border-radius: 22px; }
	.dhc-hero__content { padding: 28px 22px 76px; gap: 22px; }
	.dhc-hero__title { font-size: clamp(44px, 15vw, 96px); overflow-wrap: anywhere; }
	.dhc-matchbar { padding: 0 22px; }
	a.dhc-matchbar__link span:first-child { white-space: nowrap; }
	.dhc-hero__kicker.is-style-dhc-kicker { font-size: 14px; }
	.dhc-hero__actions .wp-block-button { flex: 1 1 auto; }
	.dhc-hero__actions .wp-block-button__link { width: 100%; }
	.dhc-hero.is-red .dhc-hero__content { padding-bottom: 32px; }
	.dhc-hero.is-red .dhc-hero__media { min-height: 300px; }
	.dhc-matchbar__cell { padding: 20px 22px; }
	.dhc-matchbar__title, .dhc-matchbar__score { font-size: 24px; }
	.dhc-join__panel { border-radius: 22px; }
	.dhc-join__intro, .dhc-join__training { padding: 32px 22px; }
	.dhc-train-row__group, .dhc-train-row__time { font-size: 21px; }
	.dhc-page { padding-top: 56px; gap: 40px; }
	.dhc-footer__inner { padding-top: 56px; gap: 40px; }
	.dhc-section__head .dhc-display, .dhc-news__title { white-space: normal; }
	.dhc-section__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.dhc-team-card:hover .dhc-team-card__img, .dhc-product:hover .dhc-product__media img, .dhc-news-grid > li:hover .dhc-news-card__img img { transform: none; }
}
