/*
Theme Name: Coach George
Theme URI: https://thecoachgeorge.com
Author: Chad Hall
Description: Block theme for George Hall, speaker, coach and entrepreneur. Serious results. Not-so-serious guy.
Version: 1.2.0
Requires at least: 6.6
Tested up to: 7.1
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: coach-george
*/

/* ---------- Base ---------- */
.wp-site-blocks > *, .cg-main > *, .cg-main .entry-content > * { margin-block: 0; }
.cg-section { box-sizing: border-box; }
.cg-section p, .cg-header p, .cg-footer p { margin: 0; }
.cg-section h1, .cg-section h2, .cg-section h3 { margin: 0; text-wrap: balance; }
.cg-section ul, .cg-section ol, .cg-footer ul { margin: 0; }
.cg-section .has-field-900-background-color a:not(.wp-element-button), .cg-section.has-field-900-background-color a:not(.wp-element-button) { color: var(--wp--preset--color--brass-200); }
.cg-section.has-paper-color h1, .cg-section.has-paper-color h2:not([class*="-color"]) { color: var(--wp--preset--color--paper); }
.cg-plain { padding-block: var(--wp--preset--spacing--80); }
.cg-band { border-block: 1px solid var(--wp--preset--color--line); }

/* Vertical stacks */
.cg-col, .cg-stack, .cg-stack-md, .cg-stack-sm, .cg-card, .cg-shelf, .cg-sidebar, .cg-booking-panel, .cg-booking-form, .cg-cta-copy, .cg-stat, .cg-steps, .cg-footer-inner, .cg-footer-brand, .cg-footer-col, .cg-refrain > *, .cg-margin-note { min-width: 0; }
.cg-col, .cg-stack-md { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cg-col > *, .cg-stack-md > *, .cg-stack > *, .cg-stack-sm > *, .cg-card > *, .cg-shelf > *, .cg-sidebar > *, .cg-booking-panel > *, .cg-booking-form > *, .cg-cta-copy > *, .cg-stat > *, .cg-steps > *, .cg-footer-inner > *, .cg-footer-brand > *, .cg-footer-col > *, .cg-testimonials > * { margin-block: 0; }
.cg-stack { display: flex; flex-direction: column; gap: 32px; }
.cg-stack-sm { display: flex; flex-direction: column; gap: 8px; }
.cg-measure { max-width: 680px; }
.cg-lead { line-height: 1.55; }
.cg-stack-md .cg-lead { max-width: 680px; }

/* Side-by-side rows that wrap on small screens */
.cg-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.cg-split > * { margin-block: 0; }
.cg-split-top { align-items: flex-start; }
.cg-split-bottom { align-items: flex-end; gap: 48px 72px; }
.cg-col-main { flex: 1 1 520px; }
.cg-col-side { flex: 1 1 400px; }
.cg-col-photo { flex: 0 1 440px; position: relative; align-items: stretch; width: 100%; }
.cg-split-intro { gap: 56px 72px; }
.cg-split-intro .cg-col-photo { flex-basis: 420px; }
.cg-split-description { gap: 32px 80px; }
.cg-split-description > h2 { flex: 1 1 320px; }
.cg-split-description > .cg-col { flex: 1 1 560px; }

/* ---------- Hero ---------- */
.cg-hero .cg-split-hero .cg-lead { max-width: 600px; }
.cg-hero .cg-col-main > .wp-block-buttons { padding-top: 8px; }

/* ---------- Type devices ---------- */
.cg-eyebrow { font-family: var(--wp--preset--font-family--display); font-weight: 600; line-height: 20px; letter-spacing: 2px; text-transform: uppercase; }
.cg-section h1.cg-display { line-height: 1.05; text-transform: uppercase; }
.cg-section h2.cg-h1 { font-weight: 700; line-height: 1.08; }
.cg-text-link a { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; color: var(--wp--preset--color--field-700); text-decoration: underline 2px var(--wp--preset--color--brass-500); text-underline-offset: 6px; display: inline-block; min-height: 32px; }

/* Coach's marker */
.is-style-cg-aside { display: inline-block; align-self: flex-start; font-family: var(--wp--preset--font-family--marker); font-size: 24px; line-height: 1.25; transform: rotate(-4deg); }
.cg-circled { position: relative; justify-self: start; }
.cg-circled::after { content: ""; position: absolute; inset: -14px -18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 70' preserveAspectRatio='none'%3E%3Cpath d='M34 10C80 0 166 4 190 22c16 14-4 38-56 43C84 70 18 64 8 42 0 24 30 10 70 6' fill='none' stroke='%23E8592A' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.cg-arrow-aside { position: absolute; z-index: 1; left: -170px; bottom: 36px; font-family: var(--wp--preset--font-family--marker); font-size: 24px; line-height: 30px; transform: rotate(-4deg); }
.cg-arrow-aside::after { content: ""; display: block; width: 130px; height: 54px; margin-left: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 54'%3E%3Cg fill='none' stroke='%23E8592A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6c26 34 76 42 116 28'/%3E%3Cpath d='m106 24 15 10-16 10'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.cg-section p.cg-sticker { position: absolute; right: -18px; top: -22px; padding: 14px 20px; border-radius: 6px; background: var(--wp--preset--color--brass-200); color: var(--wp--preset--color--field-900); font-family: var(--wp--preset--font-family--marker); font-size: 26px; line-height: 30px; transform: rotate(-5deg); box-shadow: 0 2px 0 rgba(18, 36, 27, .15); }

/* ---------- Images ---------- */
.cg-section figure.wp-block-image { margin: 0; width: 100%; }
.cg-section figure.wp-block-image img { display: block; width: 100%; border-radius: 6px; }
.cg-section figure.wp-block-image figcaption { margin: 12px 0 0; text-align: left; font-size: 14px; font-weight: 500; color: var(--wp--preset--color--ink-muted); }

/* ---------- Buttons ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; box-sizing: border-box; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 2px solid currentColor; color: var(--wp--preset--color--field-700); padding: 14px 30px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(31, 61, 46, .08); color: var(--wp--preset--color--field-700); }
.has-field-900-background-color .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--paper); }
.has-field-900-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); }
.wp-block-button.is-style-cg-secondary > .wp-block-button__link { background: var(--wp--preset--color--field-700); color: var(--wp--preset--color--paper); }
.wp-block-button.is-style-cg-secondary > .wp-block-button__link:hover { background: var(--wp--preset--color--field-500); }
.wp-block-button.cg-button-lg > .wp-block-button__link { min-height: 56px; padding: 18px 36px; font-size: 18px; }

/* ---------- Lists ---------- */
ul.is-style-cg-checks, ul.is-style-cg-crosses, ul.is-style-cg-books, ul.is-style-cg-pills, ol.is-style-cg-steps, ul.cg-footer-links { list-style: none; padding: 0; }
ul.is-style-cg-checks, ul.is-style-cg-crosses, ul.is-style-cg-books, ol.is-style-cg-steps { display: flex; flex-direction: column; gap: 16px; }
.is-style-cg-checks li, .is-style-cg-crosses li { position: relative; margin: 0; padding-left: 34px; }
.is-style-cg-checks li::before, .is-style-cg-crosses li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M4 11.5 9 16l9-10' fill='none' stroke='%233A6B52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.is-style-cg-crosses li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 4.5c4 4.5 8 8.5 12.5 13M17 4c-4.5 4.5-8 8.5-12.5 13.5' fill='none' stroke='%23E8592A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.is-style-cg-books li { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--wp--preset--color--ink-muted); }
.is-style-cg-books strong { display: inline-block; font-size: var(--wp--preset--font-size--body); line-height: 1.6; font-weight: 600; color: var(--wp--preset--color--ink); }
ul.is-style-cg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.is-style-cg-pills li { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); font-size: 14px; line-height: 20px; font-weight: 500; }
ol.is-style-cg-steps { counter-reset: cg-step; }
.is-style-cg-steps li { counter-increment: cg-step; position: relative; margin: 0; padding-left: 34px; }
.is-style-cg-steps li::before { content: counter(cg-step); position: absolute; left: 0; top: 0; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--wp--preset--color--brass-500); }

