/*
Theme Name: Liikumiskliinik
Theme URI: https://lk.pimedik.eu
Description: Child theme of Twenty Twenty-Five for the Liikumiskliinik (Füsioteraapia Tartus) site. Owns brand CSS and theme.json overrides; presentation lives here, behaviour stays in mu-plugins.
Author: Liikumiskliinik
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lk
*/

/* =========================================================================
   Base
   ========================================================================= */
body.home .wp-block-post-title { display: none; }

/* Sticky header (~69px at rest) is position:sticky, so in-page anchor jumps
   (e.g. the Teenused .lk-anchors strip → #fusioteraapia …) land with the target
   heading tucked under it. Offset every scroll target by the header height plus
   a little breathing room. */
html { scroll-padding-top: 84px; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* backdrop-filter must NOT be on the header itself — it creates a new containing
     block and breaks position:fixed children (the mobile nav overlay).
     Use a ::before pseudo instead so fixed descendants measure from the viewport. */
  background: rgba(251, 248, 243, 0.92);
  transition: padding 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; pointer-events: none;
  position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.site-header.is-scrolled {
  padding-top: 8px !important; padding-bottom: 8px !important;
  background: rgba(251, 248, 243, 0.98);
  border-bottom-color: rgba(34, 39, 47, 0.06);
}
.site-brand { gap: 10px; align-items: center; }
.site-mark-link { display: inline-flex; line-height: 1; text-decoration: none; }
.site-mark { display: inline-flex; line-height: 1; }
.wp-block-site-title {
  font-size: 20px; font-weight: 700; line-height: 1; margin: 0;
  letter-spacing: -0.01em;
}
.wp-block-site-title a { color: var(--wp--preset--color--dark); text-decoration: none; }

/* =========================================================================
   Navigation
   ========================================================================= */
.wp-block-navigation a:where(:not(.wp-element-button)) {
  font-size: 15px; font-weight: 500;
  color: var(--wp--preset--color--dark);
}
.wp-block-navigation a:where(:not(.wp-element-button)):hover {
  color: var(--wp--preset--color--accent);
}
.wp-block-navigation .menu-item-cta > a,
.wp-block-navigation .wp-block-navigation-item.menu-item-cta a {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--surface-pure) !important;
  border-radius: 8px; padding: 10px 20px;
  font-weight: 600; font-size: 14px;
  transition: background-color 0.18s ease;
}
.wp-block-navigation .menu-item-cta > a:hover,
.wp-block-navigation .wp-block-navigation-item.menu-item-cta a:hover {
  background: var(--wp--preset--color--accent-dark);
}
/* Mobile nav overlay */
.wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--wp--preset--color--dark) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 !important;
}

/* Inner close wrapper — full height so the dialog fills the overlay */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
  flex: 1; display: flex; flex-direction: column;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
  flex: 1; display: flex; flex-direction: column;
  padding: 0;
}

/* Close (×) button — top-right, larger tap target */
.wp-block-navigation__responsive-container-close {
  position: absolute !important;
  top: 20px !important; right: 20px !important;
  width: 44px; height: 44px;
  display: none !important; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08) !important;
  border-radius: 50%;
  color: var(--wp--preset--color--surface-pure) !important;
  transition: background-color 0.18s ease;
  z-index: 2;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  display: inline-flex !important;
}
.wp-block-navigation__responsive-container-close:hover {
  background: rgba(255,255,255,0.16) !important;
}
.wp-block-navigation__responsive-container-close svg {
  fill: var(--wp--preset--color--surface-pure);
}

