/*
Theme Name: Amrit Clinic
Theme URI: https://amritclinic.com
Author: Amrit Clinic
Description: A fast, accessible, SEO-complete theme for Amrit Clinic — Laser & Cosmetic Surgery, Mulund, Mumbai. No page builder, no jQuery, structured data built in.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amrit-clinic
Tags: healthcare, clinic, accessibility-ready, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* ── Palette ─────────────────────────────────────────────────────────
	   Primary accent is #8db544.

	   It is a mid-tone green, which means it behaves in exactly one way:
	   excellent as a FILL behind dark text (6.6:1 against --ac-ink), and
	   unusable AS text (2.4:1 against white — well below the 4.5:1 minimum).

	   So --ac-accent is only ever a background. Anything green that carries
	   text, or is itself text, uses --ac-accent-deep. Measured ratios are
	   noted per token; keep them above 4.5:1 if you change these.
	   ─────────────────────────────────────────────────────────────────── */
	--ac-bg:          #f8f9f5;   /* page background                        */
	--ac-bg-alt:      #eef1e8;   /* alternating sections                   */
	--ac-white:       #ffffff;
	--ac-ink:         #212418;   /* headings        — 14.9:1 on --ac-bg    */
	--ac-body:        #4f5548;   /* body copy       —  7.3:1 on --ac-bg    */
	--ac-muted:       #6b7166;   /* meta, captions  —  4.8:1 on --ac-bg    */
	--ac-line:        #dee3d6;   /* borders, rules                         */

	--ac-accent:      #8db544;   /* FILLS ONLY      —  6.6:1 behind ink    */
	--ac-accent-deep: #547320;   /* text and icons  —  5.2:1 on --ac-bg    */
	--ac-accent-soft: #e9f2d6;   /* tint behind accent-deep — 4.7:1        */

	/* Typography */
	--ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Type scale — compact. Every size derives from these nine tokens, so
	   scaling the whole site up or down is a change here and nowhere else. */
	--fs-display: clamp(1.875rem, 4vw, 3rem);
	--fs-h1:      clamp(1.625rem, 3vw, 2.25rem);
	--fs-h2:      clamp(1.375rem, 2.2vw, 1.75rem);
	--fs-h3:      clamp(1.0625rem, 1.4vw, 1.1875rem);
	--fs-h4:      0.9375rem;
	--fs-lead:    clamp(0.9375rem, 1.05vw, 1rem);
	--fs-body:    0.9375rem;
	--fs-sm:      0.875rem;
	--fs-xs:      0.75rem;

	--lh-tight:   1.12;
	--lh-snug:    1.3;
	--lh-body:    1.7;

	/* Space */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4rem;
	--sp-9: 6rem;

	--section-y: clamp(2.75rem, 5.5vw, 4.5rem);

	/* Form */
	--radius:    4px;
	--radius-lg: 10px;
	--container: 1200px;
	--container-narrow: 760px;

	--shadow-sm: 0 1px 2px rgba(33, 36, 24, 0.05);
	--shadow:    0 4px 20px rgba(33, 36, 24, 0.07);
	--shadow-lg: 0 18px 50px rgba(33, 36, 24, 0.12);

	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--header-h: 68px;

	/* The viewport width at which the desktop nav collapses to the burger.
	   Set above 1024px because the menu carries 8 top-level items with long
	   labels ("Laser Treatment", "Cosmetic Surgery", "Photo Gallery") which
	   cannot fit on one line alongside the logo and CTA below this. */
	--nav-break: 1200px;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--ac-bg);
	color: var(--ac-body);
	font-family: var(--ff-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.ac-nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--sp-4);
	font-family: var(--ff-display);
	font-weight: 600;
	line-height: var(--lh-tight);
	color: var(--ac-ink);
	letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); font-family: var(--ff-body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 var(--sp-5); }
p:last-child { margin-bottom: 0; }

a {
	color: var(--ac-accent-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease);
}
a:hover { color: var(--ac-ink); }

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol { margin: 0 0 var(--sp-5); padding-left: 1.35rem; }
li + li { margin-top: var(--sp-2); }

blockquote {
	margin: var(--sp-6) 0;
	padding: var(--sp-5) var(--sp-6);
	border-left: 3px solid var(--ac-accent);
	background: var(--ac-bg-alt);
	font-family: var(--ff-display);
	font-size: var(--fs-lead);
	font-style: italic;
	color: var(--ac-ink);
}

code, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}
pre {
	overflow-x: auto;
	padding: var(--sp-5);
	background: var(--ac-ink);
	color: var(--ac-bg);
	border-radius: var(--radius);
}

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

:focus-visible {
	outline: 2px solid var(--ac-accent-deep);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--ac-accent-soft);
	color: var(--ac-ink);
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.ac-container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.ac-narrow { max-width: var(--container-narrow); margin-inline: auto; }

.ac-section { padding-block: var(--section-y); }
.ac-section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.ac-section--alt { background: var(--ac-bg-alt); }
.ac-section--white { background: var(--ac-white); }
.ac-section--ink { background: var(--ac-ink); }

.ac-section--ink,
.ac-section--ink p { color: #ccd2c4; }
.ac-section--ink h1,
.ac-section--ink h2,
.ac-section--ink h3 { color: var(--ac-white); }

.ac-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.ac-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ac-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ac-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.ac-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%);
	white-space: nowrap;
	border: 0;
}

.ac-skip-link {
	position: absolute;
	top: -100px;
	left: var(--sp-4);
	z-index: 999;
	padding: var(--sp-3) var(--sp-5);
	background: var(--ac-ink);
	color: var(--ac-white);
	border-radius: var(--radius);
	text-decoration: none;
}
.ac-skip-link:focus { top: var(--sp-4); color: var(--ac-white); }

/* ==========================================================================
   4. Typographic accents
   ========================================================================== */

.ac-eyebrow {
	display: block;
	margin-bottom: var(--sp-3);
	font-family: var(--ff-body);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ac-accent-deep);
}

.ac-section--ink .ac-eyebrow { color: var(--ac-accent); }

.ac-lead {
	font-size: var(--fs-lead);
	line-height: 1.6;
	color: var(--ac-body);
}

.ac-rule {
	width: 56px;
	height: 2px;
	margin: var(--sp-5) 0;
	background: var(--ac-accent);
	border: 0;
}

.ac-section-head {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.ac-section-head--center {
	margin-inline: auto;
	text-align: center;
}
.ac-section-head--center .ac-rule { margin-inline: auto; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.ac-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: 0.9rem 1.85rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--ac-accent);
	color: var(--ac-ink);
	font-family: var(--ff-body);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease),
	            transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.ac-btn:hover,
.ac-btn:focus-visible {
	background: var(--ac-accent-deep);
	color: var(--ac-white);
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.ac-btn--outline {
	background: transparent;
	border-color: var(--ac-ink);
	color: var(--ac-ink);
}
.ac-btn--outline:hover,
.ac-btn--outline:focus-visible {
	background: var(--ac-ink);
	border-color: var(--ac-ink);
	color: var(--ac-white);
}

.ac-btn--light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--ac-white);
}
.ac-btn--light:hover,
.ac-btn--light:focus-visible {
	background: var(--ac-white);
	border-color: var(--ac-white);
	color: var(--ac-ink);
}

.ac-btn--sm { padding: 0.6rem 1.2rem; font-size: var(--fs-xs); }
.ac-btn--block { width: 100%; }

.ac-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	align-items: center;
}

/* ==========================================================================
   6. Header
   ========================================================================== */

.ac-topbar {
	background: var(--ac-ink);
	color: #c5ccbc;
	font-size: var(--fs-xs);
}
.ac-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding-block: 0.55rem;
}
.ac-topbar__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-5);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ac-topbar__list li { margin: 0; }
.ac-topbar a { color: #c5ccbc; text-decoration: none; }
.ac-topbar a:hover { color: var(--ac-accent); }
.ac-topbar svg { width: 14px; height: 14px; flex: none; opacity: 0.7; }
.ac-topbar__item { display: inline-flex; align-items: center; gap: var(--sp-2); }

@media (max-width: 860px) {
	.ac-topbar__inner { justify-content: center; }
	.ac-topbar__list--secondary { display: none; }
}

.ac-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(248, 249, 245, 0.94);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--ac-line);
	transition: box-shadow 0.25s var(--ease);
}
.ac-header.is-stuck { box-shadow: var(--shadow); }

.ac-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	min-height: var(--header-h);
}

/* Brand */
.ac-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-3);
	text-decoration: none;
	flex: none;
}
.ac-brand__mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ac-ink);
	color: var(--ac-accent);
	font-family: var(--ff-display);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	flex: none;
}
.ac-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.ac-brand__name {
	font-family: var(--ff-display);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--ac-ink);
	letter-spacing: 0.01em;
}
.ac-brand__tag {
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ac-muted);
}
.ac-brand img { max-height: 52px; width: auto; }