/* ---------- Refrain ---------- */
.cg-refrain > * + * { margin-top: 32px; }
.cg-refrain-list { border-top: 1px solid var(--wp--preset--color--line); }
.cg-refrain-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding-block: 22px; border-bottom: 1px solid var(--wp--preset--color--line); }
.cg-refrain-list > *, .cg-refrain-row > * { margin-block: 0; }
.cg-section p.cg-refrain-call { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Stats ---------- */
.cg-section .cg-stat-grid { gap: 40px 32px; }
.cg-stat { display: flex; flex-direction: column; gap: 8px; }
.cg-section p.cg-stat-number { font-family: var(--wp--preset--font-family--display); font-weight: 700; line-height: 1; }
.cg-section p.cg-stat-label { line-height: 20px; }

/* ---------- Cards ---------- */
.cg-card { display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; padding: 32px; border: 1px solid var(--wp--preset--color--line); border-radius: 6px; background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); }
.cg-split > .cg-card { flex: 1 1 420px; align-items: stretch; }
.cg-split > .cg-col-main:has(+ .cg-card) { flex-basis: 480px; gap: 20px; }
.cg-section .cg-pair, .cg-section .cg-media-grid, .cg-section .cg-photo-grid { gap: 32px; }
.cg-section .cg-media-grid { display: grid; }
.cg-media-grid > .cg-media-card { margin: 0; }
.cg-media-grid > .cg-media-card:only-child { max-width: 584px; }
.cg-card-lg { padding: clamp(28px, 3vw, 40px); gap: 20px; }
.cg-card.cg-anti { background: var(--wp--preset--color--whistle-100); border-color: transparent; }