/* Nav link list — stacked, left-aligned, large type */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px 36px 60px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  gap: 0 !important;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  width: 100%;
  border-bottom: 1px solid rgba(219,229,240,0.1);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:first-child {
  border-top: 1px solid rgba(219,229,240,0.1);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:where(:not(.wp-element-button)) {
  display: flex !important;
  align-items: center;
  width: 100%;
  padding: 20px 0 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: rgba(219,229,240,0.55) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
  outline: none !important;
  box-shadow: none !important;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:focus {
  outline: none !important;
  box-shadow: none !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover {
  color: rgba(219,229,240,0.9) !important;
  padding-left: 8px !important;
  outline: none !important;
  box-shadow: none !important;
}

/* "Broneeri aeg" CTA — orange pill, sits below the nav list */
.wp-block-navigation__responsive-container.is-menu-open .menu-item-cta a,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.menu-item-cta a {
  display: inline-flex !important;
  margin-top: 32px;
  padding: 16px 32px !important;
  font-size: 16px !important;
  width: auto !important;
  border-radius: 8px;
  background: var(--wp--preset--color--accent) !important;
  color: var(--wp--preset--color--surface-pure) !important;
  border-top: none !important;
  letter-spacing: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .menu-item-cta a:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.menu-item-cta a:hover {
  background: var(--wp--preset--color--accent-dark) !important;
  padding-left: 32px !important;
  color: var(--wp--preset--color--surface-pure) !important;
}

.site-nav-wrap { align-items: center; }
.site-header-cta {
  display: inline-flex; align-items: center;
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--surface-pure) !important;
  border-radius: 8px; padding: 10px 20px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; line-height: 1;
  transition: background-color 0.18s ease;
}
.site-header-cta:hover { background: var(--wp--preset--color--accent-dark); }
@media (max-width: 600px) {
  .site-header-cta { padding: 8px 14px; font-size: 13px; }
}

/* =========================================================================
   Inner-page title (TT5 default page.html; pages with lk/page-hero
   use page-no-title and never hit this rule)
   ========================================================================= */
body:not(.home) .wp-block-post-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1;
  padding: 60px 0 24px;
  max-width: 1200px; margin: 0 auto;
  padding-left: 40px; padding-right: 40px;
}

/* =========================================================================
   Accessibility: minimum font sizes for small UI text
   ========================================================================= */
/* Nothing smaller than 13px should render below 13px on any screen */
.lk-kicker,
.lk-hero-eyebrow,
.lk-stat-lbl,
.lk-contact-card__label,
.lk-testimonial-author span,
.site-footer-h { font-size: max(13px, 0.8125rem); }

/* =========================================================================
   Preset-color overrides
   TT5 emits `.has-text-color { color: var(--wp--preset--color--text) !important; }`.
   Gutenberg applies both `.has-text-color` AND `.has-{slug}-color` to the same
   element, so without these out-specifying rules the generic class wins.
   Add new preset slugs here as needed.
   ========================================================================= */
.lk-kicker.has-accent-color,
.lk-hero-eyebrow.has-accent-color,
.has-text-color.has-accent-color { color: var(--wp--preset--color--accent) !important; }
/* Inner-page hero kickers ride the same dark-green band the home CTA does, so
   they take the brand's gold accent — warm, legible, and tying the page-hero to
   the gold-framed CTA/footer language. The pages set an inline `on-dark`
   textColor, which Gutenberg renders as `.has-text-color.has-on-dark-color`
   (specificity 0,2,0, !important — see the override block above). To beat it we
   must out-specify, so chain `.has-on-dark-color` onto the page-hero selector
   (0,3,0) rather than rely on source order. */
.lk-page-hero .lk-page-hero__kicker,
.lk-page-hero .lk-page-hero__kicker.has-on-dark-color { color: var(--wp--preset--color--gold) !important; }
.has-text-color.has-dark-color { color: var(--wp--preset--color--dark) !important; }
.has-text-color.has-on-dark-color { color: var(--wp--preset--color--on-dark) !important; }
.has-text-color.has-surface-pure-color { color: var(--wp--preset--color--surface-pure) !important; }
.has-text-color.has-text-muted-color { color: var(--wp--preset--color--text-muted) !important; }
.has-text-color.has-gold-color { color: var(--wp--preset--color--gold) !important; }

/* =========================================================================
   Page hero banner (inner pages)
   ========================================================================= */
.lk-page-hero {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 40px) clamp(60px, 7vw, 90px) !important;
}
.lk-page-hero .lk-page-hero__kicker { margin: 0 0 14px; }
.lk-page-hero .lk-page-hero__title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 18px;
}
.lk-page-hero .lk-page-hero__lede {
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  opacity: 0.92; /* slight softening against navy without losing contrast */
}

/* =========================================================================
   Privaatsuspoliitika heading rhythm
   ========================================================================= */
.page-id-10 .wp-block-post-content h2 {
  margin-top: 2.8rem;
  font-size: clamp(22px, 2.6vw, 28px);
}
.page-id-10 .wp-block-post-content h3 { margin-top: 2rem; font-size: 19px; }

/* =========================================================================
   Shared band primitives
   ========================================================================= */
.lk-kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.lk-section-title {
  margin-top: 0; margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.18;
}
.lk-cta h2 {
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.18;
}
.lk-section-sub {
  max-width: 620px;
  margin: 0 auto 48px;
  font-size: 17px; line-height: 1.65;
  color: #3d4550; /* darkened from text-muted for better readability */
}

/* =========================================================================
   Buttons — hover/transition only; defaults are in theme.json
   ========================================================================= */
.wp-block-button .wp-block-button__link {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}
/* Light-band primary (header excluded — it's hand-rolled, see .site-header-cta):
   solid forest-green, no border. The earlier gold ring read as a stuck focus
   outline on the cream About band, so it's gone. Hover borrows the hero's lift
   at lower intensity for one shared interaction language across the page. */
