/* ==========================================================================
   Patricia Martin theme
   ========================================================================== */

:root {
	/* Brand colours. --c-teal is the logo teal: decorative use only (2.7:1 on white).
	   Text, buttons and bars use the deeper "ink" teals so they meet WCAG AA. */
	--c-teal: #3eaacd;
	--c-teal-2: #3faacc;
	--c-teal-ink: #177ba3;      /* white text on this = 4.8:1. Title bar, active nav, buttons. */
	--c-teal-light: #67c0db;    /* title bar gradient end */
	--c-teal-wash: #e3f2f7;
	--c-link: #0b6a8f;          /* 6:1 on white */
	--c-link-hover: #084f6b;
	--c-btn: var(--c-teal-ink);
	--c-btn-hover: var(--c-link-hover);
	--c-blue: #006eaf;
	--c-footer: #256cae;
	--c-navy: #16163f;
	--c-deep: #0b3b52;          /* storybook night, Old Tree landing page */
	--c-gold: #f2c14e;          /* rating stars / accents on dark only */
	--c-bg: #f4f9f9;
	--c-text: #1d2a31;
	--c-muted: #56707b;         /* 5.2:1 on white */
	--c-nav: #4a5052;
	--c-border: #8a9ba3;        /* 3:1 non-text contrast for inputs */
	--c-focus: #0b3b52;
	--f-body: "Open Sans", sans-serif;
	--f-alt: "Montserrat", sans-serif;
	--f-serif: "Merriweather", serif;
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 32px);

	/* Type scale: fluid between 390px phones and 1280px desktops. */
	--fs-body: 1.125rem;                                   /* 18px */
	--fs-small: 1rem;                                      /* 16px */
	--fs-xs: .9375rem;                                     /* 15px, minimum for UI text */
	--fs-lead: clamp(1.25rem, 1.12rem + .55vw, 1.5rem);    /* 20 → 24 */
	--fs-h1: clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem);      /* 36 → 52 */
	--fs-h2: clamp(1.75rem, 1.45rem + 1.25vw, 2.5rem);     /* 28 → 40 */
	--fs-h3: clamp(1.375rem, 1.25rem + .55vw, 1.75rem);    /* 22 → 28 */
	--fs-h4: 1.25rem;
	--lh-body: 1.7;
	--measure: 70ch;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-link-hover); }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; color: var(--c-link); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-family: var(--f-body); font-weight: 400; line-height: 1.25; color: inherit; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1.15; }
h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; }
h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; color: var(--c-text); }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.4; color: var(--c-link); }
h5 { font-size: var(--fs-h4); font-weight: 400; line-height: 1.4; color: var(--c-muted); }
h6 { font-size: var(--fs-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
ul, ol { margin: 0 0 1.5em 1.5em; padding: 0; }
li { margin-bottom: .35em; }

/* Links inside running copy are underlined so they don't rely on colour alone (WCAG 1.4.1). */
.entry-content a:not(.btn):not(.button),
.term-description a:not(.btn):not(.button):not(.ban),
.block-text a:not(.btn),
.lead-text a,
.single-post__content a,
.side-post__content a,
.woocommerce-product-details__short-description a,
.woocommerce-Tabs-panel a,
.review__text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Keyboard focus: always visible, never removed. */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
.site-footer :focus-visible, .title-bar :focus-visible, .contact-band :focus-visible,
.featured-book :focus-visible, .main-nav .sub-menu :focus-visible, .ot-dark :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
blockquote { margin: 0; }
iframe { max-width: 100%; }

.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;
}
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; top: 8px; left: 8px; background: #fff; color: var(--c-link); padding: 12px 18px; font-weight: 700; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 800px; }

/* Buttons ---------------------------------------------------------------- */
.btn,
.button,
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 28px;
	border: 0;
	border-radius: 10px;
	background: var(--c-btn);
	color: #fff;
	font-family: var(--f-body);
	font-size: var(--fs-small);
	font-weight: 700;
	letter-spacing: .03em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .3s;
}
.btn:hover, .btn:focus-visible,
.gform_wrapper .gform_button:hover { background: var(--c-btn-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-link); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--c-link); color: #fff; box-shadow: none; }
.btn--shadow { box-shadow: 0 7px 10px rgba(0, 0, 0, .2); }
.btn-wrap--left { text-align: left; }
.btn-wrap--center { text-align: center; }
.btn-wrap--right { text-align: right; }

