/* ==========================================================================
   Ciora Cafe – SEO landing pages
   Used by: page-templates/template-*-dinner.php, template-family-restaurant.php

   Design tokens are copied from the existing landing-page design system
   (woodmart/assets/css/style.css + responsive.css). No new fonts or colours.
   Everything is scoped to .cio-page so Woodmart's header/footer stay untouched.

   Breakpoints (mobile first): 576 / 768 / 992 / 1200 / 1400
   ========================================================================== */

/* ---------- Woodmart wrapper reset (full-bleed sections) ---------- */
.cio-seo-page .wd-content-layout {
	display: block;
	max-width: none;
	padding: 0;
	margin: 0;
}

/* These pages never have a sidebar, so hide Woodmart's floating mobile sidebar button. */
.cio-seo-page .wd-sidebar-opener {
	display: none !important;
}

/* ---------- Tokens ---------- */
.cio-page {
	/* Colours – names in comments are the originals in style.css */
	--cio-teal: rgba(74, 129, 133, 1);          /* --text-blue / --bg-blue  */
	--cio-teal-deep: #4f7f80;                   /* FAQ active state          */
	--cio-navy: #0B3454;                        /* --text-primary            */
	--cio-sky: rgba(123, 210, 237, 1);          /* menu-section clock icon   */
	--cio-sky-soft: rgba(123, 210, 237, 0.1);   /* FAQ question background   */
	--cio-sky-line: #90D0EA;                    /* FAQ left border           */
	--cio-mist: #eef2f5;                        /* FAQ item background       */
	--cio-orange: #E7B368;                      /* --bg-orange (stars)       */
	--cio-gray: #7F8285;                        /* --text-gray               */
	--cio-black: #000000;                       /* --text-black              */
	--cio-white: #FFFFFF;
	--cio-white-84: rgba(255, 255, 255, 0.84);  /* --bg-white-80             */
	--cio-glass: rgba(255, 255, 255, 0.18);     /* hero badge                */
	--cio-glass-line: rgba(255, 255, 255, 0.25);
	--cio-overlay: rgba(0, 0, 0, 0.4);          /* --bg-black-40             */
	--cio-gradient: linear-gradient(93deg, #74BECC 0%, #5B9C9C 82.69%, #569592 100%);
	--cio-slide-fade: linear-gradient(180deg, rgba(74, 129, 133, 0) 0%, #4A8185 79.3%);

	/* Type */
	--cio-font-display: "Cormorant Garamond", Georgia, serif;
	--cio-font-ui: "Be Vietnam Pro", sans-serif;
	--cio-font-body: "Lato", Arial, Helvetica, sans-serif;
	--cio-h1: clamp(1.75rem, 1.25rem + 2.2vw, 3.75rem);     /* 60px max */
	--cio-h2: clamp(1.625rem, 1.1rem + 1.9vw, 2.75rem);     /* 44px max */
	--cio-h2-xl: clamp(1.75rem, 1.1rem + 2.2vw, 3.375rem);  /* 54px max */
	--cio-text: 1rem;

	/* Shape + depth */
	--cio-radius-card: 43px;
	--cio-radius-media: 28px;
	--cio-shadow-card: -20px -20px 50px 0 #FFF, 11px 11px 20px 0 #D2D2D2;
	--cio-shadow-float: 0 14px 38px rgba(0, 0, 0, 0.12);
	--cio-shadow-badge: 0 11.333px 18.333px 0 rgba(23, 26, 31, 0.22), 0 0 2.667px 0 rgba(23, 26, 31, 0.08);

	/* Layout */
	--cio-container: var(--wd-container-w, 1222px); /* same width as Woodmart header/footer */
	--cio-gutter: 15px;
	--cio-section-y: 40px;
	--cio-gap: 40px;
	--cio-pattern: url("../images/teal-pattern.webp");

	overflow-x: clip;
	color: var(--cio-gray);
	font-family: var(--cio-font-body);
	font-size: var(--cio-text);
	line-height: 1.7;
}

.cio-page *,
.cio-page *::before,
.cio-page *::after {
	box-sizing: border-box;
}

.cio-page img {
	max-width: 100%;
}

.cio-page svg.cio-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

.cio-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Layout helpers ---------- */
.cio-container {
	width: 100%;
	max-width: var(--cio-container);
	margin-inline: auto;
	padding-inline: var(--cio-gutter);
}

.cio-section {
	padding-block: var(--cio-section-y);
}

/* Two white sections in a row share one gap instead of two. */
.cio-section.cio-on-white + .cio-section.cio-on-white {
	padding-top: calc(var(--cio-section-y) * 0.35);
}

.cio-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--cio-gap);
	align-items: center;
}

