/* ==========================================================================
   Ortodont — Kivimurru 14, Tallinn
   ========================================================================== */
:root {
	--od-teal: #3a3a3a;
	--od-teal-2: #4d4d4d;
	--od-teal-3: #262626;
	--od-red: #e31815;
	--od-red-2: #c41412;
	--od-ink: #222222;
	--od-muted: #616161;
	--od-mist: #f1f1ed;
	--od-mist-2: #e2e2dc;
	--od-white: #ffffff;
	--od-line: rgba(34, 34, 34, 0.12);
	--od-line-d: rgba(255, 255, 255, 0.16);
	--od-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--od-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--od-max: 1200px;
	--od-gutter: clamp(16px, 4vw, 40px);
	--od-section: clamp(64px, 8vw, 112px);
	--od-header: 80px;
	--od-radius: 20px;
	--od-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--od-shadow: 0 1px 3px rgba(38, 38, 38, 0.06), 0 22px 48px -28px rgba(38, 38, 38, 0.35);
	--od-dots: radial-gradient(circle, rgba(178, 178, 178, 0.45) 2.2px, transparent 2.6px) 0 0 / 22px 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--od-header) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body { margin: 0; background: var(--od-white); color: var(--od-ink); font: 400 clamp(1rem, 0.97rem + 0.15vw, 1.0625rem)/1.7 var(--od-font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.od-locked { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--od-teal); color: #fff; }
:focus-visible { outline: 2px solid var(--od-red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--od-serif); font-weight: 600; line-height: 1.08; letter-spacing: 0; margin: 0; text-wrap: balance; overflow-wrap: break-word; color: var(--od-teal-3); }
p { text-wrap: pretty; }
.od-icon { flex: none; }
.od-wrap { width: 100%; max-width: calc(var(--od-max) + 2 * var(--od-gutter)); margin-inline: auto; padding-inline: var(--od-gutter); }
.od-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--od-teal); color: #fff; font-weight: 600; }
.od-skip:focus { top: 12px; }

/* buttons */
.od-btn, .od-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 50px; padding: 0.8em 1.6em; border: 1.5px solid transparent; border-radius: 999px;
	font: 600 0.9rem/1.15 var(--od-font); letter-spacing: 0.01em; text-decoration: none; text-align: center; cursor: pointer;
	background: var(--od-red); color: #fff; transition: background-color 0.25s, transform 0.25s var(--od-ease), color 0.25s, border-color 0.25s;
}
.od-btn:hover, .od-button .wp-block-button__link:hover { background: var(--od-red-2); transform: translateY(-1px); }
.od-btn--sm { min-height: 42px; padding: 0.55em 1.2em; font-size: 0.84rem; }
.od-button--line .wp-block-button__link { background: transparent; color: var(--od-teal); border-color: currentColor; }
.od-button--line .wp-block-button__link:hover { background: var(--od-teal); color: #fff; border-color: var(--od-teal); }
.od-button--light .wp-block-button__link { background: #fff; color: var(--od-teal-3); }
.od-button--light .wp-block-button__link:hover { background: var(--od-mist-2); }
.od-section--teal .od-button--line .wp-block-button__link { color: #fff; }
.od-section--teal .od-button--line .wp-block-button__link:hover { background: #fff; color: var(--od-teal-3); border-color: #fff; }
.wp-block-buttons.od-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons.od-actions--center { justify-content: center; }

/* top bar + header */
.od-topbar { background: var(--od-teal-3); color: rgba(255, 255, 255, 0.82); font-size: 0.8rem; }
.od-topbar__inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; padding-block: 7px; }
.od-topbar a, .od-topbar span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.od-topbar a:hover { color: #fff; }
.od-topbar__inner > :first-child { margin-right: auto; }
@media (max-width: 760px) { .od-topbar { display: none; } }
.od-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.98); box-shadow: 0 1px 0 var(--od-line); transition: box-shadow 0.3s; }
.od-header.is-scrolled { box-shadow: 0 1px 0 var(--od-line), 0 10px 30px -18px rgba(38, 38, 38, 0.35); }
.admin-bar .od-header { top: var(--wp-admin--admin-bar--height, 32px); }
.od-header__inner { display: flex; align-items: center; gap: 20px; height: var(--od-header); }
.od-logo { display: block; flex: none; }
.od-logo img { height: 34px; width: auto; }
.od-nav { margin-left: auto; }
.od-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.od-nav a { display: block; padding: 10px 11px; font: 500 0.9rem/1 var(--od-font); text-decoration: none; color: var(--od-ink); position: relative; white-space: nowrap; }
.od-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--od-red); transform: scaleX(0); transition: transform 0.3s var(--od-ease); }
.od-nav a:hover::after, .od-nav a[aria-current]::after { transform: scaleX(1); }
.od-header__end { display: flex; align-items: center; gap: 12px; }
.od-langs { display: inline-flex; gap: 2px; }
.od-langs a { padding: 6px 7px; font: 600 0.74rem/1 var(--od-font); letter-spacing: 0.06em; text-decoration: none; color: var(--od-muted); border-bottom: 2px solid transparent; }
.od-langs a:hover { color: var(--od-ink); }
.od-langs a[aria-current] { color: var(--od-teal-3); border-bottom-color: var(--od-red); }
.od-header__cta { white-space: nowrap; }
.od-burger { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--od-line); border-radius: 999px; background: transparent; color: var(--od-ink); cursor: pointer; }
.od-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--od-ease), top 0.3s var(--od-ease); }
.od-burger span:first-child { top: 18px; } .od-burger span:last-child { top: 26px; }
.od-burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.od-burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.od-drawer { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: calc(var(--od-header) + 20px) var(--od-gutter) calc(24px + env(safe-area-inset-bottom)); background: #fff; color: var(--od-ink); opacity: 0; visibility: hidden; overflow-x: hidden; overflow-y: auto; transition: opacity 0.3s, visibility 0s 0.3s; }
.od-drawer[hidden] { display: flex; }
.od-drawer.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.od-drawer ol { margin: 0; padding: 0; list-style: none; }
.od-drawer li { border-bottom: 1px solid var(--od-line); }
.od-drawer li a { display: block; padding: 12px 0; font: 600 clamp(1.5rem, 6.5vw, 2.1rem)/1.15 var(--od-serif); color: var(--od-teal-3); text-decoration: none; overflow-wrap: anywhere; }
.od-drawer__foot { display: grid; gap: 12px; }
.od-drawer__foot a:not(.od-btn), .od-drawer__foot p { display: flex; gap: 10px; align-items: center; margin: 0; text-decoration: none; color: var(--od-muted); }
.od-drawer__foot .od-icon { color: var(--od-red); }
.od-langs--drawer a { padding: 10px 12px; border: 1px solid var(--od-line); border-radius: 999px; letter-spacing: 0.02em; }
@media (max-width: 1180px) { .od-nav { display: none; } .od-header__end { margin-left: auto; } .od-burger { display: block; } }
@media (min-width: 1181px) { .od-drawer { display: none !important; } }
@media (max-width: 640px) { :root { --od-header: 66px; } .od-header .od-langs, .od-header__cta { display: none; } .od-logo img { height: 28px; } }

/* content basics */
.od-content :where(p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl) { margin: 0; }
.od-content .wp-block-group__inner-container { display: contents; }
.od-section { position: relative; padding-block: var(--od-section); }
.od-section--tight { padding-block: 0 var(--od-section); }
.od-section--mist { background: var(--od-mist); }
.od-section--teal { background: var(--od-teal); color: rgba(255, 255, 255, 0.86); }
.od-section--teal :where(h2, h3) { color: #fff; }
.od-stack { display: grid; gap: clamp(32px, 4.5vw, 56px); }
.od-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 0.76rem/1.2 var(--od-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--od-red); }
.od-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.od-section--teal .od-eyebrow { color: #ff8a80; }
.od-head { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.od-content h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.od-content h3 { font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.8rem); }
.od-lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--od-muted); }
.od-small { font-size: 0.9rem; color: var(--od-muted); }
.od-more a, a.od-more { color: var(--od-red); font-weight: 600; text-decoration: none; }
.od-more a:hover { text-decoration: underline; }
.od-js .od-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--od-ease), transform 0.8s var(--od-ease); }
.od-js .od-reveal.is-in { opacity: 1; transform: none; }
.editor-styles-wrapper .od-reveal { opacity: 1 !important; transform: none !important; }