/* Primary nav */
.ac-nav { margin-left: auto; }
.ac-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.6rem, 1.3vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
/* flex: none stops long labels being compressed into two lines when the
   menu runs out of room — it overflows to the burger instead. */
.ac-nav__list > li { flex: none; white-space: nowrap; }
.ac-nav__list li { margin: 0; position: relative; }

/* The booking button inside the drawer is mobile-only. */
.ac-nav__cta { display: none; }

.ac-nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.5rem 0;
	color: var(--ac-ink);
	font-size: var(--fs-sm);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.ac-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.1rem;
	width: 0;
	height: 1.5px;
	background: var(--ac-accent);
	transition: width 0.25s var(--ease);
}
.ac-nav li:hover > a::after,
.ac-nav .current-menu-item > a::after,
.ac-nav .current_page_item > a::after,
.ac-nav .current-menu-ancestor > a::after,
.ac-nav .current_page_ancestor > a::after { width: 100%; }

.ac-nav .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 0.4em;
	height: 0.4em;
	margin-left: 0.15em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-0.1em);
	opacity: 0.55;
}

/* Dropdowns */
.ac-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	z-index: 20;
	min-width: 250px;
	max-height: 70vh;
	overflow-y: auto;
	margin: 0;
	padding: var(--sp-3) 0;
	list-style: none;
	background: var(--ac-white);
	border: 1px solid var(--ac-line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.ac-nav li:hover > .sub-menu,
.ac-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.ac-nav .sub-menu li { margin: 0; }
.ac-nav .sub-menu a {
	display: block;
	padding: 0.5rem 1.25rem;
	font-size: var(--fs-sm);
	font-weight: 400;
	white-space: normal;
}
.ac-nav .sub-menu a::after { display: none; }
.ac-nav .sub-menu a:hover { background: var(--ac-bg-alt); color: var(--ac-accent-deep); }
.ac-nav .sub-menu .sub-menu { top: 0; left: 100%; }

.ac-header__cta { flex: none; }

/* Burger */
.ac-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ac-line);
	border-radius: var(--radius);
	background: transparent;
	cursor: pointer;
}
.ac-burger span {
	display: block;
	width: 20px;
	height: 1.5px;
	margin-inline: auto;
	background: var(--ac-ink);
	transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.ac-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ac-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ac-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1200px) {
	.ac-burger { display: flex; }
	.ac-header__cta { display: none; }
	.ac-nav__cta { display: block; }

	.ac-nav {
		position: fixed;
		inset: calc(var(--header-h) + 1px) 0 0;
		z-index: 90;
		margin: 0;
		padding: var(--sp-5) clamp(1.25rem, 4vw, 2.5rem) var(--sp-8);
		background: var(--ac-bg);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.3s var(--ease), visibility 0.3s;
	}
	.ac-nav.is-open { transform: translateX(0); visibility: visible; }

	.ac-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ac-nav__list > li { border-bottom: 1px solid var(--ac-line); }
	.ac-nav a { padding: 0.9rem 0; font-size: 1.0625rem; }
	.ac-nav a::after { display: none; }

	/* Accordion sub-menus on mobile */
	.ac-nav .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		max-height: none;
		margin: 0 0 var(--sp-3) var(--sp-4);
		padding: 0 0 0 var(--sp-4);
		border: 0;
		border-left: 1px solid var(--ac-line);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.ac-nav .sub-menu.is-open { display: block; }
	.ac-nav .sub-menu a { padding: 0.55rem 0; font-size: var(--fs-sm); }

	.ac-nav__toggle {
		position: absolute;
		top: 0.35rem;
		right: 0;
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		border: 0;
		background: transparent;
		color: var(--ac-ink);
		font-size: 1.1rem;
		cursor: pointer;
	}
	.ac-nav__toggle::before {
		content: "";
		width: 0.5em;
		height: 0.5em;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translate(-2px, -2px);
		transition: transform 0.25s var(--ease);
	}
	.ac-nav__toggle[aria-expanded="true"]::before { transform: rotate(-135deg) translate(-2px, -2px); }
	.ac-nav .menu-item-has-children > a::before { display: none; }
	.ac-nav .menu-item-has-children { position: relative; }
}

@media (min-width: 1201px) {
	.ac-nav__toggle { display: none; }
}

/* ==========================================================================
   7. Hero
   ========================================================================== */