.cio-split__text,
.cio-split__media {
	min-width: 0;
}

/* ---------- Typography ---------- */
.cio-page .cio-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-family: var(--cio-font-ui);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--cio-teal);
}

.cio-page .cio-eyebrow .cio-icon {
	color: var(--cio-orange);
	fill: var(--cio-orange);
	stroke: var(--cio-orange);
}

.cio-page .cio-title {
	margin: 0 0 22px;
	font-family: var(--cio-font-display);
	font-size: var(--cio-h2);
	font-style: italic;
	font-weight: 600; /* style.css asks for 700; 600 is the heaviest weight loaded, so this matches what renders today */
	line-height: 1.2;
	color: var(--cio-black);
	text-wrap: balance;
	text-transform: none;
	letter-spacing: 0;
}

.cio-page .cio-title .cio-hl {
	font-weight: 500;
	color: var(--cio-teal);
}

.cio-page .cio-head {
	max-width: 820px;
	margin: 0 auto 36px;
	text-align: center;
}

.cio-page .cio-head .cio-title {
	margin-bottom: 0;
}

.cio-page .cio-head .cio-head__intro {
	margin: 16px auto 0;
	max-width: 680px;
}

.cio-page .cio-subhead {
	margin: 0 0 14px;
	font-family: var(--cio-font-ui);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cio-black);
	text-transform: none;
}

.cio-page .cio-richtext {
	font-family: var(--cio-font-body);
	font-size: var(--cio-text);
	line-height: 1.7;
	color: var(--cio-gray);
}

.cio-page .cio-richtext > * {
	margin: 0 0 16px;
}

.cio-page .cio-richtext > *:last-child {
	margin-bottom: 0;
}

.cio-page .cio-richtext a {
	color: var(--cio-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cio-page .cio-richtext ul,
.cio-page .cio-richtext ol {
	padding-left: 1.25em;
}

.cio-page .cio-richtext ul { list-style: disc; }
.cio-page .cio-richtext ol { list-style: decimal; }

.cio-page .cio-richtext strong {
	color: var(--cio-black);
	font-weight: 700;
}

/* ---------- Buttons ---------- */
.cio-page .cio-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
}

.cio-page .cio-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 14px 28px;
	border: 0;
	border-radius: 60px;
	font-family: var(--cio-font-body);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.3px;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background 0.3s ease-in-out, color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.cio-page .cio-btn .cio-icon {
	font-size: 1rem;
}

.cio-page .cio-btn--primary {
	background: var(--cio-gradient);
	color: var(--cio-white);
}

.cio-page .cio-btn--primary:hover,
.cio-page .cio-btn--primary:focus-visible {
	background: var(--cio-white-84);
	color: var(--cio-teal);
	box-shadow: inset 0 0 0 1px var(--cio-teal);
}

.cio-page .cio-btn--light {
	background: var(--cio-white-84);
	color: var(--cio-teal);
}

.cio-page .cio-btn--light:hover,
.cio-page .cio-btn--light:focus-visible {
	background: var(--cio-gradient);
	color: var(--cio-white);
}

.cio-page a:focus-visible,
.cio-page button:focus-visible,
.cio-page summary:focus-visible,
.cio-page [tabindex]:focus-visible {
	outline: 2px solid var(--cio-sky);
	outline-offset: 3px;
}

/* ---------- Media frames (every image fills its frame, never stretches) ---------- */
.cio-page .cio-frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--cio-ratio, 4 / 3);
	background-color: var(--cio-mist);
}

.cio-page .cio-frame > img,
.cio-page .cio-frame > picture > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.cio-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 78vh;
	min-height: 78svh;
	padding: calc(var(--wd-header-sm-h, 60px) + 48px) 20px 64px;
	overflow: hidden;
	text-align: center;
	background-color: var(--cio-teal);
	isolation: isolate;
}

.cio-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.cio-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.cio-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--cio-overlay);
}

.cio-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 900px;
	color: var(--cio-white);
}