.lk-btn-primary .wp-block-button__link {
  border: none;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(18, 43, 30, 0.18);
}
.lk-btn-primary .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(18, 43, 30, 0.25);
}
/* On the dark CTA band, the primary button becomes a solid gold pill with
   dark-green text — gold reads as a true CTA accent against the dark ground
   (instead of a green fill ringed by a gold border, which looked like a stuck
   focus outline). Scoped to .lk-cta so primary buttons on light bands keep the
   green fill + gold frame. */
.lk-cta .lk-btn-primary .wp-block-button__link {
  background-color: var(--wp--preset--color--gold) !important;
  color: var(--wp--preset--color--dark) !important;
  border-color: var(--wp--preset--color--gold);
}
.lk-cta .lk-btn-primary .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--gold-dark, #a87c18) !important;
  border-color: var(--wp--preset--color--gold-dark, #a87c18);
  color: var(--wp--preset--color--dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(18, 43, 30, 0.35);
}
.lk-btn-secondary .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--dark-deep) !important;
}
.lk-btn-ghost .wp-block-button__link:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
}
/* lk-btn-lg is used only on the CTA band (lk/cta pattern). Sized to match the
   standard button so the gold CTA shares the same footprint as the green
   light-band primary — gold sets it apart, not its dimensions. */
.lk-btn-lg .wp-block-button__link {
  padding: 14px 28px; font-size: 15px;
}

/* =========================================================================
   Hero (home) — left-aligned copy + logo "seal" on a forest-green ground

   The photo stays, but the overlay is warmed from blue-navy to the brand's
   forest greens (dark #1a3d2b → dark-deep #122b1e) so it no longer fights the
   accent colour. A diagonal accent wash on the copy side darkens the photo just
   enough for legible left-aligned text; the right side carries the logo mark,
   enlarged and softly lit, echoing its own circular frame.
   ========================================================================= */
.lk-hero {
  min-height: 660px;
}
.lk-hero .wp-block-cover__background {
  /* Forest-green wash: heavier on the left (behind the copy) and lifting on the
     right so the logo seal reads against a slightly lighter ground. */
  background:
    linear-gradient(105deg,
      rgba(18, 43, 30, 0.92) 0%,
      rgba(18, 43, 30, 0.80) 32%,
      rgba(26, 61, 43, 0.58) 60%,
      rgba(26, 61, 43, 0.42) 100%),
    radial-gradient(120% 90% at 78% 42%,
      rgba(45, 122, 79, 0.30) 0%,
      rgba(45, 122, 79, 0) 55%) !important;
  opacity: 1 !important;
}
.lk-hero .wp-block-cover__inner-container {
  max-width: 1200px;
  padding: 0 clamp(20px, 4vw, 40px);
  width: 100%;
}

/* Asymmetric two-column grid: copy left (wider), logo seal right. */
.lk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.lk-hero-copy {
  text-align: left;
  max-width: 620px;
}

.lk-hero-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--gold); /* warm honey-gold — the secondary accent, reserved for dark-green grounds */
  margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
/* Small leading rule before the eyebrow text — a touch of editorial structure. */
.lk-hero-eyebrow::before {
  content: ""; width: 32px; height: 2px;
  background: currentColor; border-radius: 2px;
  display: inline-block; opacity: 0.8;
}
.lk-hero-title {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(10, 26, 18, 0.45);
}
.lk-hero-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--wp--preset--color--on-dark);
  max-width: 540px;
  margin: 0 0 36px;
  text-shadow: 0 1px 12px rgba(10, 26, 18, 0.4);
}

/* CTA pair — custom buttons (anchors) so we don't depend on core button markup
   inside the wp:html block. Primary = forest accent; ghost = hairline outline. */
.lk-hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.lk-hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-size: 16px; font-weight: 600;
  border-radius: 8px; /* match the site-wide standard button shape (was a 999px pill) */
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}
.lk-hero-btn--primary {
  background: var(--wp--preset--color--accent);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 43, 30, 0.45);
}
.lk-hero-btn--primary:hover {
  background: var(--wp--preset--color--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(18, 43, 30, 0.55);
}
.lk-hero-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
}
.lk-hero-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}
.lk-hero-btn--ghost span { transition: transform 0.18s ease; }
.lk-hero-btn--ghost:hover span { transform: translateX(4px); }

/* The logo "seal": the brand mark enlarged, sitting in a soft radial halo that
   echoes the logo's own circular frame. Decorative — aria-hidden in markup. */
.lk-hero-seal {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  isolation: isolate;
}
.lk-hero-seal::before {
  content: "";
  position: absolute; inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(143, 211, 171, 0.22) 0%,
    rgba(45, 122, 79, 0.12) 45%,
    rgba(45, 122, 79, 0) 72%);
  z-index: -1;
}
.lk-hero-seal img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  /* Flatten the navy/teal mark to solid white so it reads crisply over the
     photo, then add depth back with a soft shadow. brightness(0) crushes every
     opaque pixel to black; invert(1) flips it to white (transparent stays). */
  filter: brightness(0) invert(1)
          drop-shadow(0 10px 30px rgba(10, 26, 18, 0.55));
}