.ac-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(400px, 56vh, 560px);
	padding-block: var(--sp-7);
	background: var(--ac-bg-alt);
	overflow: hidden;
}
.ac-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.ac-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}
.ac-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg,
		rgba(248, 249, 245, 0.97) 0%,
		rgba(248, 249, 245, 0.9) 42%,
		rgba(248, 249, 245, 0.45) 68%,
		rgba(248, 249, 245, 0.2) 100%);
}
.ac-hero__inner { position: relative; z-index: 1; }
.ac-hero__content { max-width: 40rem; }

.ac-hero__title {
	font-size: var(--fs-display);
	font-weight: 500;
	margin-bottom: var(--sp-5);
}
.ac-hero__title em {
	font-style: italic;
	color: var(--ac-accent-deep);
}
.ac-hero p { max-width: 34rem; }

.ac-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3) var(--sp-6);
	margin: var(--sp-6) 0 0;
	padding: 0;
	list-style: none;
}
.ac-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--ac-ink);
}
.ac-hero__trust svg { width: 18px; height: 18px; color: var(--ac-accent-deep); flex: none; }

@media (max-width: 768px) {
	.ac-hero__media::after {
		background: linear-gradient(180deg,
			rgba(248, 249, 245, 0.92) 0%,
			rgba(248, 249, 245, 0.86) 60%,
			rgba(248, 249, 245, 0.7) 100%);
	}
}

/* Page hero (interior pages) */
.ac-page-hero {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--ac-bg-alt);
	border-bottom: 1px solid var(--ac-line);
	text-align: center;
}
.ac-page-hero h1 { margin-bottom: var(--sp-3); }
.ac-page-hero .ac-lead { max-width: 44rem; margin-inline: auto; }

/* Breadcrumbs */
.ac-crumbs {
	margin-bottom: var(--sp-4);
	font-size: var(--fs-xs);
	color: var(--ac-muted);
}
.ac-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ac-crumbs li { margin: 0; display: inline-flex; align-items: center; gap: var(--sp-2); }
.ac-crumbs li + li::before { content: "/"; color: var(--ac-line); }
.ac-crumbs a { color: var(--ac-muted); text-decoration: none; }
.ac-crumbs a:hover { color: var(--ac-accent-deep); text-decoration: underline; }

/* ==========================================================================
   8. Cards
   ========================================================================== */

.ac-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--ac-white);
	border: 1px solid var(--ac-line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
	            border-color 0.25s var(--ease);
}
.ac-card:hover {
	transform: translateY(-4px);
	border-color: var(--ac-accent);
	box-shadow: var(--shadow-lg);
}

.ac-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--ac-bg-alt);
	overflow: hidden;
}
.ac-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}
.ac-card:hover .ac-card__media img { transform: scale(1.05); }

.ac-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ac-bg-alt), var(--ac-accent-soft));
	color: var(--ac-accent-deep);
	font-family: var(--ff-display);
	font-size: 2.5rem;
}

.ac-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--sp-5);
}
.ac-card__title {
	margin-bottom: var(--sp-2);
	font-size: var(--fs-h3);
}
.ac-card__title a { color: inherit; text-decoration: none; }
.ac-card__title a:hover { color: var(--ac-accent-deep); }
.ac-card__excerpt {
	margin-bottom: var(--sp-4);
	font-size: var(--fs-sm);
	color: var(--ac-body);
}
.ac-card__meta {
	margin-bottom: var(--sp-3);
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ac-muted);
}
.ac-card__link {
	margin-top: auto;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ac-accent-deep);
	text-decoration: none;
}
.ac-card__link::after {
	content: "→";
	display: inline-block;
	margin-left: 0.4em;
	transition: transform 0.2s var(--ease);
}
.ac-card:hover .ac-card__link::after { transform: translateX(4px); }

/* Treatment tile — compact, icon-led */
.ac-tile {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-4);
	padding: var(--sp-5);
	background: var(--ac-white);
	border: 1px solid var(--ac-line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
	            border-color 0.2s var(--ease);
}
.ac-tile:hover {
	transform: translateY(-3px);
	border-color: var(--ac-accent);
	box-shadow: var(--shadow);
}
.ac-tile__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ac-accent-soft);
	color: var(--ac-accent-deep);
	flex: none;
}
.ac-tile__icon svg { width: 22px; height: 22px; }
.ac-tile__title {
	margin: 0 0 0.2rem;
	font-family: var(--ff-body);
	font-size: var(--fs-body);
	font-weight: 600;
	color: var(--ac-ink);
}
.ac-tile__desc { margin: 0; font-size: var(--fs-sm); color: var(--ac-muted); }