.cio-page .cio-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	padding: 9px 16px;
	border: 1px solid var(--cio-glass-line);
	border-radius: 999px;
	background-color: var(--cio-glass);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-family: var(--cio-font-body);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--cio-white);
}

.cio-page .cio-hero__badge .cio-icon {
	font-size: 0.875rem;
}

.cio-page .cio-hero__title {
	margin: 0 0 18px;
	font-family: var(--cio-font-display);
	font-size: var(--cio-h1);
	font-style: italic;
	font-weight: 600;
	line-height: 1.15;
	color: var(--cio-white);
	text-wrap: balance;
	text-transform: none;
	letter-spacing: 0;
}

.cio-page .cio-hero__subtitle {
	max-width: 640px;
	margin: 0 0 30px;
	font-family: var(--cio-font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--cio-white);
}

.cio-page .cio-hero .cio-actions {
	justify-content: center;
	margin-top: 0;
}

/* ==========================================================================
   2. INTRO (text + arch image)
   ========================================================================== */
.cio-points {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.cio-page .cio-points li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--cio-font-body);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--cio-navy);
}

.cio-page .cio-points .cio-icon {
	font-size: 1.25rem;
	color: var(--cio-teal);
}

.cio-arch {
	position: relative;
	width: 100%;
	max-width: 460px;
	margin-inline: auto;
}

.cio-arch .cio-frame {
	--cio-ratio: 23 / 25;
	/* Semicircular top at any width: 50% of the width = 46% of the height for a 23:25 frame. */
	border-radius: 50% 50% var(--cio-radius-media) var(--cio-radius-media) / 46% 46% var(--cio-radius-media) var(--cio-radius-media);
	box-shadow: var(--cio-shadow-float);
}

.cio-rating {
	position: absolute;
	top: 28px;
	right: -6px;
	min-width: 120px;
	padding: 12px 16px;
	border-radius: 14px;
	background-color: var(--cio-white);
	box-shadow: var(--cio-shadow-float);
	text-align: left;
}

.cio-page .cio-rating__score {
	display: block;
	font-family: var(--cio-font-body);
	font-size: 1.25rem;
	line-height: 1;
	color: var(--cio-navy);
}

.cio-rating__stars {
	display: flex;
	gap: 2px;
	margin: 6px 0;
	font-size: 0.75rem;
	color: var(--cio-orange);
}

.cio-page .cio-rating__stars .cio-icon {
	fill: currentColor;
}

.cio-page .cio-rating__text {
	display: block;
	max-width: 170px;
	font-family: var(--cio-font-body);
	font-size: 0.75rem;
	line-height: 1.3;
	color: var(--cio-gray);
}

/* ==========================================================================
   3. HIGHLIGHT CARDS
   ========================================================================== */
.cio-cards__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px;
	align-items: center;
}

.cio-cards__panel {
	max-width: 520px;
}

.cio-cards__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cio-page .cio-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 16px 16px 24px;
	border-radius: var(--cio-radius-card);
	background-color: var(--cio-white);
	box-shadow: var(--cio-shadow-card);
	text-align: center;
	transition: transform 0.3s ease;
}

.cio-card .cio-frame {
	--cio-ratio: 16 / 10;
	border-radius: 30px;
}

@media (min-width: 576px) {
	.cio-card .cio-frame {
		--cio-ratio: 4 / 3;
	}
}

.cio-page .cio-card__title {
	margin: 18px 0 0;
	font-family: var(--cio-font-ui);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--cio-black);
	text-transform: none;
	transition: color 0.3s ease;
}

.cio-page .cio-card__text {
	margin: 8px 0 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--cio-gray);
}

.cio-page .cio-card:hover {
	transform: translateY(-4px);
}

.cio-page .cio-card:hover .cio-card__title {
	color: var(--cio-teal);
}

/* ==========================================================================
   4. TEAL BAND (image + text on pattern)
   ========================================================================== */
.cio-band {
	background-color: var(--cio-teal);
	background-image: var(--cio-pattern);
	background-position: center;
	background-size: cover;
}

.cio-band .cio-frame {
	--cio-ratio: 4 / 3;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 20px;
	box-shadow: var(--cio-shadow-float);
}

.cio-page .cio-band .cio-title,
.cio-page .cio-band .cio-richtext,
.cio-page .cio-band .cio-richtext strong,
.cio-page .cio-band .cio-richtext a {
	color: var(--cio-white);
}

