/*
Theme Name: Huron Darts
Theme URI: https://hurondarts.com
Author: Huron Darts
Description: A brandable, mobile-first club theme for a darts league and its scoring app. Logo, club colours, hero text and the scoring-app link are all set from Appearance > Customize.
Version: 3.7.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huron-darts
Tags: sports, custom-logo, custom-colors, custom-menu, featured-images, one-column, two-columns, block-styles, wide-blocks
*/

:root {
	--hd-navy: #14213d;  /* header, hero, headings, text */
	--hd-gold: #e0a526;  /* highlights */
	--hd-red: #c8102e;   /* buttons and bands */
	--hd-bg: #f6f1e6;    /* page background */
	--hd-card: #ffffff;
	--hd-line: color-mix(in srgb, var(--hd-navy) 16%, var(--hd-bg));
	--hd-muted: color-mix(in srgb, var(--hd-navy) 68%, var(--hd-bg));
	--hd-on-navy: color-mix(in srgb, var(--hd-bg) 86%, var(--hd-navy));
	--hd-stripes: repeating-linear-gradient(115deg, transparent 0 60px, color-mix(in srgb, var(--hd-gold) 8%, transparent) 60px 120px);
	--hd-display: "Inter Tight", "Inter Display", Inter, "Arial Black", Arial, sans-serif;
	--hd-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hd-wrap: 1140px;
	--hd-radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--hd-bg); color: var(--hd-navy); font-family: var(--hd-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--hd-red); text-underline-offset: 3px; }
a:hover { color: var(--hd-navy); }
:focus-visible { outline: 3px solid var(--hd-gold); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--hd-display); font-weight: 900; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }

.hd-wrap { width: 100%; max-width: var(--hd-wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .hd-wrap { padding: 0 32px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; background: var(--hd-gold); color: var(--hd-navy); padding: 10px 16px; border-radius: 6px; }

/* Buttons */
.hd-btn, .wp-block-button__link, button[type="submit"], input[type="submit"] {
	display: inline-block; font-family: var(--hd-body); font-size: .95rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	padding: 15px 28px; border: 2px solid var(--hd-red); border-radius: 6px; background: var(--hd-red); color: #fff; cursor: pointer; transition: transform .15s ease, filter .15s ease;
}
.hd-btn:hover, .wp-block-button__link:hover, button[type="submit"]:hover, input[type="submit"]:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.hd-btn--ghost, .hd-btn--ghost:hover { background: transparent; border-color: var(--hd-on-navy); color: var(--hd-on-navy); }
.hd-btn--gold, .hd-btn--gold:hover { background: var(--hd-gold); border-color: var(--hd-gold); color: var(--hd-navy); }
.hd-btn--small { padding: 11px 20px; font-size: .85rem; }

/* Header */
.hd-header { position: sticky; top: 0; z-index: 50; background: var(--hd-navy); color: var(--hd-on-navy); border-bottom: 5px solid var(--hd-gold); }
.hd-header__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.hd-brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.custom-logo-link { margin-right: auto; }
.custom-logo { max-height: 52px; width: auto; display: block; }
.hd-brand__name { font-family: var(--hd-display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; color: var(--hd-on-navy); }
.hd-brand__name span { color: var(--hd-gold); }
.hd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hd-nav a { display: block; padding: 10px 14px; text-decoration: none; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hd-on-navy); }
.hd-nav a:hover, .hd-nav .current-menu-item > a, .hd-nav .current_page_item > a { color: var(--hd-gold); }
.hd-nav li { position: relative; }
.hd-nav ul ul { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; flex-direction: column; background: var(--hd-navy); border-top: 3px solid var(--hd-gold); border-radius: 0 0 8px 8px; padding: 6px; }
.hd-nav li:hover > ul, .hd-nav li:focus-within > ul { display: flex; }
.hd-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 2px solid var(--hd-gold); border-radius: 6px; background: transparent; color: var(--hd-gold); cursor: pointer; }
.hd-toggle span, .hd-toggle span::before, .hd-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.hd-toggle span::before { position: absolute; top: -6px; }
.hd-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1080px) {
	.hd-toggle { display: block; }
	.hd-header__cta { display: none; }
	.hd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--hd-navy); border-bottom: 5px solid var(--hd-gold); padding: 8px 16px 16px; }
	.hd-nav.is-open { display: block; }
	.hd-nav ul { flex-direction: column; gap: 0; }
	.hd-nav a { padding: 15px 4px; border-bottom: 1px solid color-mix(in srgb, var(--hd-on-navy) 18%, transparent); font-size: 1rem; }
	.hd-nav ul ul { display: flex; position: static; border: 0; padding: 0 0 0 16px; }
	.hd-nav a.hd-nav__cta { display: block; margin-top: 16px; text-align: center; border: 0; color: var(--hd-navy); }
}
@media (min-width: 1081px) { .hd-nav .hd-nav__cta { display: none; } }