/* ==========================================================================
   9. Stats
   ========================================================================== */

.ac-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: var(--sp-5);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ac-stats li {
	margin: 0;
	padding: var(--sp-5) var(--sp-4);
	text-align: center;
	border-right: 1px solid var(--ac-line);
}
.ac-stats li:last-child { border-right: 0; }
.ac-stats__num {
	display: block;
	font-family: var(--ff-display);
	font-size: clamp(2.25rem, 4.5vw, 3.25rem);
	font-weight: 600;
	line-height: 1;
	color: var(--ac-accent-deep);
}
.ac-stats__label {
	display: block;
	margin-top: var(--sp-2);
	font-size: var(--fs-xs);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ac-muted);
}
.ac-section--ink .ac-stats li { border-color: rgba(255, 255, 255, 0.14); }
.ac-section--ink .ac-stats__num { color: var(--ac-accent); }
.ac-section--ink .ac-stats__label { color: #a3aa9b; }

@media (max-width: 640px) {
	.ac-stats li { border-right: 0; border-bottom: 1px solid var(--ac-line); }
	.ac-stats li:last-child { border-bottom: 0; }
}

/* ==========================================================================
   10. Split (image + text)
   ========================================================================== */

.ac-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.ac-split__media { position: relative; }
.ac-split__media img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.ac-split__media--framed::before {
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	border: 1px solid var(--ac-accent);
	border-radius: var(--radius-lg);
	z-index: -1;
}
.ac-split--reverse .ac-split__media { order: 2; }

@media (max-width: 780px) {
	.ac-split--reverse .ac-split__media { order: 0; }
	.ac-split__media--framed::before { display: none; }
}

/* Checklist */
.ac-checks { margin: var(--sp-5) 0; padding: 0; list-style: none; }
.ac-checks li {
	position: relative;
	margin: 0 0 var(--sp-3);
	padding-left: 2rem;
	font-size: var(--fs-sm);
}
.ac-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 1.1rem;
	height: 0.6rem;
	border-left: 2px solid var(--ac-accent-deep);
	border-bottom: 2px solid var(--ac-accent-deep);
	transform: rotate(-45deg);
}

/* ==========================================================================
   11. Accordion (FAQ)
   ========================================================================== */

.ac-accordion { border-top: 1px solid var(--ac-line); }

.ac-accordion__item { border-bottom: 1px solid var(--ac-line); }

/* <summary> — reset the native marker across browsers. */
.ac-accordion__trigger {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-5) 0;
	color: var(--ac-ink);
	font-family: var(--ff-display);
	font-size: var(--fs-h3);
	font-weight: 600;
	line-height: var(--lh-snug);
	list-style: none;
	cursor: pointer;
}
.ac-accordion__trigger::-webkit-details-marker { display: none; }
.ac-accordion__trigger::marker { content: ""; }
.ac-accordion__trigger:hover { color: var(--ac-accent-deep); }
.ac-accordion__trigger:focus-visible {
	outline: 2px solid var(--ac-accent-deep);
	outline-offset: 2px;
}

.ac-accordion__q { flex: 1; }

.ac-accordion__icon {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 0.3em;
}
.ac-accordion__icon::before,
.ac-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--ac-accent-deep);
	transform: translate(-50%, -50%);
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.ac-accordion__icon::before { width: 14px; height: 2px; }
.ac-accordion__icon::after  { width: 2px; height: 14px; }

/* Plus becomes minus when open. */
.ac-accordion__item[open] .ac-accordion__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

.ac-accordion__panel { padding-bottom: var(--sp-5); }
.ac-accordion__panel p:last-child { margin-bottom: 0; }

/* Animate the reveal where the browser supports interpolating to auto.
   Everything else simply opens instantly — no layout risk. */
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }

	.ac-accordion__item::details-content {
		height: 0;
		overflow: hidden;
		transition: height 0.3s var(--ease), content-visibility 0.3s allow-discrete;
	}
	.ac-accordion__item[open]::details-content { height: auto; }
}

/* ==========================================================================
   12. Testimonials
   ========================================================================== */