.cio-page .cio-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-family: var(--cio-font-body);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--cio-white);
}

.cio-page .cio-meta .cio-icon {
	font-size: 1.125rem;
	color: var(--cio-sky);
}

/* ==========================================================================
   5. TEXT + IMAGE WITH QUOTE
   ========================================================================== */
.cio-quote__media {
	position: relative;
	padding-top: 28px;
}

.cio-quote__media .cio-frame {
	--cio-ratio: 4 / 3;
	border-radius: var(--cio-radius-media) 80px var(--cio-radius-media) var(--cio-radius-media);
}

.cio-page .cio-quote-card {
	position: absolute;
	top: 0;
	right: 12px;
	max-width: min(240px, 70%);
	margin: 0;
	padding: 14px 18px;
	border: 0;
	border-radius: 14px;
	background-color: rgba(255, 255, 255, 0.68);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: var(--cio-shadow-float);
	text-align: center;
}

.cio-page .cio-quote-card img {
	display: block;
	width: 28px;
	height: 28px;
	margin: 0 0 6px;
}

.cio-page .cio-quote-card p {
	margin: 0;
	font-family: var(--cio-font-body);
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.4;
	color: var(--cio-black);
	text-align: left;
}

/* ==========================================================================
   6. WHY CHOOSE US (image with badges + checklist)
   ========================================================================== */
.cio-why__media {
	position: relative;
	max-width: 520px;
	margin-inline: auto;
	padding: 34px 0;
}

.cio-why__media .cio-frame {
	--cio-ratio: 45 / 49;
	border-radius: 0 80px 0 80px;
	box-shadow: var(--cio-shadow-float);
}

.cio-badge {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 72%;
	padding: 12px 16px;
	border-radius: 21.333px;
	background-color: var(--cio-white);
	box-shadow: var(--cio-shadow-badge);
}

.cio-badge--1 {
	top: 0;
	left: 0;
}

.cio-badge--2 {
	right: 0;
	bottom: 0;
}

.cio-badge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: var(--cio-sky-soft);
	color: var(--cio-teal);
	font-size: 1.125rem;
}

.cio-page .cio-badge__title {
	display: block;
	margin: 0;
	font-family: var(--cio-font-ui);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--cio-black);
}

.cio-page .cio-badge__text {
	display: block;
	margin: 2px 0 0;
	font-family: var(--cio-font-ui);
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--cio-black);
}

.cio-checklist {
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.cio-page .cio-checklist li {
	margin: 0 0 22px;
}

.cio-page .cio-checklist li:last-child {
	margin-bottom: 0;
}

.cio-page .cio-checklist__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 4px;
	font-family: var(--cio-font-ui);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--cio-black);
	text-transform: none;
}

.cio-page .cio-checklist__title img {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.cio-page .cio-checklist p {
	margin: 0;
	padding-left: 30px;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--cio-gray);
}

/* ==========================================================================
   7. CAROUSEL (native scroll-snap + light JS for the curved effect)
   ========================================================================== */
.cio-carousel {
	position: relative;
	--cio-slide-w: min(82vw, 680px);
	--cio-slide-gap: 20px;
}

.cio-carousel__track {
	position: relative;
	display: flex;
	gap: var(--cio-slide-gap);
	margin: 0;
	padding: 24px calc((100% - var(--cio-slide-w)) / 2) 64px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: calc((100% - var(--cio-slide-w)) / 2);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.cio-carousel__track::-webkit-scrollbar {
	display: none;
}

.cio-page .cio-slide {
	flex: 0 0 var(--cio-slide-w);
	margin: 0;
	scroll-snap-align: center;
}

.cio-slide__card {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	will-change: transform;
}

.cio-slide__card .cio-frame {
	--cio-ratio: 4 / 5;
}

.cio-slide__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px 24px;
	background: var(--cio-slide-fade);
}

.cio-page .cio-slide__title {
	margin: 0 0 6px;
	font-family: var(--cio-font-ui);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--cio-white);
	text-transform: none;
}

.cio-page .cio-slide__text {
	margin: 0;
	font-family: var(--cio-font-ui);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--cio-white);
}

.cio-carousel__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: -24px;
}

.cio-page .cio-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--cio-gradient);
	color: var(--cio-white);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.cio-page .cio-carousel__btn:hover {
	transform: translateY(-2px);
}

