/*
 * Crystal Clear theme: main stylesheet.
 * Loads on every page. Sections:
 *  1 Fonts  2 Tokens  3 Base  4 Layout and utilities  5 Header  6 Buttons and links
 *  7 Page hero  8 Content flow and core blocks  9 Content components  10 Footer
 *  11 Mobile action bar and eka.care widget  12 WordPress classes  13 Motion and print
 * Look: mockup of 6 Dec 2026 (rebuild/reference/mockup-2026-12-06/).
 * Class reference: rebuild/DESIGN-SYSTEM.md
 *
 * Tokens (custom properties on :root and body, so a :root block inside post content cannot
 * override them) other stylesheets may use:
 *  Colour  --ink --ink-soft --muted (--muted-ink) --paper --wash --section --sky --line
 *          --teal-dark --teal --teal-light --teal-soft --gold (coral accent) --gold-soft
 *          --urgent --urgent-ink --on-dark --on-dark-muted --header
 *  Shape   --radius-pill --radius-btn --radius-panel (0) --radius-md (0) --radius-sm --shadow-md
 *  Type    --font-sans (DM Sans) --font-display (Sora) --font-mono (system mono)
 *          --text-xs --text-sm --text-base --text-lg --text-xl --text-2xl
 *          --tracking-tight --tracking-label
 *  Layout  --container --gutter --measure --header-h --space-section --ease-out --logo-h
 */

/* 1 Fonts ------------------------------------------------------------------ */

/* Sora (headings) and DM Sans (text), variable, latin subset, from @fontsource-variable 5.3.0
   (SIL OFL 1.1, see assets/fonts/OFL-*.txt). Labels and buttons use the system monospace stack,
   as the mockup does, so there is no third font file. */
