/*
Theme Name: Hope Cove Harbour
Text Domain: hope-cove-harbour
Description: Block theme for Hope Cove Harbour, run by the Hope Harbour Commissioners. Colours and fonts are edited in Appearance > Editor > Styles; harbour status, rota and season dates in Settings > Harbour.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Charlie Pearson
WPVibe: yes
Update URI: false
*/

/* Most styling lives in theme.json. This file only covers what blocks can't do on their own. */
:root {
	--hch-navy: var(--wp--preset--color--navy);
	--hch-navy-2: var(--wp--preset--color--navy-2);
	--hch-sea: var(--wp--preset--color--sea);
	--hch-sea-dark: var(--wp--preset--color--sea-dark);
	--hch-sea-tint: var(--wp--preset--color--sea-tint);
	--hch-buoy: var(--wp--preset--color--buoy);
	--hch-ink: var(--wp--preset--color--ink);
	--hch-muted: var(--wp--preset--color--muted);
	--hch-line: var(--wp--preset--color--line);
	--hch-paper: var(--wp--preset--color--paper);
	--hch-warn: var(--wp--preset--color--warn);
	--hch-warn-tint: var(--wp--preset--color--warn-tint);
	--hch-radius: 4px;
	--hch-sec: clamp(56px, 7vw, 96px);
	--hch-gut: clamp(16px, 4vw, 40px);
	--hch-wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
main > .hch-page-body, main > .hch-news-layout, main > .hch-page-head + * { margin-block-start: 0 !important; }
/* No gap between the status bar and the page */
.wp-site-blocks > main, .wp-site-blocks > .hch-site-header + * { margin-block-start: 0 !important; }
.hch-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-text-size-adjust: 100%; }
::selection { background: var(--hch-sea-tint); color: var(--hch-navy); }
a { text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--hch-buoy); outline-offset: 2px; box-shadow: 0 0 0 6px var(--hch-navy); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.lede { font-size: 1.25rem; color: var(--hch-muted); max-width: 60ch; }
h2.h3, .h3 { font-size: 1.3125rem; }
.hch-ico { width: 1.2em; height: 1.2em; flex: none; }
.wp-block-table td, .wp-block-table th { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.hch-site-header { position: relative; z-index: 20; }
.hch-header { background: var(--hch-navy); color: #fff; }
.hch-header-inner { min-height: 76px; gap: 24px; }
.hch-brand { gap: 12px !important; padding: 10px 0; }
.hch-brand .wp-block-site-logo img { width: 34px; height: auto; }
.hch-brand-text { gap: 0 !important; line-height: 1.15; }
.hch-brand .wp-block-site-title { margin: 0; font-weight: 700; font-size: 1.375rem; }
.hch-brand .wp-block-site-title a { color: #fff; text-decoration: none; }
.hch-brand .wp-block-site-tagline { margin: 0; font-size: .9375rem; color: #C9D6E3; }

.hch-nav { color: #fff; }
.hch-nav .wp-block-navigation-item__content { display: block; padding: 12px 14px; color: #fff; text-decoration: none; border-bottom: 3px solid transparent; }
.hch-nav .wp-block-navigation-item__content:hover { background: var(--hch-navy-2); color: #fff; text-decoration: none; }
.hch-nav .current-menu-item > .wp-block-navigation-item__content,
.hch-nav [aria-current="page"] { border-bottom-color: var(--hch-buoy); }
.hch-nav.wp-block-navigation .wp-block-navigation__container { gap: 2px; }
.hch-nav .wp-block-navigation__responsive-container-open,
.hch-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.hch-nav .wp-block-navigation__responsive-container-open { border: 1px solid rgba(255,255,255,.5); border-radius: var(--hch-radius); padding: 8px 10px; min-height: 44px; min-width: 44px; justify-content: center; }
.hch-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--hch-navy) !important; color: #fff !important; padding: 24px var(--hch-gut); }
.hch-nav .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { gap: 0; width: 100%; }
.hch-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.hch-nav .is-menu-open .wp-block-navigation-item__content { width: 100%; font-size: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.12); border-left: 3px solid transparent; }
.hch-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { border-left-color: var(--hch-buoy); }
@media (min-width: 600px) and (max-width: 1120px) {
	.hch-header-inner { flex-wrap: wrap !important; padding-bottom: 8px; }
	.hch-nav .wp-block-navigation-item__content { padding: 8px 10px; font-size: 1rem; }
}

/* Twisted-rope rule under the header, then the status bar */
.hch-status { background: var(--hch-buoy); color: var(--hch-ink); }
.hch-status::before { content: ""; display: block; height: 7px; background-color: var(--hch-navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7'%3E%3Cellipse cx='3.5' cy='3.5' rx='4.6' ry='2' transform='rotate(-40 3.5 3.5)' fill='%23D2B47C' stroke='%237A5C2E' stroke-width='.6'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 7px 7px; }
.hch-status-inner { display: flex; align-items: flex-start; gap: 12px; max-width: var(--hch-wrap); margin: 0 auto; padding: 14px var(--hch-gut); }
.hch-status-inner .hch-ico { margin-top: .2em; }
.hch-status p { margin: 0; font-size: 1.0625rem; }
.hch-status a { color: var(--hch-ink); font-weight: 600; white-space: nowrap; }
.hch-status a:hover { color: var(--hch-navy); }

/* ---------- Sections (home page) ---------- */
.hch-front > .wp-block-post-content > * + *, .hch-front .wp-block-post-content > .alignfull { margin-block-start: 0; }
.hch-section { padding-top: var(--hch-sec); padding-bottom: var(--hch-sec); }
.hch-section.is-compact { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.hch-tint { background: var(--hch-paper); }
.hch-section-head { margin-bottom: 36px; }
.hch-section-head h2 { margin-bottom: 10px; }
.hch-section-head .lede { margin-top: 0; }
.is-compact .hch-section-head { margin-bottom: 20px; }
.hch-two-col { gap: clamp(32px, 5vw, 72px) !important; }
.hch-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--hch-radius); }
.hch-photo.is-wide img { aspect-ratio: 16 / 10; }
.hch-updated { font-size: 1rem; color: var(--hch-muted); }

/* Hero */
.hch-hero { position: relative; min-height: clamp(340px, 46vh, 470px); display: flex; flex-direction: column; justify-content: center; padding-top: 32px; padding-bottom: 32px; overflow: hidden; }
.hch-hero > .hch-hero-photo { position: absolute; inset: 0; margin: 0 !important; max-width: none !important; width: 100%; height: 100%; }
.hch-hero > .hch-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hch-hero > .hch-hero-inner { position: relative; width: 100%; }
.hch-hero-panel { background: var(--hch-navy); color: #fff; max-width: 540px; padding: clamp(22px, 3vw, 34px); border-radius: var(--hch-radius); box-shadow: 0 16px 40px -20px rgba(15,42,68,.7); }
.hch-hero-panel > * { margin-block: 0; }
.hch-hero-panel h1 { color: #fff; margin-bottom: 8px; font-size: clamp(2rem, 3.6vw, 2.75rem); }
.hch-hero-lede { font-size: 1.125rem; color: #DCE6F0; margin: 0 0 18px !important; }
.hch-coords { font-size: .8125rem; letter-spacing: .04em; color: #C9D6E3; margin-top: 14px !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.hch-cond-credit { margin-top: 4px !important; font-size: .6875rem; line-height: 1.4; color: #C9D6E3; }
.hch-cond-credit a { color: #C9D6E3; }
.hch-cond-credit a:hover { color: #fff; }
.hch-credit { position: absolute; right: 8px; bottom: 8px; margin: 0 !important; font-size: .8125rem; background: rgba(15,42,68,.8); color: #fff; padding: 2px 8px; border-radius: 2px; max-width: none !important; }
.hch-cond { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 40px; }
.hch-cond div:first-child { grid-column: 1 / -1; }
.hch-cond dt { font-size: .875rem; color: #C9D6E3; }
.hch-cond dd { margin: 0; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* Buttons */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; text-decoration: none; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { box-shadow: 0 2px 0 var(--hch-sea-dark); }
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--hch-sea); border: 2px solid var(--hch-sea); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--hch-sea-tint); color: var(--hch-sea-dark); border-color: var(--hch-sea-dark); }
.hch-hero-panel .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.hch-hero-panel .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--hch-navy); }
.hch-pdf .wp-block-button__link::before,
.hch-mail .wp-block-button__link::before { content: ""; width: 1.2em; height: 1.2em; flex: none; background: currentColor; -webkit-mask: var(--hch-icon) center / contain no-repeat; mask: var(--hch-icon) center / contain no-repeat; }
.hch-pdf { --hch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l5 5v15H6zM14 2v5h5M9 14l3 3 3-3M12 10v7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hch-mail { --hch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v12H3zM3 7l9 7 9-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hch-block-button, .hch-block-button .wp-block-button { width: 100%; }
.hch-block-button .wp-block-button__link { width: 100%; }

/* Common tasks strip */
.hch-tasks { border-bottom: 1px solid var(--hch-line); }
.hch-task-list { gap: 0 !important; margin: 0; }
.hch-task-list > .wp-block-column + .wp-block-column { border-left: 1px solid var(--hch-line); }
.hch-task-list p { margin: 0; height: 100%; }
.hch-task-list a { position: relative; display: block; height: 100%; padding: 22px 44px 22px 20px; text-decoration: none; color: var(--hch-muted); font-size: 1rem; }
.hch-task-list > .wp-block-column:first-child a { padding-left: 0; }
.hch-task-list a::after { content: ""; position: absolute; right: 16px; top: 26px; width: 1.2em; height: 1.2em; background: var(--hch-sea); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hch-task-list strong { display: block; color: var(--hch-sea); font-size: 1.1875rem; }
.hch-task-list a:hover strong { color: var(--hch-sea-dark); text-decoration: underline; text-underline-offset: .18em; }

/* Dues */
.hch-dues-layout { gap: clamp(32px, 4vw, 56px) !important; }
.hch-dues-group { margin: 28px 0 0 !important; font-size: 1.125rem; }
.hch-dues-group:first-child { margin-top: 0 !important; }
.hch-dues-group small { font-weight: 400; color: var(--hch-muted); margin-left: 6px; font-size: 1rem; }
.wp-block-table.hch-dues { margin: 0; overflow-x: auto; }
.hch-dues table { width: 100%; border-collapse: collapse; }
.hch-dues thead { border-bottom: 0; }
.hch-dues th, .hch-dues td { border: 0; border-bottom: 1px solid var(--hch-line); padding: 12px 12px 12px 0; text-align: right; vertical-align: top; font-weight: 600; }
.hch-dues th { color: var(--hch-navy); font-weight: 700; border-bottom: 2px solid var(--hch-navy); }
.hch-dues th:first-child, .hch-dues td:first-child { text-align: left; }
.hch-dues td:not(:first-child) { width: 16%; }
.hch-dues th:last-child, .hch-dues td:last-child { padding-right: 0; }
.hch-dues small { display: block; font-weight: 400; font-size: .9375rem; color: var(--hch-muted); }
.hch-pay { background: var(--hch-sea-tint); border-radius: var(--hch-radius); padding: 28px; }
.hch-pay h3 { margin: 0 0 12px; }
.hch-pay ol { margin: 0 0 22px; padding-left: 1.3em; }
.hch-pay li { margin-bottom: 12px; padding-left: 4px; }
.hch-pay li::marker { color: var(--hch-sea-dark); font-weight: 700; }

/* Launching */
.hch-step { padding-bottom: 14px; border-bottom: 1px solid var(--hch-line); }
.hch-step:last-child { border-bottom: 0; padding-bottom: 0; }
.hch-steps { gap: 14px; }
.hch-step h3 { margin: 0 0 2px; font-size: 1.0625rem; }
.hch-step p { margin: 0; max-width: 62ch; font-size: 1rem; }
.hch-callout { background: #fff; border: 1px solid var(--hch-line); border-top: 4px solid var(--hch-sea); padding: 16px 20px; font-size: 1rem; }
.hch-callout h3 { margin: 0 0 6px; font-size: 1.0625rem; }
.hch-callout ul { margin: 0; padding-left: 1.2em; }
.hch-callout li { margin-bottom: 2px; }

/* Warning */
.hch-warning { position: relative; background: var(--hch-warn-tint); border: 1px solid #F3C4BD; border-radius: var(--hch-radius); padding: 22px 24px 22px 66px; }
.hch-warning::before { content: ""; position: absolute; left: 24px; top: 24px; width: 28px; height: 28px; background: var(--hch-warn); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 16v-5M12 8h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 16v-5M12 8h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hch-warning h3 { color: var(--hch-warn); margin: 0 0 6px; }
.hch-warning p { margin: 0; }

/* Rules */
.hch-rule-list { gap: 0 48px !important; margin-bottom: 28px; }
.hch-rule { padding: 20px 0; border-top: 1px solid var(--hch-line); }
.hch-rule h3 { margin: 0 0 4px; }
.hch-rule p { margin: 0; }
.hch-rule-no { font-size: .9375rem; color: var(--hch-muted); white-space: nowrap; margin-left: 4px; }
.hch-link-row a { font-weight: 600; margin-right: 32px; display: inline-block; }

/* Team */
.hch-table-wrap { overflow-x: auto; }
.hch-rota { width: 100%; max-width: 820px; border-collapse: collapse; margin-bottom: 0; background: #fff; }
.hch-rota caption { text-align: left; font-weight: 600; color: var(--hch-muted); padding-bottom: 10px; caption-side: top; }
.hch-rota th, .hch-rota td { border: 1px solid var(--hch-line); padding: 10px 8px; text-align: center; }
.hch-rota th { background: var(--hch-navy); color: #fff; font-weight: 600; border-color: var(--hch-navy); }
.hch-rota abbr { text-decoration: none; }
.hch-rota td { font-weight: 600; }
.hch-rota .tbc { color: var(--hch-muted); font-weight: 400; font-style: italic; }
.hch-rota .is-today { background: var(--hch-buoy); color: var(--hch-ink); }
.hch-rota th.is-today { border-color: var(--hch-buoy); }
.hch-people { gap: 32px !important; margin-top: 36px; }
.hch-person .wp-block-image img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; border-radius: var(--hch-radius); }
.hch-person .wp-block-image { margin-bottom: 16px; }
.hch-person h3 { margin: 0; }
.hch-person p { margin: 0; }
.hch-role { color: var(--hch-sea-dark); font-weight: 600; margin: 4px 0 8px !important; font-size: 1rem; }

/* Gallery */
.hch-gallery-section { padding-bottom: var(--hch-sec); }
.hch-gallery-section h2 { margin-bottom: 18px; }
.wp-block-gallery.hch-gallery { gap: 12px; }
.hch-gallery .wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--hch-radius); }
.wp-block-gallery.hch-gallery .wp-block-image figcaption { background: rgba(15,42,68,.8); color: #fff; font-size: .8125rem; padding: 2px 8px; border-radius: 2px; left: auto; right: 6px; bottom: 6px; width: auto; max-height: none; margin: 0; text-shadow: none; }
.wp-block-gallery.hch-gallery .wp-block-image:has(figcaption)::before { display: none; }

/* Contact */
.hch-contact-email { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; margin-top: 20px; overflow-wrap: anywhere; }
.wp-block-table.hch-contact-list { margin-top: 28px; }
.hch-contact-list table { border-collapse: collapse; width: 100%; }
.hch-contact-list td { border: 0; border-top: 1px solid var(--hch-line); padding: 14px 12px 14px 0; vertical-align: top; }
.hch-contact-list td:first-child { width: 110px; font-weight: 700; color: var(--hch-navy); }
.hch-signup { background: #fff; border: 1px solid var(--hch-line); border-top: 4px solid var(--hch-navy); padding: 28px; }
.hch-signup > * { margin-block: 0 10px; }
.hch-signup-form label { display: block; font-weight: 700; margin: 18px 0 6px; }
.hch-signup-form input[type="email"], .hch-signup-form input[type="text"] { display: block; width: 100% !important; min-height: 48px; padding: 10px 12px !important; font: inherit !important; color: var(--hch-ink); background: #fff; border: 2px solid var(--hch-ink) !important; border-radius: var(--hch-radius) !important; }
.hch-signup-form input[type="submit"] { min-height: 48px; padding: 10px 20px !important; font: 600 1.0625rem/1.2 inherit !important; color: #fff !important; background: var(--hch-sea) !important; border: 0 !important; border-radius: var(--hch-radius) !important; box-shadow: 0 2px 0 var(--hch-sea-dark); cursor: pointer; width: auto !important; }
.hch-signup-form input[type="submit"]:hover { background: var(--hch-sea-dark) !important; }
.hch-admin-note { border: 2px dashed #9AA8B8; padding: 10px 14px; color: var(--hch-muted); font-size: 1rem; }

/* ---------- Footer ---------- */
.hch-site-footer { margin-top: 0; }
.hch-footer { position: relative; background: var(--hch-navy); color: #DCE6F0; padding-top: 48px; padding-bottom: 28px; margin-top: 24px; }
.hch-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px; background: var(--hch-navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12 C 120 0, 240 24, 360 12 S 600 0, 720 12 S 960 24, 1080 12 S 1320 0, 1440 12 V24 H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12 C 120 0, 240 24, 360 12 S 600 0, 720 12 S 960 24, 1080 12 S 1320 0, 1440 12 V24 H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.hch-footer a { color: #fff; text-decoration: none; }
.hch-footer a:hover { color: #fff; text-decoration: underline; }
.hch-footer-grid { gap: 32px !important; }
.hch-footer-grid p { margin: 0 0 1em; }
.hch-footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.25rem; }
.hch-footer-brand::before { content: ""; width: 28px; height: 28px; flex: none; background: var(--hch-buoy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM12 8v13M8 11h8M4 14a8 8 0 0 0 16 0M4 14l-1.5 2M4 14l2.5 1M20 14l1.5 2M20 14l-2.5 1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM12 8v13M8 11h8M4 14a8 8 0 0 0 16 0M4 14l-1.5 2M4 14l2.5 1M20 14l1.5 2M20 14l-2.5 1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hch-footer-heading { color: #fff !important; font-size: 1.0625rem !important; margin: 0 0 12px; }
.hch-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hch-external a::after { content: " ↗"; font-size: .85em; }
.hch-footer-base { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .9375rem; }
.hch-footer-base p { margin: 0; }

/* ---------- Inner pages ---------- */
.hch-page-head { background: var(--hch-paper); border-bottom: 1px solid var(--hch-line); padding-top: 28px; padding-bottom: 40px; }
.hch-page-head > * { margin-block: 0; }
.hch-page-head h1 { margin: 0 0 10px; }
.hch-page-head .lede { margin: 0; }
.hch-breadcrumb ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 1rem; }
.hch-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--hch-muted); }
.hch-breadcrumb [aria-current] { color: var(--hch-muted); }
.hch-page-body { padding-top: 48px; padding-bottom: var(--hch-sec); }
.hch-page-body > .lede:first-child { margin-top: 0; }
.hch-post-date { color: var(--hch-muted); font-size: 1rem; }
.hch-page-head .hch-post-date { margin-top: 8px; }
.hch-notice-box { background: var(--hch-sea-tint); border-radius: var(--hch-radius); padding: 22px 26px; margin-bottom: 36px; }
.hch-notice-box p:last-child { margin-bottom: 0; }
ol.hch-bylaws { margin: 0; padding-left: 0; list-style: none; counter-reset: bylaw; }
ol.hch-bylaws > li { counter-increment: bylaw; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--hch-line); }
ol.hch-bylaws > li::before { content: counter(bylaw) "."; font-weight: 700; color: var(--hch-navy); font-size: 1.25rem; line-height: 1.3; }
.hch-by-order { font-weight: 700; color: var(--hch-navy); border-top: 1px solid var(--hch-line); padding-top: 16px; }
.hch-panel { background: var(--hch-paper); border-radius: var(--hch-radius); padding: 28px; margin-top: 48px; }
.hch-panel h2 { font-size: 1.5rem; margin: 0 0 10px; }
ul.hch-doc-list { list-style: none; margin: 0 0 48px; padding: 0; border-top: 1px solid var(--hch-line); }
ul.hch-doc-list > li { border-bottom: 1px solid var(--hch-line); padding: 18px 4px 18px 44px; position: relative; color: var(--hch-muted); font-size: 1rem; }
ul.hch-doc-list > li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 28px; height: 28px; background: var(--hch-sea); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l5 5v15H6zM14 2v5h5M9 14l3 3 3-3M12 10v7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l5 5v15H6zM14 2v5h5M9 14l3 3 3-3M12 10v7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
ul.hch-doc-list a { display: block; font-weight: 700; font-size: 1.1875rem; }
.hch-doc-section { padding-top: 40px; margin-top: 8px; border-top: 1px solid var(--hch-line); }
.hch-doc-section h2 { margin-bottom: 18px; }
.hch-person-row { gap: 28px !important; }
.hch-person-row .wp-block-image img { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: var(--hch-radius); }
.wp-block-details { margin-top: 12px; border-top: 1px solid var(--hch-line); padding-top: 8px; }
.wp-block-details summary { cursor: pointer; font-weight: 600; color: var(--hch-sea); min-height: 44px; display: flex; align-items: center; }
.wp-block-details summary:hover { color: var(--hch-sea-dark); text-decoration: underline; }

/* News */
.hch-news-layout { gap: clamp(32px, 5vw, 64px) !important; padding-top: 40px; padding-bottom: var(--hch-sec); }
.hch-post { padding: 32px 0; border-bottom: 1px solid var(--hch-line); max-width: 70ch; }
.wp-block-post-template > li:first-child .hch-post { padding-top: 0; }
.hch-post .wp-block-post-title { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin: 0 0 6px; }
.hch-post .wp-block-post-title a { color: var(--hch-navy); text-decoration: none; }
.hch-post .wp-block-post-title a:hover { text-decoration: underline; }
.hch-post .hch-post-date { margin: 0 0 16px; }
.hch-post-image img { width: min(100%, 520px); height: auto; border-radius: var(--hch-radius); }
.hch-news-aside { position: sticky; top: 24px; align-self: flex-start; }
.hch-back { margin-top: 32px; font-weight: 600; }
.wp-block-query-pagination { margin-top: 32px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hch-task-list { flex-wrap: wrap !important; }
	.hch-task-list > .wp-block-column { flex-basis: 50% !important; }
	.hch-task-list > .wp-block-column:nth-child(3) { border-left: 0; }
	.hch-task-list > .wp-block-column:nth-child(n+3) { border-top: 1px solid var(--hch-line); }
	.hch-task-list > .wp-block-column:nth-child(3) a { padding-left: 0; }
}
@media (max-width: 1000px) {
	.hch-dues-layout, .hch-news-layout { flex-wrap: wrap !important; }
	.hch-dues-layout > .wp-block-column, .hch-news-layout > .wp-block-column { flex-basis: 100% !important; }
	.hch-news-aside { position: static; }
	.hch-footer-grid { flex-wrap: wrap !important; }
	.hch-footer-grid > .wp-block-column { flex-basis: calc(50% - 16px) !important; flex-grow: 0; }
}
@media (max-width: 860px) {
	.hch-rule-list, .hch-people { grid-template-columns: 1fr !important; }
	.hch-people { gap: 24px !important; }
	.hch-person { display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; align-items: start; }
	.hch-person .wp-block-image { grid-row: span 3; margin: 0; }
	.wp-block-gallery.hch-gallery.columns-3 .wp-block-image { width: calc(50% - 6px) !important; }
}
@media (max-width: 781px) {
	.hch-task-list > .wp-block-column { flex-basis: 100% !important; border-left: 0 !important; }
	.hch-task-list > .wp-block-column + .wp-block-column { border-top: 1px solid var(--hch-line); }
	.hch-task-list a, .hch-task-list > .wp-block-column:nth-child(3) a { padding: 16px 40px 16px 0; }
	.hch-task-list a::after { top: 20px; right: 0; }
}
@media (max-width: 600px) {
	body { font-size: 1.0625rem; }
	.hch-header-inner { min-height: 64px; }
	.hch-brand .wp-block-site-title { font-size: 1.1875rem; }
	.hch-brand .wp-block-site-tagline { font-size: .875rem; }
	.hch-brand .wp-block-site-logo img { width: 28px; }
	.hch-status-inner { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
	.hch-status p { font-size: .9375rem; line-height: 1.45; }
	.hch-hero { min-height: 0; padding: 0; }
	.hch-hero > .hch-hero-photo { position: relative; height: 170px; }
	.hch-hero > .hch-hero-inner { padding: 0 !important; margin: 0 !important; max-width: none !important; }
	.hch-hero-panel { border-radius: 0; box-shadow: none; max-width: none; }
	.hch-credit { top: 140px; bottom: auto; font-size: .75rem; }
	.hch-cond { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
	.hch-cond dt { font-size: .8125rem; }
	.hch-cond dd { font-size: 1rem; }
	.hch-hero-panel .wp-block-button { flex: 1 1 140px; }
	.hch-hero-panel .wp-block-button__link { width: 100%; padding-inline: 12px; }
	.hch-section-head { margin-bottom: 24px; }
	.hch-dues th, .hch-dues td { font-size: 1rem; }
	.hch-dues td:not(:first-child) { width: 18%; padding-right: 8px; }
	.hch-rota th, .hch-rota td { padding: 8px 2px; font-size: .875rem; }
	.wp-block-gallery.hch-gallery { gap: 8px; }
	.wp-block-gallery.hch-gallery .wp-block-image figcaption { font-size: .6875rem; padding: 1px 6px; right: 4px; bottom: 4px; }
	.hch-contact-email { font-size: 1.125rem; }
	.hch-contact-list td { display: block; width: auto !important; padding: 2px 0; border: 0; }
	.hch-contact-list tr { display: block; border-top: 1px solid var(--hch-line); padding: 12px 0; }
	.hch-footer-grid > .wp-block-column:first-child, .hch-footer-grid > .wp-block-column:last-child { flex-basis: 100% !important; }
	.hch-person-row { flex-wrap: wrap !important; }
}
@media (max-width: 400px) {
	.hch-brand .wp-block-site-tagline { display: none; }
	.hch-cond { grid-template-columns: 1fr; }
}
@media print {
	.hch-nav, .hch-gallery-section, .hch-signup, .hch-footer::before { display: none !important; }
}