/* Hero */
.hd-hero { position: relative; overflow: hidden; background: var(--hd-navy); color: var(--hd-on-navy); padding-top: clamp(40px, 7vw, 72px); }
.hd-hero::before { content: ""; position: absolute; inset: 0; background: var(--hd-stripes); z-index: 1; }
.hd-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.hd-hero__inner { position: relative; z-index: 2; display: grid; gap: 28px 50px; align-items: end; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hd-hero__text { padding-bottom: clamp(36px, 6vw, 70px); }
.hd-kicker { display: inline-block; margin-bottom: 20px; padding: 5px 14px; border: 2px solid var(--hd-gold); color: var(--hd-gold); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }
.hd-hero h1 { font-size: clamp(2.9rem, 9.5vw, 5.8rem); line-height: .95; margin: 0; }
.hd-hero h1 em { font-style: normal; color: var(--hd-gold); }
.hd-hero p { font-size: 1.15rem; margin: 22px 0 28px; max-width: 480px; opacity: .9; }
.hd-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero panel (how it works, or a widget such as a leaderboard) */
.hd-panel { background: var(--hd-bg); color: var(--hd-navy); border-radius: 14px 14px 0 0; border-top: 8px solid var(--hd-red); padding: 26px 28px 30px; }
.hd-panel__title, .hd-panel .widget-title { margin: 0 0 12px; font-family: var(--hd-body); font-weight: 800; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hd-red); border: 0; padding: 0; }
.hd-panel ol { list-style: none; margin: 0; padding: 0; counter-reset: hd; }
.hd-panel ol li { counter-increment: hd; display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--hd-line); font-weight: 600; }
.hd-panel ol li:last-child { border-bottom: 0; }
.hd-panel ol li::before { content: counter(hd); font-family: var(--hd-display); font-weight: 900; font-size: 1.5rem; color: var(--hd-gold); width: 20px; flex: none; }
.hd-panel ol li small { display: block; font-weight: 400; font-size: .92rem; color: var(--hd-muted); }
.hd-panel .widget { margin: 0; }
@media (max-width: 860px) { .hd-hero__inner { grid-template-columns: 1fr; } .hd-hero__text { padding-bottom: 8px; } }

/* Start-score band */
.hd-band { background: var(--hd-red); color: #fff; }
.hd-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hd-band__item { padding: 26px 12px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .25); }
.hd-band__item:last-child { border-right: 0; }
.hd-band__item b { display: block; font-family: var(--hd-display); font-weight: 900; font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.hd-band__item span { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
@media (max-width: 600px) {
	.hd-band__grid { grid-template-columns: repeat(2, 1fr); }
	.hd-band__item:nth-child(2) { border-right: 0; }
	.hd-band__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .25); }
}

/* Sections */
.hd-section { padding: clamp(44px, 7vw, 72px) 0; }
.hd-section--alt { background: var(--hd-card); }
.hd-title { margin-bottom: 28px; }
.hd-title { display: flex; align-items: center; gap: 16px; }
.hd-title::after { content: ""; flex: 1; height: 5px; min-width: 40px; background: repeating-linear-gradient(90deg, var(--hd-gold) 0 28px, transparent 28px 40px); }
.hd-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.hd-card { background: var(--hd-card); border-radius: var(--hd-radius); overflow: hidden; box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--hd-navy) 60%, transparent); }
.hd-card__head { background: var(--hd-navy); color: var(--hd-gold); font-family: var(--hd-display); font-weight: 900; font-size: 1.8rem; padding: 14px 24px; letter-spacing: .04em; line-height: 1.1; }
.hd-card__body { padding: 20px 24px 24px; }
.hd-card__body h3 { margin-bottom: 8px; }
.hd-card__body p { margin: 0; color: var(--hd-muted); }