/* Staggered load reveal — one orchestrated entrance beats scattered micro-fx. */
@media (prefers-reduced-motion: no-preference) {
  .lk-hero-eyebrow,
  .lk-hero-title,
  .lk-hero-lede,
  .lk-hero-actions { opacity: 0; transform: translateY(16px); animation: lk-hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .lk-hero-eyebrow { animation-delay: 0.05s; }
  .lk-hero-title   { animation-delay: 0.15s; }
  .lk-hero-lede    { animation-delay: 0.28s; }
  .lk-hero-actions { animation-delay: 0.4s; }
  .lk-hero-seal { opacity: 0; transform: scale(0.92); animation: lk-hero-seal-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards; }
}
@keyframes lk-hero-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lk-hero-seal-in {
  to { opacity: 1; transform: scale(1); }
}

/* =========================================================================
   Stats band
   ========================================================================= */
.lk-stats { border-bottom: 1px solid var(--wp--preset--color--border); }
.lk-stat-num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700; line-height: 1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.lk-stat-lbl {
  font-size: 14px; margin: 0;
  letter-spacing: 0.04em;
  color: #3d4550; /* darkened from text-muted #5e6770 for better contrast */
  position: relative;
  padding-top: 14px;
}
.lk-stat-lbl::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2px;
  background: var(--wp--preset--color--accent);
  border-radius: 2px;
}

/* =========================================================================
   Service cards (home + Teenused)
   ========================================================================= */
.lk-service-row { gap: 24px; }
/* 5-card grid breakpoints: 3 col → 2 col → 1 col.
   WP injects .wp-container-* { flex-wrap: nowrap } as an inline <style> after our
   stylesheet, so !important alone loses when specificity is equal. Use two classes
   (.lk-service-row-5.wp-block-columns) to out-specify the single WP container class. */