/* Header ----------------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 50;
	background: #fff;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 100px;
}
.site-logo { display: block; line-height: 0; }
.site-logo__img { width: 239px; height: auto; }
.site-logo__text { font-size: 28px; line-height: 1; color: var(--c-link); }

.main-nav .menu { display: flex; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; margin: 0; }
.main-nav .menu > li > a {
	display: flex;
	align-items: center;
	padding: 40px 20px;
	color: var(--c-nav);
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	transition: background .3s, color .3s;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li:focus-within > a,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current_page_item > a,
.main-nav .menu > li.current-menu-ancestor > a {
	background: var(--c-teal);
	color: #fff;
}
.main-nav .menu-item-has-children > a::after {
	content: "";
	margin-left: 15px;
	border: 5px solid transparent;
	border-top: 6px solid currentColor;
	border-bottom: 0;
	width: 0;
	height: 0;
}
.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--c-blue);
	visibility: hidden;
	opacity: 0;
	transition: opacity .2s, visibility .2s;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu { visibility: visible; opacity: 1; }
.main-nav .sub-menu a {
	display: block;
	padding: 14px 20px;
	color: #fff;
	font-size: var(--fs-small);
	line-height: 22px;
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a { background: var(--c-link-hover); color: #fff; }
.submenu-toggle { display: none; }

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 11px;
	border-radius: 8px;
	border: 0;
	background: transparent;
	color: #0c6cac;
	cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; fill: currentColor; display: block; }
.menu-toggle__close { display: none !important; }
.is-open .menu-toggle__open { display: none !important; }
.is-open .menu-toggle__close { display: block !important; }

@media (min-width: 1025px) {
	.site-header__inner { align-items: stretch; }
	.site-header__brand { display: flex; align-items: center; }
	.main-nav, .main-nav .menu, .main-nav .menu > li { display: flex; }
	.main-nav .menu > li > a { padding-top: 0; padding-bottom: 0; }
}

/* Title bar -------------------------------------------------------------- */
.title-bar { background: var(--c-teal) linear-gradient(180deg, var(--c-teal) 0%, var(--c-teal-light) 100%); color: #fff; }
/* Soft shadow helps the white title read on the light teal. */
.title-bar__title { text-shadow: 0 1px 2px rgba(11, 59, 82, .35), 0 0 18px rgba(11, 59, 82, .15); }
.title-bar__title { margin: 0; color: #fff; font-size: var(--fs-h1); font-weight: 300; line-height: 1.2; }
.title-bar--large { padding: clamp(36px, 5vw, 60px) 0; }
.title-bar--medium { padding: clamp(32px, 4.5vw, 50px) 0; }
.title-bar--medium .title-bar__title { text-transform: capitalize; }
.title-bar--shop { padding: clamp(32px, 4vw, 44px) 0; }
.title-bar--404 { display: flex; align-items: center; min-height: 250px; background: var(--c-blue); }
.title-bar--404 .title-bar__title { text-transform: capitalize; }

/* Generic sections ------------------------------------------------------- */
.section--content { padding: 60px 0; }
.entry-content::after { content: ""; display: table; clear: both; }
.oembed { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; border-radius: 8px; }
.oembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Two columns ------------------------------------------------------------ */
.two-col__grid { display: flex; padding: 0; }
.two-col__main, .two-col__side { display: flex; flex-direction: column; }
.two-col__main > *, .two-col__side > * { flex: none; }
.two-col--68-32 .two-col__main { width: 67.75%; padding: 30px; }
.two-col--68-32 .two-col__side { width: 32.25%; padding: 30px; }
.two-col--70-30 .two-col__main { width: 70.167%; padding: 10px 68px 10px 10px; }
.two-col--70-30 .two-col__side { width: 29.833%; padding: 10px; }
.two-col h3 { margin-bottom: 20px; }

.block { margin-bottom: 5px; }
.block:last-child { margin-bottom: 0; }
.block-button { margin: 25px 0; }
.two-col__side .block-button { margin: 0 0 5px; }
.block-text h4 { margin-bottom: 0; }
.block-image { text-align: center; }
.two-col__side .block-image + .block-image { margin-top: 14px; }
.block-image img { display: inline-block; }
.two-col--70-30 .block-image img { width: 100%; }

.block-text--boxed { margin-bottom: 24px; padding: 20px 24px; border-left: 4px solid var(--c-teal); background: #fff; }
.block-text--accent { color: var(--c-blue); }
.block-text--accent strong { color: inherit; font-weight: 400; }
.block-text--indented { padding-left: 9%; }
.block-text--large { font-size: var(--fs-lead); line-height: 1.65; }
.block-text--large p { margin-bottom: 16.5px; }
.block-text ul { margin-bottom: 25px; }
.has-drop-cap > p:first-child::first-letter {
	float: left;
	margin: 5px 10px 0 0;
	font-size: 50px;
	line-height: 1;
	font-weight: 400;
}

.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__cover {
	position: absolute; inset: 0; width: 100%; height: 100%;
	padding: 0; border: 0; cursor: pointer;
	background-size: cover; background-position: center;
}
.video-frame__play { width: clamp(64px, 12vw, 100px); height: clamp(64px, 12vw, 100px); fill: rgba(238, 238, 238, .9); filter: drop-shadow(1px 0 6px rgba(0, 0, 0, .3)); transition: transform .2s; }
.video-frame__cover:hover .video-frame__play { transform: scale(1.08); }

/* Quote ------------------------------------------------------------------ */
.quote .container { padding-top: 10px; padding-bottom: 10px; }
.quote__inner { padding: 47px 24px; text-align: center; }
.quote__text,
.quote__cite {
	display: block;
	margin: 0 0 31px;
	color: var(--c-muted);
	font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
	font-style: normal;
	font-weight: 300;
	line-height: 1.45;
	max-width: 54ch;
	margin-left: auto;
	margin-right: auto;
}
.quote__cite { margin: 0; }

/* Image banner ----------------------------------------------------------- */
.image-banner {
	padding: 92px 0 72px;
	background-position: center center;
	background-size: cover;
}
.image-banner__box {
	width: 480px;
	max-width: 100%;
	padding: 30px 28px;
	background: rgba(23, 80, 132, .88);
}
.image-banner__text { margin: 0; padding: 0; color: #fff; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); font-weight: 300; line-height: 1.3; }

/* Lead text -------------------------------------------------------------- */
.lead-text { padding: 50px 0; }
.lead-text .container { padding-top: 10px; padding-bottom: 10px; }
.lead-text__inner { max-width: 60ch; font-size: var(--fs-lead); line-height: 1.65; }
.lead-text__inner > :last-child { margin-bottom: 0; }

/* Flip cards ------------------------------------------------------------- */
.cards { padding: 115px 0; }
.cards .container { padding-top: 10px; padding-bottom: 10px; }
.cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.flip-card {
	position: relative;
	height: 325px;
	overflow: hidden;
	background: var(--card-colour);
}
.flip-card__front {
	position: absolute; inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background-color: #1abc9c;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 100% auto;
	transition: transform .6s ease-in-out;
}
.flip-card__front-inner { padding-bottom: 15px; background: #fff; }
.flip-card__title {
	margin: 0 0 30px;
	padding: 10px 15px;
	background: var(--card-colour);
	color: #fff;
	font-size: 26px;
	font-weight: 300;
	line-height: 45px;
}
.flip-card__subtitle { padding: 0 16px; color: var(--c-text); font-size: var(--fs-small); line-height: 1.5; }
.flip-card__back {
	position: absolute; inset: 0;
	padding: 70px 15px 0;
	background: var(--card-colour);
	color: #fff;
	text-align: center;
	transform: translateX(100%);
	transition: transform .6s ease-in-out;
}
.flip-card:hover .flip-card__back,
.flip-card:focus-within .flip-card__back { transform: translateX(0); }
.flip-card__back-title { margin: 0 0 20px; padding: 0; color: #fff; font-size: 26px; font-weight: 300; line-height: 45px; }
.flip-card__back-text { margin: 0 0 20px; font-size: var(--fs-small); line-height: 1.55; }
.flip-card__button {
	position: relative;
	z-index: 2;
	display: inline-block;
	padding: 14px 30px;
	border: 2px solid #fff;
	border-radius: 8px;
	background: var(--c-link-hover);
	color: #fff;
	font-size: var(--fs-small);
	font-weight: 700;
	line-height: 1.2;
}
.flip-card__button:hover { color: #fff; }
.flip-card__cover-link { position: absolute; inset: 0; z-index: 1; }

/* Featured book ---------------------------------------------------------- */
.featured-book {
	padding: 72px 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
}
.featured-book .container { padding-top: 10px; padding-bottom: 10px; }
.featured-book__grid { display: flex; gap: 10px; }
.featured-book__copy { width: 56.75%; padding-right: 2%; }
.featured-book__media { width: 43.25%; text-align: center; }
.featured-book__heading { margin: 0 0 20px; color: #fff; font-size: var(--fs-h1); font-weight: 300; line-height: 1.2; }
.featured-book__text, .featured-book__text strong { color: #fff; }
.featured-book__cover { display: block; width: 313px; max-width: 80%; margin: 0 auto 5px; }

/* Testimonial slider ----------------------------------------------------- */
.t-slider { padding: clamp(60px, 9vw, 115px) 0; }
.t-slider__viewport { position: relative; overflow: hidden; }
.t-slider__track { display: flex; transition: transform .6s ease; }
.t-slider__slide {
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	padding: 50px 0;
	text-align: center;
}
.t-slider__inner { max-width: 864px; margin: 0 auto; }
.t-slider__heading { margin-bottom: 30px; color: var(--c-teal-ink); font-size: var(--fs-h2); line-height: 1.2; }
.t-slider__text { color: var(--c-muted); font-size: var(--fs-body); line-height: 1.7; }
.t-slider__text p { margin: 0; }
.t-slider__text h5 { margin: 0 0 20px; }
.t-slider__text strong { color: inherit; }
.t-slider__dots { display: flex; justify-content: center; gap: 4px; margin-top: -22px; position: relative; }
.t-slider__dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.t-slider__dot::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--c-text); opacity: .3; }
.t-slider__dot.is-active::before { opacity: 1; }

/* Contact band (Contact page) -------------------------------------------- */
.contact-band { padding: 35px 0 98px; color: #fff; }
.contact-band .container { padding-top: 10px; padding-bottom: 10px; }
.contact-band__heading { margin: 0 0 32px; color: #fff; font-size: var(--fs-h1); font-weight: 300; line-height: 1.2; text-align: center; }
.contact-band--normal .contact-band__heading { font-size: var(--fs-h2); margin-bottom: 28px; }
.contact-band__text { margin: 0 0 12.75px; text-align: center; }
.contact-band__form { padding-top: 4px; }
.spacer { display: block; }

/* Gravity Forms (light inputs on coloured backgrounds) ------------------- */
.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper .gfield_label { font-weight: 700; }
.form--light .gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.form--light .gform_wrapper textarea,
.form--light .gform_wrapper select {
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	background: #fff;
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 1.0625rem; /* ≥16px prevents iOS zoom-on-focus */
	line-height: 1.4;
}
.form--light .gform_wrapper textarea { min-height: 160px; height: 180px; }
.form--light .gform_wrapper ::placeholder { color: #6b7d85; opacity: 1; }
.form--light .gform_wrapper .gform_footer { margin-top: 24px; padding: 0; }
/* Show the field labels that the forms mark as "hidden": placeholders vanish while typing. */
.form--light .gform_wrapper .hidden_label .gfield_label,
.form--light .gform_wrapper .gfield_label {
	position: static !important; width: auto !important; height: auto !important;
	margin: 0 0 6px !important; clip: auto !important; clip-path: none !important; overflow: visible !important;
	color: inherit; font-size: var(--fs-small); font-weight: 600; line-height: 1.4;
}
.contact-band .gform_wrapper .gform_button,
.site-footer .gform_wrapper .gform_button,
.contact-band .gform_wrapper input[type="submit"],
.site-footer .gform_wrapper input[type="submit"] { min-width: 200px; border-radius: 10px; background: #fff; color: var(--c-footer); }
.contact-band .gform_wrapper .gform_button:hover,
.site-footer .gform_wrapper .gform_button:hover { background: var(--c-teal-wash); color: var(--c-link-hover); }
.gform_wrapper .gfield_validation_message, .gform_wrapper .validation_message { font-size: var(--fs-small); }

/* Footer ----------------------------------------------------------------- */
.site-footer { color: #fff; }

/* Newsletter band */
.footer-newsletter { padding: clamp(48px, 6vw, 72px) 0; background: var(--c-footer); }
.footer-newsletter__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.footer-newsletter__heading { margin: 0 0 8px; color: #fff; font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; }
.footer-newsletter__text { max-width: 44ch; margin: 0; color: #e6f1f5; font-size: var(--fs-body); }

/* Bottom bar */
.footer-bottom { padding: 18px 0; background: var(--c-deep); color: #cfe3ea; font-size: var(--fs-xs); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-bottom__copy { margin: 0; }
.footer-bottom__nav ul { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none; }
.footer-bottom__nav li { margin: 0; }
.footer-bottom__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: .25em; }
.footer-bottom__nav a:hover { text-decoration-color: #fff; color: #fff; }
.footer-bottom :focus-visible { outline-color: #fff; }

@media (max-width: 900px) {
	.footer-newsletter__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.footer-bottom__inner { flex-direction: column; align-items: flex-start; }
	.footer-bottom__nav ul { margin-left: -8px; }
}

/* Testimonies (reviews) -------------------------------------------------- */
.reviews { padding: 80px 0 40px; }
.reviews .container { padding: 0; }
.reviews .container { padding: 0 var(--gutter) !important; }
.reviews__heading { margin: 31px 0 25px; color: var(--c-text); font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; }
.review { padding: 0 0 32px; margin: 0 0 28px; border-bottom: 1px solid #cfd8dc; max-width: var(--measure); }
.review__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.review__name { margin: 0; padding: 0; color: #1f347d; font-size: 18px; font-weight: 500; line-height: 28px; }
.review__sep, .review__date { font-size: 16px; line-height: 29px; }
.review__sep { margin: 0 -4px 0 0; }
.stars { display: flex; gap: 5px; margin: 6px 0 17px; }
.star { width: 18px; height: 18px; fill: #ccc; }
.star.is-on { fill: #236cae; }
.review__text { padding-left: 1px; }
.review__text strong { color: inherit; }
.reviews__form { margin-top: 20px; padding: 20px 20px 30px; background: #fff; }
.reviews__form-heading { margin: 0 0 10px; padding: 0; font-size: var(--fs-h3); }

/* News & Media (cards) --------------------------------------------------- */
.post-list { padding: clamp(48px, 7vw, 85px) 0 clamp(60px, 8vw, 100px); background: #eef3f4; }
.post-list__grid { display: flex; gap: 20px; }
.post-list__main { flex: 1 1 auto; padding: 10px 0; }
.post-list--sidebar .post-list__main { width: 66%; flex: 0 0 760px; }
.post-list--narrow .post-list__grid { max-width: 875px; }
.post-list__side { flex: 1 1 auto; padding: 10px 0; }
.post-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06);
	transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: 0 2px 6px rgba(11, 59, 82, .1), 0 12px 32px rgba(11, 59, 82, .1); }
.post-card__date {
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
	padding: 28px 8px; border-right: 1px solid #e3ecef; background: var(--c-teal-wash);
	color: var(--c-link-hover); line-height: 1.1; text-align: center;
}
.post-card__month { font-family: var(--f-alt); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.post-card__day { margin: 4px 0; font-family: var(--f-serif); font-size: 2.25rem; font-weight: 400; color: var(--c-deep); }
.post-card__year { color: var(--c-muted); font-size: var(--fs-xs); }
.post-card__body { padding: 28px 32px 24px; }
.post-card__cat { margin: 0 0 8px; color: var(--c-link); font-family: var(--f-alt); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.post-card__title { margin: 0 0 12px; padding: 0; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.post-card__title a { color: var(--c-text); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
.post-card__title a:hover { color: var(--c-link); text-decoration-color: currentColor; }
.post-card__excerpt { max-width: 62ch; color: #3a4448; font-size: var(--fs-small); line-height: 1.7; }
.post-card__excerpt p { margin: 0; }
.post-card__more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 12px;
	color: var(--c-link);
	font-size: var(--fs-small);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}
.post-card__more::after { content: "\2192"; margin-left: 8px; text-decoration: none; transition: transform .2s; }
.post-card__more:hover::after { transform: translateX(3px); }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 8px; background: #fff; color: var(--c-link); font-weight: 600; }
.pagination .page-numbers.current { background: var(--c-teal-ink); color: #fff; }
.post-list__side-heading { margin: 0 0 25px; padding: 0; font-size: var(--fs-h2); line-height: 1.25; }
.side-post { margin-bottom: 40px; }
.side-post__title { margin: 0 0 20px; font-size: 18px; font-weight: 500; line-height: 1.33; }
.side-post__title a { color: var(--c-link); }
.side-post .oembed { padding-bottom: 0; height: 450px; }
.side-post__content p { margin-bottom: 12.75px; }
.pagination .nav-links { display: flex; gap: 10px; }

/* Single post ------------------------------------------------------------ */
/* Shared card surface (also used by post cards, archive and sidebar boxes). */
.card { border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06); }

.post-single { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.single-post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.single-post__main { overflow: hidden; color: var(--c-text); font-size: var(--fs-body); }
.single-post__image { margin: 0; }
.single-post__image img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.single-post__body { padding: clamp(24px, 4.5vw, 56px); }
.single-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 clamp(20px, 3vw, 28px); padding: 0 0 18px; border-bottom: 1px solid #e3ecef; color: var(--c-muted); font-size: var(--fs-small); }
.single-post__meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: var(--c-teal); vertical-align: middle; }
.single-post__cats a { color: var(--c-link); }
.single-post__content { max-width: var(--measure); line-height: 1.8; }
.single-post__content > :last-child { margin-bottom: 0; }
.single-post__content p { margin-bottom: 1.1em; }
.single-post__content strong { color: inherit; }
.single-post__content h2, .single-post__content h3 { margin-top: 1.4em; }
.single-post__content img { border-radius: 8px; }
.single-post__side { display: flex; flex-direction: column; gap: 20px; }
.share { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; }
.share__label { margin: 0; color: var(--c-text); font-size: var(--fs-small); font-weight: 600; }
.share__links { display: flex; gap: 4px; }
.share__links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--c-link); transition: background .2s; }
.share__links a:hover { background: var(--c-teal-wash); }
.share__links svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.more-posts { padding: 24px; }
.more-posts__heading { margin: 0 0 8px; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.more-posts__item { padding: 16px 0; border-bottom: 1px solid #e3ecef; }
.more-posts__item:last-child { padding-bottom: 0; border-bottom: 0; }
.more-posts__title { margin: 0 0 6px; padding: 0; font-size: var(--fs-small); font-weight: 600; line-height: 1.4; }
.more-posts__title a { color: var(--c-text); }
.more-posts__title a:hover { color: var(--c-link); text-decoration: underline; text-underline-offset: .2em; }
.more-posts__excerpt { margin: 0; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.6; }
.message-box { margin-top: 80px; padding: clamp(24px, 5vw, 45px); border-top: 4px solid var(--c-teal); background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); }
.message-box__heading { margin: 0 0 20px; padding: 0; color: var(--c-navy); font-size: 30px; line-height: 1.3; text-transform: capitalize; }
.message-box .gform_wrapper input:not([type="submit"]),
.message-box .gform_wrapper textarea { padding: 11px; border: 1px solid #c4c4c4; font-family: var(--f-alt); font-size: 15px; }
.message-box .gform_wrapper .gform_button { border-radius: 0; background: #3faacc; font-family: var(--f-alt); font-weight: 400; text-transform: none; padding: 15px 50px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(32px, 5vw, 48px); }
.post-nav a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 24px; border-radius: 12px; background: #fff; color: var(--c-text); box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06); transition: box-shadow .2s; }
.post-nav a:hover { color: var(--c-link); box-shadow: 0 2px 6px rgba(11, 59, 82, .1), 0 12px 32px rgba(11, 59, 82, .1); }
.post-nav__next a { justify-content: flex-end; text-align: right; }
.post-nav__arrow { color: var(--c-link); font-size: 28px; line-height: 1; }
.post-nav__label { display: block; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-nav__title { display: block; font-family: var(--f-serif); font-size: 1.125rem; line-height: 1.5; }

/* 404 -------------------------------------------------------------------- */
.error-404 { padding: clamp(72px, 12vw, 150px) 0 clamp(80px, 13vw, 170px); text-align: center; }
.error-404__kicker { margin: 0 0 12.6px; color: #4a4a4a; font-family: var(--f-alt); font-size: 18px; font-weight: 300; line-height: 1.3; text-transform: capitalize; }
.error-404__heading { margin: 0 0 clamp(32px, 6vw, 70px); color: var(--c-navy); font-family: var(--f-serif); font-size: var(--fs-h1); font-weight: 300; line-height: 1.3; }
.error-404__text { margin: 0 0 27px; color: #211f40; font-family: var(--f-alt); font-size: var(--fs-body); font-weight: 400; }
.error-404__actions { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 760px; margin: 0 auto; }
.search-form { display: flex; flex: 0 0 526px; height: 50px; border: 1px solid #ccc; background: #fff; }
.search-form__input { flex: 1; padding: 0 17px; border: 0; background: transparent; color: var(--c-navy); font-family: var(--f-alt); font-size: 16px; }
.search-form__submit { width: 50px; border: 0; background: #d3b574; color: transparent; font-size: 0; cursor: pointer; position: relative; }
.search-form__submit::before { content: ""; position: absolute; left: 16px; top: 14px; width: 14px; height: 14px; border: 3px solid var(--c-navy); border-radius: 50%; }
.search-form__submit::after { content: ""; position: absolute; left: 29px; top: 26px; width: 3px; height: 8px; background: var(--c-navy); transform: rotate(-45deg); }
.btn-outline { color: var(--c-navy); font-family: var(--f-alt); font-size: 16px; text-decoration: underline; }
.btn-outline::after { content: " \2192"; margin-left: 10px; text-decoration: none; display: inline-block; font-weight: 700; }

/* WooCommerce: archive ---------------------------------------------------- */
.woo-archive { padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 7vw, 80px); }
.woo-archive__grid { display: flex; gap: clamp(32px, 4vw, 48px); }
.woo-archive__main { flex: 1 1 auto; min-width: 0; }
.woo-archive__side { flex: 0 0 340px; align-self: flex-start; padding: 28px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06); }

/* Category intro (product_cat description) */
.term-description { max-width: var(--measure); margin: 0 0 40px; }
.term-description h3 { margin: 0 0 24px; color: var(--c-text); font-size: var(--fs-lead); font-weight: 400; line-height: 1.45; }
.term-description br { display: none; }
.term-description a.ban { display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px; padding: 12px 24px; border-radius: 10px; box-shadow: inset 0 0 0 2px currentColor; color: var(--c-link); font-weight: 700; }
.term-description a.ban:hover { background: var(--c-link); color: #fff; box-shadow: none; }
.term-description a.ban::after { content: " \2197"; margin-left: 8px; }
.series-promo { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 0 0 40px; padding: 20px 24px; border-left: 4px solid var(--c-teal); border-radius: 0 10px 10px 0; background: #fff; }
.series-promo__text { margin: 0; font-size: var(--fs-body); line-height: 1.5; }
.series-promo__text strong { display: block; color: var(--c-text); font-size: var(--fs-h4); }

.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	display: flex; flex-direction: column;
	float: none; width: auto !important; margin: 0 !important;
	padding: 0 0 16px; overflow: hidden; border-radius: 10px; background: #fff; text-align: center;
	box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06);
}
.woocommerce ul.products li.product > a:first-child { display: flex; flex-direction: column; flex: 1 1 auto; padding: 0 12px; color: inherit; }
.woocommerce ul.products li.product a img { width: calc(100% + 24px); max-width: none; margin: 0 -12px 14px; border-radius: 0; aspect-ratio: 5 / 8; object-fit: cover; }
.loop-product-cat { display: block; margin-bottom: 4px; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.35; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 0 8px; padding: 0; color: var(--c-link); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.woocommerce ul.products li.product .price { color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; }
.woocommerce ul.products li.product .star-rating { float: none; margin: 2px auto 10px; font-size: 1rem; }
.woocommerce .star-rating span::before { color: #b07d00; }
.woocommerce .star-rating::before { color: #c9d3d7; opacity: 1; }
.woocommerce ul.products li.product .button { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 4px 16px 0; padding: 12px 16px; border-radius: 10px; background: var(--c-btn); color: #fff; font-size: var(--fs-small); line-height: 1.2; }
.woocommerce ul.products li.product .button:hover { background: var(--c-btn-hover); }

.widget { margin-bottom: 40px; }
.widget:last-child { margin-bottom: 0; }
.widget h2, .widget h3, .widget .widget-title, .widget .wp-block-heading {
	margin: 0 0 12px; padding: 0 0 10px; border-bottom: 2px solid var(--c-teal-wash); color: var(--c-text); font-size: var(--fs-h4); font-weight: 600; line-height: 1.35;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { margin: 0; padding: 6px 0; font-size: var(--fs-small); line-height: 1.5; }
.widget li a { display: inline-block; padding: 2px 0; }
.widget .wc-block-grid__products { display: block; margin: 0; }
.widget .wc-block-grid__product { display: flex; align-items: center; gap: 20px; margin: 0 0 15px; padding: 0 8px; text-align: left; border: 0; max-width: none !important; flex: none !important; }
.widget .wc-block-grid__product-link { display: flex; align-items: center; gap: 20px; }
.widget .wc-block-grid__product-image { flex: 0 0 85px; width: 85px; margin: 0; }
.widget .wc-block-grid__product-image img { border-radius: 8px; }
.widget .wc-block-grid__product-title { font-size: var(--fs-small); font-weight: 600; line-height: 1.35; color: var(--c-link); }

/* WooCommerce: single product -------------------------------------------- */
.woo-single { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 130px); }
.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 30px 30px; }
.woocommerce div.product div.images {
	float: none; width: 446px !important; margin: 0;
	align-self: flex-start;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 8px 24px rgba(11, 59, 82, .08);
}
.woocommerce div.product div.images img { display: block; width: 100%; height: auto; }
.woocommerce div.product div.images .flex-control-thumbs { margin: 0; padding: 12px; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 12px; right: 12px; }
.woocommerce div.product div.summary {
	float: none; flex: 1 1 0; width: auto; margin: 0;
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(28px, 5vw, 64px); border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 8px 24px rgba(11, 59, 82, .08);
}
.woocommerce div.product .woocommerce-product-rating { display: flex; justify-content: flex-start; align-items: center; gap: 10px; margin: 0 0 20px; font-size: var(--fs-xs); }
.woocommerce div.product .woocommerce-product-rating .star-rating { margin: 0; font-size: 1rem; }
.woocommerce div.product .woocommerce-review-link { color: var(--c-link); font-size: var(--fs-xs); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.woocommerce div.product .product_title { margin: 0 0 15px; color: var(--c-link); font-family: "Roboto", var(--f-body); font-size: var(--fs-h2); font-weight: 600; line-height: 1.25; }
.woocommerce div.product .woocommerce-product-details__short-description { margin: 20px 0 28px; font-size: var(--fs-body); font-weight: 400; line-height: 1.7; }
.woocommerce div.product .woocommerce-product-details__short-description strong { color: inherit; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--c-link); font-size: 22px; }
.woocommerce div.product form.cart { margin: 17px 0 0; }
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; min-width: 200px;
	padding: 14px 28px; border: 0; border-radius: 10px; background: var(--c-btn); color: #fff;
	font-family: var(--f-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: .03em; line-height: 1.2; text-transform: uppercase;
	transition: background .3s;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--c-btn-hover); color: #fff; }
.woocommerce div.product .woocommerce-tabs {
	width: 100%; margin: 0; padding: clamp(24px, 5vw, 64px); border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 8px 24px rgba(11, 59, 82, .08);
}
.woocommerce div.product .woocommerce-tabs ul.tabs { margin: 0; padding: 0; border-bottom: 1px solid #d3ced2; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-top: 3px solid transparent; border-radius: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-top-color: var(--c-link); background: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 20px; color: #3e4a50; font-size: var(--fs-small); font-weight: 700; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 24px 0 0; max-width: var(--measure); font-weight: 400; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce .related, .woocommerce .upsells { width: 100%; }
.woocommerce-cart .section--content, .woocommerce-checkout .section--content { padding: 60px 0; }

/* WooCommerce: product options (variation dropdowns, add-on fields) ------- */
.woocommerce div.product form.cart .variations { width: 100%; margin: 0 0 8px; border: 0; border-collapse: collapse; }
.woocommerce div.product form.cart .variations tbody { display: block; width: 100%; }
.woocommerce div.product form.cart .variations tr { display: flex; flex-direction: column; width: 100%; margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; padding: 0; border: 0; line-height: 1.4; text-align: left; }
.woocommerce div.product form.cart .variations th.label { padding: 0 0 8px; }
.woocommerce div.product form.cart .variations label { color: var(--c-text); font-size: var(--fs-small); font-weight: 600; }
.woocommerce div.product form.cart .variations td.value { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
/* WooCommerce hides "Clear" with inline visibility, which still reserves its space. */
.woocommerce div.product form.cart .reset_variations[style*="hidden"] { display: none; }
.woocommerce div.product form.cart .variations select,
.woocommerce-page div.product form.cart .variations select {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 52px;
	margin: 0;
	padding: 12px 48px 12px 16px;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6a8f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 20px 20px;
	box-shadow: 0 1px 2px rgba(11, 59, 82, .06);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.woocommerce div.product form.cart .variations select:hover { border-color: var(--c-link); }
.woocommerce div.product form.cart .variations select:focus-visible { border-color: var(--c-link); outline: 3px solid var(--c-focus); outline-offset: 2px; }
.woocommerce div.product form.cart .variations select:invalid,
.woocommerce div.product form.cart .variations select option[value=""] { color: var(--c-muted); }
.woocommerce div.product form.cart .reset_variations { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--c-link); font-size: var(--fs-xs); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.woocommerce div.product form.cart .reset_variations::before { content: "\00d7"; margin-right: 6px; font-size: 1.25em; line-height: 1; text-decoration: none; }
.woocommerce div.product .woocommerce-variation-price { margin: 0 0 16px; }
.woocommerce div.product .woocommerce-variation-price .price { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--c-teal-wash); color: var(--c-link-hover); font-size: 1.25rem; font-weight: 700; }

/* Woo Custom Product Addons: re-skin its fields with the theme tokens. */
.woocommerce div.product .wcpa_form_outer {
	--wcpaLabelSize: 1rem; --wcpaLabelWeight: 600; --wcpaLabelColor: var(--c-text);
	--wcpaDescSize: 1rem; --wcpaDescColor: var(--c-muted); --wcpaErrorSize: 1rem; --wcpaErrorColor: #b42318;
	--wcpaBorderColor: var(--c-border); --wcpaBorderColorFocus: var(--c-link); --wcpaBorderRadius: 10px;
	--wcpaInputHeight: 52px; --wcpaInputColor: var(--c-text); --wcpaInputBgColor: #fff;
	--wcpaButtonColor: var(--c-btn); --wcpaCheckBgColor: var(--c-btn); --wcpaRadioBgColor: var(--c-btn);
	margin: 8px 0 24px;
}
.woocommerce div.product .wcpa_form_outer p,
.woocommerce div.product .wcpa_form_outer .wcpa_type_content { color: var(--c-text); font-size: var(--fs-small); line-height: 1.55; }
.woocommerce div.product .wcpa_form_outer label { color: var(--c-text); font-size: var(--fs-small); font-weight: 600; }
.woocommerce div.product .wcpa_form_outer textarea,
.woocommerce div.product .wcpa_form_outer input:not([type="checkbox"]):not([type="radio"]),
.woocommerce div.product .wcpa_form_outer select { padding: 12px 16px; border: 1px solid var(--c-border); border-radius: 10px; color: var(--c-text); font-family: var(--f-body); font-size: 1.0625rem; }
.woocommerce div.product .wcpa_form_outer textarea { min-height: 96px; }
.woocommerce div.product .wcpa_form_outer textarea:focus-visible,
.woocommerce div.product .wcpa_form_outer input:focus-visible { border-color: var(--c-link); outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* Add to cart is disabled until an option is chosen; say so clearly instead of a faded grey. */
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled { opacity: 1 !important; background: #d5dee2 !important; color: #3e4a50 !important; cursor: not-allowed; transition: none; }

/* "Additional information" attribute table */
.woocommerce table.shop_attributes { border-top: 1px solid #dde6e9; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td { padding: 14px 16px; border-bottom: 1px solid #dde6e9; font-size: var(--fs-small); line-height: 1.55; text-align: left; vertical-align: top; }
.woocommerce table.shop_attributes th { width: 32%; color: var(--c-text); font-weight: 600; }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; font-style: normal; }
.woocommerce table.shop_attributes tr:nth-child(even) td,
.woocommerce table.shop_attributes tr:nth-child(even) th { background: transparent; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
	.site-header__inner { min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
	.site-logo__img { width: 170px; }
	.menu-toggle { display: block; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		display: none; background: var(--c-blue);
	}
	.site-header.is-open .main-nav { display: block; }
	.main-nav .menu { flex-direction: column; }
	.main-nav .menu > li > a { min-height: 52px; padding: 14px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .15); color: #fff; font-size: 1.0625rem; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; display: none; visibility: visible; opacity: 1; background: #0d5f93; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding-left: 40px; }
	.submenu-toggle {
		display: block; position: absolute; top: 0; right: 0; width: 56px; height: 52px;
		border: 0; background: transparent; cursor: pointer;
	}
	.submenu-toggle::after { content: ""; position: absolute; left: 22px; top: 22px; border: 6px solid transparent; border-top: 7px solid #fff; transition: transform .2s; }
	.is-open > .submenu-toggle::after { transform: rotate(180deg) translateY(4px); }
	.main-nav .sub-menu a { min-height: 48px; padding-left: calc(var(--gutter) + 20px); }

	.two-col__grid, .featured-book__grid, .post-list__grid, .single-post__grid, .woo-archive__grid { flex-direction: column; }
	.two-col .two-col__main, .two-col .two-col__side { width: 100%; padding: 20px 0; }
	.featured-book__copy, .featured-book__media { width: 100%; padding-right: 0; }
	.post-list--sidebar .post-list__main, .single-post__main { flex: none; width: 100%; }
	.single-post__grid { grid-template-columns: 1fr; }
	.woo-archive__side { flex: none; width: 100%; }
	.cards__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	:root { --fs-body: 1.0625rem; } /* 17px */
	.site-logo__img { width: 150px; }
	.title-bar__title { font-weight: 400; }
	.image-banner { padding: 60px 0; min-height: 0 !important; }
	.lead-text__inner { padding-right: 0; }
	.quote__text, .quote__cite { font-weight: 400; }
	.cards { padding: 60px 0; }
	.block-text--indented { padding-left: 16px; border-left: 3px solid var(--c-teal-wash); }
	.post-card { grid-template-columns: 1fr; }
	.post-card__date { flex-direction: row; justify-content: flex-start; gap: 6px; padding: 12px 20px; border-right: 0; border-bottom: 1px solid #e3ecef; }
	.post-card__day { margin: 0; font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; color: var(--c-link-hover); }
	.post-card__month, .post-card__year { letter-spacing: .04em; color: var(--c-link-hover); }
	.post-card__body { padding: 20px 20px 16px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.0625rem; }
	.woocommerce ul.products li.product .button { margin: 4px 10px 0; padding: 10px 8px; font-size: var(--fs-xs); letter-spacing: 0; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li { display: block; }
	.error-404__actions { flex-direction: column; }
	.search-form { flex: none; width: 100%; }
	.woocommerce div.product div.images { width: 100% !important; }
	.woocommerce div.product div.summary, .woocommerce div.product .woocommerce-tabs { padding: 30px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
	.post-nav { grid-template-columns: 1fr; gap: 12px; }
}

/* Gravity Forms theme overrides inside the single-post message box */
.message-box .gform_wrapper .gform_fields { row-gap: 20px !important; }
.message-box .gform_wrapper .gform_footer { margin-top: 20px !important; padding: 0 !important; justify-content: flex-end; }
.message-box .gform_wrapper .gform_button.button,
.message-box .gform_wrapper input[type="submit"] {
	padding: 15px 50px !important; border-radius: 0 !important; background: var(--c-teal-2) !important;
	font-family: var(--f-alt) !important; font-size: 16px !important; font-weight: 400 !important; text-transform: none !important; line-height: 1 !important;
}

/* ==========================================================================
   Design & readability pass
   Contrast fixes (WCAG AA), comfortable line lengths and one consistent card
   style. Kept together here so the changes are easy to review.
   ========================================================================== */

/* Navigation: white on the logo teal is only 2.7:1; the ink teal is 4.8:1. */
.main-nav .menu > li > a:hover,
.main-nav .menu > li:focus-within > a,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current_page_item > a,
.main-nav .menu > li.current-menu-ancestor > a { background: var(--c-teal-ink); }

/* Title bar: start from the deeper teal so the white title stays legible end to end. */
.title-bar { background: var(--c-teal-ink) linear-gradient(180deg, var(--c-teal-ink) 0%, #2a92bc 100%); }

/* Running text: keep lines to a comfortable reading length. */
.two-col .block-text, .lead-text__inner, .featured-book__text { max-width: var(--measure); }

/* Flip cards: rounded like the other cards, and darker title bands (white text AA). */
.flip-card { border-radius: 12px; box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06); }
.flip-card__title, .flip-card__back { box-shadow: inset 0 0 0 999px rgba(11, 30, 40, .28); }
.flip-card__subtitle { font-size: var(--fs-small); color: var(--c-text); }

/* Featured book: a soft scrim behind the copy so white text reads on the bright sky. */
.featured-book { position: relative; isolation: isolate; }
.featured-book::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(11, 59, 82, .78) 0%, rgba(11, 59, 82, .55) 55%, rgba(11, 59, 82, .15) 100%);
}
.featured-book__text { font-size: var(--fs-body); line-height: 1.7; }

/* Testimonial slider: darker, slightly larger quote text. */
.t-slider__text { color: #3a4a52; font-size: var(--fs-lead); line-height: 1.65; }
.t-slider__text h5 { color: var(--c-text); font-size: var(--fs-small); font-weight: 700; letter-spacing: .04em; }

/* Testimonies page: each testimony on its own card. */
.review { margin: 0 0 20px; padding: clamp(20px, 3vw, 28px) clamp(20px, 3.5vw, 32px); border: 0; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06); }
.review__name { color: var(--c-text); font-weight: 600; }
.review__sep, .review__date { color: var(--c-muted); font-size: var(--fs-xs); }
.reviews__form { border-radius: 12px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 3px rgba(11, 59, 82, .08), 0 6px 20px rgba(11, 59, 82, .06); }

/* Boxed text blocks match the card style. */
.block-text--boxed { border-radius: 0 12px 12px 0; box-shadow: 0 1px 3px rgba(11, 59, 82, .06); }

/* 404 search: on-brand button with a white icon, rounded field. */
.search-form { overflow: hidden; border-color: var(--c-border); border-radius: 10px; }
.search-form__submit { background: var(--c-teal-ink); }
.search-form__submit::before { border-color: #fff; }
.search-form__submit::after { background: #fff; }

/* Contact band: the light teal set on the page fails contrast with white labels;
   the ink teal (4.8:1) keeps the brand colour and passes. */
.contact-band { background-color: var(--c-teal-ink) !important; }
.contact-band .gform_wrapper .gform_button, .contact-band .gform_wrapper input[type="submit"] { color: var(--c-link-hover); }

/* Short pages: keep the footer at the bottom of the window. */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