/* CTA band */
.hd-cta { position: relative; background: var(--hd-navy); color: var(--hd-on-navy); text-align: center; padding: clamp(44px, 7vw, 72px) 0; border-top: 5px solid var(--hd-gold); }
.hd-cta::before { content: ""; position: absolute; inset: 0; background: var(--hd-stripes); }
.hd-cta .hd-wrap { position: relative; }
.hd-cta h2 em { font-style: normal; color: var(--hd-gold); }
.hd-cta p { max-width: 560px; margin: 0 auto 24px; opacity: .9; }

/* Posts */
.hd-posts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hd-post { background: var(--hd-card); border-radius: var(--hd-radius); overflow: hidden; display: flex; flex-direction: column; border-top: 6px solid var(--hd-navy); box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--hd-navy) 60%, transparent); }
.hd-post__thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hd-post__body { padding: 20px 24px; }
.hd-post__title { font-size: 1.3rem; margin-bottom: .4em; }
.hd-post__title a { text-decoration: none; color: var(--hd-navy); }
.hd-post__title a:hover { color: var(--hd-red); }
.hd-meta { color: var(--hd-red); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }

/* Page / single content */
.hd-pagehead { position: relative; background: var(--hd-navy); color: var(--hd-on-navy); padding: clamp(32px, 6vw, 60px) 0; }
.hd-pagehead::before { content: ""; position: absolute; inset: 0; background: var(--hd-stripes); }
.hd-pagehead .hd-wrap { position: relative; }
.hd-pagehead h1 { margin: 0; }
.hd-pagehead .hd-meta { color: var(--hd-gold); }
.hd-content { padding: clamp(28px, 5vw, 56px) 0; }
.hd-layout { display: grid; gap: 40px; }
.hd-layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 860px) { .hd-layout--sidebar { grid-template-columns: 1fr; } }
.entry-content { max-width: 760px; }
.hd-layout--full .entry-content { max-width: none; }
.entry-content > * { margin-bottom: 1.3em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 6px solid var(--hd-gold); color: var(--hd-muted); }
.entry-content table { width: 100%; border-collapse: collapse; background: var(--hd-card); font-variant-numeric: tabular-nums; }
.entry-content th, .entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--hd-line); text-align: left; }
.entry-content th { background: var(--hd-navy); color: var(--hd-gold); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.entry-content .alignwide { max-width: var(--hd-wrap); }
.entry-content pre { background: var(--hd-card); padding: 16px; border-radius: var(--hd-radius); overflow-x: auto; }
.wp-block-table { overflow-x: auto; }

/* Forms */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"], select, textarea {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--hd-navy); background: var(--hd-card); border: 2px solid var(--hd-line); border-radius: 6px;
}
input:focus, select:focus, textarea:focus { border-color: var(--hd-navy); }
label { display: block; margin-bottom: 6px; font-weight: 700; }

/* Widgets */
.widget { margin-bottom: 28px; }
.widget-title { font-size: 1.1rem; border-bottom: 4px solid var(--hd-gold); padding-bottom: 8px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--hd-line); }