.cg-media-card { position: relative; padding: 16px; gap: 0; }
.cg-media-card:hover, .cg-media-card:focus-within { border-color: var(--wp--preset--color--brass-500); }
.cg-media-card::before { content: ""; display: block; aspect-ratio: 16 / 9; margin-bottom: 16px; border-radius: 6px; background: var(--wp--preset--color--field-700) center / 72px no-repeat; }
.cg-media-card.is-video::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='34' fill='%23B8955A'/%3E%3Cpath d='m29 23 22 13-22 13z' fill='%2312241B'/%3E%3C/svg%3E"); }
.cg-media-card.is-podcast::before { background-color: var(--wp--preset--color--field-900); background-size: 96px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 72'%3E%3Cg fill='%23E6D5B0'%3E%3Crect x='6' y='30' width='6' height='12' rx='3'/%3E%3Crect x='18' y='22' width='6' height='28' rx='3'/%3E%3Crect x='30' y='12' width='6' height='48' rx='3'/%3E%3Crect x='42' y='4' width='6' height='64' rx='3'/%3E%3Crect x='54' y='16' width='6' height='40' rx='3'/%3E%3Crect x='66' y='24' width='6' height='24' rx='3'/%3E%3Crect x='78' y='30' width='6' height='12' rx='3'/%3E%3C/g%3E%3C/svg%3E"); }
.cg-media-card.has-image::before { content: none; }
.cg-media-thumb { position: relative; aspect-ratio: 16 / 9; margin-bottom: 16px; overflow: hidden; border-radius: 6px; background: var(--wp--preset--color--field-900); }
.cg-media-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Videos keep a play button over their picture. */
.cg-media-card.is-video .cg-media-thumb::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='34' fill='%23B8955A'/%3E%3Cpath d='m29 23 22 13-22 13z' fill='%2312241B'/%3E%3C/svg%3E") center / 72px no-repeat; }
.cg-media-card > h3, .cg-media-card > p { padding-inline: 8px; margin: 0; }
.cg-media-card > p { padding-bottom: 8px; }
.cg-section .cg-media-card h3 { font-size: 22px; line-height: 28px; }
.cg-media-card h3 a { color: var(--wp--preset--color--field-700); text-decoration: none; }
.cg-media-card h3 a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Testimonials ---------- */
.cg-section .wp-block-quote { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.cg-section .wp-block-quote > p { margin: 0; }
.cg-section .wp-block-quote cite { margin: 0; color: var(--wp--preset--color--paper); }
.cg-testimonials > * + * { margin-top: 56px; }
.cg-quote-big .wp-block-quote { max-width: 900px; gap: 20px; }
.wp-block-quote.cg-shout > p { font-weight: 700; line-height: 1; text-transform: uppercase; }
.cg-section .cg-quote-grid { gap: 32px; padding-top: 40px; border-top: 1px solid var(--wp--preset--color--field-500); }
.cg-section .cg-quote-cards { gap: 24px; }
.cg-section .wp-block-quote.cg-quote-card { justify-content: space-between; gap: 28px; padding: 36px; border-radius: 6px; background: var(--wp--preset--color--field-900); }

/* Grids stretch to fill the row, and never get wider than the screen */
.cg-section .cg-pair { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.cg-section .cg-media-grid, .cg-section .cg-photo-grid { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.cg-section .cg-quote-grid, .cg-section .cg-quote-cards { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.cg-section .cg-bookshelf { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.cg-section .cg-stat-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- CTA band ---------- */
.cg-cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cg-cta-row > * { margin-block: 0; }
.cg-cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

/* ---------- About ---------- */
.cg-split-story { gap: 48px 80px; }
.cg-story { flex: 1 1 560px; max-width: 680px; }
.cg-margin-note { position: relative; }
.cg-margin-note > p { margin: 0; }
.cg-margin-note > .is-style-cg-aside { display: block; width: fit-content; margin: 12px 8px 0 auto; font-size: 22px; }
.cg-sidebar { flex: 0 1 320px; width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 6px; }
.cg-sidebar > p:not(.cg-eyebrow) { font-size: 17px; line-height: 1.5; }
.cg-sidebar > p + .cg-eyebrow { margin-top: 18px; }

/* ---------- Bookshelf ---------- */
.cg-section .cg-bookshelf { gap: 24px; }
.cg-shelf { display: flex; flex-direction: column; gap: 18px; box-sizing: border-box; padding: 28px; border: 1px solid var(--wp--preset--color--line); border-top: 6px solid var(--wp--preset--color--field-700); border-radius: 6px; background: var(--wp--preset--color--paper); }
.cg-shelf.is-fun { border-top-color: var(--wp--preset--color--brass-500); }
.cg-section .cg-shelf-note { margin-top: auto; align-self: flex-end; }

/* ---------- Booking ---------- */
.cg-booking-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.cg-booking-grid > * { margin-block: 0; }
.cg-booking-panel, .cg-booking-form { box-sizing: border-box; display: flex; flex-direction: column; border-radius: 6px; padding: clamp(28px, 4vw, 48px); }
.cg-booking-panel { flex: 1 1 380px; gap: 28px; }
.cg-booking-form { flex: 1.4 1 520px; gap: 16px; border: 1px solid var(--wp--preset--color--line); }
.cg-steps { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; border-top: 1px solid var(--wp--preset--color--field-500); }
.cg-booking-panel > .wp-block-quote { margin-top: auto; }

/* SureForms, matched to the design */
.cg-booking-form .srfm-form-container {
	--srfm-color-scheme-primary: #B8955A;
	--srfm-color-scheme-text: #1B201D;
	--srfm-color-scheme-text-on-primary: #12241B;
	--srfm-color-input-background: #FFFFFF;
	--srfm-color-input-border: #D8D2C4;
	--srfm-color-input-border-focus: #1F3D2E;
	--srfm-color-input-label: #1B201D;
	--srfm-color-input-text: #1B201D;
	--srfm-input-border-radius: 2px;
	--srfm-btn-border-radius: 2px;
	--srfm-input-height: 48px;
}
.cg-booking-form .srfm-block-label { font-family: var(--wp--preset--font-family--sans); font-size: 15px; font-weight: 600; }
.cg-booking-form .srfm-form-container :is(input:not([type="hidden"]), textarea, .ts-control) { border-radius: 2px; font-family: var(--wp--preset--font-family--sans); font-size: 17px; }
.cg-booking-form .srfm-form-container :is(input, textarea):focus { outline: 3px solid var(--wp--preset--color--brass-500); outline-offset: 1px; }
.cg-booking-form .srfm-form-container .srfm-submit-container button.srfm-button { min-height: 56px; padding: 18px 36px; border: 0; border-radius: 2px; background: var(--wp--preset--color--brass-500); color: var(--wp--preset--color--field-900); font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; }
.cg-booking-form .srfm-form-container .srfm-submit-container button.srfm-button:hover { background: var(--wp--preset--color--brass-200); }

/* ---------- Header ---------- */
.wp-site-blocks > header { position: relative; z-index: 10; }
.cg-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.cg-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 88px; padding-block: 12px; box-sizing: border-box; }
.cg-header-row > * { margin-block: 0; }
.cg-wordmark { display: inline-flex; align-items: center; gap: .353em; margin: 0; }
/* The play: an X, a dotted route and a brass O, drawn beside the site title. */
.cg-wordmark::before { content: ""; flex: none; width: 2.118em; height: 1.318em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 56'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 32l16 16m0-16L6 48' stroke='%231F3D2E' stroke-width='4.5'/%3E%3Cpath d='M16 28C22 2 56 0 66 27' stroke='%231F3D2E' stroke-width='3.5' stroke-dasharray='.5 7'/%3E%3Cpath d='M67.8 18.8 66 27l-6.6-5' stroke='%231F3D2E' stroke-width='3.5'/%3E%3Ccircle cx='76' cy='40' r='9' stroke='%23B8955A' stroke-width='4.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.cg-nav .wp-block-navigation__container { gap: 8px 28px; }
.cg-nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding-top: 3px; box-sizing: border-box; border-bottom: 3px solid transparent; color: var(--wp--preset--color--ink-muted); }
.cg-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--field-700); }
.cg-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--field-700); border-bottom-color: var(--wp--preset--color--brass-500); }
.cg-nav .cg-nav-cta > .wp-block-navigation-item__content { justify-content: center; padding: 12px 24px; border: 0; border-radius: 2px; background: var(--wp--preset--color--brass-500); color: var(--wp--preset--color--field-900); font-size: 16px; }
.cg-nav .cg-nav-cta > .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--brass-200); color: var(--wp--preset--color--field-900); }