/* hero */
.od-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px); background: linear-gradient(180deg, var(--od-mist), #fff 85%); }
.od-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.od-hero__text { display: grid; gap: 20px; justify-items: start; }
.od-hero__title { font-size: clamp(2.9rem, 1.8rem + 5vw, 5.6rem); line-height: 0.98; color: var(--od-teal-3); }
.od-hero__lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); color: var(--od-muted); max-width: 36ch; }
.od-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; list-style: none; }
.od-hero__facts li { padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--od-line); font-size: 0.86rem; font-weight: 500; }
.od-hero__media { position: relative; justify-self: center; width: min(100%, 460px); }
.od-hero__media::before { content: ""; position: absolute; inset: -26px -26px auto auto; width: 62%; height: 62%; background: var(--od-dots); z-index: 0; }
.od-hero__media::after { content: ""; position: absolute; left: -14px; bottom: 36px; width: 64px; height: 64px; border-radius: 50%; border: 10px solid var(--od-red); z-index: 2; }
.od-hero__img { position: relative; z-index: 1; border-radius: 200px 200px var(--od-radius) var(--od-radius); overflow: hidden; box-shadow: var(--od-shadow); }
.od-hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 860px) { .od-hero__grid { grid-template-columns: 1fr; } .od-hero__media { width: min(100%, 360px); } }
@media (max-width: 560px) { .od-hero .wp-block-buttons { width: 100%; } .od-hero .wp-block-button { flex: 1 1 100%; } .od-hero .wp-block-button__link { width: 100%; } }