@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 100 800;
	font-display: swap;
	src: url("../fonts/sora-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("../fonts/dm-sans-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2 Tokens ----------------------------------------------------------------- */

:root,
body {
	/* Colour (mockup of 6 Dec 2026: mint, warm paper and coral). Hex first, oklch below.
	   The token names stay the same as before so blog.css and pages.css follow the new look.
	   --gold is the coral accent; ink text on it is 5.1:1. --urgent-ink is one step darker
	   than the mockup (oklch 57%) so it reaches 4.9:1 on the urgent and sky backgrounds. */
	--ink: #1b1916;
	--ink-soft: #1c3a13;
	--teal-dark: #1c3a13;
	--teal: #1c3a13;
	--teal-light: #d2d8d0;
	--teal-soft: #e8f0ee;
	--paper: #f6f6f4;
	--wash: #e8f0ee;
	--sky: #fbe7e0;
	--section: #e5eee6;
	--line: #d2d8d0;
	--muted: #6b6359;
	--urgent: #fbe7e0;
	--urgent-ink: #b23a24;
	--on-dark: #f6f6f4;
	--on-dark-muted: #d2d8d0;
	--gold: #e5604a;
	--gold-soft: #fbe7e0;
	--header: rgb(246 246 244 / 0.94);
	--muted-ink: var(--muted);

	/* Shape: square panels and cards, rounded buttons and pills, as in the mockup. */
	--radius-pill: 999px;
	--radius-btn: 16px;
	--radius-panel: 0px;
	--radius-md: 0px;
	--radius-sm: 4px;
	--shadow-md: 0 18px 40px -24px rgb(27 25 22 / 0.28);

	/* Type */
	--font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-display: "Sora", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--tracking-tight: -0.04em;
	--tracking-label: 0.14em;

	/* Layout */
	--container: 80rem;
	--gutter: 1.25rem;
	--measure: 46rem;
	--logo-h: 52px;
	--header-h: 77px;
	--space-section: clamp(4rem, 3rem + 4vw, 6rem);
	--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@supports (color: oklch(0% 0 0)) {
	:root,
	body {
		--ink: oklch(21.46% 0.0066 78.18);
		--ink-soft: oklch(31.46% 0.0734 139.03);
		--teal-dark: oklch(31.46% 0.0734 139.03);
		--teal: oklch(31.46% 0.0734 139.03);
		--teal-light: oklch(87.53% 0.0126 137.79);
		--teal-soft: oklch(94.85% 0.0089 179.6);
		--paper: oklch(97.26% 0.0026 106.45);
		--wash: oklch(94.85% 0.0089 179.6);
		--sky: oklch(94.21% 0.0239 40.34);
		--section: oklch(94% 0.014 150);
		--line: oklch(87.53% 0.0126 137.79);
		--muted: oklch(50.41% 0.0185 73.5);
		--urgent: oklch(94.21% 0.0239 40.34);
		--urgent-ink: oklch(52% 0.16 32.67);
		--on-dark: oklch(97.26% 0.0026 106.45);
		--on-dark-muted: oklch(87.53% 0.0126 137.79);
		--gold: oklch(65.35% 0.1701 31.5);
		--gold-soft: oklch(94.21% 0.0239 40.34);
		--header: oklch(97.26% 0.0026 106.45 / 0.94);
	}
}

@media (min-width: 768px) {
	:root,
	body { --gutter: 2rem; }
}


@media (min-width: 1280px) {
	:root,
	body { --gutter: 3rem; }
}

/* 3 Base ------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1.5rem);
	background: var(--paper);
}

body {
	margin: 0;
	min-width: 0;
	overflow-x: clip;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--text-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

p, figure, blockquote, dl, dd, pre { margin: 0; }

img, svg, video, canvas, iframe, embed, object { max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-underline-offset: 0.2em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--teal-light); color: var(--ink); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }

hr { border: 0; border-top: 1px solid var(--line); }

/* 4 Layout and utilities ---------------------------------------------------- */

.cc-container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.cc-main { display: block; }

.cc-band { padding-block: var(--space-section); }
.cc-band--wash { background: var(--wash); }
.cc-band--sky { background: var(--sky); }
.cc-band--section { background: var(--section); }
.cc-band--urgent { background: var(--urgent); color: var(--urgent-ink); }

.cc-icon { display: inline-block; flex: none; vertical-align: middle; }

.cc-mono { font-family: var(--font-mono); font-weight: 600; }
.cc-muted { color: var(--muted); }

.cc-eyebrow {
	margin: 0 0 1rem;
	color: var(--teal-dark);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	line-height: 1rem;
	text-transform: uppercase;
}

.cc-eyebrow--icon { display: flex; align-items: center; gap: 0.5rem; }

.cc-display {
	font-size: clamp(2.75rem, 1.6rem + 4.2vw, 4.6rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.05em;
}

.cc-h2 {
	font-size: 2.25rem;
	line-height: 2.5rem;
	letter-spacing: var(--tracking-tight);
}

.cc-h2--sm {
	font-size: 1.875rem;
	line-height: 2.25rem;
	letter-spacing: -0.035em;
}

@media (min-width: 768px) {
	.cc-h2 { font-size: 3rem; line-height: 1; }
	.cc-h2--sm { font-size: 2.25rem; line-height: 2.5rem; }
}

.cc-h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	line-height: 1.25;
}

.cc-lead {
	color: var(--muted);
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.6;
	max-width: 44rem;
}

.cc-skip-link {
	position: fixed;
	top: 0.75rem;
	left: 1rem;
	z-index: 100001;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-pill);
	background: var(--ink);
	color: var(--on-dark);
	text-decoration: none;
	transform: translateY(-180%);
	transition: transform 0.16s ease-out;
}

.cc-skip-link:focus { transform: translateY(0); }

/* 5 Header ------------------------------------------------------------------ */

.cc-topbar {
	background: var(--wash);
	color: var(--ink);
	font-size: var(--text-xs);
}

.cc-topbar__inner,
.cc-topbar__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
}

.cc-topbar__inner { flex-direction: column; align-items: flex-start; padding-block: 0.75rem; }

.cc-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}

a.cc-topbar__item:hover { text-decoration: underline; }
.cc-topbar__phone { font-weight: 600; }
.cc-topbar__hours { white-space: nowrap; }
.cc-topbar__area { font-weight: 400; }

@media (min-width: 768px) {
	.cc-topbar__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0; }
}

.cc-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--line);
	background: var(--header);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.admin-bar .cc-header { top: var(--wp-admin--admin-bar--height, 32px); }

@media (max-width: 600px) {
	.admin-bar .cc-header { top: 0; }
}

.cc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 76px;
	padding-block: 0.5rem;
}

/* Brand: "JG" monogram, name and "Eye Clinic" label (header and footer). */
.cc-brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.75rem;
	min-height: 48px;
	color: var(--ink);
	text-decoration: none;
}

.cc-brand__mark {
	display: flex;
	width: 2.5rem;
	height: 2.5rem;
	flex: none;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--teal);
	border-radius: 50%;
	color: var(--teal);
	font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1;
}