/* ---------- Footer ---------- */
.wp-site-blocks > footer { margin-block-start: 0; }
.cg-footer { padding-block: 72px 32px; font-size: 16px; }
.cg-footer-inner { display: flex; flex-direction: column; gap: 48px; }
.cg-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.cg-footer-top > *, .cg-footer-cols > *, .cg-footer-bottom > * { margin-block: 0; }
.cg-footer-brand { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cg-footer .cg-wordmark { font-size: 30.6px; }
.cg-footer .cg-wordmark a { color: var(--wp--preset--color--paper); }
.cg-footer .cg-wordmark::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 56'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 32l16 16m0-16L6 48' stroke='%23FFFFFF' stroke-width='4.5'/%3E%3Cpath d='M16 28C22 2 56 0 66 27' stroke='%23FFFFFF' stroke-width='3.5' stroke-dasharray='.5 7'/%3E%3Cpath d='M67.8 18.8 66 27l-6.6-5' stroke='%23FFFFFF' stroke-width='3.5'/%3E%3Ccircle cx='76' cy='40' r='9' stroke='%23B8955A' stroke-width='4.5'/%3E%3C/g%3E%3C/svg%3E"); }
.cg-footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.cg-footer-col { display: flex; flex-direction: column; gap: 10px; }
ul.cg-footer-links li { margin: 0; min-height: 36px; }
.cg-footer-links a { color: var(--wp--preset--color--paper); text-decoration: none; }
.cg-footer-links a:hover { color: var(--wp--preset--color--brass-200); text-decoration: underline; }
.cg-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--wp--preset--color--field-500); }