/* Pagination & comments */
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers, .nav-links a { padding: 8px 14px; background: var(--hd-card); border-radius: 6px; text-decoration: none; font-weight: 700; color: var(--hd-navy); }
.nav-links .current { background: var(--hd-red); color: #fff; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--hd-line); }

/* Footer */
.hd-footer { background: var(--hd-navy); color: var(--hd-on-navy); border-top: 5px solid var(--hd-gold); padding: 40px 0 28px; font-size: .95rem; }
.hd-footer a { color: var(--hd-on-navy); }
.hd-footer a:hover, .hd-footer .widget-title { color: var(--hd-gold); }
.hd-footer .widget li { border-color: color-mix(in srgb, var(--hd-on-navy) 18%, transparent); }
.hd-footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 28px; }
.hd-footer__menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hd-footer__bar { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Full-screen scoring app template */
body.hd-app-shell { min-height: 100dvh; }
.hd-app { min-height: 100dvh; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.hd-app > .entry-content { max-width: none; }
.hd-app iframe { display: block; width: 100%; height: 100dvh; border: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Stats, Leaderboard, Events and Register / Log in pages */
.hd-section--tight { padding: clamp(24px, 4vw, 36px) 0 0; }
.hd-apps { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hd-app-card .hd-card__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; height: calc(100% - 60px); }
.hd-app-card .hd-meta { margin: 0; }
.hd-app-card .hd-btn { margin-top: auto; }
.hd-btn--navy, .hd-btn--navy:hover { background: var(--hd-navy); border-color: var(--hd-navy); color: var(--hd-gold); }
.hd-btn--soon, .hd-btn--soon:hover { background: transparent; border: 2px dashed var(--hd-line); color: var(--hd-muted); cursor: default; transform: none; filter: none; }
.hd-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.hd-tile { background: var(--hd-bg); border-radius: var(--hd-radius); padding: 16px; border-top: 5px solid var(--hd-gold); }
.hd-tile b { display: block; font-family: var(--hd-display); font-weight: 900; font-size: 2rem; line-height: 1.1; }
.hd-tile span { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hd-muted); }
.hd-empty { color: var(--hd-muted); margin: 14px 0 0; }
.hd-more { margin: 24px 0 0; }
.hd-account { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; }
.hd-account .hd-card__body p { color: var(--hd-navy); margin-bottom: 1em; }
.hd-login form p { margin-bottom: 14px; }
.hd-login .login-remember label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.hd-login input[type="checkbox"] { width: 18px; height: 18px; }

/* ---------- League look (3.1) ---------- */
.hd-util { background: color-mix(in srgb, var(--hd-navy) 70%, #000); color: var(--hd-on-navy); font-size: .8rem; font-weight: 600; }
.hd-util__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; min-height: 34px; }
.hd-util b { color: var(--hd-gold); }
.hd-util a { color: var(--hd-on-navy); text-decoration: none; margin-left: 14px; }
.hd-util a:hover { color: var(--hd-gold); }
.hd-util__links { white-space: nowrap; margin-left: auto; }
.hd-header__inner { min-height: 84px; }
.hd-brand--logo img { height: 56px; width: auto; display: block; }
@media (max-width: 600px) { .hd-brand--logo img { height: 44px; } .hd-header__inner { min-height: 68px; } .hd-util__note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

.hd-hero { padding: clamp(48px, 7vw, 76px) 0 clamp(96px, 11vw, 132px); background: var(--hd-navy) radial-gradient(circle at 78% 42%, color-mix(in srgb, var(--hd-navy) 62%, #6f86c4), transparent 58%); }
.hd-hero::before { display: none; }
.hd-hero__art { position: absolute; right: max(-70px, calc(50% - 680px)); top: 47%; transform: translateY(-50%); height: 112%; width: auto; max-width: none; z-index: 1; pointer-events: none; }
.hd-hero .hd-wrap { position: relative; z-index: 2; }
.hd-hero__text { max-width: 600px; padding: 0; }
.hd-hero h1 { font-size: clamp(2.7rem, 7.4vw, 5rem); }
.hd-kicker { background: var(--hd-red); border: 0; color: #fff; border-radius: 999px; padding: 7px 16px; letter-spacing: .12em; }
.hd-hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hd-navy) 34%, color-mix(in srgb, var(--hd-navy) 30%, transparent) 85%); }
.hd-hero--photo .hd-hero__bg { opacity: 1; }
@media (max-width: 900px) { .hd-hero__art { right: -38%; opacity: .3; } }

.hd-strip { margin-top: clamp(-84px, -7vw, -56px); position: relative; z-index: 3; }
.hd-strip__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hd-box { background: var(--hd-card); border-radius: var(--hd-radius); overflow: hidden; box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--hd-navy) 70%, transparent); display: flex; flex-direction: column; }
.hd-box__head { margin: 0; background: var(--hd-navy); color: var(--hd-gold); font-family: var(--hd-body); font-size: .76rem; font-weight: 800; letter-spacing: .16em; padding: 12px 16px; border-top: 5px solid var(--hd-red); }
.hd-box__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 1; }
.hd-box__body .hd-empty { margin: 0; }
.hd-box__body .hd-btn { margin-top: auto; }
.hd-box__body > .hds-stats, .hd-box__body table { width: 100%; }
.hd-next { display: flex; gap: 14px; align-items: center; }
.hd-next__date { background: var(--hd-red); color: #fff; border-radius: 10px; padding: 10px 12px; font-family: var(--hd-display); font-weight: 900; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; text-align: center; max-width: 92px; }
.hd-next h3 { margin: 0 0 4px; }
.hd-next p { margin: 0; color: var(--hd-muted); font-size: .92rem; }

.hd-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--hd-navy); color: var(--hd-gold); display: grid; place-items: center; }
.hd-app-card { border-bottom: 6px solid var(--hd-gold); }
.hd-app-card .hd-card__body { height: 100%; gap: 10px; padding: 22px 24px 24px; }
.hd-app-card h3 { margin: 0; }

.hd-post__art { display: block; aspect-ratio: 16 / 7; background: linear-gradient(135deg, color-mix(in srgb, var(--hd-navy) 78%, #6f86c4), var(--hd-navy)); position: relative; overflow: hidden; }
.hd-post__art img { position: absolute; right: -6%; bottom: 8%; width: 78%; transform: rotate(-14deg); }
.hd-post { border-top: 0; }

.hd-pagehead { overflow: hidden; }
.hd-pagehead__art { position: absolute; right: max(-60px, calc(50% - 640px)); top: 50%; transform: translateY(-42%); width: 420px; height: auto; max-width: none; opacity: .9; pointer-events: none; }
@media (max-width: 900px) { .hd-pagehead__art { right: -150px; opacity: .3; } }

.hd-sponsors { background: var(--hd-card); border-top: 5px solid var(--hd-gold); padding: 22px 0; }
.hd-sponsors__inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hd-sponsors b { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hd-muted); }
.hd-sponsors__logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; flex: 1; }
.hd-sponsors__logos .widget { margin: 0; }
.hd-sponsors__logos img { max-height: 64px; width: auto; display: block; }
.hd-sponsors__logos figure { margin: 0; }
.hd-sponsors__slot { flex: 1; border: 2px dashed var(--hd-line); border-radius: 10px; padding: 14px; text-align: center; font-size: .85rem; color: var(--hd-muted); }

.hd-footer__brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.hd-footer__long { height: 70px; width: auto; max-width: 100%; }
.hd-cta { border-top: 0; }

/* ---------- Elementor ---------- */
.hd-elementor { width: 100%; }
.hd-elementor > .elementor { margin: 0; }
.elementor-page .entry-content { max-width: none; }
.elementor-widget-shortcode .hd-strip { margin-top: 0; }
.elementor-widget-shortcode .hd-wrap { padding-left: 0; padding-right: 0; max-width: none; }
.elementor-editor-active .hd-header { position: relative; }

/* header fits the menu plus the app button */
.hd-header__cta .hd-btn { white-space: nowrap; }
@media (min-width: 1081px) { .hd-nav a { padding-left: 11px; padding-right: 11px; } .hd-header__inner { gap: 12px; } }

/* schedule on the Events page, standings in the home strip */
.hd-section--alt .hds-sched { max-width: 760px; }
.hd-box__body .hds-standings__event { font-size: .85rem; color: var(--hd-muted); }

/* Contact page */
.hd-contact { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 800px) { .hd-contact { grid-template-columns: 1fr; } }
.hd-form label { display: block; margin: 0 0 14px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hd-muted); }
.hd-form input[type="text"], .hd-form input[type="email"], .hd-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; padding: 12px 14px; border: 2px solid color-mix(in srgb, var(--hd-navy) 18%, transparent); border-radius: 8px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--hd-navy); }
.hd-form input:focus, .hd-form textarea:focus { outline: none; border-color: var(--hd-navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hd-gold) 55%, transparent); }
.hd-form textarea { min-height: 150px; resize: vertical; }
.hd-form button.hd-btn { border: 0; cursor: pointer; font-family: inherit; }
.hd-form__hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.hd-form__note { padding: 12px 14px; border-radius: 8px; font-weight: 700; margin: 0 0 16px; background: #fdecea; color: #8a1220; }
.hd-form__note.is-ok { background: #e7f5ea; color: #17602b; }
.hd-contact__list { list-style: none; margin: 0; padding: 0; }
.hd-contact__list li { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--hd-navy) 12%, transparent); }
.hd-contact__list li:last-child { border-bottom: 0; }
.hd-contact__list small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hd-red); margin-bottom: 2px; }
.hd-contact__list a { color: var(--hd-navy); font-weight: 700; }