.ac-quote {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: var(--sp-6);
	background: var(--ac-white);
	border: 1px solid var(--ac-line);
	border-radius: var(--radius-lg);
}
.ac-quote__stars {
	display: flex;
	gap: 2px;
	margin-bottom: var(--sp-4);
	color: var(--ac-accent-deep);
}
.ac-quote__stars svg { width: 16px; height: 16px; }
.ac-quote__text {
	flex: 1;
	margin-bottom: var(--sp-5);
	font-family: var(--ff-display);
	font-size: 1.1875rem;
	font-style: italic;
	line-height: 1.55;
	color: var(--ac-ink);
}
.ac-quote__author {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ac-ink);
}
.ac-quote__source { font-size: var(--fs-xs); color: var(--ac-muted); }

/* ==========================================================================
   12b. Before / after gallery
   ========================================================================== */

/* Filter row */
.ac-ba-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	justify-content: center;
	margin-bottom: var(--sp-6);
}
.ac-ba-filter {
	padding: 0.45rem 1rem;
	border: 1px solid var(--ac-line);
	border-radius: 999px;
	background: var(--ac-white);
	color: var(--ac-body);
	font-family: var(--ff-body);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ac-ba-filter:hover { border-color: var(--ac-accent); color: var(--ac-ink); }
.ac-ba-filter.is-active {
	background: var(--ac-ink);
	border-color: var(--ac-ink);
	color: var(--ac-white);
}

/* Grid */
.ac-ba-grid-front {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

.ac-ba-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--ac-white);
	border: 1px solid var(--ac-line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.ac-ba-card[hidden] { display: none; }

/* Comparison viewport */
.ac-ba-compare {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--ac-bg-alt);
	overflow: hidden;
	touch-action: pan-y; /* Let vertical scroll through, horizontal to the slider. */
}

.ac-ba-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
}

/* The "before" image is revealed from the left up to --ac-ba-pos. */
.ac-ba-img--before {
	clip-path: inset(0 calc(100% - var(--ac-ba-pos, 50%)) 0 0);
}

/* Labels */
.ac-ba-tag {
	position: absolute;
	top: var(--sp-3);
	z-index: 3;
	padding: 0.25rem 0.6rem;
	border-radius: 3px;
	background: rgba(33, 36, 24, 0.78);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	pointer-events: none;
}
.ac-ba-tag--before { left: var(--sp-3); }
.ac-ba-tag--after  { right: var(--sp-3); }

/* Divider */
.ac-ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--ac-ba-pos, 50%);
	z-index: 4;
	width: 2px;
	margin-left: -1px;
	background: var(--ac-white);
	box-shadow: 0 0 0 1px rgba(33, 36, 24, 0.18);
	pointer-events: none;
}
.ac-ba-handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	transform: translate(-50%, -50%);
	border: 2px solid var(--ac-white);
	border-radius: 50%;
	background: rgba(33, 36, 24, 0.5);
	backdrop-filter: blur(2px);
}
.ac-ba-handle::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 13px;
	height: 7px;
	transform: translate(-50%, -50%);
	background:
		linear-gradient(to right, #fff 0 3px, transparent 3px 10px, #fff 10px 13px);
	clip-path: polygon(0 50%, 3px 0, 3px 100%, 10px 0, 10px 100%, 13px 50%);
}

/* The range input is the actual control — transparent, full-bleed. */
.ac-ba-range {
	position: absolute;
	inset: 0;
	z-index: 5;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
}
.ac-ba-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 44px;
	height: 100%;
	cursor: ew-resize;
}
.ac-ba-range::-moz-range-thumb {
	width: 44px;
	height: 100%;
	border: 0;
	border-radius: 0;
	cursor: ew-resize;
}
/* Focus has to be visible on the divider, since the input itself is invisible. */
.ac-ba-range:focus-visible ~ .ac-ba-handle::after {
	outline: 2px solid var(--ac-accent);
	outline-offset: 3px;
}

/* Caption */
.ac-ba-caption {
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
	padding: var(--sp-4) var(--sp-5) var(--sp-5);
}
.ac-ba-treatment {
	font-family: var(--ff-display);
	font-size: var(--fs-h3);
	font-weight: 600;
	color: var(--ac-ink);
}
.ac-ba-sessions {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ac-accent-deep);
}
.ac-ba-notes {
	margin-top: var(--sp-2);
	font-size: var(--fs-sm);
}
.ac-ba-notes p:last-child { margin-bottom: 0; }
.ac-ba-vary {
	margin-top: var(--sp-3);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--ac-line);
	font-size: var(--fs-xs);
	font-style: italic;
	color: var(--ac-muted);
}

.ac-ba-empty-msg {
	grid-column: 1 / -1;
	padding: var(--sp-7) var(--sp-5);
	text-align: center;
	color: var(--ac-muted);
}