.lk-service-row-5.wp-block-columns { flex-wrap: wrap !important; }
.lk-service-row-5.wp-block-columns > .wp-block-column { flex: 0 1 calc(33.333% - 20px) !important; min-width: 0 !important; }
@media (max-width: 860px) {
  .lk-service-row-5.wp-block-columns > .wp-block-column { flex: 0 1 calc(50% - 15px) !important; }
}
@media (max-width: 600px) {
  .lk-service-row-5.wp-block-columns > .wp-block-column { flex: 0 1 100% !important; }
}
.lk-service-card {
  background: var(--wp--preset--color--surface-pure);
  border: 1px solid #d4c9b4;
  border-radius: 12px;
  overflow: hidden;
  padding: 0 !important;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(19, 49, 79, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lk-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(19, 49, 79, 0.12);
  border-color: var(--wp--preset--color--accent);
}
.lk-service-media {
  margin: 0 !important;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.lk-service-media img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.lk-service-card .lk-service-title {
  margin: 20px 22px 8px;
  font-size: 20px; font-weight: 600;
}
.lk-service-card .lk-service-desc {
  margin: 0 22px 18px;
  font-size: 16px; line-height: 1.6;
  color: var(--wp--preset--color--text);
  flex: 1;
}
.lk-service-card .lk-service-link {
  margin: 0 22px 22px;
  font-size: 15px; font-weight: 600;
}
.lk-service-card .lk-service-link a {
  color: var(--wp--preset--color--accent);
  text-decoration: none;
}
.lk-service-card .lk-service-link a:hover {
  color: var(--wp--preset--color--accent-dark);
}

/* =========================================================================
   About band
   ========================================================================= */
.lk-about-img img {
  border-radius: 12px;
  width: 100%; display: block;
}
.lk-checklist {
  list-style: none; padding: 0; margin: 18px 0 28px;
}
.lk-about .lk-checklist--centered {
  display: table;
  margin-left: auto; margin-right: auto;
  text-align: left;
}
.lk-checklist li {
  position: relative; padding-left: 28px;
  margin: 11px 0;
  color: var(--wp--preset--color--text);
  font-size: 16px; line-height: 1.55;
}
.lk-checklist li::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--wp--preset--color--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================================================
   Testimonials band
   ========================================================================= */
.lk-testimonial-row { gap: 24px; }
.lk-testimonial {
  background: var(--wp--preset--color--surface-pure);
  border: 1px solid #d4c9b4; /* slightly stronger than --border for cream bg */
  border-radius: 12px;
  padding: 28px !important;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 2px 10px rgba(19, 49, 79, 0.06);
}
.lk-testimonial-body {
  font-size: 16px; line-height: 1.65;
  color: var(--wp--preset--color--text);
  margin: 0; flex: 1;
}
.lk-testimonial-author {
  margin: 0; font-size: 14px; line-height: 1.4;
  padding-top: 16px;
  border-top: 1px solid var(--wp--preset--color--border);
}
.lk-testimonial-author strong {
  display: block; color: var(--wp--preset--color--dark);
  font-weight: 600;
}
.lk-testimonial-author span {
  color: #4a5260; /* darkened from #5e6770 for better contrast */
  font-size: 13px;
}

/* =========================================================================
   Teenused page — anchor nav + service rows
   ========================================================================= */
.lk-teenused-anchors { border-bottom: 1px solid var(--wp--preset--color--border); }
.lk-anchors {
  display: flex; flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center; align-items: center;
}
.lk-anchors a {
  font-size: 14px; font-weight: 600;
  color: #3d4550; /* stronger than text-muted for AA on cream */
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 999px;
  background: var(--wp--preset--color--surface-pure);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.lk-anchors a:hover,
.lk-anchors a:focus-visible {
  /* Gold pill on hover — same dark-text-on-gold treatment as the CTA button,
     so the warm accent shows up as the interactive highlight here too. */
  color: var(--wp--preset--color--dark);
  background: var(--wp--preset--color--gold);
  border-color: var(--wp--preset--color--gold);
}

.lk-service-row-img img {
  width: 100%; height: auto;
  aspect-ratio: 4/3; object-fit: cover;
  display: block;
}

.lk-bullets { list-style: none; padding: 0; margin: 12px 0 22px; }
.lk-bullets li {
  position: relative; padding-left: 26px; margin: 9px 0;
  font-size: 16px; line-height: 1.55;
  color: var(--wp--preset--color--text);
}
.lk-bullets li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--wp--preset--color--accent); font-weight: 700;
}
/* =========================================================================
   Hinnakiri page — price table
   ========================================================================= */
.lk-pricelist {
  width: 100%;
  border-collapse: collapse;
  background: var(--wp--preset--color--surface-pure);
  border: 1px solid #d4c9b4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(19, 49, 79, 0.06);
}
.lk-pricelist tr + tr th,
.lk-pricelist tr + tr td {
  border-top: 1px solid var(--wp--preset--color--border);
}
.lk-pricelist th,
.lk-pricelist td {
  padding: 18px 24px;
  font-size: 16px; line-height: 1.4;
  text-align: left;
  vertical-align: middle;
}
.lk-pricelist th {
  font-weight: 500;
  color: var(--wp--preset--color--text);
}
.lk-pricelist td {
  text-align: right;
  font-weight: 700;
  font-size: 18px;
  /* The price figure is the table's "value" — gold lifts it off the white rows
     and reuses the brand's warm accent. Use gold-dark (#a87c18) not the lighter
     gold (#c79320) so the figures clear AA contrast on white at this size. */
  color: var(--wp--preset--color--gold-dark, #a87c18);
  white-space: nowrap;
}
.lk-hinnakiri-note {
  margin: 24px 0 0;
  font-size: 14px; line-height: 1.6;
}
@media (max-width: 600px) {
  .lk-hinnakiri {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .lk-pricelist th,
  .lk-pricelist td {
    padding: 14px 16px;
    font-size: 15px;
  }
  .lk-pricelist td { font-size: 16px; }
}

/* =========================================================================
   Kontakt page — contact card, chips, map
   ========================================================================= */

/* Align contact card column to top so it doesn't stretch to form height */
.lk-kontakt-main .wp-block-columns {
  align-items: flex-start !important;
}

.lk-contact-card {
  background: var(--wp--preset--color--surface-pure);
  border: 1px solid #d4c9b4;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(19, 49, 79, 0.06);
}
.lk-contact-card__title { margin: 0 0 14px; font-size: 22px; color: var(--wp--preset--color--dark); }
.lk-contact-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.lk-contact-card__row { display: flex; gap: 12px; }
.lk-contact-card__icon { color: var(--wp--preset--color--accent); flex: 0 0 24px; padding-top: 2px; }
.lk-contact-card__body { display: flex; flex-direction: column; gap: 2px; }
.lk-contact-card__label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #4a5260; /* darkened from text-muted for AA at small size */
  font-weight: 600;
}
.lk-contact-card__value,
.lk-contact-card__link { color: var(--wp--preset--color--text); font-size: 15px; font-weight: 400; }
.lk-contact-card__link { text-decoration: none; }
.lk-contact-card__link:hover { color: var(--wp--preset--color--accent); }
.lk-contact-card__hours { display: inline-flex; gap: 10px; margin-right: 14px; font-size: 15px; font-weight: 400; }
.lk-contact-card__day { color: #4a5260; font-weight: 400; }
.lk-contact-card__social {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--wp--preset--color--border);
  display: flex; gap: 12px;
}
.lk-social-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--text); text-decoration: none;
  font-size: 14px; font-weight: 600;
}
.lk-social-link:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--surface-pure); }