/* Logo image (ring with JG plus the name). Height sets the size; width follows the aspect ratio. */
.cc-brand__logo {
	display: block;
	width: auto;
	height: 3rem;
	max-width: 100%;
}

@media (min-width: 768px) {
	.cc-brand__logo { height: 3.75rem; }
}

.cc-footer__brand .cc-brand__logo { height: 4rem; }

.cc-brand__text { line-height: 1; }

.cc-brand__name {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.5rem;
}

.cc-brand__sub {
	display: block;
	margin-top: 0.25rem;
	line-height: 1rem;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	opacity: 0.8;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.cc-brand__name { font-size: 1.125rem; line-height: 1.75rem; }
}

.cc-logo {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 48px;
	border-radius: var(--radius-sm);
}

.cc-logo__picture { display: block; }

.cc-logo__img {
	display: block;
	width: auto;
	height: var(--logo-h);
}

.cc-nav { display: none; }

.cc-nav__list {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.65rem 0.75rem;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: box-shadow 0.18s ease-out, transform 0.18s ease-out;
}

/* Hover shows a light rule; the current item gets the gold rule (as in the mockup). */
.cc-nav__list a:hover { box-shadow: inset 0 -3px 0 var(--line); transform: translateY(-1px); }

.cc-nav__list a.is-active,
.cc-nav__list a[aria-current],
.cc-nav__list .current-menu-item > a {
	box-shadow: inset 0 -3px 0 var(--gold);
	color: var(--ink);
}

.cc-header .cc-header__book { display: none; }

.cc-menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	flex: none;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	transition: transform 0.18s ease-out;
}

.cc-menu-toggle:hover { transform: scale(0.95); }
.js .cc-menu-toggle { display: inline-flex; }
.cc-menu-toggle__close,
.cc-menu-toggle[aria-expanded="true"] .cc-menu-toggle__open { display: none; }
.cc-menu-toggle[aria-expanded="true"] .cc-menu-toggle__close { display: block; }

/* Mobile menu: full screen, as in the mockup. While it is open the header row (brand and the
   close button) is pinned to the top of the screen above the panel, and the header drops its
   backdrop-filter, which would otherwise make it the containing block of the fixed panel. The
   header keeps its height so nothing behind the panel moves. */
.cc-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding-top: var(--header-h);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--wash);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.5rem);
	transition: opacity 0.22s ease-out, transform 0.22s ease-out, visibility 0s linear 0.22s;
}

.cc-mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.cc-menu-open .cc-header {
	min-height: var(--header-h);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.cc-menu-open .cc-header__inner {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 2;
}

.admin-bar .cc-mobile-menu,
.admin-bar.cc-menu-open .cc-header__inner { top: var(--wp-admin--admin-bar--height, 32px); }

@media (max-width: 600px) {
	.admin-bar .cc-mobile-menu,
	.admin-bar.cc-menu-open .cc-header__inner { top: 0; }
}

.cc-menu-open .cc-actionbar { visibility: hidden; }

.cc-mobile-menu__nav {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	justify-content: center;
	padding-block: 2rem;
}

.cc-mobile-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-mobile-nav a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 72px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: clamp(1.65rem, 7vw, 2.6rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.1;
	text-decoration: none;
}

.cc-mobile-nav a .cc-icon { margin-left: auto; }
.cc-mobile-nav a.is-active,
.cc-mobile-nav a[aria-current] { color: var(--teal-dark); }

.cc-mobile-nav__num {
	width: 2.5rem;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0;
	opacity: 0.7;
}

.cc-mobile-menu__actions {
	display: grid;
	justify-items: start;
	gap: 1rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--line);
}

.cc-mobile-menu__actions .cc-inline-link { font-size: var(--text-sm); line-height: 1.25rem; }

body.cc-menu-open { overflow: hidden; }

/* The mockup shows the full navigation from 1280px; below that the menu button. */
@media (min-width: 1280px) {
	.cc-nav { display: block; }
	.cc-header .cc-header__book { display: inline-flex; }
	.js .cc-menu-toggle,
	.cc-mobile-menu { display: none; }
}

/* 6 Buttons and links ----------------------------------------------------- */

.cc-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.75rem 1.35rem;
	border: 0;
	border-radius: var(--radius-btn);
	background: var(--gold);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease-out, background-color 0.18s ease-out, opacity 0.18s ease-out;
}