/* ==========================================================================
   13. CTA band
   ========================================================================== */

.ac-cta {
	position: relative;
	padding-block: clamp(3rem, 7vw, 5rem);
	background: var(--ac-ink);
	color: var(--ac-bg);
	text-align: center;
	overflow: hidden;
}
.ac-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 20%, rgba(141, 181, 68, 0.16), transparent 45%),
		radial-gradient(circle at 85% 80%, rgba(141, 181, 68, 0.1), transparent 45%);
}
.ac-cta__inner { position: relative; }
.ac-cta h2 { color: var(--ac-white); }
.ac-cta p {
	max-width: 38rem;
	margin-inline: auto;
	color: #ccd2c4;
}
.ac-cta .ac-btn-row { justify-content: center; margin-top: var(--sp-6); }

/* ==========================================================================
   14. Entry content (WYSIWYG output)
   ========================================================================== */

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

.ac-content > *:first-child { margin-top: 0; }
.ac-content h2 { margin-top: var(--sp-7); }
.ac-content h3 { margin-top: var(--sp-6); }
.ac-content h2:first-child,
.ac-content h3:first-child { margin-top: 0; }

.ac-content img { border-radius: var(--radius); }
.ac-content figure { margin: var(--sp-6) 0; }
.ac-content figcaption {
	margin-top: var(--sp-2);
	font-size: var(--fs-xs);
	color: var(--ac-muted);
	text-align: center;
}

.ac-content .alignleft  { float: left;  margin: 0 var(--sp-5) var(--sp-4) 0; }
.ac-content .alignright { float: right; margin: 0 0 var(--sp-4) var(--sp-5); }
.ac-content .aligncenter { margin-inline: auto; }
.ac-content .alignwide,
.ac-content .alignfull { max-width: 100%; }

.ac-content table {
	width: 100%;
	margin: var(--sp-6) 0;
	border-collapse: collapse;
	font-size: var(--fs-sm);
}
.ac-content th,
.ac-content td {
	padding: var(--sp-3) var(--sp-4);
	border: 1px solid var(--ac-line);
	text-align: left;
}
.ac-content th { background: var(--ac-bg-alt); color: var(--ac-ink); font-weight: 600; }

.ac-table-scroll { overflow-x: auto; }

/* Post meta */
.ac-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-4);
	margin-bottom: var(--sp-5);
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ac-muted);
}
.ac-entry-meta a { color: var(--ac-accent-deep); text-decoration: none; }

.ac-featured {
	margin-bottom: var(--sp-6);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

/* ==========================================================================
   15. Medical disclaimer & notices
   ========================================================================== */

.ac-notice {
	display: flex;
	gap: var(--sp-4);
	padding: var(--sp-5);
	margin: var(--sp-6) 0;
	background: var(--ac-bg-alt);
	border-left: 3px solid var(--ac-accent);
	border-radius: var(--radius);
	font-size: var(--fs-sm);
}
.ac-notice svg { width: 20px; height: 20px; flex: none; color: var(--ac-accent-deep); }
.ac-notice strong { color: var(--ac-ink); }

/* ==========================================================================
   16. Pagination
   ========================================================================== */

.ac-pagination {
	display: flex;
	justify-content: center;
	margin-top: var(--sp-7);
}
.ac-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	align-items: center;
}
.ac-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: var(--sp-3);
	border: 1px solid var(--ac-line);
	border-radius: var(--radius);
	background: var(--ac-white);
	color: var(--ac-ink);
	font-size: var(--fs-sm);
	text-decoration: none;
}
.ac-pagination .page-numbers:hover { border-color: var(--ac-accent); color: var(--ac-accent-deep); }
.ac-pagination .page-numbers.current {
	background: var(--ac-ink);
	border-color: var(--ac-ink);
	color: var(--ac-white);
}

