/* D9112 Core components. Colours and fonts come from the D9112 Rotary theme (theme.json), with fallbacks. */
:root {
	--d9112-royal: var(--wp--preset--color--royal, #17458F);
	--d9112-royal-dark: var(--wp--preset--color--royal-dark, #0F3270);
	--d9112-azure: var(--wp--preset--color--azure, #0067C8);
	--d9112-gold: var(--wp--preset--color--gold, #F7A81B);
	--d9112-gold-ink: var(--wp--preset--color--gold-ink, #2B1C00);
	--d9112-ink: var(--wp--preset--color--ink, #13213A);
	--d9112-muted: var(--wp--preset--color--muted, #55627A);
	--d9112-line: var(--wp--preset--color--line, #DFE5EE);
	--d9112-mist: var(--wp--preset--color--mist, #F2F5FA);
	--d9112-paper: var(--wp--preset--color--paper, #FFFFFF);
	--d9112-head: var(--wp--preset--font-family--heading, "Open Sans", system-ui, sans-serif);
	--d9112-serif: var(--wp--preset--font-family--serif, Georgia, serif);
	--d9112-r: 6px;
}

/* Shared bits */
.d9112-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--d9112-royal); margin: 0 0 .5rem; }
.d9112-label { font-size: .85rem; font-weight: 700; color: var(--d9112-muted); margin: 0 0 .5rem; }
.d9112-sub { color: var(--d9112-muted); font-size: .9rem; }
.d9112-note { color: var(--d9112-muted); font-size: .95rem; margin-top: 2rem; }
.d9112-empty { color: var(--d9112-muted); padding: 1rem 0; }
.d9112-cat { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--d9112-royal); }
.d9112-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .8rem; color: var(--d9112-muted); }
.d9112-h-sub { font-size: 1.45rem !important; margin: 2.5rem 0 1rem !important; }
.d9112-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--d9112-mist); color: var(--d9112-muted); vertical-align: middle; }
.d9112-pill.is-ok { background: #DFF3E8; color: #1E6B44; }
.d9112-pill.is-wait { background: #FFF1D2; color: #6E4300; }
.d9112-zone { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .05em; padding: 1px 7px; border-radius: 4px; background: var(--d9112-mist); color: var(--d9112-royal); border: 1px solid var(--d9112-line); margin-left: 4px; }
.d9112-icon { width: 34px; height: 34px; color: var(--d9112-royal); }
.d9112-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tnum { font-variant-numeric: tabular-nums; }

/* Buttons */
.d9112-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--d9112-r); font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap; }
.d9112-btn.is-gold { background: var(--d9112-gold); color: var(--d9112-gold-ink); }
.d9112-btn.is-royal { background: var(--d9112-royal); color: #fff; }
.d9112-btn.is-white { background: #fff; color: var(--d9112-ink); }
.d9112-btn.is-line { background: var(--d9112-paper); color: var(--d9112-ink); border-color: var(--d9112-line); }
.d9112-btn.is-line:hover { border-color: var(--d9112-royal); }
.d9112-btn.is-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.d9112-btn.is-sm { min-height: 36px; padding: 6px 14px; font-size: .85rem; }
.d9112-btn:hover { filter: brightness(1.05); }
.d9112-arrow { font-weight: 700; text-decoration: none; color: var(--d9112-royal); }
.d9112-arrow::after { content: " →"; }
.d9112-arrow:hover { text-decoration: underline; }
.d9112-arrow.is-light { color: #fff; }
.d9112-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Grids */
.d9112-grid { display: grid; gap: 24px; }
.d9112-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.d9112-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d9112-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .d9112-grid.is-3, .d9112-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .d9112-grid.is-2, .d9112-grid.is-3, .d9112-grid.is-4 { grid-template-columns: minmax(0, 1fr); } }

/* Placeholders */
.d9112-ph { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--d9112-r); background: repeating-linear-gradient(135deg, #E9EEF6 0 14px, #DFE6F0 14px 28px); display: flex; align-items: center; justify-content: center; }
.d9112-ph .d9112-icon { width: 44px; height: 44px; opacity: .55; }

/* Cards */
.d9112-card { display: grid; gap: 10px; align-content: start; text-decoration: none !important; color: var(--d9112-ink); }
.d9112-card img, .d9112-card .d9112-ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--d9112-r); height: auto; }
.d9112-card h3 { font-size: 1.12rem !important; line-height: 1.3 !important; margin: 0 !important; }
.d9112-card:hover h3 { color: var(--d9112-royal); text-decoration: underline; text-underline-offset: 3px; }
.d9112-card.is-big img, .d9112-card.is-big .d9112-ph { aspect-ratio: 16 / 10; }
.d9112-card.is-big h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem) !important; }
.d9112-news-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
.d9112-news-list { display: grid; }
.d9112-news-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--d9112-line); text-decoration: none !important; color: var(--d9112-ink); }
.d9112-news-row:first-child { padding-top: 0; }
.d9112-news-row img, .d9112-news-row .d9112-ph { width: 112px; height: 112px; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.d9112-news-row h3 { font-size: 1rem !important; line-height: 1.35 !important; margin: 6px 0 0 !important; }
.d9112-news-row:hover h3 { color: var(--d9112-royal); text-decoration: underline; }
@media (max-width: 860px) { .d9112-news-lead { grid-template-columns: minmax(0, 1fr); } }

/* Hero */
.d9112-hero { position: relative; color: #fff; background: #0E1B33; overflow: hidden; min-height: clamp(540px, 74vh, 760px); display: flex; }
.d9112-hero-slides { position: absolute; inset: 0; }
.d9112-hero-slides figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.d9112-hero-slides figure.is-on { opacity: 1; }
.d9112-hero-slides img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.d9112-hero-slides figure.is-on img { animation: d9112-kb 9s ease-out both; }
@keyframes d9112-kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.d9112-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,20,46,.86) 0%, rgba(7,20,46,.62) 42%, rgba(7,20,46,.15) 75%), linear-gradient(0deg, rgba(7,20,46,.75) 0%, rgba(7,20,46,0) 38%); }
.d9112-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; max-width: var(--wp--style--global--wide-size, 1200px); margin: 0 auto; padding: 56px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); box-sizing: border-box; }
.d9112-hero-copy { max-width: 640px; display: grid; gap: 18px; }
.d9112-hero-copy .d9112-eyebrow { color: var(--d9112-gold); margin: 0; }
.d9112-hero-copy h1 { color: #fff !important; margin: 0 !important; font-size: clamp(2.1rem, 4.6vw, 3.6rem) !important; }
.d9112-hero-text { font-size: 1.15rem; color: #DCE5F5; max-width: 56ch; margin: 0; }
.d9112-hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); }
.d9112-hero-cap { font-size: .86rem; color: #C9D6EE; max-width: 58ch; min-height: 2.8em; margin: 0; }
.d9112-hero-ctrl { display: flex; gap: 8px; align-items: center; }
.d9112-hero-dot { width: 34px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.d9112-hero-dot.is-on { background: var(--d9112-gold); }
.d9112-hero-arw { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(7,20,46,.35); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .d9112-hero-slides figure { transition: none; } .d9112-hero-slides figure.is-on img { animation: none; } }
.d9112-next-ev { background: var(--d9112-gold); color: var(--d9112-gold-ink); }
.d9112-next-ev-inner { max-width: var(--wp--style--global--wide-size, 1200px); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; min-height: 52px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); box-sizing: border-box; font-size: .92rem; }
.d9112-next-ev a { color: var(--d9112-gold-ink); font-weight: 800; }

/* Glance */
.d9112-glance { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--d9112-line); border-bottom: 1px solid var(--d9112-line); margin: 0 0 2rem; }
.d9112-glance.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d9112-glance > div { padding: 28px 20px; border-right: 1px solid var(--d9112-line); display: grid; gap: 6px; align-content: start; }
.d9112-glance > div:last-child { border-right: 0; }
.d9112-glance .n { font-family: var(--d9112-head); font-stretch: 87.5%; font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--d9112-royal); font-variant-numeric: tabular-nums; }
.d9112-glance .l { font-weight: 700; }
.d9112-glance .s { font-size: .78rem; color: var(--d9112-muted); }
@media (max-width: 980px) { .d9112-glance, .d9112-glance.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .d9112-glance > div { border-bottom: 1px solid var(--d9112-line); } .d9112-glance > div:nth-child(2n) { border-right: 0; } .d9112-glance > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-bottom: 0; } }