/* split */
.od-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.od-split--rev > :first-child { order: 2; }
.od-split__media { border-radius: var(--od-radius); overflow: hidden; box-shadow: var(--od-shadow); }
.od-split__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.od-split__media--portrait { max-width: 420px; justify-self: center; width: 100%; }
.od-split__media--portrait img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
.od-split__text { display: grid; gap: 16px; justify-items: start; }
@media (max-width: 860px) { .od-split { grid-template-columns: 1fr; } .od-split--rev > :first-child { order: 0; } }

/* steps */
.od-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.od-step { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px; border-radius: var(--od-radius); background: #fff; box-shadow: 0 0 0 1px var(--od-line); }
.od-step__n { font: 600 2.6rem/1 var(--od-serif); color: var(--od-red); }
.od-content .od-step h3 { font-size: 1.4rem; }
.od-step p:last-child { font-size: 0.93rem; color: var(--od-muted); }
@media (max-width: 1100px) { .od-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .od-steps { grid-template-columns: minmax(0, 1fr); } .od-step { grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; } .od-step__n { grid-row: span 2; } }

/* before / after */
.od-ba-wrap { max-width: 900px; margin-inline: auto; width: 100%; }
.od-ba { position: relative; border-radius: var(--od-radius); overflow: hidden; box-shadow: var(--od-shadow); background: var(--od-mist-2); user-select: none; touch-action: pan-y; }
.od-ba > img, .od-ba__before img { width: 100%; height: auto; aspect-ratio: 871 / 394; object-fit: cover; }
.od-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.od-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none; }
.od-ba__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--od-teal-3); font: 700 1.1rem/1 var(--od-font); letter-spacing: 0.1em; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.od-ba__label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(38, 38, 38, 0.78); color: #fff; font: 600 0.74rem/1.2 var(--od-font); letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; }
.od-ba__label--l { left: 14px; } .od-ba__label--r { right: 14px; }
.od-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.od-ba__range:focus-visible + * { outline: none; }
.od-ba:focus-within { outline: 2px solid var(--od-red); outline-offset: 3px; }