.cc-btn:hover,
.wp-block-button__link:hover { transform: translateY(-2px); }

.cc-btn:active,
.wp-block-button__link:active { transform: translateY(0); }

.cc-btn--accent,
.cc-btn--soft,
.wp-block-button.is-style-soft .wp-block-button__link { background: var(--teal-light); color: var(--ink); }
.cc-btn--dark { background: var(--teal-dark); color: var(--on-dark); }
.cc-btn--light { background: var(--on-dark); color: var(--ink); }
.cc-btn--light:hover { background: var(--teal-soft); }
.cc-btn--ink { background: var(--ink); color: var(--on-dark); }
.cc-btn--block { width: 100%; }

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--ink);
}

/* Arrow link: inline text link with an arrow, used for secondary actions. */
.cc-arrow-link,
.wp-block-button.is-style-link .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--text-base);
	font-weight: 650;
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.cc-arrow-link:hover,
.wp-block-button.is-style-link .wp-block-button__link:hover {
	transform: none;
	text-decoration-color: currentColor;
}

.cc-arrow-link .cc-icon:last-child { transition: transform 0.18s ease-out; }
.cc-arrow-link:hover .cc-icon:last-child { transform: translateX(4px); }

.wp-block-button.is-style-link .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.18s ease-out;
}

.wp-block-button.is-style-link .wp-block-button__link:hover::after { transform: translateX(4px); }

/* Plain icon and text link (phone numbers, reviews). */
.cc-inline-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
	text-underline-offset: 4px;
}

.cc-inline-link:hover { text-decoration: underline; }

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

/* 7 Page hero ----------------------------------------------------------------- */

.cc-hero {
	border-bottom: 1px solid var(--line);
	background: var(--wash);
}

.cc-hero__inner { padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 5rem); }

.cc-breadcrumbs {
	margin-bottom: 1.75rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.7;
}

.cc-breadcrumbs a,
ul.cc-post__meta a {
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.cc-breadcrumbs a { color: inherit; }

.cc-breadcrumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.cc-breadcrumbs .breadcrumb_last { color: var(--ink); }

.cc-hero__title {
	max-width: 22ch;
	font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem);
	line-height: 1.04;
	letter-spacing: -0.05em;
}

.cc-hero__intro {
	max-width: 42rem;
	margin-top: 1.25rem;
	color: var(--muted);
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.6;
}

/* 8 Content flow and core blocks ------------------------------------------------ */

.cc-content { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }

/* Readable line length for text. Grids, cards and wide blocks use the full container. */
.cc-content :where(p, ul, ol, dl, h2, h3, h4, h5, h6, blockquote, .wp-block-details) { max-width: var(--measure); }

/* Vertical rhythm. :where keeps specificity at zero so components can override it. */
.cc-content :where(p, ul, ol, dl, blockquote, figure, pre, table, details, .wp-block-buttons, .wp-block-group, .wp-block-columns, .wp-block-image, .wp-block-embed, .wp-block-table, .wp-block-media-text, .wp-block-cover, .wp-block-gallery) { margin-block: 0 1.25rem; }
.cc-content :where(h2) { margin-block: 3rem 1rem; }
.cc-content :where(h3) { margin-block: 2rem 0.75rem; }
.cc-content :where(h4, h5, h6) { margin-block: 1.5rem 0.5rem; }
.cc-content :where(* > :first-child) { margin-top: 0; }
.cc-content :where(* > :last-child) { margin-bottom: 0; }
.cc-content .cc-eyebrow + :is(h2, h3, h4) { margin-top: 0; }

/* Block-level components get room above them; less when they follow a heading. */
.cc-content :is(.cc-grid-2, .cc-grid-3, .cc-faq, .cc-table, .wp-block-table, .wp-block-columns) { margin-block: 2.5rem; }
.cc-content :is(h2, h3, h4) + :is(.cc-grid-2, .cc-grid-3, .cc-faq, .cc-table, .wp-block-table, .wp-block-columns, .cc-stats, .cc-steps, .cc-checklist) { margin-top: 1.25rem; }

.cc-content h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem); line-height: 1.1; letter-spacing: -0.04em; }
.cc-content h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.025em; }
.cc-content h4 { font-size: var(--text-lg); letter-spacing: -0.015em; }
.cc-content h5, .cc-content h6 { font-size: var(--text-base); letter-spacing: 0; }