/* DG feature */
.d9112-dg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.d9112-dg-photo { margin: 0; }
.d9112-dg-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--d9112-r); }
.d9112-dg-body { display: grid; gap: 18px; }
.d9112-dg-body h2 { margin: 0 !important; }
.d9112-dg-body p { margin: 0; }
.d9112-quote { margin: 0; font-family: var(--d9112-serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; border-left: 3px solid var(--d9112-gold); padding-left: 20px; }
.d9112-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.d9112-chips li { font-size: .85rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--d9112-line); border-radius: 999px; background: var(--d9112-paper); }
@media (max-width: 860px) { .d9112-dg { grid-template-columns: minmax(0, 1fr); } .d9112-dg-photo img { max-height: 520px; } }

/* RI band */
.d9112-ri-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 36px; align-items: center; color: #fff; }
.d9112-ri-yr { font-family: var(--d9112-head); font-stretch: 75%; font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: .9; color: var(--d9112-gold); }
.d9112-ri-band h3 { color: #fff !important; margin: 0 0 6px !important; }
.d9112-ri-band p { color: #C9D6EE; margin: 0; }
@media (max-width: 760px) { .d9112-ri-band { grid-template-columns: minmax(0, 1fr); } }

/* Areas of Focus */
.d9112-focus { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); overflow: hidden; background: var(--d9112-paper); margin-bottom: 2.5rem; }
.d9112-focus a { display: grid; gap: 10px; padding: 22px 16px; text-decoration: none; color: var(--d9112-ink); border-right: 1px solid var(--d9112-line); align-content: start; }
.d9112-focus a:last-child { border-right: 0; }
.d9112-focus a:hover { background: var(--d9112-mist); }
.d9112-focus .nm { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.d9112-focus .ct { font-size: .8rem; color: var(--d9112-muted); }
@media (max-width: 1100px) { .d9112-focus { grid-template-columns: repeat(4, minmax(0, 1fr)); } .d9112-focus a { border-bottom: 1px solid var(--d9112-line); } }
@media (max-width: 560px) { .d9112-focus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Segmented filters and tabs */
.d9112-seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.75rem; }
.d9112-seg a { font-weight: 600; font-size: .88rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--d9112-line); text-decoration: none; color: var(--d9112-ink); background: var(--d9112-paper); }
.d9112-seg a[aria-current="true"] { background: var(--d9112-royal); border-color: var(--d9112-royal); color: #fff; }
.d9112-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--d9112-line); margin: 0 0 2rem; overflow-x: auto; }
.d9112-tabs a { font-weight: 700; padding: 12px 16px; color: var(--d9112-muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.d9112-tabs a[aria-current="page"] { color: var(--d9112-royal); border-bottom-color: var(--d9112-gold); }

/* Events */
.d9112-ev-list { border-top: 1px solid var(--d9112-line); }
.d9112-ev { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--d9112-line); }
.d9112-date { display: grid; justify-items: center; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); padding: 8px 0; background: var(--d9112-paper); line-height: 1.1; }
.d9112-date .m { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--d9112-royal); }
.d9112-date .d { font-family: var(--d9112-head); font-stretch: 87.5%; font-weight: 800; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.d9112-ev h3 { font-size: 1.05rem !important; margin: 4px 0 !important; }
.d9112-ev h3 a { color: var(--d9112-ink); text-decoration: none; }
.d9112-ev h3 a:hover { color: var(--d9112-royal); text-decoration: underline; }
.d9112-ev-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .d9112-ev { grid-template-columns: 64px minmax(0, 1fr); } .d9112-ev-acts { grid-column: 1 / -1; justify-content: flex-start; } }