.lk-contact-chips {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; margin-top: 24px;
}
.lk-contact-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 10px;
  background: var(--wp--preset--color--surface-pure);
  border: 1px solid #d4c9b4;
  color: var(--wp--preset--color--text); text-decoration: none;
  box-shadow: 0 1px 6px rgba(19, 49, 79, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lk-contact-chip:hover { border-color: var(--wp--preset--color--accent); box-shadow: 0 6px 18px rgba(19, 49, 79, 0.08); }
.lk-contact-chip--primary {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--surface-pure);
  border-color: var(--wp--preset--color--accent);
  box-shadow: 0 2px 10px rgba(236, 91, 29, 0.25);
}
.lk-contact-chip__icon { display: inline-flex; }
.lk-contact-chip__body { display: flex; flex-direction: column; line-height: 1.2; }
.lk-contact-chip__label { font-size: 12px; color: #4a5260; }
.lk-contact-chip__value { font-weight: 600; }

.lk-kontakt-map {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--wp--preset--color--border);
}
.lk-kontakt-map iframe { display: block; }
.lk-kontakt-map__link {
  display: block; margin-top: 14px;
  text-align: center;
  color: var(--wp--preset--color--accent); font-weight: 600; text-decoration: none;
}

/* =========================================================================
   Contact Form 7
   ========================================================================= */
.wpcf7 {
  background: var(--wp--preset--color--surface-pure);
  border: 1px solid #d4c9b4;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(19, 49, 79, 0.06);
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
  box-sizing: border-box;
  width: 100%; max-width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbbfa6;
  border-radius: 8px; font-size: 15px; font-family: inherit;
  background: var(--wp--preset--color--surface-pure);
  color: var(--wp--preset--color--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  background: var(--wp--preset--color--surface-pure);
  border-color: var(--wp--preset--color--accent);
  box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.18);
}
.wpcf7-form label {
  display: block; margin-bottom: 16px;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--dark);
}
.wpcf7-form label .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7-form p { margin: 0 0 14px; }
.wpcf7-form .wpcf7-submit {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--surface-pure);
  border: 0; padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  margin-top: 6px;
  transition: background-color 0.18s ease;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--wp--preset--color--accent-dark); }

/* =========================================================================
   Meist page — team card grid
   ========================================================================= */
.lk-meist { }

.lk-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.lk-team-card {
  background: var(--wp--preset--color--surface-pure);
  border: 1px solid #d4c9b4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(19, 49, 79, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lk-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(19, 49, 79, 0.12);
}

.lk-team-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #d0d5db;
}
.lk-team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.lk-team-card__photo--placeholder {
  display: flex; align-items: center; justify-content: center;
}
.lk-team-card__photo--placeholder svg {
  width: 64px; height: 64px; opacity: 0.35;
  color: #fff;
}

.lk-team-card__body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}