/* payment band */
.od-pay { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.od-pay__text { display: grid; gap: 16px; justify-items: start; }
.od-terms { display: grid; gap: 0; margin: 0; padding: 8px 22px; list-style: none; border-radius: var(--od-radius); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--od-line-d); }
.od-terms li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--od-line-d); }
.od-terms li:last-child { border-bottom: 0; }
.od-terms strong { color: #fff; text-align: right; }
@media (max-width: 860px) { .od-pay { grid-template-columns: minmax(0, 1fr); } }

/* reviews */
.od-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.od-review { display: grid; grid-template-rows: 1fr auto; gap: 20px; padding: 28px; border-radius: var(--od-radius); background: #fff; box-shadow: 0 0 0 1px var(--od-line); }
.od-review__text { font: 500 1.16rem/1.5 var(--od-serif); color: var(--od-ink); }
.od-review__who { display: flex; align-items: center; gap: 12px; }
.od-review__img { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; }
.od-review__img img { width: 52px; height: 52px; object-fit: cover; }
.od-review__name { font-size: 0.95rem; }
@media (max-width: 1000px) { .od-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .od-reviews { grid-template-columns: minmax(0, 1fr); } }

/* cards (blog) */
.od-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.od-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--od-radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--od-line); transition: transform 0.35s var(--od-ease), box-shadow 0.35s; }
.od-card:hover { transform: translateY(-3px); box-shadow: var(--od-shadow); }
.od-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--od-mist-2); }
.od-card__media img { width: 100%; height: 100%; object-fit: cover; }
.od-card__body { display: grid; gap: 10px; align-content: start; padding: 22px 24px 26px; }
.od-content .od-card__body h3 { font-size: 1.5rem; }
.od-card__body h3 a { text-decoration: none; }
.od-card__body h3 a:hover { color: var(--od-red); }
.od-card__body p:not(.od-more) { font-size: 0.95rem; color: var(--od-muted); }
.od-tag { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--od-mist-2); color: var(--od-muted); font: 600 0.68rem/1.4 var(--od-font); letter-spacing: 0.04em; vertical-align: 3px; }
@media (max-width: 960px) { .od-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .od-cards { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.od-band { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 720px; margin-inline: auto; }

/* page hero */
.od-phero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); background: var(--od-mist); text-align: center; }
.od-phero::before { content: ""; position: absolute; right: -20px; top: -20px; width: 260px; height: 220px; background: var(--od-dots); opacity: 0.9; }
.od-phero__inner { position: relative; display: grid; gap: 14px; justify-items: center; max-width: 860px; margin-inline: auto; }
.od-phero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); }
.od-phero .od-lead { max-width: 60ch; }
@media (max-width: 600px) { .od-phero::before { width: 140px; height: 120px; } }

/* aligner page */
.od-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.od-feat { display: grid; gap: 8px; padding: 28px; border-radius: var(--od-radius); background: var(--od-mist); }
.od-feat__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 50%; background: var(--od-red); color: #fff; font: 600 0.9rem/1 var(--od-font); }
.od-feat p { color: var(--od-muted); }
@media (max-width: 760px) { .od-feats { grid-template-columns: minmax(0, 1fr); } }
.od-visits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; counter-reset: v; }
.od-visit { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 28px 28px 84px; border-radius: var(--od-radius); background: #fff; box-shadow: 0 0 0 1px var(--od-line); counter-increment: v; }
.od-visit::before { content: counter(v); position: absolute; left: 26px; top: 26px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--od-teal); color: #fff; font: 600 1rem/1 var(--od-font); }
.od-visit__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.od-visit__price { padding: 4px 12px; border-radius: 999px; background: #fde9e7; color: var(--od-red-2); font-size: 0.86rem; font-weight: 600; white-space: nowrap; }
.od-visit > p { color: var(--od-muted); font-size: 0.97rem; }
@media (max-width: 760px) { .od-visits { grid-template-columns: minmax(0, 1fr); } .od-visit { padding: 24px 22px 24px 72px; } .od-visit::before { left: 18px; top: 22px; } }
.od-checks { display: grid; gap: 12px; padding: 0 !important; list-style: none; }
.od-checks li { position: relative; padding-left: 36px; }
.od-checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; background: var(--od-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* retention rules */
.od-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; max-width: 1040px; margin-inline: auto !important; width: 100%; padding: 0 !important; list-style: none; counter-reset: r; }
.od-rules li { position: relative; padding: 16px 18px 16px 62px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--od-line); counter-increment: r; font-size: 0.97rem; }
.od-rules li::before { content: counter(r); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--od-mist-2); color: var(--od-teal-3); font: 600 0.88rem/1 var(--od-font); }
@media (max-width: 760px) { .od-rules { grid-template-columns: minmax(0, 1fr); } }