/* About page */
.hd-about__story h2:first-child { margin-top: 0; }
.hd-about__story { max-width: 860px; border-left: 6px solid var(--hd-gold); padding-left: clamp(18px, 3vw, 32px); }
.hd-about__story p { font-size: 1.12rem; line-height: 1.7; }
.hd-about__story p:first-of-type { font-size: 1.3rem; font-weight: 600; }
.hd-freeband__in { padding-top: 34px; padding-bottom: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.hd-freeband__lead small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.hd-freeband__lead b { display: block; font-family: var(--hd-display); font-weight: 900; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; text-transform: uppercase; }
.hd-freeband__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.hd-freeband__list li { text-align: center; }
.hd-freeband__list b { display: block; font-family: var(--hd-display); font-weight: 900; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; }
.hd-freeband__list span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.hd-tile h3 { margin: 0 0 6px; font-size: 1.15rem; }
.hd-tile p { margin: 0; color: var(--hd-navy); }
.hd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.hd-steps li { display: flex; gap: 16px; align-items: flex-start; }
.hd-steps li > b { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--hd-red); color: #fff; display: grid; place-items: center; font-family: var(--hd-display); font-weight: 900; font-size: 1.5rem; }
.hd-steps h3 { margin: 4px 0 4px; }
.hd-steps p { margin: 0; }
.hd-actions--center { justify-content: center; }

/* News: no sidebar; the newest post leads, the rest follow in a grid */
.hd-posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.hd-post__body p { margin: 0; color: var(--hd-navy); }
@media (min-width: 820px) {
	.hd-posts--lead .hd-post:first-child { grid-column: 1 / -1; flex-direction: row; border-top-width: 0; border-left: 8px solid var(--hd-red); }
	.hd-posts--lead .hd-post:first-child .hd-post__thumb { flex: 0 0 52%; }
	.hd-posts--lead .hd-post:first-child .hd-post__thumb { display: flex; align-items: center; background: var(--hd-navy); }
	.hd-posts--lead .hd-post:first-child .hd-post__art { width: 100%; height: 100%; aspect-ratio: auto; min-height: 300px; }
	.hd-posts--lead .hd-post:first-child .hd-post__body { padding: 36px 40px; align-self: center; }
	.hd-posts--lead .hd-post:first-child .hd-post__title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
	.hd-posts--lead .hd-post:first-child p { font-size: 1.08rem; }
}
.hd-content .navigation.pagination { margin-top: 36px; text-align: center; }
.hd-content .nav-links .page-numbers { display: inline-block; min-width: 44px; padding: 10px 14px; margin: 0 3px; border-radius: 8px; background: var(--hd-card); color: var(--hd-navy); font-weight: 800; text-decoration: none; }
.hd-content .nav-links .page-numbers.current { background: var(--hd-navy); color: var(--hd-gold); }
.hd-nonews { max-width: 560px; }
.single .entry-content { margin-inline: auto; }

/* Single news post */
.hd-pagehead h1 { max-width: min(100%, 760px); }
@media (max-width: 900px) { .hd-pagehead h1 { max-width: 70%; } }
.single .entry-content > img:first-child, .single .entry-content > .wp-post-image { width: 100%; height: auto; border-radius: var(--hd-radius); }
.post-navigation { max-width: 760px; margin: 40px auto 0; padding-top: 24px; border-top: 4px solid var(--hd-gold); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-navigation a { font-weight: 800; color: var(--hd-navy); text-decoration: none; }
.post-navigation a:hover { color: var(--hd-red); }
.post-navigation .nav-previous a::before { content: "\2039  "; }
.post-navigation .nav-next a::after { content: "  \203A"; }
.comments-area, .comment-respond { max-width: 760px; margin: 40px auto 0; }