.lk-team-card__name {
  margin: 0;
  font-size: 22px; font-weight: 700;
  color: var(--wp--preset--color--dark);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.lk-team-card__bio {
  font-size: 15px; line-height: 1.65;
  color: var(--wp--preset--color--text);
  margin: 0 0 14px; flex: 1;
}

.lk-team-card__contact {
  display: flex; align-items: center; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--wp--preset--color--border);
}
.lk-team-card__email {
  font-size: 14px; font-weight: 500;
  color: var(--wp--preset--color--accent);
  text-decoration: none;
  word-break: break-all;
}
.lk-team-card__email:hover {
  color: var(--wp--preset--color--accent-dark);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .lk-team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .lk-team-card__photo { aspect-ratio: 2 / 3; }
}
@media (max-width: 600px) {
  .lk-team-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .lk-team-card__photo { aspect-ratio: 4 / 5; }
  .lk-meist {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer-h {
  margin-top: 0 !important; margin-bottom: 14px !important;
  font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.site-footer-list { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 1.85; }
.site-footer-list li { margin: 0.15rem 0; }
.site-footer-list a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
.site-footer-list a:hover { color: var(--wp--preset--color--gold); }
.site-footer-logo { margin: 0 0 18px; }
.site-footer-logo img {
  width: auto; height: 48px; display: block;
  /* Same white-out as the hero seal: crush to black, flip to white. */
  filter: brightness(0) invert(1);
}
.site-footer-brand-name { margin: 0 0 14px !important; font-weight: 700; line-height: 1.2; }
.site-footer-brand-lede { margin: 0 0 22px; max-width: 340px; }
.site-footer-social { display: flex; gap: 10px; }
.site-footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--wp--preset--color--on-dark);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-footer-social-link:hover {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--surface-pure);
}
.site-footer-copyright {
  margin: 22px 0 0 !important;
  font-size: 13px;
  color: rgba(219, 229, 240, 0.7); /* dimmed on-dark — readable but still subdued on the dark footer */
}
.site-footer-sep { margin: 40px 0 20px !important; border: 0; height: 1px; }
.site-footer-bottom { gap: 16px; padding: 6px 0 4px; }
.site-footer-bottom p { margin: 0; }
.site-footer-bottom a { color: inherit; text-decoration: none; }
.site-footer-bottom a:hover { color: var(--wp--preset--color--gold); }
.site-footer-booking a { color: var(--wp--preset--color--accent); font-weight: 600; }

@media (max-width: 720px) {
  .site-footer-cols .wp-block-column { flex-basis: 100% !important; }
  .site-footer-brand-lede { max-width: none; }
}

/* =========================================================================
   Gold accents (CTA band + footer + heros + content highlights)
   A warm honey-gold (#c79320, with #a87c18 "gold-dark" for AA on white) is the
   brand's single secondary accent. It's a true warm complement to the forest
   greens, reading crisply against the dark-green bands.

   Where gold appears (all set in the sections referenced):
   - Home CTA band: gold top/bottom strips + "Broneerimine" kicker + gold button.
   - Footer: section labels (LINGID / KONTAKT) — see ".site-footer-h" below.
   - Home hero eyebrow ("LIIKUMISKLIINIK · TARTU") — "Hero" section.
   - Inner-page hero kickers (Teenused / Meist / Kontakt / Hinnakiri) —
     ".lk-page-hero__kicker" in "Preset-color overrides".
   - Hinnakiri price figures — ".lk-pricelist td".
   - Teenused anchor-pill hover — ".lk-anchors a:hover".
   Forest-green stays the body-section kicker + link color; gold is reserved for
   the dark-green grounds and a few content "value" highlights.
   ========================================================================= */
.lk-cta { position: relative; }

/* Gold strips above & below the CTA, replacing the cream margin-gaps TT5 leaves
   between layout children (1.2rem from `.is-layout-constrained > *`). Borders
   render the band's own color, so no cream body bg shows through. */
.lk-cta {
  border-top: 2px solid var(--wp--preset--color--gold);
  border-bottom: 2px solid var(--wp--preset--color--gold);
  margin-block-start: 0 !important; /* drop the cream gap above the CTA */
}
/* The cream gap below the CTA lives on the footer's template-part wrapper
   (next layout child of .wp-site-blocks); zero it so the CTA's gold bottom
   border sits flush against the footer. */
.wp-site-blocks > .wp-block-template-part:last-child { margin-block-start: 0 !important; }

/* Drop the cream blockGap strip TT5 leaves above the first band after the hero
   (the services band). The hero's photo-bg should meet the milky Teenused band
   flush, with no body-background strip showing through. */
.lk-hero + .lk-services { margin-block-start: 0 !important; }

/* gold footer section labels */
.site-footer .site-footer-h { color: var(--wp--preset--color--gold) !important; }

/* =========================================================================
   Header — mobile fixed positioning
   position:sticky is unreliable on mobile browsers (iOS Safari in particular).
   Switch to position:fixed and offset the page content by the header height.
   ========================================================================= */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgb(251, 248, 243);
    z-index: 200;
  }
  .site-header.is-scrolled {
    background: rgb(251, 248, 243);
  }
  .site-header::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Push page content below the fixed header */
  .wp-site-blocks {
    padding-top: 62px;
  }
}

/* =========================================================================
   Responsive — band-level wraps
   ========================================================================= */
@media (max-width: 960px) {
  .lk-service-row,
  .lk-testimonial-row { flex-wrap: wrap; }
  .lk-service-row .wp-block-column,
  .lk-testimonial-row .wp-block-column { flex-basis: calc(50% - 12px) !important; }
}
@media (max-width: 600px) {
  .lk-service-row .wp-block-column,
  .lk-testimonial-row .wp-block-column { flex-basis: 100% !important; }
  .lk-hero { min-height: 540px; }
  .lk-hero,
  .lk-stats,
  .lk-services,
  .lk-about,
  .lk-testimonials,
  .lk-cta {
    padding-left: 20px !important; padding-right: 20px !important;
  }
}

/* =========================================================================
   Mobile — comprehensive improvements (≤ 600px / iPhone viewport)
   ========================================================================= */