/* prices */
.od-price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 22px; align-items: start; }
.od-price-box, .od-inbank { display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--od-radius); }
.od-price-box { background: #fff; box-shadow: 0 0 0 1px var(--od-line), var(--od-shadow); }
.od-inbank { background: var(--od-teal); color: rgba(255, 255, 255, 0.86); justify-items: start; }
.od-inbank h2 { color: #fff; }
.od-inbank .od-eyebrow { color: #ff8a80; }
.od-inbank .od-small { color: rgba(255, 255, 255, 0.7); }
.od-inbank .od-terms { width: 100%; }
.od-prices { display: grid; margin: 0; padding: 0; list-style: none; }
.od-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--od-line); }
.od-prices strong { color: var(--od-teal-3); font: 600 1.1rem/1.2 var(--od-font); white-space: nowrap; }
@media (max-width: 900px) { .od-price-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .od-prices li, .od-terms li { flex-direction: column; gap: 2px; } .od-terms strong { text-align: left; } }

/* team */
.od-person { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.od-person--rev { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.od-person__img { border-radius: var(--od-radius); overflow: hidden; box-shadow: var(--od-shadow); max-width: 420px; width: 100%; justify-self: center; }
.od-person__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.od-person__text { display: grid; gap: 14px; justify-items: start; }
@media (max-width: 860px) { .od-person, .od-person--rev { grid-template-columns: minmax(0, 1fr); } .od-person--rev > .od-person__img { order: -1; } .od-person__img { max-width: 340px; } }

/* FAQ */
.od-faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; width: 100%; }
.od-faq__item { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--od-line); overflow: hidden; }
.od-faq__item summary { position: relative; padding: 20px 60px 20px 24px; font: 600 1.35rem/1.25 var(--od-serif); color: var(--od-teal-3); cursor: pointer; list-style: none; }
.od-faq__item summary::-webkit-details-marker { display: none; }
.od-faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--od-mist-2); color: var(--od-teal-3); font: 500 1.2rem/1 var(--od-font); transition: transform 0.3s var(--od-ease), background-color 0.3s; }
.od-faq__item[open] summary::after { transform: rotate(45deg); background: var(--od-red); color: #fff; }
.od-faq__item > :not(summary) { padding: 0 24px; color: var(--od-muted); }
.od-faq__item > :not(summary) + :not(summary) { margin-top: 10px !important; }
.od-faq__item > :last-child { padding-bottom: 22px; }
.od-note { display: grid; gap: 10px; max-width: 860px; margin-inline: auto !important; width: 100%; padding: 22px 24px; border-radius: 16px; background: var(--od-mist); border-left: 4px solid var(--od-red); }
.od-section--mist .od-note { background: #fff; }
.od-note .wp-block-buttons { margin-top: 4px; }

/* leaflets */
.od-leaf-group { display: grid; gap: 18px; }
.od-content .od-leaf-group__h { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.od-leaves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.od-leaf { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--od-line); text-decoration: none; transition: box-shadow 0.25s, transform 0.25s var(--od-ease); }
.od-leaf:hover { box-shadow: 0 0 0 1.5px var(--od-teal), var(--od-shadow); transform: translateY(-2px); }
.od-leaf__type { flex: none; display: grid; place-items: center; width: 46px; height: 54px; border-radius: 6px 14px 6px 6px; background: #fde9e7; color: var(--od-red-2); font: 700 0.7rem/1 var(--od-font); letter-spacing: 0.06em; }
.od-leaf__name { font-weight: 500; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 960px) { .od-leaves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .od-leaves { grid-template-columns: minmax(0, 1fr); } }

/* article */
.od-article { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; width: 100%; font-size: 1.06rem; }
.od-content .od-article h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin-top: 18px; }
.od-content .od-article h3 { font-size: 1.5rem; margin-top: 8px; }
.od-article__img { margin: 6px 0 !important; border-radius: var(--od-radius); overflow: hidden; }
.od-article__img img { width: 100%; max-height: 520px; object-fit: cover; }
.od-list { display: grid; gap: 10px; padding-left: 1.3em !important; }
.od-list li::marker { color: var(--od-red); }
.od-article a:not(.wp-block-button__link) { color: var(--od-red-2); }
.od-article__cta { margin-top: 18px !important; }
.od-back a { color: var(--od-teal); font-weight: 600; text-decoration: none; }

/* contact + booking */
.od-book { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.od-book__text { display: grid; gap: 16px; justify-items: start; position: sticky; top: calc(var(--od-header) + 24px); }
.od-booking { border-radius: var(--od-radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--od-line), var(--od-shadow); }
.od-booking iframe { display: block; width: 100%; height: 760px; border: 0; }
@media (max-width: 900px) { .od-book { grid-template-columns: minmax(0, 1fr); } .od-book__text { position: static; } }
.od-visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.od-visit__box { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--od-radius); background: #fff; box-shadow: 0 0 0 1px var(--od-line); }
.od-visit__box a { color: var(--od-teal-3); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.od-visit__box a:hover { color: var(--od-red); }
.od-map { grid-column: 1 / -1; position: relative; min-height: 340px; border-radius: var(--od-radius); overflow: hidden; background: var(--od-mist-2); }
.od-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .od-visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .od-visit-grid { grid-template-columns: minmax(0, 1fr); } }
.od-hours, .od-legal { display: grid; gap: 6px; margin: 0; }
.od-hours div, .od-legal div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 6px; border-bottom: 1px dotted var(--od-line); }
.od-hours dt, .od-legal dt { color: var(--od-muted); }
.od-hours dd, .od-legal dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.od-hours__note { margin: 8px 0 0 !important; font-size: 0.86rem; color: var(--od-muted); }

/* footer */
.od-footer { background: var(--od-teal-3); color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.od-footer a { text-decoration: none; }
.od-footer a:hover { color: #fff; }
.od-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.8fr); gap: 40px; padding-block: 56px 36px; }
.od-footer__brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.od-footer__brand img { width: 210px; height: auto; }
.od-footer__tag { margin: 0; max-width: 30ch; }
.od-footer h2 { margin: 0 0 6px; font: 600 0.76rem/1.2 var(--od-font); letter-spacing: 0.16em; text-transform: uppercase; color: #ff8a80; }
.od-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.od-footer__contact { display: grid; gap: 10px; align-content: start; justify-items: start; min-width: 0; }
.od-footer__contact > a { display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.od-footer .od-icon { color: #ff8a80; }
.od-footer .od-hours div { border-bottom-color: var(--od-line-d); }
.od-footer .od-hours dt, .od-footer .od-hours__note { color: rgba(255, 255, 255, 0.65); }
.od-footer .od-hours dd { color: #fff; }
.od-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--od-line-d); font-size: 0.8rem; }
.od-footer__bottom p { margin: 0; }
.od-footer__bottom a { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 960px) { .od-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .od-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .od-footer__grid { grid-template-columns: minmax(0, 1fr); } .od-footer__bottom { padding-bottom: 90px; } }

/* mobile dock */
.od-dock { display: none; }
@media (max-width: 760px) {
	.od-dock { position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80; display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; border-radius: 999px; background: var(--od-red); color: #fff; font: 600 0.92rem/1 var(--od-font); text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45); transform: translateY(150%); transition: transform 0.4s var(--od-ease); }
	.od-dock.is-visible { transform: none; }
}
.od-prices, .od-terms, .od-hours, .od-legal, .od-footer, .od-visit__price { font-variant-numeric: lining-nums tabular-nums; }
.od-footer .od-hours { width: 100%; }
.od-legal div { flex-wrap: wrap; }
.od-docs { display: flex; flex-wrap: wrap; gap: 8px; }
.od-docs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--od-mist-2); color: var(--od-teal-3); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.od-docs a::before { content: "PDF"; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--od-red-2); }
.od-docs a:hover { background: var(--od-teal); color: #fff; }
.od-docs a:hover::before { color: #fff; }

/* Liability insurance page */
.od-ins-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.od-ins-grid .od-split__text { display: grid; gap: 14px; }
.od-ins-grid .od-visit__box { box-shadow: var(--od-shadow), 0 0 0 1px var(--od-line); }
@media (max-width: 860px) { .od-ins-grid { grid-template-columns: minmax(0, 1fr); } }