/* Detail layout: main + sticky side */
.d9112-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.d9112-detail > .d9112-detail-main, .d9112-detail > .wp-block-group.d9112-detail-main { min-width: 0; }
.d9112-detail-main > h2:first-child, .d9112-detail-main > .wp-block-heading:first-child { margin-top: 0 !important; }
.d9112-side, .d9112-contact-card, .d9112-facts { position: sticky; top: 120px; display: grid; gap: 14px; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); padding: 22px; background: var(--d9112-paper); align-content: start; }
.d9112-side dl, .d9112-contact-card dl, .d9112-facts dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: .92rem; }
.d9112-side dt, .d9112-contact-card dt, .d9112-facts dt { color: var(--d9112-muted); }
.d9112-side dd, .d9112-contact-card dd, .d9112-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.d9112-side .d9112-eyebrow, .d9112-contact-card .d9112-eyebrow, .d9112-facts .d9112-eyebrow { margin: 0; }
.d9112-side-portrait { width: 100%; height: auto; border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
@media (max-width: 900px) { .d9112-detail { grid-template-columns: minmax(0, 1fr); } .d9112-side, .d9112-contact-card, .d9112-facts { position: static; } }

/* Clubs */
.d9112-zones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.d9112-zones button { border: 1px solid var(--d9112-line); background: var(--d9112-paper); border-radius: var(--d9112-r); padding: 12px 10px; font: inherit; cursor: pointer; text-align: left; color: var(--d9112-ink); display: grid; gap: 2px; }
.d9112-zones button b { font-family: var(--d9112-head); font-stretch: 87.5%; font-size: 1.05rem; }
.d9112-zones button span { font-size: .75rem; color: var(--d9112-muted); line-height: 1.3; }
.d9112-zones button[aria-pressed="true"] { background: var(--d9112-royal); border-color: var(--d9112-royal); color: #fff; }
.d9112-zones button[aria-pressed="true"] span { color: #DCE5F5; }
@media (max-width: 760px) { .d9112-zones { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d9112-club-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .7fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--d9112-line); }
.d9112-club-nm { display: grid; gap: 2px; }
.d9112-club-nm a { font-weight: 700; color: var(--d9112-ink); text-decoration: none; }
.d9112-club-nm a:hover { color: var(--d9112-royal); text-decoration: underline; }
.d9112-club-meet { display: grid; font-size: .92rem; }
@media (max-width: 760px) { .d9112-club-row { grid-template-columns: minmax(0, 1fr) auto; } .d9112-club-meet, .d9112-club-fmt { display: none; } }

/* Filters and forms */
.d9112-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 18px; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); background: var(--d9112-paper); margin: 0 0 24px; }
.d9112-field { display: grid; gap: 6px; min-width: 0; flex: 0 1 180px; }
.d9112-field.is-grow { flex: 1 1 260px; }
.d9112-field label { font-size: .85rem; font-weight: 700; color: var(--d9112-muted); }
.d9112-filters input, .d9112-filters select, .d9112-form input[type=text], .d9112-form input[type=email], .d9112-form input[type=tel], .d9112-form input[type=url], .d9112-form input[type=number], .d9112-form input[type=file], .d9112-form select, .d9112-form textarea, .d9112-portal-login input[type=text], .d9112-portal-login input[type=password], .d9112-newsletter input[type=email] {
	font: inherit; font-size: 1rem; color: var(--d9112-ink); background: #fff; border: 1px solid #C9D2E0; border-radius: var(--d9112-r); padding: 10px 12px; min-height: 44px; width: 100%; box-sizing: border-box;
}
.d9112-form textarea { min-height: 120px; resize: vertical; }
.d9112-filters input:focus, .d9112-filters select:focus, .d9112-form :is(input, select, textarea):focus, .d9112-newsletter input:focus { outline: 2px solid var(--d9112-azure); outline-offset: 0; border-color: var(--d9112-azure); }
.d9112-form { display: grid; gap: 16px; max-width: 680px; }
.d9112-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.d9112-form-grid .d9112-field { flex: none; }
.d9112-form-grid .is-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .d9112-form-grid { grid-template-columns: minmax(0, 1fr); } }
.d9112-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.d9112-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.d9112-form button[type=submit] { justify-self: start; }
.d9112-notice { padding: 14px 16px; border-radius: var(--d9112-r); background: var(--d9112-mist); border: 1px solid var(--d9112-line); }
.d9112-notice.is-ok { background: #DFF3E8; border-color: #B9E3CB; color: #145236; font-weight: 600; }
.d9112-notice.is-err { background: #FDE8E8; border-color: #F5C2C2; color: #8A1C1C; }

/* Programmes */
.d9112-prog { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.d9112-prog a { display: grid; gap: 8px; padding: 20px; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); text-decoration: none; color: var(--d9112-ink); background: var(--d9112-paper); align-content: start; }
.d9112-prog a:hover { border-color: var(--d9112-royal); }
.d9112-prog .ab { font-family: var(--d9112-head); font-stretch: 75%; font-weight: 800; font-size: 1.6rem; color: var(--d9112-royal); line-height: 1; }

/* Magazine */
.d9112-mag { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.d9112-mag h2 { margin: 0 0 .5rem !important; }
.d9112-cover { width: min(260px, 60vw); aspect-ratio: 3 / 4; border-radius: 4px; background: var(--d9112-royal); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 40px -18px rgba(8,24,60,.55); position: relative; overflow: hidden; box-sizing: border-box; }
.d9112-cover::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(247,168,27,.9); }
.d9112-cover .mt { font-family: var(--d9112-head); font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: .95; position: relative; }
.d9112-cover .mt span { display: block; color: var(--d9112-gold); }
.d9112-cover .ed { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; position: relative; }
.d9112-cover.is-sm { width: 100%; padding: 16px; }
.d9112-cover-img { width: min(260px, 60vw); height: auto; border-radius: 4px; box-shadow: 0 24px 40px -18px rgba(8,24,60,.55); }
.d9112-cover-img.is-sm { width: 100%; }
@media (max-width: 640px) { .d9112-mag { grid-template-columns: minmax(0, 1fr); } }

/* People */
.d9112-person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--d9112-line); }
.d9112-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--d9112-mist); border: 1px solid var(--d9112-line); display: flex; align-items: center; justify-content: center; font-family: var(--d9112-head); font-stretch: 87.5%; font-weight: 800; color: var(--d9112-royal); font-size: 1.15rem; }
.d9112-person-name { font-weight: 700; line-height: 1.3; }
.d9112-person-name a { color: var(--d9112-ink); }
.d9112-lead-feature { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); background: var(--d9112-paper); margin-bottom: 1rem; }
.d9112-lead-feature img, .d9112-lead-feature .d9112-ph { width: 220px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--d9112-r); }
.d9112-lead-feature h2 { margin: 0 0 6px !important; }
@media (max-width: 560px) { .d9112-lead-feature { grid-template-columns: minmax(0, 1fr); } .d9112-lead-feature img { width: 100%; } }