@media (max-width: 600px) {

  /* --- Page hero: tighter vertical padding on small screens --- */
  .lk-page-hero {
    padding-top: clamp(48px, 12vw, 80px) !important;
    padding-bottom: clamp(36px, 8vw, 60px) !important;
  }
  .lk-page-hero .lk-page-hero__title {
    font-size: clamp(32px, 9vw, 48px);
  }
  .lk-page-hero .lk-page-hero__lede {
    font-size: 16px;
  }

  /* --- Stats band: row layout instead of stacked column --- */
  .lk-stats .wp-block-columns {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  .lk-stats .wp-block-columns .wp-block-column {
    flex-basis: 33.333% !important;
    min-width: 0;
    padding: 0 8px !important;
    text-align: center;
  }
  .lk-stats .wp-block-columns .wp-block-column + .wp-block-column {
    border-left: 1px solid var(--wp--preset--color--border);
  }
  .lk-stat-num {
    font-size: clamp(28px, 8vw, 40px);
  }
  .lk-stat-lbl {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  /* --- Service cards: tighter card padding --- */
  .lk-service-card .lk-service-title { font-size: 18px; margin: 16px 18px 6px; }
  .lk-service-card .lk-service-desc  { font-size: 15px; margin: 0 18px 14px; }
  .lk-service-card .lk-service-link  { margin: 0 18px 18px; }

  /* --- About band: stack image above text, remove excess gap --- */
  .lk-about .wp-block-columns {
    flex-direction: column !important;
    gap: 28px !important;
  }
  .lk-about .wp-block-columns .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
  .lk-about-img { margin-bottom: 0 !important; }
  .lk-about-img img { max-height: 300px; object-fit: cover; object-position: top; }

  /* --- Testimonials: single column, reduce padding --- */
  .lk-testimonial { padding: 22px !important; gap: 14px; }
  .lk-testimonial-body { font-size: 15px; }

  /* --- CTA band: tighten padding --- */
  .lk-cta {
    padding-top: clamp(48px, 10vw, 80px) !important;
    padding-bottom: clamp(48px, 10vw, 80px) !important;
  }
  .lk-cta h2 { font-size: clamp(26px, 7.5vw, 36px); }

  /* --- Section titles / sub: tighten spacing --- */
  .lk-section-title { font-size: clamp(24px, 7vw, 32px); }
  .lk-section-sub   { font-size: 16px; margin-bottom: 32px; }

  /* --- Teenused anchor nav band: reduce from 40px inline to 20px standard --- */
  .lk-teenused-anchors {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* --- Teenused: anchor nav wraps nicely --- */
  .lk-anchors {
    gap: 8px 10px;
    justify-content: center;
  }
  .lk-anchors a {
    font-size: 13px;
    padding: 8px 14px;
  }

  /* --- Teenused service rows: reduce band vertical padding --- */
  .lk-service-row {
    padding-top: clamp(40px, 10vw, 64px) !important;
    padding-bottom: clamp(40px, 10vw, 64px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* --- Teenused service rows: stack image above text --- */
  .lk-service-row .wp-block-columns {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .lk-service-row .wp-block-columns .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
  /* ensure image-right rows also show image first on mobile */
  .lk-service-row .wp-block-columns .wp-block-column:has(.lk-service-row-img) {
    order: -1;
  }
  .lk-service-row-img img { border-radius: 10px; }

  /* --- Kontakt main band: reduce from 40px inline to site-standard 20px, tighten top gap --- */
  .lk-kontakt-main {
    padding-top: clamp(32px, 8vw, 48px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* --- Kontakt: stack contact card above form --- */
  .lk-kontakt-main .wp-block-columns {
    flex-direction: column !important;
    gap: 28px !important;
  }
  .lk-kontakt-main .wp-block-columns .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  /* --- Kontakt: fix social link text overflow --- */
  .lk-social-link {
    flex: 1 1 0;
    justify-content: center;
    font-size: 13px;
    padding: 8px 10px;
  }
  .lk-contact-card__social { flex-wrap: nowrap; gap: 8px; }

  /* --- Kontakt: contact chips full-width stacked --- */
  .lk-contact-chips { flex-direction: column; gap: 10px; }
  .lk-contact-chip  { width: 100%; box-sizing: border-box; }

  /* --- Kontakt: map band padding --- */
  .lk-kontakt-map-band {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* --- CF7 form: full-width submit button on mobile --- */
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
  }

  /* --- Footer bottom row: stack on very small screens --- */
  .site-footer-bottom.wp-block-columns {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }
  .site-footer-bottom .wp-block-column {
    flex-basis: 100% !important;
    text-align: center !important;
  }
  .site-footer-social { justify-content: flex-start; }

  .lk-btn-lg .wp-block-button__link {
    padding: 16px 24px;
    font-size: 15px;
  }
}

/* =========================================================================
   Hero — tablet & mobile (single column, seal above the copy)
   ========================================================================= */
@media (max-width: 900px) {
  .lk-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .lk-hero-copy {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    order: 2;
  }
  .lk-hero-lede { margin-left: auto; margin-right: auto; }
  .lk-hero-actions { justify-content: center; }
  .lk-hero-eyebrow { justify-content: center; }
  /* Drop the leading rule when centered — it reads oddly off-axis. */
  .lk-hero-eyebrow::before { display: none; }
  .lk-hero-seal { order: 1; }
  .lk-hero-seal img { max-width: 180px; }
}

@media (max-width: 600px) {
  .lk-hero-seal img { max-width: 132px; }
  .lk-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .lk-hero-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}