.cc-content :where(ul, ol) { padding-left: 1.25rem; }
.cc-content li + li { margin-top: 0.4rem; }
.cc-content li > :where(ul, ol) { margin-top: 0.4rem; }
.cc-content li::marker { color: var(--teal); }

.cc-content a:where(:not([class*="button"]):not(.cc-btn):not(.cc-arrow-link):not(.cc-inline-link)) {
	color: var(--teal-dark);
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.cc-content a:where(:not([class*="button"]):not(.cc-btn):not(.cc-arrow-link):not(.cc-inline-link)):hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }

.cc-content strong, .cc-content b { font-weight: 650; }

/* Alignment. Content is left aligned, so wide means the full container. */
.cc-content > .alignwide { max-width: none; }

.cc-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.cc-content .alignleft { float: left; margin: 0.25rem 1.5rem 1rem 0; max-width: 50%; }
.cc-content .alignright { float: right; margin: 0.25rem 0 1rem 1.5rem; max-width: 50%; }
.cc-content .aligncenter { margin-inline: auto; }

/* Groups with "constrained" layout would centre children; keep them left aligned. */
.cc-content .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { margin-left: 0 !important; margin-right: 0 !important; }

/* Images and media */
.cc-content .wp-block-image img,
.cc-content figure.wp-caption img { border-radius: var(--radius-md); }
.cc-content .wp-block-image.is-style-rounded img { border-radius: var(--radius-pill); }

.cc-content figcaption,
.cc-content .wp-caption-text,
.cc-content .wp-element-caption {
	margin-top: 0.6rem;
	color: var(--muted);
	font-size: var(--text-sm);
	line-height: 1.5;
	text-align: left;
}

.cc-content .wp-block-embed iframe,
.cc-content .wp-block-video video { border-radius: var(--radius-md); }
.cc-content .wp-block-embed__wrapper { border-radius: var(--radius-md); overflow: hidden; }
.cc-content .wp-block-cover { border-radius: var(--radius-panel); overflow: hidden; }
.cc-content .wp-block-media-text__media img { border-radius: var(--radius-md); }
.cc-content .wp-block-columns { gap: clamp(1.25rem, 3vw, 2.5rem); }
.cc-content .wp-block-column > :where(:first-child) { margin-top: 0; }

/* Quotes */
.cc-content .wp-block-quote,
.cc-content blockquote {
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid var(--teal);
	font-size: var(--text-lg);
}

.cc-content blockquote cite,
.cc-content .wp-block-quote cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--muted);
	font-size: var(--text-sm);
	font-style: normal;
}

.cc-content .wp-block-pullquote {
	padding: 2rem 0;
	border-block: 1px solid var(--line);
	text-align: left;
}

.cc-content .wp-block-pullquote blockquote { padding: 0; border: 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -0.03em; line-height: 1.3; }

/* Separator */
.cc-content .wp-block-separator,
.cc-content hr {
	clear: both;
	height: 0;
	margin-block: 2.5rem;
	border: 0;
	border-top: 1px solid var(--line);
	opacity: 1;
}

.cc-content .wp-block-separator.is-style-dots { border: 0; }

/* Code */
.cc-content code,
.cc-content kbd { padding: 0.1em 0.35em; border-radius: 6px; background: var(--section); font-family: var(--font-mono); font-size: 0.875em; }
.cc-content pre { overflow-x: auto; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--section); font-family: var(--font-mono); font-size: var(--text-sm); line-height: 1.6; }
.cc-content pre code { padding: 0; background: none; }

/* Tables (core table block and raw tables in old posts) */
.cc-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cc-content table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.cc-content .wp-block-table thead { border-bottom: 0; }
.cc-content .wp-block-table tfoot { border-top: 0; }

.cc-content th,
.cc-content td,
.cc-content .wp-block-table th,
.cc-content .wp-block-table td {
	padding: 0.75rem 1rem 0.75rem 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.cc-content th { font-weight: 600; }
.cc-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--wash); }
.cc-content .wp-block-table.is-style-stripes :is(td, th) { padding-left: 1rem; border-bottom: 0; }

/* Details (also used inside .cc-faq) */
.cc-content .wp-block-details {
	border-bottom: 1px solid var(--line);
}

.cc-content .wp-block-details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4rem;
	padding-block: 1.1rem;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.cc-content .wp-block-details > summary::-webkit-details-marker { display: none; }

.cc-content .wp-block-details > summary::after {
	content: "";
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
	background: var(--teal);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s ease-out;
}