/* ==========================================================================
   17. Forms
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="password"],
select,
textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--ac-line);
	border-radius: var(--radius);
	background: var(--ac-white);
	color: var(--ac-ink);
	font-family: inherit;
	font-size: var(--fs-sm);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus,
select:focus,
textarea:focus {
	outline: 0;
	border-color: var(--ac-accent);
	box-shadow: 0 0 0 3px var(--ac-accent-soft);
}
textarea { min-height: 140px; resize: vertical; }

label {
	display: block;
	margin-bottom: var(--sp-2);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ac-ink);
}

input[type="submit"],
button[type="submit"] {
	width: auto;
	padding: 0.9rem 1.85rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--ac-accent);
	color: var(--ac-ink);
	font-family: var(--ff-body);
	font-size: var(--fs-sm);
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
input[type="submit"]:hover,
button[type="submit"]:hover { background: var(--ac-accent-deep); color: var(--ac-white); }

/* Contact Form 7 tidy-up */
.wpcf7-form p { margin-bottom: var(--sp-4); }
.wpcf7-not-valid-tip { margin-top: var(--sp-2); font-size: var(--fs-xs); color: #b3261e; }
.wpcf7-response-output {
	margin: var(--sp-5) 0 0 !important;
	padding: var(--sp-4) !important;
	border-width: 1px !important;
	border-radius: var(--radius);
	font-size: var(--fs-sm);
}

.ac-form-card {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--ac-white);
	border: 1px solid var(--ac-line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.ac-footer {
	padding-top: var(--sp-8);
	background: var(--ac-ink);
	color: #a3aa9b;
	font-size: var(--fs-sm);
}
.ac-footer h2,
.ac-footer h3,
.ac-footer h4 { color: var(--ac-white); }
.ac-footer a { color: #c5ccbc; text-decoration: none; }
.ac-footer a:hover { color: var(--ac-accent); text-decoration: underline; }

.ac-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: var(--sp-6);
	padding-bottom: var(--sp-7);
}
.ac-footer__col--wide { grid-column: span 1; }
@media (min-width: 900px) {
	.ac-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}

.ac-footer__title {
	margin-bottom: var(--sp-4);
	font-family: var(--ff-body);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ac-white);
}
.ac-footer ul { margin: 0; padding: 0; list-style: none; }
.ac-footer li { margin-bottom: var(--sp-2); }

.ac-footer .ac-brand__name { color: var(--ac-white); }
.ac-footer .ac-brand__mark { background: var(--ac-accent); color: var(--ac-ink); }

.ac-footer__contact li {
	display: flex;
	gap: var(--sp-3);
	align-items: flex-start;
	margin-bottom: var(--sp-3);
}
.ac-footer__contact svg { width: 16px; height: 16px; margin-top: 0.28em; color: var(--ac-accent); flex: none; }

.ac-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3) var(--sp-5);
	align-items: center;
	justify-content: space-between;
	padding-block: var(--sp-5);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--fs-xs);
}
.ac-footer__disclaimer {
	max-width: 62rem;
	padding-bottom: var(--sp-5);
	font-size: var(--fs-xs);
	line-height: 1.6;
	color: #8f9788;
}

.ac-social { display: flex; gap: var(--sp-3); }
.ac-social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ac-social a:hover { background: var(--ac-accent); border-color: var(--ac-accent); }
.ac-social a:hover svg { color: var(--ac-ink); }
.ac-social svg { width: 17px; height: 17px; color: #c5ccbc; }

/* ==========================================================================
   19. Floating mobile call bar
   ========================================================================== */

.ac-callbar {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 95;
	display: none;
	border-top: 1px solid var(--ac-line);
	background: var(--ac-white);
	box-shadow: 0 -4px 20px rgba(33, 36, 24, 0.1);
}
.ac-callbar__inner { display: flex; }
.ac-callbar a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: 0.9rem var(--sp-3);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-decoration: none;
	color: var(--ac-ink);
}
.ac-callbar a + a { border-left: 1px solid var(--ac-line); }
.ac-callbar a.is-primary { background: var(--ac-accent); }
.ac-callbar svg { width: 17px; height: 17px; }

@media (max-width: 768px) {
	.ac-callbar { display: block; }
	body { padding-bottom: 56px; }
}

/* ==========================================================================
   20. WordPress core classes
   ========================================================================== */

.sticky, .gallery-caption, .bypostauthor { /* required by theme check */ }

.wp-caption { max-width: 100%; margin-bottom: var(--sp-5); }
.wp-caption-text { font-size: var(--fs-xs); color: var(--ac-muted); text-align: center; }

.alignleft  { float: left;  margin: 0 var(--sp-5) var(--sp-4) 0; }
.alignright { float: right; margin: 0 0 var(--sp-4) var(--sp-5); }
.aligncenter { display: block; margin-inline: auto; }

.ac-clearfix::after { content: ""; display: table; clear: both; }

/* Print */
@media print {
	.ac-header, .ac-topbar, .ac-footer, .ac-callbar, .ac-cta { display: none !important; }
	body { background: #fff; color: #000; }
}