/* ---------- Responsive ---------- */
/* The arrow joke needs room beside the photo; tuck it inline when there is none. */
@media (max-width: 1140px) {
	.cg-arrow-aside { position: static; }
	.cg-arrow-aside::after { display: none; }
	.cg-col-photo:has(.cg-arrow-aside) { gap: 12px; }
}
@media (max-width: 781px) {
	.cg-col-main, .cg-col-side, .cg-col-photo, .cg-story, .cg-sidebar, .cg-split > .cg-card, .cg-split-description > *, .cg-booking-panel, .cg-booking-form, .cg-split-intro .cg-col-photo, .cg-split > .cg-col-main:has(+ .cg-card) { flex-basis: 100%; }
	.cg-split { gap: 32px; }
	.cg-col-main .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
	.cg-refrain-row { flex-direction: column; align-items: flex-start; gap: 2px; }
	.cg-section .wp-block-button, .cg-section .wp-block-buttons, .cg-footer .wp-block-button, .cg-footer .wp-block-buttons { width: 100%; }
	.cg-section .wp-block-button__link, .cg-footer .wp-block-button__link { width: 100%; }
	.cg-section p.cg-sticker { right: -6px; font-size: 20px; line-height: 24px; }
	.cg-section .cg-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
	.cg-stats:not(.has-field-900-background-color) .cg-stat:nth-child(n+3) { grid-column: span 2; }
	.cg-footer { padding-top: 56px; }
	.cg-footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; width: 100%; }
	.cg-footer-contact { grid-column: span 2; }
	.cg-footer-links li { min-height: 44px; }
}
/* Mobile menu (core switches at 600px; this theme switches at 781px) */
@media (max-width: 781px) {
	.cg-header-row { flex-wrap: nowrap; min-height: 72px; }
	.cg-header .cg-wordmark { font-size: 22.1px; }
	.cg-footer .cg-wordmark { font-size: 25.5px; }
	.cg-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--wp--preset--color--field-700); border-radius: 2px; color: var(--wp--preset--color--field-700); }
	.cg-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.cg-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--chalk) !important; padding: 20px; }
	.cg-nav .is-menu-open .wp-block-navigation__responsive-container-content, .cg-nav .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 0; }
	.cg-nav .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch; }
	.cg-nav .is-menu-open .wp-block-navigation-item__content { width: 100%; min-height: 56px; font-size: 24px; color: var(--wp--preset--color--field-700); border-bottom: 1px solid var(--wp--preset--color--line); }
	.cg-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--brass-700); }
	.cg-nav .is-menu-open .cg-nav-cta { margin-top: 20px; }
	.cg-nav .is-menu-open .cg-nav-cta > .wp-block-navigation-item__content { font-size: 16px; color: var(--wp--preset--color--field-900); border: 0; min-height: 52px; }
}