.cio-page .cio-carousel__btn:disabled {
	opacity: 0.35;
	cursor: default;
	transform: none;
}

/* ==========================================================================
   8. FAQ (native <details>, no JS needed)
   ========================================================================== */
.cio-faq__list {
	display: grid;
	gap: 12px;
}

.cio-faq__item {
	overflow: hidden;
	border-left: 4px solid var(--cio-sky-line);
	background-color: var(--cio-mist);
}

.cio-page .cio-faq__q {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 18px;
	background-color: var(--cio-sky-soft);
	color: var(--cio-black);
	list-style: none;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.cio-faq__q::-webkit-details-marker {
	display: none;
}

.cio-faq__q::marker {
	content: "";
}

.cio-page .cio-faq__title {
	margin: 0;
	font-family: var(--cio-font-ui);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	color: inherit;
	text-transform: none;
}

.cio-faq__chev {
	font-size: 1.25rem;
	transition: transform 0.25s ease;
}

.cio-faq__item[open] .cio-faq__q {
	background-color: var(--cio-teal-deep);
	color: var(--cio-white);
}

.cio-faq__item[open] .cio-faq__chev {
	transform: rotate(180deg);
}

.cio-page .cio-faq__a {
	padding: 0 18px 20px 54px;
	background-color: var(--cio-teal-deep);
	font-family: var(--cio-font-ui);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.cio-page .cio-faq__a > * {
	margin: 0 0 10px;
}

.cio-page .cio-faq__a > *:last-child {
	margin-bottom: 0;
}

.cio-page .cio-faq__a a {
	color: var(--cio-white);
	text-decoration: underline;
}

/* ==========================================================================
   9. CTA BANNER (teal box)
   ========================================================================== */
.cio-cta__box {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	border-radius: 44px 20px;
	background-color: var(--cio-teal);
	background-image: var(--cio-pattern);
	background-position: center;
	background-size: cover;
}

.cio-cta__media .cio-frame {
	--cio-ratio: 4 / 3;
	height: 100%;
	background-color: transparent;
}

.cio-cta__body {
	padding: 32px 24px 36px;
}

.cio-page .cio-cta .cio-title {
	font-size: var(--cio-h2-xl);
	color: var(--cio-white);
}

.cio-page .cio-cta .cio-title .cio-hl {
	color: var(--cio-white);
}

.cio-page .cio-cta .cio-richtext,
.cio-page .cio-cta .cio-richtext strong,
.cio-page .cio-cta .cio-richtext a {
	color: var(--cio-white);
}

/* ==========================================================================
   10. TEXT + 4-PHOTO MOSAIC
   ========================================================================== */
.cio-mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: start;
}

.cio-mosaic__col {
	display: grid;
	gap: 12px;
}

.cio-mosaic .cio-frame {
	--cio-ratio: 1 / 1;
}

.cio-mosaic .cio-frame.is-short {
	--cio-ratio: 3 / 2;
}

.cio-mosaic .cio-frame img {
	transition: transform 0.4s ease;
}

.cio-mosaic .cio-frame:hover img {
	transform: scale(1.05);
}

.cio-mosaic .r-1 { border-radius: 24px 24px 0 24px; }
.cio-mosaic .r-2 { border-radius: 24px 24px 24px 0; }
.cio-mosaic .r-3 { border-radius: 24px 0 24px 24px; }
.cio-mosaic .r-4 { border-radius: 0 24px 24px 24px; }

/* ==========================================================================
   11. SIMPLE TEXT BLOCK
   ========================================================================== */
.cio-textblock {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.cio-textblock .cio-actions {
	justify-content: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 576px) {
	.cio-page {
		--cio-section-y: 50px;
	}

	.cio-hero {
		padding-inline: 24px;
	}

	.cio-page .cio-hero__subtitle {
		font-size: 1.125rem;
	}

	.cio-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cio-badge {
		max-width: 62%;
		padding: 16px 20px;
	}

	.cio-page .cio-badge__title {
		font-size: 1rem;
	}

	.cio-page .cio-badge__text {
		font-size: 0.875rem;
	}

	.cio-page .cio-faq__q {
		padding: 24px 20px;
	}

	.cio-page .cio-faq__title {
		font-size: 1.125rem;
	}

	.cio-page .cio-faq__a {
		padding: 0 60px 22px;
		font-size: 1rem;
	}

	.cio-cta__body {
		padding: 44px 40px 48px;
	}

	.cio-mosaic,
	.cio-mosaic__col {
		gap: 16px;
	}
}

@media (min-width: 768px) {
	.cio-page {
		--cio-section-y: 60px;
	}

	.cio-carousel {
		--cio-slide-w: min(64vw, 680px);
		--cio-slide-gap: 40px;
	}

	.cio-hero {
		min-height: 80vh;
		min-height: 80svh;
	}

	.cio-cards__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cio-cards__grid:has(> li:nth-child(4)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cio-slide__card {
		border-radius: 40px;
	}

	.cio-slide__card .cio-frame {
		--cio-ratio: 16 / 10;
	}

	.cio-slide__overlay {
		padding: 36px 40px;
	}

	.cio-page .cio-slide__title {
		font-size: 1.5rem;
	}

	.cio-page .cio-slide__text {
		font-size: 1rem;
	}

	.cio-cta__box {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cio-cta__media .cio-frame {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.cio-cta__body {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 56px 48px;
	}

	.cio-cta__box.is-media-right .cio-cta__media {
		order: 2;
	}
}

@media (min-width: 992px) {
	.cio-page {
		--cio-section-y: 70px;
		--cio-gap: 60px;
	}

	.cio-hero {
		min-height: 100vh;
		min-height: 100svh;
		padding: calc(var(--wd-header-h, 105px) + 40px) 24px 80px;
	}

	.cio-page .cio-hero__badge {
		margin-bottom: 26px;
		padding: 11px 18px;
		letter-spacing: 1.5px;
	}

	.cio-page .cio-hero__title {
		margin-bottom: 20px;
	}

	.cio-split {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	}

	/* Default: text left, image right. .is-media-left flips it. */
	.cio-split.is-media-left {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	}

	.cio-split.is-media-left .cio-split__media {
		order: -1;
	}

	.cio-arch {
		margin-inline: auto 0;
	}

	.cio-split.is-media-left .cio-arch {
		margin-inline: 0 auto;
	}

	.cio-rating {
		top: 36px;
		right: -24px;
		padding: 14px 18px;
		min-width: 130px;
	}

	.cio-cards__layout {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: 48px;
	}

	.cio-cards__layout.is-full {
		grid-template-columns: minmax(0, 1fr);
	}

	.cio-page .cio-card {
		padding: 20px 20px 28px;
	}

	.cio-band .cio-frame {
		max-width: 520px;
	}

	.cio-band .cio-split:not(.is-media-left) .cio-frame {
		margin-left: auto;
	}

	.cio-quote__media {
		padding-top: 36px;
	}

	.cio-page .cio-quote-card {
		right: -18px;
		padding: 16px 20px;
	}

	.cio-why__media {
		margin-inline: 0 auto;
		padding: 44px 40px 44px 24px;
	}

	.cio-badge--1 {
		top: 0;
		left: 0;
	}

	.cio-badge--2 {
		right: 0;
		bottom: 12px;
	}

	.cio-carousel {
		--cio-slide-gap: 60px;
	}

	.cio-mosaic .r-4,
	.cio-mosaic .r-1 {
		--cio-ratio: 49 / 50;
	}
}

@media (min-width: 1200px) {
	.cio-page {
		--cio-gap: 70px;
	}

	.cio-carousel {
		--cio-slide-gap: 80px;
	}

	.cio-badge {
		padding: 22px 26px;
	}

	.cio-page .cio-badge__title {
		font-size: 1.125rem;
	}

	.cio-page .cio-badge__text {
		font-size: 1rem;
	}

	.cio-badge__icon {
		width: 44px;
		height: 44px;
		font-size: 1.25rem;
	}

	.cio-page .cio-faq__q {
		padding: 30px 20px;
	}

	.cio-page .cio-faq__title {
		font-size: 1.25rem;
	}

	.cio-cta__body {
		padding: 64px 56px;
	}
}

/* Hero: short landscape screens (phones turned sideways) */
@media (max-height: 600px) and (orientation: landscape) {
	.cio-hero {
		min-height: auto;
		padding-top: calc(var(--wd-header-sm-h, 60px) + 32px);
		padding-bottom: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cio-page *,
	.cio-page *::before,
	.cio-page *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