.cc-content .wp-block-details[open] > summary::after { transform: rotate(180deg); }
.cc-content .wp-block-details > :not(summary) { color: var(--muted); }
.cc-content .wp-block-details > :last-child:not(summary) { padding-bottom: 1.5rem; }

/* Forms rendered by plugins inside content (SureForms, WPForms, LatePoint) keep their own
   styles; only give native fields a consistent base. */
.cc-content :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
	max-width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
}

/* 9 Content components ----------------------------------------------------------- */

/* Spaced section. Optional tinted backgrounds. */
.cc-content .cc-section,
.cc-section { margin-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.cc-content > .cc-section:first-child { margin-top: 0; }
.cc-content > .cc-section:last-child { margin-bottom: 0; }

.cc-section--wash,
.cc-section--sky,
.cc-section--grey {
	padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
	border-radius: var(--radius-panel);
}

.cc-section--wash { background: var(--wash); }
.cc-section--sky { background: var(--sky); }
.cc-section--grey { background: var(--section); }

/* Responsive grids. In classic themes core wraps group children in an inner container;
   display: contents lets those children become grid items. */
.cc-grid-2,
.cc-grid-3 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}

.cc-grid-2 > .wp-block-group__inner-container,
.cc-grid-3 > .wp-block-group__inner-container,
.cc-stats > .wp-block-group__inner-container { display: contents; }

.cc-content .cc-grid-2 > *,
.cc-content .cc-grid-3 > *,
.cc-content .cc-grid-2 > .wp-block-group__inner-container > *,
.cc-content .cc-grid-3 > .wp-block-group__inner-container > * { margin: 0; }

@media (min-width: 768px) {
	.cc-grid-2,
	.cc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.cc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Card */
.cc-card {
	padding: clamp(1.25rem, 1rem + 1.2vw, 2rem);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius-panel);
	background: var(--section);
	color: var(--ink);
}

.cc-card--soft { background: var(--teal-soft); }
.cc-card--sky { background: var(--sky); }
.cc-card--line { border-top: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cc-section--wash .cc-card,
.cc-section--sky .cc-card,
.cc-band--wash .cc-card { background: var(--paper); }

.cc-content .cc-card :where(h2, h3, h4) { margin-top: 0; }
.cc-content .cc-card h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
.cc-card > :where(p), .cc-card > .wp-block-group__inner-container > :where(p) { color: var(--muted); }
.cc-card img { border-radius: var(--radius-md); }

/* Checklist */
.cc-content .cc-checklist,
.cc-checklist {
	padding: 0;
	list-style: none;
}

.cc-checklist > li {
	position: relative;
	padding-left: 2rem;
}

.cc-checklist > li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005a6d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.cc-checklist > li + li { margin-top: 0.65rem; }

@media (min-width: 640px) {
	.cc-checklist--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.5rem; max-width: none; }
	.cc-checklist--cols > li + li { margin-top: 0; }
}

/* Numbered steps (core list block, ordered) */
.cc-content .cc-steps,
.cc-steps {
	padding: 0;
	list-style: none;
	counter-reset: cc-step;
}

.cc-steps > li {
	position: relative;
	padding: 0.35rem 0 1.75rem 3.5rem;
	counter-increment: cc-step;
}

.cc-content .cc-steps > li + li { margin-top: 0; }

.cc-steps > li::before {
	content: counter(cc-step, decimal-leading-zero);
	position: absolute;
	top: 0;
	left: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--teal-dark);
	color: var(--on-dark);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 500;
	line-height: 2.5rem;
	text-align: center;
}

.cc-steps > li::after {
	content: "";
	position: absolute;
	top: 2.75rem;
	bottom: 0.25rem;
	left: 1.25rem;
	width: 1px;
	background: var(--line);
}

.cc-steps > li:last-child { padding-bottom: 0; }
.cc-steps > li:last-child::after { display: none; }
.cc-steps > li > strong:first-child { display: block; margin-bottom: 0.2rem; font-size: var(--text-lg); font-weight: 600; }

/* Callouts */
.cc-callout {
	position: relative;
	max-width: var(--measure);
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--teal);
	border-radius: 0;
	background: var(--section);
}

.cc-content .cc-callout { margin-block: 2rem; }

.cc-callout--urgent {
	padding-left: 3.5rem;
	border-left-color: var(--urgent-ink);
	background: var(--urgent);
	color: var(--urgent-ink);
}