/* Tables */
.d9112-table-wrap { overflow-x: auto; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); background: var(--d9112-paper); }
.d9112-table-wrap table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 0; }
.d9112-table-wrap th, .d9112-table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--d9112-line); vertical-align: top; }
.d9112-table-wrap th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--d9112-muted); background: var(--d9112-mist); white-space: nowrap; }
.d9112-table-wrap tr:last-child td { border-bottom: 0; }

/* Documents */
.d9112-doc { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--d9112-line); }
.d9112-doc .ft { width: 44px; height: 52px; border: 1px solid var(--d9112-line); border-radius: 4px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-size: .66rem; font-weight: 800; color: var(--d9112-royal); background: var(--d9112-paper); box-sizing: border-box; }

/* Zones schematic */
.d9112-zone-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 1rem 0; }
.d9112-zone-map div { aspect-ratio: 1.5 / 1; border-radius: 4px; background: var(--d9112-royal); color: #fff; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; font-size: .8rem; line-height: 1.3; }
.d9112-zone-map div b { font-family: var(--d9112-head); font-stretch: 87.5%; font-size: 1.1rem; }
.d9112-zone-map div.is-ogun { background: var(--d9112-royal-dark); }
@media (max-width: 480px) { .d9112-zone-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Search results */
.d9112-results { list-style: none; margin: 0; padding: 0; }
.d9112-results a { display: block; padding: 12px 0; border-bottom: 1px solid var(--d9112-line); text-decoration: none; color: var(--d9112-ink); }
.d9112-results a span { display: block; }
.d9112-results a:hover b { color: var(--d9112-royal); text-decoration: underline; }

/* Portal */
.d9112-portal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.d9112-portal-nav { display: grid; gap: 4px; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); padding: 10px; background: var(--d9112-paper); }
.d9112-portal-nav a { padding: 10px 12px; border-radius: 4px; text-decoration: none; color: var(--d9112-ink); font-weight: 600; }
.d9112-portal-nav a[aria-current="page"] { background: var(--d9112-mist); color: var(--d9112-royal); }
.d9112-portal-body { min-width: 0; display: grid; gap: 16px; align-content: start; }
.d9112-portal-body h2 { margin: 0 !important; }
.d9112-approve-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--d9112-line); }
.d9112-portal-login { max-width: 460px; display: grid; gap: 12px; }
.d9112-portal-login form p { display: grid; gap: 6px; margin: 0 0 12px; }
.d9112-portal-login .login-remember label { display: flex; gap: 8px; align-items: center; }
.d9112-portal-login input[type=submit] { background: var(--d9112-royal); color: #fff; border: 0; border-radius: var(--d9112-r); padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
@media (max-width: 760px) { .d9112-portal { grid-template-columns: minmax(0, 1fr); } }

/* Newsletter */
.d9112-newsletter { display: grid; gap: 10px; }
.d9112-newsletter .d9112-check { font-size: .82rem; }
.d9112-nl-msg { margin: 0; font-size: .88rem; font-weight: 600; }

/* Static page parts */
.d9112-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: s; border-top: 2px solid var(--d9112-royal); padding: 0 !important; margin: 0 0 3rem !important; }
.d9112-steps li { padding: 20px 20px 0 0; display: grid; gap: 6px; align-content: start; counter-increment: s; }
.d9112-steps li::before { content: counter(s); font-family: var(--d9112-head); font-stretch: 75%; font-weight: 800; font-size: 2.4rem; color: var(--d9112-royal); line-height: 1; }
.d9112-steps span { color: var(--d9112-muted); font-size: .92rem; }
@media (max-width: 760px) { .d9112-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.d9112-faq details { border-bottom: 1px solid var(--d9112-line); }
.d9112-faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.d9112-faq details p { color: var(--d9112-muted); margin: 0 0 14px; }
.d9112-tier { border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); padding: 24px; display: grid; gap: 12px; align-content: start; background: var(--d9112-paper); }
.d9112-tier.is-feature { border: 2px solid var(--d9112-gold); }
.d9112-tier h3, .d9112-tier p { margin: 0 !important; }
.d9112-tier ul { margin: 0; padding-left: 18px; font-size: .93rem; display: grid; gap: 4px; }
.d9112-ways h3 { font-size: 1.15rem !important; margin: 0 0 6px !important; }
.d9112-ways p { color: var(--d9112-muted); font-size: .93rem; margin: 0; }
.d9112-essentials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.d9112-essentials > div { padding: 24px; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); background: var(--d9112-paper); }
.d9112-essentials > div.is-wide { grid-column: 1 / -1; }
.d9112-essentials h3 { margin-top: 0 !important; }
.d9112-essentials ol { padding-left: 20px; }
.d9112-serif { font-family: var(--d9112-serif); font-size: 1.4rem; }
@media (max-width: 760px) { .d9112-essentials { grid-template-columns: minmax(0, 1fr); } }
.d9112-social { display: flex; gap: 18px; flex-wrap: wrap; }
.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 !important; width: 1px; word-wrap: normal !important; }

/* v2: payments, receipts, members, Turnstile */
.d9112-turnstile { min-height: 65px; }
.d9112-pay { max-width: 640px; }
.d9112-pay-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.d9112-pay-note svg { flex: none; margin-top: 3px; }
.d9112-receipt { display: grid; gap: 16px; max-width: 560px; }
.d9112-receipt dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; margin: 0; padding: 20px; border: 1px solid var(--d9112-line); border-radius: var(--d9112-r); background: var(--d9112-paper); }
.d9112-receipt dt { color: var(--d9112-muted); }
.d9112-receipt dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.d9112-member-form { margin: 8px 0 20px; }
.d9112-member-form > summary { list-style: none; display: inline-flex; }
.d9112-member-form > summary::-webkit-details-marker { display: none; }
.d9112-member-form[open] > summary { margin-bottom: 16px; }
.d9112-danger { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--d9112-line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.elementor-widget-container .d9112-hero, .elementor-widget .d9112-hero { min-height: clamp(540px, 74vh, 760px); }
.d9112-field { align-content: start; }