.cc-callout--urgent::before {
	content: "";
	position: absolute;
	top: 1.35rem;
	left: 1.25rem;
	width: 1.4rem;
	height: 1.4rem;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cc-callout--urgent :where(h2, h3, h4, a, strong) { color: inherit; }
.cc-content .cc-callout--urgent a { color: inherit; text-decoration-color: currentColor; }
.cc-callout :is(h2, h3, h4),
.cc-content .cc-callout :is(h2, h3, h4) { font-size: var(--text-lg); letter-spacing: -0.015em; }
.cc-content .cc-callout :where(h2, h3, h4) { margin: 0 0 0.35rem; }

/* A callout used as a grid cell next to cards: no outer margin, fill the cell. */
.cc-content :is(.cc-grid-2, .cc-grid-3) > .cc-callout,
.cc-content :is(.cc-grid-2, .cc-grid-3) > .wp-block-group__inner-container > .cc-callout { max-width: none; margin: 0; }

/* cc-eyebrow on a heading block: keep the small mono label look. .cc-content h2 would
   otherwise win on size and letter spacing. */
.cc-content :is(h2, h3, h4, h5, h6).cc-eyebrow {
	margin: 0 0 1rem;
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	line-height: 1.5;
	text-wrap: wrap;
}

/* Call-to-action band */
.cc-cta {
	padding: clamp(1.75rem, 1rem + 4vw, 3.5rem);
	border-radius: var(--radius-panel);
	background: var(--sky);
	color: var(--ink);
}

.cc-content .cc-cta { margin-block: clamp(3rem, 2rem + 4vw, 5rem); }

.cc-content .cc-cta :where(h2, h3) {
	max-width: 24ch;
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.cc-cta p { max-width: 40rem; color: var(--muted); }
.cc-cta .cc-eyebrow { color: var(--muted); }
.cc-content .cc-cta .wp-block-buttons { margin-top: 1.5rem; }
.cc-cta .wp-block-button.is-style-soft .wp-block-button__link { background: var(--on-dark); }

/* FAQ: a group wrapping core/details blocks */
.cc-faq { max-width: 56rem; }
.cc-faq .wp-block-details:first-of-type { border-top: 1px solid var(--line); }
.cc-content .cc-faq .wp-block-details { max-width: none; margin: 0; }
.cc-content .cc-faq :where(h2) + .wp-block-details { margin-top: 1.5rem; }

/* Stats row: a group of groups. In each, the first paragraph is the figure, the rest the label. */
.cc-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 0;
	padding-block: 1.25rem;
	border-block: 1px solid var(--line);
}

.cc-content .cc-stats { margin-block: 2.5rem; }

.cc-stats > :not(.wp-block-group__inner-container),
.cc-stats > .wp-block-group__inner-container > * {
	margin: 0;
	padding: 0.25rem 1rem;
	border-left: 1px solid var(--line);
}

.cc-stats p:first-child {
	display: block;
	color: var(--ink);
	font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.cc-stats p:not(:first-child) {
	margin-top: 0.3rem;
	color: var(--muted);
	font-size: var(--text-sm);
	line-height: 1.5;
}

@media (min-width: 1024px) {
	.cc-stats { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
	.cc-stats > :not(.wp-block-group__inner-container),
	.cc-stats > .wp-block-group__inner-container > * { padding-inline: 1.5rem; }
}

/* Styled table: core table block with className cc-table */
.cc-content .cc-table {
	border-radius: var(--radius-md);
	box-shadow: inset 0 0 0 1px var(--line);
}

.cc-content .cc-table table { min-width: 32rem; }

.cc-content .cc-table th {
	background: var(--wash);
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cc-content .cc-table :is(th, td) { padding: 0.85rem 1.1rem; }
.cc-content .cc-table tr:last-child td { border-bottom: 0; }
.cc-content .cc-table td:first-child { font-weight: 600; }
.cc-content .cc-table thead th:first-child { border-top-left-radius: var(--radius-md); }
.cc-content .cc-table thead th:last-child { border-top-right-radius: var(--radius-md); }

/* 10 Footer -------------------------------------------------------------------- */

.cc-footer {
	background: var(--wash);
	color: var(--ink);
}

.cc-footer__grid {
	display: grid;
	gap: 2.5rem;
	padding-block: 3rem;
}

.cc-logo--footer { --logo-h: 64px; }
.cc-footer__brand .cc-brand { min-height: 48px; }

.cc-footer__blurb {
	max-width: 28rem;
	margin-top: 1.5rem;
	color: var(--muted);
	line-height: 1.625;
}

.cc-footer__reviews { margin-top: 1.5rem; }

.cc-footer__heading {
	margin: 0 0 1rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1rem;
	text-transform: uppercase;
}

.cc-footer__list {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-footer__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 44px;
	min-height: 44px;
	color: var(--ink);
	text-decoration: none;
	text-underline-offset: 4px;
}

.cc-footer__list a:hover,
.cc-footer__contact:hover,
.cc-footer__address-link:hover { text-decoration: underline; }

.cc-footer__link--small { font-size: var(--text-sm); line-height: 1.25rem; }

.cc-footer__address {
	color: var(--muted);
	font-size: var(--text-sm);
	font-style: normal;
	line-height: 1.625;
}

.cc-footer__address-link { color: inherit; text-decoration: none; }

.cc-footer__contact {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	margin-top: 0.5rem;
	color: var(--ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.cc-footer__contact--small { margin-top: 0; font-size: var(--text-sm); line-height: 1.25rem; }
.cc-footer__visit .cc-footer__contact { display: flex; width: fit-content; margin-top: 1rem; }

.cc-footer__hours {
	margin-top: 0.5rem;
	color: var(--muted);
	font-size: var(--text-sm);
	line-height: 1.25rem;
}

.cc-footer__legal {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: var(--text-xs);
	line-height: 1.625;
}

.cc-footer__legal .cc-container { padding-block: 1.5rem; }
.cc-footer__legal p + p { margin-top: 0.75rem; }

@media (min-width: 768px) {
	.cc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 4rem; }
}

@media (min-width: 1024px) {
	.cc-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; }
	.cc-footer__grid > :nth-child(1) { grid-column: span 5; }
	.cc-footer__grid > :nth-child(2),
	.cc-footer__grid > :nth-child(4) { grid-column: span 2; }
	.cc-footer__grid > :nth-child(3) { grid-column: span 3; }
}

/* 11 Mobile action bar and eka.care widget ------------------------------------------- */

.cc-actionbar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-bottom: env(safe-area-inset-bottom);
	border-top: 1px solid var(--line);
	background: var(--header);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.cc-actionbar__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 64px;
	color: var(--ink);
	font-size: 0.75rem;
	font-weight: 650;
	text-decoration: none;
}

.cc-actionbar__item--accent {
	border-inline: 1px solid var(--line);
	color: var(--teal-dark);
}

@media (max-width: 767.98px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

	/* The eka.care script draws a fixed button bottom-left with inline styles.
	   Lift it, its banner and its panel above the action bar. */
	#eka-fab { bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
	#eka-banner { bottom: calc(138px + env(safe-area-inset-bottom)) !important; }
	#eka-eka_appointment_fab_widget {
		bottom: calc(136px + env(safe-area-inset-bottom)) !important;
		height: min(597px, calc(100dvh - 150px)) !important;
		max-height: calc(100dvh - 150px) !important;
	}
}

@media (min-width: 768px) {
	.cc-actionbar { display: none; }
}

.cc-menu-open #eka-fab,
.cc-menu-open #eka-banner { visibility: hidden !important; }

/* 12 WordPress classes ----------------------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	top: 0.75rem;
	left: 1rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	clip-path: none;
	border-radius: var(--radius-pill);
	background: var(--ink);
	color: var(--on-dark);
}

.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { color: var(--muted); font-size: var(--text-sm); }
.sticky,
.bypostauthor { position: relative; }

.cc-page-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; font-family: var(--font-mono); font-size: var(--text-sm); }

/* 13 Motion and print ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.cc-mobile-menu,
	.cc-mobile-menu.is-open,
	.cc-mobile-menu * { transition: none !important; }

	.cc-btn:hover,
	.wp-block-button__link:hover,
	.cc-nav__list a:hover,
	.cc-menu-toggle:hover,
	.cc-xcard--link:hover { transform: none; }
}

@media print {
	.cc-topbar,
	.cc-nav,
	.cc-header__book,
	.cc-menu-toggle,
	.cc-mobile-menu,
	.cc-actionbar,
	.cc-footer__social,
	#eka-fab,
	#eka-banner,
	#eka-backdrop,
	#eka-eka_appointment_fab_widget { display: none !important; }

	.cc-header { position: static; background: none; }
	body { padding-bottom: 0; background: #fff; }
	.cc-hero, .cc-footer { background: none; }
}
