:root {
  /* Red · Black · Silver */
  --red: #e11d2e;
  --red-2: #b31220;
  --red-3: #ff3b4b;
  --red-soft: #fff1f2;
  --red-soft-2: #ffe4e6;
  --black: #0a1424;
  --ink: #111c30c30;
  --ink-2: #1c2a40;
  --muted: #6b7280;
  --silver: #c0c6ce;
  --silver-2: #e5e7eb;
  --silver-3: #f3f4f6;
  --silver-4: #9aa3ad;
  --line: #d7dbe2;
  --line-strong: #b8c0c8;
  --bg: #f6f7f9;
  --bg-2: #ffffff;
  --nav: #0a1424;
  --footer: #0a1424;
  --shadow: 0 18px 50px rgba(10, 20, 36, 0.18);
  --shadow-sm: 0 8px 24px rgba(10, 20, 36, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: "Manrope", "Open Sans", system-ui, sans-serif;
  --display: "Sora", "Raleway", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background:
    radial-gradient(1100px 480px at 8% -12%, rgba(225, 29, 46, 0.10), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(192, 198, 206, 0.35), transparent 48%),
    linear-gradient(180deg, #fafbfc 0%, var(--bg) 40%, #eef0f3 100%);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #8f1520; text-decoration: none; transition: .2s ease; }
a:hover { color: var(--red); }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}
p { margin: 0 0 1em; color: var(--muted); }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--red); color: #fff; padding: .7rem 1rem; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem 1.25rem; border-radius: 999px; font-weight: 800; font-size: .92rem;
  border: 1px solid transparent; letter-spacing: .02em; text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(180deg, var(--red-3), var(--red));
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(225, 29, 46, .28);
  border-color: rgba(0,0,0,.06);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); color: #fff !important; }
.btn-dark {
  background: linear-gradient(180deg, #1e2c44, var(--black));
  color: #fff !important;
  border: 1px solid rgba(192,198,206,.25);
}
.btn-dark:hover { background: #070b14; color: #fff !important; }
.btn-ghost {
  background: rgba(255,255,255,.12); color: #fff !important;
  border-color: rgba(192,198,206,.45);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff !important; }
.btn-outline {
  background: #fff; border-color: var(--silver);
  color: var(--ink) !important;
}
.btn-outline:hover {
  border-color: var(--red); color: var(--red) !important;
  background: var(--red-soft);
}

/* Top utility */
.topbar {
  background: linear-gradient(90deg, #111c30c30, #1a2840 50%, #111c30c30);
  border-bottom: 1px solid rgba(192,198,206,.18);
  font-size: .86rem; color: var(--silver);
}
.topbar-inner {
  min-height: 42px; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding: .35rem 0;
}
.topbar a { color: var(--silver); font-weight: 650; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }

/* Header */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 18px rgba(10,10,11,.04);
}
.masthead-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px 0 10px; flex-wrap: nowrap;
}
.logo { flex: 0 1 auto; min-width: 0; }
.logo img { width: min(230px, 58vw); height: auto; display: block; }
.site-tagline {
  margin: 0; max-width: 34ch; text-align: right; color: var(--muted);
  font-style: italic; font-size: 1rem; flex: 1 1 auto;
}
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.nav-toggle-box {
  width: 20px;
  height: 14px;
  display: grid;
  align-content: space-between;
}
.nav-toggle-box span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: .2s ease;
  transform-origin: center;
}
.masthead.nav-open .nav-toggle {
  border-color: rgba(225,29,46,.35);
  background: var(--red-soft);
}
.masthead.nav-open .nav-toggle-box span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.masthead.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.masthead.nav-open .nav-toggle-box span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  background: linear-gradient(180deg, #142438, var(--nav));
  border-top: 1px solid rgba(192,198,206,.12);
}
.nav-inner { display: flex; align-items: center; min-height: 58px; }
/* old main-nav ul rule neutralized - see NAV FIXED */
/* old main-nav link/dropdown rules neutralized - see NAV FIXED */

/* Hero slider — fixed height stack (no layout jump) */
.hero {
  position: relative;
  overflow: hidden;
  background: #050a14;
  isolation: isolate;
}
.hero-track {
  position: relative;
  width: 100%;
  height: var(--skp-hero-height, 560px);
  max-height: 70vh;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity .5s ease, visibility .5s ease;
  background-color: #0a1424;
  background-image: var(--img);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3.5rem;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  /* keep absolute — never switch to relative (that caused weird stacking) */
  position: absolute;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5,5,6,.28) 0%, rgba(5,5,6,.55) 45%, rgba(5,5,6,.78) 100%),
    radial-gradient(circle at 28% 18%, rgba(225,29,46,.20), transparent 42%);
}
.hero-caption {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  display: grid;
  gap: .7rem;
  justify-items: center;
  max-width: min(920px, 100%);
  width: 100%;
}
.banner {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: .55em 1em;
  border-radius: 14px;
  max-width: 100%;
  text-wrap: balance;
}
.banner-light {
  background: linear-gradient(180deg, #ffffff, #e9edf2);
  color: #0b1424;
  font-size: clamp(1rem, 2.4vw, 2rem);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border: 1px solid rgba(192,198,206,.7);
}
.banner-dark {
  background: linear-gradient(180deg, rgba(20,32,51,.92), rgba(5,12,28,.9));
  color: #fff;
  font-size: clamp(.88rem, 1.4vw, 1.15rem);
  border: 1px solid rgba(225,29,46,.45);
}
.hero-cta {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .35rem;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(10,20,36,.65);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(192,198,206,.25);
}
.hero-arrow:hover { background: rgba(225,29,46,.85); }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(192,198,206,.45);
  padding: 0;
}
.hero-dots button.is-active {
  background: var(--red);
  width: 28px;
  box-shadow: 0 0 0 3px rgba(225,29,46,.25);
}
@media (max-width: 780px) {
  /* old hero-track mobile neutralized */
  .hero-arrow { width: 40px; height: 40px; font-size: 1.35rem; }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .banner { letter-spacing: .05em; padding: .5em .75em; }
}

/* Page shell */
.page-body { padding: 2.75rem 0 2rem; }
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background:
    linear-gradient(180deg, rgba(225,29,46,.08), transparent 72%),
    linear-gradient(90deg, #fff, #f7f8fa);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .35rem; }
.page-hero p { max-width: 60ch; margin: 0; font-size: 1.05rem; }
.breadcrumb { color: var(--muted); font-size: .88rem; margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }

.section { margin-bottom: 2.4rem; }
.section-title {
  text-align: center; font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: 1.1rem;
  position: relative;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin: .65rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--silver));
}
.lead-center {
  text-align: center; max-width: 820px; margin: 0 auto 1.5rem; font-size: 1.05rem; line-height: 1.8;
}
.lead-center .strong-line {
  display: inline-block; margin-top: .4rem; padding: .45rem .85rem;
  border-radius: 999px; background: var(--red-soft); color: #7f121c; font-weight: 800;
  border: 1px solid rgba(225,29,46,.15);
}

/* Split rows original layout */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; align-items: stretch;
  margin-bottom: 1.35rem;
}
.split-right .card-spacer { min-height: 1px; }
@media (max-width: 780px) {
  .split-right .card-spacer { display: none; }
}
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm); overflow: hidden; padding: 1.25rem 1.3rem 1.35rem;
  background-image: linear-gradient(180deg, #fff, #fbfbfc);
}
.card.media { padding: 0; }
.card.media .card-label {
  padding: 1rem 1.15rem .35rem; margin: 0; font-size: 1.15rem;
}
.card.media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.card p { font-size: 1.02rem; }
.quote {
  margin: 0 0 .85rem; padding: .85rem 1rem; border-radius: 14px;
  background: linear-gradient(180deg, #f8f9fb, #f1f3f6);
  border-left: 4px solid var(--red);
  color: #243450;
  box-shadow: inset 0 0 0 1px rgba(192,198,206,.35);
}
.quote cite { display: block; margin-top: .25rem; color: var(--muted); font-style: normal; font-size: .9rem; }

/* Trust strip */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem;
  margin: -2.2rem auto 2rem; /* desktop pull-up kept */ position: relative; z-index: 3;
}
.trust-item {
  background: linear-gradient(180deg, #fff, #f5f6f8);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.05rem; box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
}
.trust-item strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.trust-item span { color: var(--muted); font-size: .92rem; }

/* Services — large duotone icons (red + silver/black), one row */
.services-section { margin-top: .5rem; }
.services {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.25rem;
  align-items: stretch;
}
.service {
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f4f5f7);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem .55rem 1.2rem;
  box-shadow: var(--shadow-sm);
  color: inherit;
  min-height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  transition: .2s ease;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(225,29,46,.4);
  color: inherit;
  box-shadow: 0 18px 40px rgba(225,29,46,.12);
}
.service .icon {
  width: 92px;
  height: 92px;
  margin: 0 0 .2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(145deg, #243450 0%, #0a1424 58%, #1a2840 100%);
  border: 2px solid rgba(192,198,206,.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 12px 24px rgba(10,10,11,.22),
    0 0 0 5px rgba(225,29,46,.08);
  flex: 0 0 auto;
}
.service .icon svg { width: 42px; height: 42px; display: block; }
.service:hover .icon {
  color: #fff;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.28), transparent 42%),
    linear-gradient(145deg, var(--red-3), var(--red-2) 55%, #7a0f18);
  border-color: rgba(255,255,255,.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 14px 28px rgba(225,29,46,.28),
    0 0 0 6px rgba(225,29,46,.12);
}
.service h4 {
  margin: 0;
  font-size: .98rem;
  font-family: var(--font);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  max-width: 14ch;
}
.service .more {
  margin-top: auto;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* News */
.news-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: center;
}
.news-viewport { overflow-x: auto; scroll-behavior: smooth; padding-bottom: .25rem; }
.news-track { display: flex; gap: 1rem; }
.news-item {
  flex: 0 0 230px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; color: inherit; box-shadow: var(--shadow-sm);
}
.news-item:hover {
  color: inherit; border-color: rgba(225,29,46,.4); transform: translateY(-2px);
}
.news-item img, .thumb-ph {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  background: linear-gradient(135deg, #e8eaee, #d7dbe2 40%, #f3f4f6);
}
.news-item span {
  display: block; padding: .85rem 1rem 1.05rem; color: var(--ink);
  font-weight: 750; line-height: 1.35;
}
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--silver);
  background: linear-gradient(180deg, #fff, #eef0f3); cursor: pointer; font-size: 1.3rem;
  box-shadow: var(--shadow-sm); color: var(--ink);
}
.carousel-btn:hover { border-color: var(--red); color: var(--red); }

/* Info / prose */
.prose { max-width: 860px; margin: 0 auto; }
.prose p { font-size: 1.05rem; }
.note {
  background: var(--red-soft); border: 1px solid rgba(225,29,46,.2);
  color: #7a121c; padding: .9rem 1rem; border-radius: 14px;
}
.panel {
  background: linear-gradient(180deg, #fff, #f8f9fb);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem; box-shadow: var(--shadow-sm);
}

/* Pricing */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.price-card {
  background: linear-gradient(180deg, #fff, #f7f8fa);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 1.35rem 1.25rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--silver), #fff, var(--silver));
}
.price-card.featured {
  border-color: rgba(225,29,46,.4);
  background: linear-gradient(180deg, #fff5f5, #fff);
  box-shadow: 0 18px 40px rgba(225,29,46,.12);
}
.price-card.featured::before {
  background: linear-gradient(90deg, var(--red-2), var(--red-3), var(--red));
  height: 4px;
}
.price-card .tag {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #7f121c; background: var(--red-soft);
  padding: .3rem .55rem; border-radius: 999px; margin-bottom: .7rem;
  border: 1px solid rgba(225,29,46,.12);
}
.price-card h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.price-card .amount {
  font-family: var(--display); font-size: 2.1rem; color: var(--ink);
  font-weight: 750; margin: .35rem 0 .8rem;
}
.price-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.price-card li { margin: .35rem 0; }
.price-list { width: 100%; border-collapse: collapse; }
.price-list th, .price-list td {
  text-align: left; padding: .85rem .9rem; border-bottom: 1px solid var(--line);
}
.price-list th {
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.price-list td:last-child, .price-list th:last-child {
  text-align: right; font-weight: 750; color: var(--ink);
}

/* Trainers */
.trainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trainer h3 { margin-bottom: .35rem; }
.meta { color: var(--muted); font-size: .95rem; }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
}
.gallery figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption {
  padding: .75rem .9rem .9rem; font-weight: 700; color: var(--ink); font-size: .95rem;
  background: linear-gradient(180deg, #fff, #f5f6f8);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--muted);
}
.hours li span:first-child { color: var(--ink); font-weight: 750; }

/* Footer black + silver + red accent */
.colophon {
  margin-top: 2rem;
  background:
    radial-gradient(800px 260px at 15% 0%, rgba(225,29,46,.22), transparent 55%),
    linear-gradient(180deg, #17243a, var(--footer) 40%, #050a14);
  color: #fff; padding: 2rem 0 1.2rem;
  border-top: 3px solid var(--red);
}
.colophon a { color: var(--silver); font-weight: 700; }
.colophon a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.4rem; margin-bottom: 1.2rem;
}
.footer-grid p { color: rgba(229,231,235,.9); margin: 0 0 .4rem; }
.footer-grid strong { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(192,198,206,.18); padding-top: .9rem; font-size: .88rem;
  color: var(--silver-4);
}
.back-top {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(192,198,206,.35); background: rgba(255,255,255,.06); color: #fff;
}
.back-top:hover { border-color: var(--red); color: #fff; background: rgba(225,29,46,.2); }

/* Content grids helpers */
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.stack { display: grid; gap: 1rem; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }

@media (max-width: 1100px) {
  .service .icon { width: 78px; height: 78px; }
  .service .icon svg { width: 36px; height: 36px; }
  .service h4 { font-size: .9rem; }
}
@media (max-width: 980px) {
  /* trust 2-col in compact block */
  .services {
    /* old scroll row neutralized */ grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: .35rem;
    scroll-snap-type: x mandatory;
  }
  .service { scroll-snap-align: start; }
  .trainer-grid, .contact-grid, .footer-grid, .two-col { grid-template-columns: 1fr 1fr; }
  /* price-grid compact block */
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  body.nav-open { overflow: hidden; }

  .topbar { display: none; }

  .masthead-top {
    padding: 10px 0;
    gap: .75rem;
  }
  /* tagline shown */
  .logo img { width: min(168px, 58vw); }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    border-top: 0;
    background: transparent;
  }
  .main-nav.is-open {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--mobile-header-offset, 72px);
    bottom: 0;
    z-index: 45;
    padding: .75rem .85rem 1.25rem;
    background: rgba(10, 20, 36, 0.55);
    backdrop-filter: blur(6px);
  }
  .main-nav.is-open .nav-inner {
    min-height: 0;
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
  .main-nav ul {
    display: none;
  }
  .main-nav ul.is-open {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    width: 100%;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: .7rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #17243a, #0a1424);
    border: 1px solid rgba(192,198,206,.16);
    box-shadow: 0 24px 50px rgba(6,14,30,.4);
  }
  .main-nav a {
    padding: 14px 14px;
    font-size: 1.02rem;
    border-radius: 12px;
  }
  .main-nav .has-children > ul {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 .55rem;
    margin: .15rem 0 .25rem;
    gap: .25rem;
  }
  .main-nav .has-children:hover > ul,
  .main-nav .has-children:focus-within > ul,
  .main-nav ul.is-open .has-children > ul {
    display: flex;
  }
  .main-nav .has-children > ul a {
    padding: 11px 14px;
    color: var(--silver);
    font-size: .95rem;
    background: rgba(255,255,255,.04);
  }

  .split, .trainer-grid, .contact-grid, .footer-grid, .two-col, .gallery {
    grid-template-columns: 1fr;
  }
  /* price-grid handled in Hinnasto compact block */
  /* .trust stays 2-col — see Trust cards compact */
  .services {
    grid-template-columns: repeat(6, minmax(148px, 1fr));
  }
  .service .icon { width: 84px; height: 84px; }
  .service .icon svg { width: 38px; height: 38px; }
  /* trust margin handled in compact block */
}

/* ——— Ajankohtaista / news ——— */
.news-pin {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 1px solid rgba(225,29,46,.22);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.news-pin-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-pin h2 {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
}
.news-pin p { margin: 0; }
.news-pin .pin-meta { color: var(--muted); font-size: .9rem; margin-top: .35rem; }
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.25rem;
}
.news-filters a,
.news-filters button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  text-decoration: none;
}
.news-filters a.is-active,
.news-filters a:hover,
.news-filters button.is-active,
.news-filters button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.news-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  color: inherit;
  text-decoration: none;
}
.news-featured:hover { color: inherit; border-color: rgba(225,29,46,.35); }
.news-featured-media {
  min-height: 260px;
  background: #111c30 center/cover no-repeat;
  position: relative;
}
.news-featured-media .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1a2840, #0a1424);
  color: var(--silver);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
}
.news-featured-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; }
.news-featured-body h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.news-cat {
  display: inline-flex;
  width: fit-content;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--red-soft);
  color: #8f1520;
  border: 1px solid rgba(225,29,46,.15);
}
.news-cat.cat-aukiolo { background: #eef6ff; color: #1e4b8c; border-color: #cfe0f8; }
.news-cat.cat-remontti { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.news-cat.cat-laitteet { background: #f4f4f5; color: #304868; border-color: #e4e4e7; }
.news-cat.cat-treeni { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.news-cat.cat-ilmoitus { background: var(--red-soft); color: #8f1520; }
.news-date { color: var(--muted); font-size: .9rem; font-weight: 650; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  min-height: 100%;
  transition: .2s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225,29,46,.35);
  color: inherit;
  box-shadow: 0 16px 36px rgba(10,10,11,.1);
}
.news-card-media {
  aspect-ratio: 16/10;
  background: #eee center/cover no-repeat;
  position: relative;
}
.news-card-media .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e8eaee, #d7dbe2);
  color: #6b7280;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.news-card-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.news-card-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; font-family: var(--font); font-weight: 800; }
.news-card-body p.excerpt {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .more {
  margin-top: auto;
  padding-top: .55rem;
  color: var(--red);
  font-weight: 800;
  font-size: .86rem;
}
.news-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fafafa;
}
.single-article { max-width: 760px; margin: 0 auto; }
.single-article .post-meta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.single-article .post-thumb { border-radius: 18px; overflow: hidden; margin: 0 0 1.25rem; border: 1px solid var(--line); }
.single-article .post-thumb img { width: 100%; height: auto; display: block; }
.single-article .content p { font-size: 1.05rem; line-height: 1.75; }
@media (max-width: 980px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-pin { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* Yhteistyö / partners */
.partner-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.partner-cta {
  background: linear-gradient(145deg, #17243a, #0a1424);
  color: #fff;
  border-radius: 22px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(192,198,206,.2);
  box-shadow: var(--shadow);
}
.partner-cta h2 { color: #fff; margin-bottom: .5rem; }
.partner-cta p { color: rgba(229,231,235,.9); }
.partner-cta a.mail { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.partner-card {
  background: linear-gradient(180deg, #fff, #f7f8fa);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-height: 100%;
}
.partner-card h3 { margin: 0; font-size: 1.1rem; }
.partner-card p { margin: 0; font-size: .95rem; }
.partner-card .tag {
  width: fit-content;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: #f4f4f5;
  color: #304868;
  border: 1px solid #e4e4e7;
}
.partner-card .tag.rent { background: var(--red-soft); color: #8f1520; border-color: rgba(225,29,46,.15); }
.partner-card .tag.shop { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.partner-card .tag.sport { background: #eef6ff; color: #1e4b8c; border-color: #cfe0f8; }
.partner-card .links { margin-top: auto; padding-top: .55rem; display: flex; flex-wrap: wrap; gap: .5rem .85rem; }
.partner-card .links a { font-weight: 800; color: var(--red); font-size: .9rem; }
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .75rem;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: .7rem 1rem;
  border-radius: 14px;
  background: #0a1424;
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  border: 1px solid rgba(192,198,206,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
@media (max-width: 980px) {
  .partner-hero-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .partner-hero-grid, .partner-grid { grid-template-columns: 1fr; }
}

/* Desktop polish fixes */
.masthead-top {
  align-items: center;
}
.logo img,
.masthead .custom-logo-link img {
  max-height: 72px;
  width: auto;
  max-width: min(240px, 40vw);
}
.site-tagline {
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 36ch;
  color: #6b7280;
}
.main-nav .nav-inner {
  min-height: 56px;
}
.main-nav a {
  white-space: nowrap;
}
/* Partner shop panel */
.partner-hero-grid > .panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.45rem 1.55rem;
  min-height: 0;
}
.partner-hero-grid .tag.shop {
  display: inline-flex;
  width: fit-content;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  margin-bottom: .35rem;
}
/* Never let a nested partner-card inflate empty space */
.partner-hero-grid .partner-card {
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.partner-cta .btn-primary {
  margin-top: .35rem;
}
/* Split empty spacer shouldn't leave a huge hole on desktop if unused */
.split-right .card-spacer {
  display: none;
}
.split-right {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-left: auto;
  margin-right: 0;
}
/* Hero captions don't overflow */
.hero-caption {
  width: min(920px, calc(100% - 6rem));
}
.banner-light, .banner-dark {
  word-break: break-word;
}
/* Trust cards sit cleanly under hero */
.trust {
  width: min(100% - 2rem, var(--max));
  margin-left: auto;
  margin-right: auto;
}
/* Page body top spacing after hero */
.hero + .wrap .trust,
.page-body {
  position: relative;
  z-index: 2;
}
/* Footer phone/email readability */
.colophon a { word-break: break-word; }


/* Tagline keep visible */
.site-tagline {
  display: block !important;
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 650;
  line-height: 1.35;
  color: #3b4450;
  font-style: italic;
}
@media (max-width: 780px) {
  .masthead-top {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas: "logo toggle" "quote quote" !important;
    gap: 0.4rem 0.75rem !important;
    align-items: center !important;
  }
  .masthead-top > .logo { grid-area: logo !important; }
  .masthead-top > .nav-toggle { grid-area: toggle !important; justify-self: end !important; }
  .masthead-top > .site-tagline {
    grid-area: quote !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.35rem 0.1rem 0.15rem !important;
    font-size: 0.78rem !important;
    border-top: 1px solid rgba(15,23,42,0.08) !important;
  }
}

/* ========== MOBILE MENU FINAL (do not override) ========== */
@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex !important;
  }
  .main-nav {
    display: none !important;
  }
  body.nav-open {
    overflow: hidden !important;
  }
  .main-nav.is-open {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--mobile-header-offset, 120px) !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - var(--mobile-header-offset, 120px)) !important;
    height: calc(100dvh - var(--mobile-header-offset, 120px)) !important;
    min-height: calc(100vh - var(--mobile-header-offset, 120px)) !important;
    max-height: none !important;
    z-index: 5000 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #0a1424 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }
  .main-nav.is-open .nav-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 14px 28px !important;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
  }
  .main-nav.is-open #menu,
  .main-nav.is-open .nav-inner > ul,
  .main-nav.is-open .nav-inner > ul.is-open {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .main-nav.is-open #menu > li,
  .main-nav.is-open .nav-inner > ul > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  .main-nav.is-open #menu > li > a,
  .main-nav.is-open .nav-inner > ul > li > a {
    display: block !important;
    width: 100% !important;
    padding: 14px 12px !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    white-space: normal !important;
  }
  .main-nav.is-open #menu > li > a:hover,
  .main-nav.is-open #menu > li > a.active {
    background: #e11d2e !important;
  }
  .main-nav.is-open .mobile-utils {
    display: block !important;
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255,255,255,0.14) !important;
  }
  .main-nav.is-open .mobile-utils-label {
    display: block !important;
    margin: 0 0 10px !important;
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }
  .main-nav.is-open .mobile-utils-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .main-nav.is-open .mobile-utils-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 12px 8px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }
  .main-nav:not(.is-open) .mobile-utils {
    display: none !important;
  }
}
@media (min-width: 781px) {
  .nav-toggle { display: none !important; }
  .main-nav { display: block !important; position: relative !important; height: auto !important; }
  .mobile-utils { display: none !important; }
}

/* Linkit as normal menu rows (mobile only) — always scrollable, never clipped */
.menu-sep,
.menu-ext {
  display: none;
}
@media (max-width: 780px) {
  .menu-sep,
  .menu-ext {
    display: block !important;
  }
  .menu-sep {
    list-style: none !important;
    padding: 14px 12px 6px !important;
    border-bottom: 0 !important;
    pointer-events: none;
  }
  .menu-sep-label {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .menu-ext > a {
    color: #fff !important;
  }
  .main-nav.is-open {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--mobile-header-offset, 120px) !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100dvh - var(--mobile-header-offset, 120px)) !important;
    max-height: calc(100dvh - var(--mobile-header-offset, 120px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    background: #0a1424 !important;
    z-index: 5000 !important;
    padding: 0 !important;
  }
  .main-nav.is-open .nav-inner {
    display: block !important;
    padding: 8px 12px 0 !important;
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: auto !important;
    height: auto !important;
  }
  .main-nav.is-open #menu {
    display: block !important;
    padding-bottom: 24px !important;
  }
  /* kill old sticky utils if any leftover */
  .mobile-utils { display: none !important; }
}
@media (min-width: 781px) {
  .menu-sep, .menu-ext, .mobile-utils { display: none !important; }
}

/* ========== Trust cards compact ========== */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: -2rem auto 1.5rem;
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--max));
}
.trust-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 0;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f6f7f9);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}
.trust-item strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    margin: 1rem auto 1.35rem !important;
    width: min(100% - 1.25rem, var(--max)) !important;
  }
  .trust-item {
    min-height: 4.4rem;
    padding: 0.7rem 0.7rem !important;
    border-radius: 12px !important;
    border-top-width: 2px !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06) !important;
  }
  .trust-item strong {
    font-size: 0.88rem !important;
    line-height: 1.15 !important;
  }
  .trust-item span {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 380px) {
  .trust-item {
    min-height: 4.1rem;
    padding: 0.6rem 0.55rem !important;
  }
  .trust-item strong { font-size: 0.82rem !important; }
  .trust-item span { font-size: 0.68rem !important; }
}

/* ========== Hinnasto price cards compact ========== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.price-card {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1.05rem 1.15rem;
  border-radius: 16px;
}
.price-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  line-height: 1.2;
}
.price-card .amount {
  margin: 0.15rem 0 0.55rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.price-card ul {
  margin: 0;
  padding-left: 1rem;
}
.price-card li {
  margin: 0.2rem 0;
  font-size: 0.88rem;
  line-height: 1.3;
}
.price-card .tag {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }
  .price-card {
    padding: 0.75rem 0.7rem 0.8rem !important;
    border-radius: 12px !important;
    min-height: 0 !important;
  }
  .price-card::before {
    height: 3px !important;
  }
  .price-card .tag {
    display: inline-block;
    margin-bottom: 0.3rem !important;
    padding: 0.15rem 0.45rem !important;
    font-size: 0.65rem !important;
  }
  .price-card h3 {
    font-size: 0.92rem !important;
    margin-bottom: 0.1rem !important;
  }
  .price-card .amount {
    font-size: 1.35rem !important;
    margin: 0.1rem 0 0.35rem !important;
  }
  .price-card ul {
    padding-left: 0.9rem !important;
  }
  .price-card li {
    margin: 0.12rem 0 !important;
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
  }
  /* tables on hinnasto a bit tighter */
  .price-list th,
  .price-list td {
    padding: 0.55rem 0.4rem !important;
    font-size: 0.86rem !important;
  }
}

@media (max-width: 380px) {
  .price-card {
    padding: 0.65rem 0.55rem 0.7rem !important;
  }
  .price-card h3 { font-size: 0.86rem !important; }
  .price-card .amount { font-size: 1.22rem !important; }
  .price-card li { font-size: 0.7rem !important; }
}

/* ========== DESKTOP NAV FINAL ========== */
@media (min-width: 781px) {
  .nav-toggle { display: none !important; }

  .main-nav {
    display: block !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 56px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 40 !important;
    background: linear-gradient(180deg, #142438, #0a1424) !important;
    border-top: 1px solid rgba(192,198,206,.12) !important;
  }

  .main-nav .nav-inner {
    display: block !important;
    width: min(100% - 2rem, var(--max, 1120px)) !important;
    max-width: none !important;
    min-height: 56px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
  }

  .main-nav #menu,
  .main-nav .nav-inner > ul {
    list-style: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
  }

  .main-nav #menu > li,
  .main-nav .nav-inner > ul > li {
    display: block !important;
    position: relative !important;
    width: auto !important;
    border: 0 !important;
    border-bottom: 0 !important;
    float: none !important;
  }

  .main-nav #menu > li > a,
  .main-nav .nav-inner > ul > li > a {
    display: block !important;
    width: auto !important;
    padding: 16px 12px !important;
    color: #f3f4f6 !important;
    background: transparent !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }

  .main-nav #menu > li > a:hover,
  .main-nav #menu > li > a.active,
  .main-nav #menu > li:hover > a {
    background: linear-gradient(180deg, #ef3344, #e11d2e) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(225,29,46,.25) !important;
  }

  /* mobile-only linkit stay hidden on PC (must beat #menu > li display:block) */
  .main-nav #menu > li.menu-sep,
  .main-nav #menu > li.menu-ext,
  .main-nav .nav-inner > ul > li.menu-sep,
  .main-nav .nav-inner > ul > li.menu-ext,
  .menu-sep,
  .menu-ext,
  .mobile-utils {
    display: none !important;
  }

  /* ensure open-state mobile classes don't break desktop */
  .main-nav.is-open {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: linear-gradient(180deg, #142438, #0a1424) !important;
  }
  .main-nav.is-open .nav-inner {
    display: block !important;
    height: auto !important;
    min-height: 56px !important;
    padding: 0 !important;
  }
  .main-nav.is-open #menu {
    display: flex !important;
    flex-direction: row !important;
    padding-bottom: 0 !important;
  }
}

/* ========== Tagline one line ========== */
.site-tagline {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  max-width: none !important;
  width: auto !important;
  min-width: 0;
}
@media (min-width: 781px) {
  .masthead-top {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .masthead-top > .logo { flex: 0 0 auto !important; }
  .masthead-top > .site-tagline {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex: 1 1 auto !important;
    max-width: none !important;
    font-size: clamp(0.72rem, 1.05vw, 0.95rem) !important;
    line-height: 1.25 !important;
  }
}
@media (max-width: 780px) {
  .masthead-top > .site-tagline {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.72rem !important;
    max-width: 100% !important;
  }
}

/* ========== PALVELUT icons v2 ========== */
.services-section { margin-top: .75rem; }
.services-section .section-lead {
  margin: -.25rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.45;
}
.services {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
  align-items: stretch;
}
.service {
  position: relative;
  text-align: center;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  border: 1px solid rgba(192,198,206,.55);
  border-radius: 22px;
  padding: 1.35rem .65rem 1.15rem;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
  color: inherit;
  min-height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.service:hover {
  transform: translateY(-5px);
  border-color: rgba(225,29,46,.45);
  color: inherit;
  box-shadow: 0 18px 40px rgba(225,29,46,.14);
}
.service .icon {
  width: 96px;
  height: 96px;
  margin: 0 0 .15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f5f6f8;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.28), transparent 45%),
    radial-gradient(circle at 70% 78%, rgba(225,29,46,.35), transparent 50%),
    linear-gradient(150deg, #2a4060 0%, #0a1424 55%, #17243a 100%);
  border: 2px solid rgba(192,198,206,.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 14px 28px rgba(10,10,11,.28),
    0 0 0 6px rgba(225,29,46,.1);
  flex: 0 0 auto;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service .icon svg { width: 46px; height: 46px; display: block; }
.service:hover .icon {
  transform: scale(1.05);
  border-color: rgba(225,29,46,.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 16px 32px rgba(225,29,46,.22),
    0 0 0 7px rgba(225,29,46,.16);
}
.service .svc-tag {
  display: inline-block;
  margin-top: .15rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #e11d2e;
  background: rgba(225,29,46,.08);
  border: 1px solid rgba(225,29,46,.18);
}
.service h4 {
  margin: .15rem 0 0;
  font-size: .92rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
  max-width: 11rem;
}
.service .more {
  margin-top: auto;
  padding-top: .35rem;
  font-size: .78rem;
  font-weight: 800;
  color: #e11d2e;
  letter-spacing: .02em;
}
.service .more::after { content: " →"; }

@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem !important;
    overflow: visible !important;
  }
  .service {
    padding: 1rem .5rem .9rem !important;
    border-radius: 16px !important;
  }
  .service .icon {
    width: 76px !important;
    height: 76px !important;
  }
  .service .icon svg { width: 36px !important; height: 36px !important; }
  .service h4 { font-size: .84rem !important; }
  .services-section .section-lead { font-size: .9rem; padding: 0 .5rem; }
}


/* legacy single split — full width if ever used */
.split.split-single {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* ========== Kuntoutus images override (beat .card.media img 16/10) ========== */
.kuntoutus-page .card.media img,
.kuntoutus-page .kuntoutus-feature-media img,
.kuntoutus-page .portrait-card img,
.kuntoutus-page article.card.media img {
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}
.kuntoutus-page .portrait-card img {
  max-height: 600px !important;
  object-position: center top !important;
}
.kuntoutus-page .card.media {
  background: #121c30 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 280px !important;
}
body:not(.theme-blue) .kuntoutus-page .card.media {
  background: #eceef2 !important;
}
@media (max-width: 780px) {
  .kuntoutus-page .card.media img {
    max-height: 440px !important;
  }
}

/* KUNTOUTUS IMG NUKE */
html body .kuntoutus-page .card.media img {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  height: auto !important;
  max-height: 560px !important;
  width: 100% !important;
}

/* ========== Kuntoutus option 1 hierarchy ========== */
.kuntoutus-page .gallian-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e11d2e !important;
}
.theme-blue .kuntoutus-page .gallian-eyebrow {
  color: #ff6b76 !important;
}
.kuntoutus-page .gallian-title {
  margin: 0 0 1rem;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: inherit;
  max-width: 22ch;
}
.kuntoutus-page .gallian-lead {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  line-height: 1.65;
}
.kuntoutus-page .kuntoutus-h2 {
  margin: 0.25rem 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  color: inherit;
}
.kuntoutus-page .split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.35rem !important;
  align-items: stretch !important;
}
.kuntoutus-page .card { min-width: 0; height: 100%; }
.kuntoutus-page .svc-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e11d2e;
  background: rgba(225,29,46,.1);
  border: 1px solid rgba(225,29,46,.2);
}
.theme-blue .kuntoutus-page .svc-tag {
  color: #ff8a93;
  background: rgba(225,29,46,.16);
  border-color: rgba(225,29,46,.3);
}
.kuntoutus-page .card.media {
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #121c30 !important;
}
body:not(.theme-blue) .kuntoutus-page .card.media {
  background: #eceef2 !important;
}
html body .kuntoutus-page .card.media img {
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}
html body .kuntoutus-page .portrait-card img {
  max-height: 600px !important;
  object-position: center top !important;
}
.kuntoutus-page .contact-person {
  margin: 0.75rem 0 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(225, 29, 46, 0.06);
  border: 1px solid rgba(225, 29, 46, 0.14);
}
.theme-blue .kuntoutus-page .contact-person {
  background: rgba(225, 29, 46, 0.12);
  border-color: rgba(225, 29, 46, 0.28);
}
.kuntoutus-page .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}
@media (max-width: 780px) {
  .kuntoutus-page .split { grid-template-columns: 1fr !important; }
  .kuntoutus-page .gallian-title { max-width: none; }
  html body .kuntoutus-page .card.media img { max-height: 440px !important; }
}

/* ========== Mobile: space between hero slider and trust cards ========== */
@media (max-width: 900px) {
  .hero {
    margin-bottom: 0 !important;
    padding-bottom: 0.35rem !important;
  }
  .hero-slide {
    padding-bottom: 4.25rem !important; /* room for dots + breathing space */
  }
  .hero-dots {
    bottom: 1.1rem !important;
  }
  .hero + .wrap {
    margin-top: 0 !important;
    padding-top: 0.85rem !important;
  }
  .trust {
    margin-top: 0.85rem !important;
    margin-bottom: 1.35rem !important;
    /* kill negative pull-up that overlays slider on mobile */
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 780px) {
  .hero-slide {
    padding-bottom: 4.6rem !important;
  }
  .hero + .wrap {
    padding-top: 1rem !important;
  }
  .trust {
    margin-top: 1rem !important;
    margin-bottom: 1.4rem !important;
  }
}

/* ========== Hero glass banners (no dark chips) ========== */
.hero-slide::before {
  /* lighter veil so photo stays visible */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.18) 0%,
    rgba(0,0,0,.28) 45%,
    rgba(0,0,0,.45) 100%
  ) !important;
}
.hero-caption {
  gap: 0.75rem !important;
  max-width: min(560px, calc(100% - 3rem)) !important;
  width: auto !important;
}
.hero-copy {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  width: 100%;
}
/* old hide removed */
.banner-light {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(14px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.25) !important;
  font-size: clamp(0.95rem, 2.1vw, 1.45rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  padding: 0.7em 1.15em !important;
  border-radius: 999px !important;
  text-shadow: 0 1px 2px rgba(6,14,30,.4);
  max-width: min(100%, 34rem);
}
.hero-cta .btn-primary {
  border-radius: 999px !important;
  padding: 0.75rem 1.35rem !important;
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.35) !important;
}
.hero-cta .btn-ghost,
.hero-cta .hero-cta-secondary {
  display: none !important; /* remove dark/grey secondary chips on slider */
}
@media (max-width: 780px) {
  .hero-caption {
    max-width: min(92vw, 420px) !important;
    padding: 0.5rem !important;
  }
  .banner-light {
    font-size: clamp(0.88rem, 3.8vw, 1.1rem) !important;
    padding: 0.65em 1em !important;
    border-radius: 18px !important; /* allow 2-line wrap nicely */
  }
}

/* Hero glass force (black theme) */
html body.theme-blue .banner-light,
html body .banner-light {
  background: rgba(255, 255, 255, 0.18) !important;
  background-image: none !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.35) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
}
/* banner-dark no longer force-hidden — styled as readable sub */

/* Strong-line as link to Hinnasto */
.strong-line-wrap {
  margin: 0.75rem 0 0;
  text-align: center;
}
a.strong-line {
  display: inline-block !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
a.strong-line:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(225, 29, 46, 0.45) !important;
}
a.strong-line:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ========== PALVELUT icons v3 ========== */
.services .service .icon {
  width: 88px !important;
  height: 88px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.16), transparent 42%),
    radial-gradient(circle at 50% 70%, rgba(225,29,46,.28), transparent 55%),
    linear-gradient(160deg, #1a2a42, #0c1422) !important;
  border: 1.5px solid rgba(225,29,46,.45) !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.08),
    0 14px 28px rgba(6,14,30,.4),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
  color: #e8eaee !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
body:not(.theme-blue) .services .service .icon {
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.95), transparent 40%),
    radial-gradient(circle at 50% 75%, rgba(225,29,46,.12), transparent 55%),
    linear-gradient(160deg, #ffffff, #eef0f4) !important;
  border-color: rgba(225,29,46,.28) !important;
  color: #1a2a42 !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.06),
    0 10px 22px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.services .service:hover .icon {
  transform: translateY(-2px) scale(1.03) !important;
  border-color: rgba(225,29,46,.75) !important;
  box-shadow:
    0 0 0 5px rgba(225,29,46,.14),
    0 16px 32px rgba(225,29,46,.18),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}
.services .service .icon svg {
  width: 44px !important;
  height: 44px !important;
}
@media (max-width: 780px) {
  .services .service .icon {
    width: 76px !important;
    height: 76px !important;
  }
  .services .service .icon svg {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ========== PALVELUT solid icons (no holes) ========== */
.services .service .icon.icon-photo {
  width: 112px !important;
  height: 112px !important;
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  display: block !important;
  background: #e6e8ec !important;
  border: 1px solid rgba(0,0,0,.2) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.32) !important;
  isolation: isolate !important;
}
body:not(.theme-blue) .services .service .icon.icon-photo {
  border: 1px solid rgba(15,23,42,.1) !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.1) !important;
}
.services .service .icon.icon-photo .svc-photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: #e6e8ec !important;
  border-radius: 0 !important;
  transform: none !important;
}
.services .service:hover .icon.icon-photo {
  transform: translateY(-2px) !important;
}
@media (max-width: 780px) {
  .services .service .icon.icon-photo {
    width: 92px !important;
    height: 92px !important;
    border-radius: 16px !important;
  }
}

/* ========== PALVELUT duotone icons v4 ========== */
.services .service .icon.icon-duo {
  width: 88px !important;
  height: 88px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  color: #e8eaef !important;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.14), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(225,29,46,.22), transparent 55%),
    linear-gradient(165deg, #1e2c44, #0e182a) !important;
  border: 1.5px solid rgba(225,29,46,.42) !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.08),
    0 14px 28px rgba(6,14,30,.4),
    inset 0 1px 0 rgba(255,255,255,.1) !important;
  overflow: visible !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
body:not(.theme-blue) .services .service .icon.icon-duo {
  color: #1b2c44 !important;
  background:
    radial-gradient(circle at 32% 28%, #fff, transparent 48%),
    radial-gradient(circle at 50% 100%, rgba(225,29,46,.1), transparent 55%),
    linear-gradient(165deg, #ffffff, #eef0f4) !important;
  border: 1.5px solid rgba(225,29,46,.22) !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.05),
    0 10px 22px rgba(15,23,42,.08),
    inset 0 1px 0 #fff !important;
}
.services .service .icon.icon-duo svg {
  width: 44px !important;
  height: 44px !important;
  display: block !important;
}
.services .service:hover .icon.icon-duo {
  transform: translateY(-3px) scale(1.03) !important;
  border-color: rgba(225,29,46,.75) !important;
  box-shadow:
    0 0 0 5px rgba(225,29,46,.12),
    0 16px 32px rgba(225,29,46,.16),
    0 10px 20px rgba(0,0,0,.25) !important;
}
.services .service .icon.icon-minimal,
.services .service .icon.icon-photo {
  /* superseded */
}
@media (max-width: 780px) {
  .services .service .icon.icon-duo {
    width: 74px !important;
    height: 74px !important;
  }
  .services .service .icon.icon-duo svg {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ========== Kuntoutus Gallian hierarchy tweak ========== */
.kuntoutus-page .gallian-tag.svc-tag,
.kuntoutus-page .svc-tag.gallian-tag {
  display: inline-block !important;
  margin: 0 0 0.75rem !important;
}
.kuntoutus-page .gallian-title {
  margin: 0 0 0.85rem !important;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  max-width: 34ch !important;
  color: inherit !important;
  opacity: 0.95;
}
.kuntoutus-page .gallian-lead {
  margin: 0 0 0.9rem !important;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  color: var(--muted, #9aa3ad) !important;
}
.kuntoutus-page .gallian-lead strong {
  font-weight: 400 !important;
  color: inherit !important;
}
body:not(.theme-blue) .kuntoutus-page .gallian-lead {
  color: var(--muted, #5c6570) !important;
}
.theme-blue .kuntoutus-page .gallian-lead {
  color: #a7b0ba !important;
}

/* ========== Trainer photos ========== */
.trainer-card .trainer-photo {
  margin: -0.15rem -0.15rem 1rem;
  border-radius: 14px;
  overflow: hidden;
  background: #121c30;
  aspect-ratio: 3 / 2;
}
body:not(.theme-blue) .trainer-card .trainer-photo {
  background: #e8eaee;
}
.trainer-card .trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.trainer-card .trainer-photo-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(192,198,206,.35);
  color: var(--muted, #9aa3ad);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trainer-grid .panel.trainer-card {
  overflow: hidden;
}

/* ========== Lightbox enlarge (Kuntosali gallery) ========== */
.gallery .lb-open,
.card.media .lb-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: inherit;
  overflow: hidden;
}
.gallery .lb-open img,
.card.media .lb-open img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .25s ease;
}
.gallery .lb-open:hover img,
.card.media .lb-open:hover img {
  transform: scale(1.03);
}
.lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 12, 28, 0.9) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open,
.lightbox:not([hidden]) {
  display: flex !important;
}
.lightbox[hidden] {
  display: none !important;
}
.lightbox-inner {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.lightbox-inner img,
#lbImage {
  max-width: 96vw !important;
  max-height: 78vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(8,16,32,.6);
  background: #0a1424;
}
.lightbox-caption {
  margin: 0;
  color: #e8eaee;
  font-size: 0.95rem;
  text-align: center;
  max-width: 40rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(225,29,46,.85);
  border-color: transparent;
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
}
.lightbox-prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
body.lb-open {
  overflow: hidden !important;
}
@media (max-width: 780px) {
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
  .lightbox-inner img,
  #lbImage { max-height: 70vh !important; }
}

/* Ryhmäliikunta row: image left, text right on desktop */
.split.split-media-left {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}
@media (max-width: 780px) {
  .split.split-media-left {
    grid-template-columns: 1fr !important;
  }
}

/* ========== Hero subtitle readable ========== */
.banner-sub,
.hero-copy .banner-sub,
p.banner.banner-sub {
  display: inline-block !important;
  margin: 0.15rem 0 0 !important;
  padding: 0.45em 1em !important;
  border-radius: 999px !important;
  font-family: var(--display, "Sora", system-ui, sans-serif) !important;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  color: #fff !important;
  background: rgba(8, 16, 32, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 8px 22px rgba(6, 14, 30, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
  max-width: min(100%, 34rem);
  text-wrap: balance;
}
/* override old hide of banner-dark if subtitle still uses it on old installs */
.hero-copy .banner-dark,
html body .hero-copy .banner-dark {
  display: inline-block !important;
  margin: 0.15rem 0 0 !important;
  padding: 0.45em 1em !important;
  border-radius: 999px !important;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: rgba(8, 16, 32, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 22px rgba(6, 14, 30, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}
/* bare .banner without light/sub in hero-copy = treat as sub */
.hero-copy > .banner:not(.banner-light):not(.banner-sub):not(.banner-dark),
.hero-copy p.banner:not(.banner-light):not(.banner-sub):not(.banner-dark) {
  display: inline-block !important;
  margin: 0.15rem 0 0 !important;
  padding: 0.45em 1em !important;
  border-radius: 999px !important;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: rgba(8, 16, 32, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 22px rgba(6, 14, 30, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}
@media (max-width: 780px) {
  .banner-sub,
  .hero-copy .banner-dark,
  .hero-copy > .banner:not(.banner-light):not(.banner-sub):not(.banner-dark) {
    font-size: clamp(0.72rem, 3.2vw, 0.9rem) !important;
    padding: 0.4em 0.85em !important;
    border-radius: 16px !important;
  }
}

/* ========== Kuntoutus booking one-card ========== */
.booking-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(192,198,206,.18);
  background: linear-gradient(165deg, #17243a, #0e182a);
  box-shadow: 0 18px 40px rgba(6,14,30,.4);
  max-width: 920px;
  margin: 0 auto;
}
body:not(.theme-blue) .booking-card {
  background: linear-gradient(165deg, #fff, #f4f5f7);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 14px 32px rgba(15,23,42,.08);
}
.booking-card-media {
  min-height: 280px;
  background: #0a1424;
}
body:not(.theme-blue) .booking-card-media {
  background: #e8eaee;
}
.booking-card-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  aspect-ratio: auto !important;
}
.booking-card-body {
  padding: 1.5rem 1.55rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}
.booking-card-body .svc-tag {
  align-self: flex-start;
  margin-bottom: 0.15rem;
}
.booking-title {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.booking-lead {
  margin: 0;
  color: var(--muted, #a7b0ba);
  font-size: 1.02rem;
  line-height: 1.55;
}
body:not(.theme-blue) .booking-lead {
  color: var(--muted, #5c6570);
}
.booking-person {
  margin: 0.35rem 0 0.55rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(225, 29, 46, 0.12);
  border: 1px solid rgba(225, 29, 46, 0.28);
  display: grid;
  gap: 0.15rem;
}
body:not(.theme-blue) .booking-person {
  background: rgba(225, 29, 46, 0.07);
  border-color: rgba(225, 29, 46, 0.16);
}
.booking-person strong {
  font-size: 1.08rem;
  font-weight: 800;
}
.booking-person span {
  color: var(--muted, #a7b0ba);
  font-size: 0.95rem;
}
body:not(.theme-blue) .booking-person span {
  color: var(--muted, #5c6570);
}
.booking-phone {
  align-self: flex-start;
  margin-top: 0.25rem;
  border-radius: 999px !important;
  padding: 0.8rem 1.35rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.35);
}
@media (max-width: 780px) {
  .booking-card {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .booking-card-media img {
    min-height: 260px;
    max-height: 360px;
    width: 100%;
  }
  .booking-card-body {
    padding: 1.25rem 1.2rem 1.4rem;
  }
}

/* Teemu booking photo crop framing */
.booking-card-media img {
  object-position: center 12% !important;
}

/* ========== Kuntoutus booking duo cards ========== */
.kuntoutus-page .booking-duo {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  max-width: 920px;
  margin: 0 auto;
}
.kuntoutus-page .booking-photo-card {
  padding: 0 !important;
  overflow: hidden !important;
  min-height: 100%;
  background: #0a1424 !important;
}
body:not(.theme-blue) .kuntoutus-page .booking-photo-card {
  background: #e8eaee !important;
}
.kuntoutus-page .booking-photo-card img {
  width: 100% !important;
  height: 100% !important;
  min-height: 340px;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 12% !important;
  display: block !important;
  aspect-ratio: auto !important;
}
.kuntoutus-page .booking-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.45rem 1.4rem 1.5rem !important;
}
.kuntoutus-page .booking-info-card .kuntoutus-h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
}
.kuntoutus-page .booking-info-card .contact-person {
  margin: 0.55rem 0 0.85rem;
}
.kuntoutus-page .booking-info-card .contact-actions .btn {
  border-radius: 999px !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 800 !important;
}
/* hide one-card layout if leftover */
.booking-card { display: none !important; }
@media (max-width: 780px) {
  .kuntoutus-page .booking-duo {
    grid-template-columns: 1fr !important;
    max-width: 480px;
  }
  .kuntoutus-page .booking-photo-card img {
    min-height: 280px;
    max-height: 380px;
  }
}

/* ========== WP primary menu harden ========== */
@media (min-width: 781px) {
  .main-nav .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .main-nav #menu,
  .main-nav ul.primary-menu,
  .main-nav .nav-inner > ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .main-nav #menu > li,
  .main-nav ul.primary-menu > li {
    display: flex !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }
  .main-nav #menu > li > a,
  .main-nav ul.primary-menu > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 15px 11px !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }
  /* hide nested leftovers on desktop primary (depth 1) */
  .main-nav #menu ul.sub-menu,
  .main-nav ul.primary-menu ul.sub-menu {
    display: none !important;
  }
  /* hide cart / shop utils accidentally in primary */
  .main-nav li.menu-item a .count,
  .main-nav li a .amount,
  .main-nav .cart-contents,
  .main-nav li.menu-item-type-custom a[href*="cart"],
  .main-nav li a[href*="/cart"],
  .main-nav li.woocommerce-mini-cart-item,
  .main-nav li.menu-item a > .fa,
  .main-nav li.menu-item a > .svg-inline--fa,
  .main-nav li.menu-item a > i,
  .main-nav li.menu-item a > svg {
    /* keep text menus clean */
  }
  .main-nav li.menu-item a[href*="cart"],
  .main-nav li.menu-item a[href*="kassa"],
  .main-nav li.menu-item a[href*="checkout"] {
    display: none !important;
  }
  /* hide social-only items if they only contain icons/empty label */
  .main-nav li.menu-item a[href*="facebook.com"],
  .main-nav li.menu-item a[href*="instagram.com"] {
    display: none !important;
  }
  /* hide In English from primary if also in topbar - optional: keep it */
}
@media (min-width: 781px) and (max-width: 1100px) {
  .main-nav #menu > li > a,
  .main-nav ul.primary-menu > li > a {
    padding: 14px 8px !important;
    font-size: 0.82rem !important;
  }
}
@media (min-width: 781px) and (max-width: 920px) {
  .main-nav #menu,
  .main-nav ul.primary-menu {
    flex-wrap: wrap !important;
    justify-content: center !important;
    row-gap: 0 !important;
  }
  .main-nav #menu > li > a {
    padding: 12px 8px !important;
    font-size: 0.8rem !important;
  }
}

/* Default news image (logo fallback) */
.news-featured-media.is-default,
.news-card-media.is-default {
  background-size: cover !important;
  background-position: center center !important;
  background-color: #eef0f3;
}
body.theme-blue .news-featured-media.is-default,
body.theme-blue .news-card-media.is-default {
  background-color: #121c30;
  background-size: cover !important;
}
.news-featured-media.is-default .ph,
.news-card-media.is-default .ph {
  display: none !important;
}

/* Homepage news carousel images */
.news-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  background: #121c30;
}
body:not(.theme-blue) .news-item img {
  background: #eef0f3;
}
.news-item .thumb-ph {
  display: none !important;
}



/* ========== SPORTTIKUJA BLUE v3.0 — dark blue theme ========== */
:root {
  --blue-deep: #0a1424;
  --blue-mid: #152038;
  --bg: #070b14;
  --bg-2: #0e1628;
  --bg-3: #152038;
  --surface: #142033;
  --surface-2: #1a2a42;
  --ink: #f3f4f6;
  --ink-2: #e5e7eb;
  --muted: #9ca3af;
  --line: rgba(192, 198, 206, 0.16);
  --line-strong: rgba(192, 198, 206, 0.28);
  --red: #e11d2e;
  --red-2: #ff3b4b;
  --red-soft: rgba(225, 29, 46, 0.14);
  --silver: #c0c6ce;
  --shadow: 0 16px 40px rgba(0,0,0,.45);
  --shadow-sm: 0 8px 20px rgba(6,14,30,.4);
  --nav: #0a1424;
  --max: 1120px;
}

html, body {
  background: var(--bg) !important;
  color: var(--ink) !important;
}

body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225,29,46,.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(192,198,206,.06), transparent 50%),
    var(--bg) !important;
}

/* Top bar */
.topbar {
  background: #050a14 !important;
  color: #c0c6ce !important;
  border-bottom: 1px solid var(--line) !important;
}
.topbar a { color: #e5e7eb !important; }
.topbar a:hover { color: #fff !important; }

/* Header */
.masthead {
  background: rgba(10,20,36,.94) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(12px);
}
.site-tagline {
  color: #b8bec8 !important;
}
.nav-toggle {
  background: var(--surface-2) !important;
  border-color: var(--line-strong) !important;
}
.nav-toggle-box span { background: #f3f4f6 !important; }

/* Main nav already dark — polish */
.main-nav {
  background: linear-gradient(180deg, #152038, #0a1424) !important;
  border-top: 1px solid var(--line) !important;
}

/* Sections / typography */
.section-title,
.page-hero h1,
h1, h2, h3, h4 {
  color: var(--ink) !important;
}
.section-lead,
.prose,
.prose p,
.page-hero p,
.breadcrumb {
  color: var(--muted) !important;
}
.breadcrumb a { color: #d1d5db !important; }
.ink, .prose .ink, strong { color: var(--ink-2) !important; }

.page-hero {
  background:
    linear-gradient(180deg, rgba(225,29,46,.16), transparent 70%),
    var(--bg-2) !important;
  border-bottom: 1px solid var(--line) !important;
}

.page-body,
.wrap {
  color: var(--ink);
}

/* Panels / cards */
.panel,
.card,
.trust-item,
.service,
.price-card,
.partner-card,
.news-card,
.news-featured,
.trainer-card,
.contact-card,
.split > *,
.media {
  background: linear-gradient(180deg, #1a2a42, #121c30) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow-sm) !important;
}
.panel.prose,
.section.panel {
  background: linear-gradient(180deg, #1a2a42, #121c30) !important;
}

.trust-item strong,
.price-card h3,
.service h4,
.partner-card h3,
.news-card h3 {
  color: #fff !important;
}
.trust-item span,
.price-card li,
.service .more,
.partner-card p,
.news-card p,
.news-card .meta {
  color: var(--muted) !important;
}
.service .more { color: var(--red-2) !important; }
.service .svc-tag {
  color: #ff8a93 !important;
  background: rgba(225,29,46,.16) !important;
  border-color: rgba(225,29,46,.3) !important;
}

.trust-item {
  border-top: 3px solid var(--red) !important;
}

.price-card.featured {
  border-color: rgba(225,29,46,.55) !important;
  box-shadow: 0 0 0 1px rgba(225,29,46,.25), var(--shadow) !important;
}
.price-card .amount { color: #fff !important; }
.price-card .tag {
  background: var(--red) !important;
  color: #fff !important;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(180deg, #ff3344, #e11d2e) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.btn-ghost {
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
.btn-ghost:hover {
  background: rgba(225,29,46,.2) !important;
  border-color: rgba(225,29,46,.5) !important;
}

/* Hero banners — keep light/dark contrast on photo */
.hero-copy .banner-light {
  background: rgba(255,255,255,.95) !important;
  color: #111c30 !important;
}
.hero-copy .banner-dark {
  background: rgba(5,12,28,.75) !important;
  color: #fff !important;
}
@media (min-width: 781px) {
  .banner-light {
    background: rgba(255,255,255,.94) !important;
    color: #111c30 !important;
  }
  .banner-dark {
    background: rgba(10,20,36,.82) !important;
    color: #fff !important;
  }
}

/* News / filters */
.news-filters button {
  background: var(--surface) !important;
  color: var(--ink-2) !important;
  border: 1px solid var(--line) !important;
}
.news-filters button.is-active,
.news-filters button:hover {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}
.news-pin {
  background: rgba(225,29,46,.12) !important;
  border: 1px solid rgba(225,29,46,.35) !important;
  color: var(--ink) !important;
}
.news-item,
.news-item span {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

/* Tables */
.price-list th {
  background: #1a2a42 !important;
  color: #fff !important;
  border-color: var(--line) !important;
}
.price-list td {
  color: var(--ink-2) !important;
  border-color: var(--line) !important;
}
.price-list tr:nth-child(even) td {
  background: rgba(255,255,255,.03) !important;
}

/* Gallery */
.gallery figure {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
}
.gallery figcaption {
  color: var(--muted) !important;
  background: rgba(6,14,30,.4) !important;
}

/* Footer */
.colophon {
  background: #050a14 !important;
  color: #c0c6ce !important;
  border-top: 3px solid var(--red) !important;
}
.colophon a { color: #e5e7eb !important; }
.colophon a:hover { color: #fff !important; }
.footer-social a {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
.back-top {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  color: #fff !important;
}

/* Forms / inputs if any */
input, textarea, select {
  background: var(--surface-2) !important;
  color: var(--ink) !important;
  border-color: var(--line-strong) !important;
}

/* Brand chip / partner */
.brand-chip {
  background: rgba(255,255,255,.06) !important;
  border-color: var(--line) !important;
  color: var(--ink-2) !important;
}
.partner-logo {
  background: #0a1424 !important;
  border-color: var(--line) !important;
}

/* Version badge */
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .5rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #ff3344, #e11d2e);
  vertical-align: middle;
}

/* Split rows / banners on homepage */
.banner-row,
.info-block,
.offer-block {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

/* Soften white leftovers */
.section,
.page-body {
  background: transparent !important;
}

a:not(.btn):not(.service):not(.news-item) {
  color: #ff8a93;
}
a:not(.btn):not(.service):not(.news-item):hover {
  color: #fff;
}
.main-nav a { color: #f3f4f6 !important; }
.main-nav a:hover,
.main-nav a.active { color: #fff !important; }

/* Mobile menu already dark */
@media (max-width: 780px) {
  .masthead {
    background: rgba(10,20,36,.96) !important;
  }
  .service .icon {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.2),
      0 12px 24px rgba(0,0,0,.4),
      0 0 0 5px rgba(225,29,46,.14) !important;
  }
}

/* ========== Ajankohtaista controls (dark) ========== */
.carousel-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(225, 29, 46, 0.55) !important;
  background: linear-gradient(180deg, #243450, #121c30) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.4), 0 0 0 3px rgba(225,29,46,.12) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
}
.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: linear-gradient(180deg, #e11d2e, #b9101e) !important;
  border-color: #e11d2e !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(225,29,46,.35) !important;
}

.btn-outline,
a.btn.btn-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.35rem !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(225, 29, 46, 0.7) !important;
  background: rgba(225, 29, 46, 0.12) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(6,14,30,.4) !important;
}
.btn-outline:hover,
a.btn.btn-outline:hover {
  background: #e11d2e !important;
  border-color: #e11d2e !important;
  color: #fff !important;
}

/* news scrollbar on dark */
.news-viewport::-webkit-scrollbar {
  height: 6px;
}
.news-viewport::-webkit-scrollbar-track {
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}
.news-viewport::-webkit-scrollbar-thumb {
  background: #e11d2e;
  border-radius: 999px;
}

/* ========== Soft quotes (no harsh white) ========== */
.quote,
blockquote.quote {
  background: #243450 !important;
  color: #d7dbe3 !important;
  border-left: 4px solid #e11d2e !important;
  border: 1px solid rgba(192,198,206,.14) !important;
  border-left-width: 4px !important;
  border-left-color: #e11d2e !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 20px rgba(0,0,0,.25) !important;
}
.quote cite,
blockquote.quote cite {
  color: #9aa3b2 !important;
}

/* Soft grey outline buttons inside dark cards (Lue lisää etc.) */
.card .btn-outline,
.panel .btn-outline,
a.btn.btn-outline {
  background: rgba(192, 198, 206, 0.10) !important;
  border: 1px solid rgba(192, 198, 206, 0.28) !important;
  color: #e8eaef !important;
  box-shadow: none !important;
}
.card .btn-outline:hover,
.panel .btn-outline:hover,
a.btn.btn-outline:hover {
  background: rgba(225, 29, 46, 0.9) !important;
  border-color: #e11d2e !important;
  color: #fff !important;
}

/* Keep the bigger CTA under news slightly stronger but not pure white */
.btn-outline {
  background: rgba(192, 198, 206, 0.10) !important;
  border-color: rgba(225, 29, 46, 0.45) !important;
  color: #f3f4f6 !important;
}


/* legacy single split — full width if ever used */
.split.split-single {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ========== Strong line badge (high contrast on black) ========== */
.lead-center .strong-line,
p.strong-line,
.strong-line {
  display: inline-block !important;
  margin-top: 0.75rem !important;
  padding: 0.65rem 1.15rem !important;
  border-radius: 999px !important;
  background: #e11d2e !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow:
    0 10px 28px rgba(225, 29, 46, 0.4),
    0 0 0 4px rgba(225, 29, 46, 0.15) !important;
  text-align: center !important;
}
.lead-center {
  text-align: center !important;
}


/* ========== Kuntoutus images override (beat .card.media img 16/10) ========== */
.kuntoutus-page .card.media img,
.kuntoutus-page .kuntoutus-feature-media img,
.kuntoutus-page .portrait-card img,
.kuntoutus-page article.card.media img {
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}
.kuntoutus-page .portrait-card img {
  max-height: 600px !important;
  object-position: center top !important;
}
.kuntoutus-page .card.media {
  background: #121c30 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 280px !important;
}
body:not(.theme-blue) .kuntoutus-page .card.media {
  background: #eceef2 !important;
}
@media (max-width: 780px) {
  .kuntoutus-page .card.media img {
    max-height: 440px !important;
  }
}

/* KUNTOUTUS IMG NUKE */
html body .kuntoutus-page .card.media img {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  height: auto !important;
  max-height: 560px !important;
  width: 100% !important;
}

/* ========== Kuntoutus option 1 hierarchy ========== */
.kuntoutus-page .gallian-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e11d2e !important;
}
.theme-blue .kuntoutus-page .gallian-eyebrow {
  color: #ff6b76 !important;
}
.kuntoutus-page .gallian-title {
  margin: 0 0 1rem;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: inherit;
  max-width: 22ch;
}
.kuntoutus-page .gallian-lead {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  line-height: 1.65;
}
.kuntoutus-page .kuntoutus-h2 {
  margin: 0.25rem 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  color: inherit;
}
.kuntoutus-page .split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.35rem !important;
  align-items: stretch !important;
}
.kuntoutus-page .card { min-width: 0; height: 100%; }
.kuntoutus-page .svc-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e11d2e;
  background: rgba(225,29,46,.1);
  border: 1px solid rgba(225,29,46,.2);
}
.theme-blue .kuntoutus-page .svc-tag {
  color: #ff8a93;
  background: rgba(225,29,46,.16);
  border-color: rgba(225,29,46,.3);
}
.kuntoutus-page .card.media {
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #121c30 !important;
}
body:not(.theme-blue) .kuntoutus-page .card.media {
  background: #eceef2 !important;
}
html body .kuntoutus-page .card.media img {
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}
html body .kuntoutus-page .portrait-card img {
  max-height: 600px !important;
  object-position: center top !important;
}
.kuntoutus-page .contact-person {
  margin: 0.75rem 0 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(225, 29, 46, 0.06);
  border: 1px solid rgba(225, 29, 46, 0.14);
}
.theme-blue .kuntoutus-page .contact-person {
  background: rgba(225, 29, 46, 0.12);
  border-color: rgba(225, 29, 46, 0.28);
}
.kuntoutus-page .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}
@media (max-width: 780px) {
  .kuntoutus-page .split { grid-template-columns: 1fr !important; }
  .kuntoutus-page .gallian-title { max-width: none; }
  html body .kuntoutus-page .card.media img { max-height: 440px !important; }
}

/* ========== Mobile: space between hero slider and trust cards ========== */
@media (max-width: 900px) {
  .hero {
    margin-bottom: 0 !important;
    padding-bottom: 0.35rem !important;
  }
  .hero-slide {
    padding-bottom: 4.25rem !important; /* room for dots + breathing space */
  }
  .hero-dots {
    bottom: 1.1rem !important;
  }
  .hero + .wrap {
    margin-top: 0 !important;
    padding-top: 0.85rem !important;
  }
  .trust {
    margin-top: 0.85rem !important;
    margin-bottom: 1.35rem !important;
    /* kill negative pull-up that overlays slider on mobile */
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 780px) {
  .hero-slide {
    padding-bottom: 4.6rem !important;
  }
  .hero + .wrap {
    padding-top: 1rem !important;
  }
  .trust {
    margin-top: 1rem !important;
    margin-bottom: 1.4rem !important;
  }
}

/* ========== Hero glass banners (no dark chips) ========== */
.hero-slide::before {
  /* lighter veil so photo stays visible */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.18) 0%,
    rgba(0,0,0,.28) 45%,
    rgba(0,0,0,.45) 100%
  ) !important;
}
.hero-caption {
  gap: 0.75rem !important;
  max-width: min(560px, calc(100% - 3rem)) !important;
  width: auto !important;
}
.hero-copy {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  width: 100%;
}
/* old hide removed */
.banner-light {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(14px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.25) !important;
  font-size: clamp(0.95rem, 2.1vw, 1.45rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  padding: 0.7em 1.15em !important;
  border-radius: 999px !important;
  text-shadow: 0 1px 2px rgba(6,14,30,.4);
  max-width: min(100%, 34rem);
}
.hero-cta .btn-primary {
  border-radius: 999px !important;
  padding: 0.75rem 1.35rem !important;
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.35) !important;
}
.hero-cta .btn-ghost,
.hero-cta .hero-cta-secondary {
  display: none !important; /* remove dark/grey secondary chips on slider */
}
@media (max-width: 780px) {
  .hero-caption {
    max-width: min(92vw, 420px) !important;
    padding: 0.5rem !important;
  }
  .banner-light {
    font-size: clamp(0.88rem, 3.8vw, 1.1rem) !important;
    padding: 0.65em 1em !important;
    border-radius: 18px !important; /* allow 2-line wrap nicely */
  }
}

/* Hero glass force (black theme) */
html body.theme-blue .banner-light,
html body .banner-light {
  background: rgba(255, 255, 255, 0.18) !important;
  background-image: none !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.35) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
}
/* banner-dark no longer force-hidden — styled as readable sub */

/* Strong-line as link to Hinnasto */
.strong-line-wrap {
  margin: 0.75rem 0 0;
  text-align: center;
}
a.strong-line {
  display: inline-block !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
a.strong-line:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(225, 29, 46, 0.45) !important;
}
a.strong-line:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ========== PALVELUT icons v3 ========== */
.services .service .icon {
  width: 88px !important;
  height: 88px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.16), transparent 42%),
    radial-gradient(circle at 50% 70%, rgba(225,29,46,.28), transparent 55%),
    linear-gradient(160deg, #1a2a42, #0c1422) !important;
  border: 1.5px solid rgba(225,29,46,.45) !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.08),
    0 14px 28px rgba(6,14,30,.4),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
  color: #e8eaee !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
body:not(.theme-blue) .services .service .icon {
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.95), transparent 40%),
    radial-gradient(circle at 50% 75%, rgba(225,29,46,.12), transparent 55%),
    linear-gradient(160deg, #ffffff, #eef0f4) !important;
  border-color: rgba(225,29,46,.28) !important;
  color: #1a2a42 !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.06),
    0 10px 22px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.services .service:hover .icon {
  transform: translateY(-2px) scale(1.03) !important;
  border-color: rgba(225,29,46,.75) !important;
  box-shadow:
    0 0 0 5px rgba(225,29,46,.14),
    0 16px 32px rgba(225,29,46,.18),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}
.services .service .icon svg {
  width: 44px !important;
  height: 44px !important;
}
@media (max-width: 780px) {
  .services .service .icon {
    width: 76px !important;
    height: 76px !important;
  }
  .services .service .icon svg {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ========== PALVELUT solid icons (no holes) ========== */
.services .service .icon.icon-photo {
  width: 112px !important;
  height: 112px !important;
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  display: block !important;
  background: #e6e8ec !important;
  border: 1px solid rgba(0,0,0,.2) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.32) !important;
  isolation: isolate !important;
}
body:not(.theme-blue) .services .service .icon.icon-photo {
  border: 1px solid rgba(15,23,42,.1) !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.1) !important;
}
.services .service .icon.icon-photo .svc-photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: #e6e8ec !important;
  border-radius: 0 !important;
  transform: none !important;
}
.services .service:hover .icon.icon-photo {
  transform: translateY(-2px) !important;
}
@media (max-width: 780px) {
  .services .service .icon.icon-photo {
    width: 92px !important;
    height: 92px !important;
    border-radius: 16px !important;
  }
}

/* ========== PALVELUT duotone icons v4 ========== */
.services .service .icon.icon-duo {
  width: 88px !important;
  height: 88px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  color: #e8eaef !important;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.14), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(225,29,46,.22), transparent 55%),
    linear-gradient(165deg, #1e2c44, #0e182a) !important;
  border: 1.5px solid rgba(225,29,46,.42) !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.08),
    0 14px 28px rgba(6,14,30,.4),
    inset 0 1px 0 rgba(255,255,255,.1) !important;
  overflow: visible !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
body:not(.theme-blue) .services .service .icon.icon-duo {
  color: #1b2c44 !important;
  background:
    radial-gradient(circle at 32% 28%, #fff, transparent 48%),
    radial-gradient(circle at 50% 100%, rgba(225,29,46,.1), transparent 55%),
    linear-gradient(165deg, #ffffff, #eef0f4) !important;
  border: 1.5px solid rgba(225,29,46,.22) !important;
  box-shadow:
    0 0 0 4px rgba(225,29,46,.05),
    0 10px 22px rgba(15,23,42,.08),
    inset 0 1px 0 #fff !important;
}
.services .service .icon.icon-duo svg {
  width: 44px !important;
  height: 44px !important;
  display: block !important;
}
.services .service:hover .icon.icon-duo {
  transform: translateY(-3px) scale(1.03) !important;
  border-color: rgba(225,29,46,.75) !important;
  box-shadow:
    0 0 0 5px rgba(225,29,46,.12),
    0 16px 32px rgba(225,29,46,.16),
    0 10px 20px rgba(0,0,0,.25) !important;
}
.services .service .icon.icon-minimal,
.services .service .icon.icon-photo {
  /* superseded */
}
@media (max-width: 780px) {
  .services .service .icon.icon-duo {
    width: 74px !important;
    height: 74px !important;
  }
  .services .service .icon.icon-duo svg {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ========== Kuntoutus Gallian hierarchy tweak ========== */
.kuntoutus-page .gallian-tag.svc-tag,
.kuntoutus-page .svc-tag.gallian-tag {
  display: inline-block !important;
  margin: 0 0 0.75rem !important;
}
.kuntoutus-page .gallian-title {
  margin: 0 0 0.85rem !important;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  max-width: 34ch !important;
  color: inherit !important;
  opacity: 0.95;
}
.kuntoutus-page .gallian-lead {
  margin: 0 0 0.9rem !important;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  color: var(--muted, #9aa3ad) !important;
}
.kuntoutus-page .gallian-lead strong {
  font-weight: 400 !important;
  color: inherit !important;
}
body:not(.theme-blue) .kuntoutus-page .gallian-lead {
  color: var(--muted, #5c6570) !important;
}
.theme-blue .kuntoutus-page .gallian-lead {
  color: #a7b0ba !important;
}

/* ========== Trainer photos ========== */
.trainer-card .trainer-photo {
  margin: -0.15rem -0.15rem 1rem;
  border-radius: 14px;
  overflow: hidden;
  background: #121c30;
  aspect-ratio: 3 / 2;
}
body:not(.theme-blue) .trainer-card .trainer-photo {
  background: #e8eaee;
}
.trainer-card .trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.trainer-card .trainer-photo-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(192,198,206,.35);
  color: var(--muted, #9aa3ad);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trainer-grid .panel.trainer-card {
  overflow: hidden;
}

/* ========== Lightbox enlarge (Kuntosali gallery) ========== */
.gallery .lb-open,
.card.media .lb-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: inherit;
  overflow: hidden;
}
.gallery .lb-open img,
.card.media .lb-open img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .25s ease;
}
.gallery .lb-open:hover img,
.card.media .lb-open:hover img {
  transform: scale(1.03);
}
.lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 12, 28, 0.9) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open,
.lightbox:not([hidden]) {
  display: flex !important;
}
.lightbox[hidden] {
  display: none !important;
}
.lightbox-inner {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.lightbox-inner img,
#lbImage {
  max-width: 96vw !important;
  max-height: 78vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(8,16,32,.6);
  background: #0a1424;
}
.lightbox-caption {
  margin: 0;
  color: #e8eaee;
  font-size: 0.95rem;
  text-align: center;
  max-width: 40rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(225,29,46,.85);
  border-color: transparent;
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
}
.lightbox-prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
body.lb-open {
  overflow: hidden !important;
}
@media (max-width: 780px) {
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
  .lightbox-inner img,
  #lbImage { max-height: 70vh !important; }
}

/* Ryhmäliikunta row: image left, text right on desktop */
.split.split-media-left {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}
@media (max-width: 780px) {
  .split.split-media-left {
    grid-template-columns: 1fr !important;
  }
}

/* ========== Hero subtitle readable ========== */
.banner-sub,
.hero-copy .banner-sub,
p.banner.banner-sub {
  display: inline-block !important;
  margin: 0.15rem 0 0 !important;
  padding: 0.45em 1em !important;
  border-radius: 999px !important;
  font-family: var(--display, "Sora", system-ui, sans-serif) !important;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  color: #fff !important;
  background: rgba(8, 16, 32, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 8px 22px rgba(6, 14, 30, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
  max-width: min(100%, 34rem);
  text-wrap: balance;
}
/* override old hide of banner-dark if subtitle still uses it on old installs */
.hero-copy .banner-dark,
html body .hero-copy .banner-dark {
  display: inline-block !important;
  margin: 0.15rem 0 0 !important;
  padding: 0.45em 1em !important;
  border-radius: 999px !important;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: rgba(8, 16, 32, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 22px rgba(6, 14, 30, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}
/* bare .banner without light/sub in hero-copy = treat as sub */
.hero-copy > .banner:not(.banner-light):not(.banner-sub):not(.banner-dark),
.hero-copy p.banner:not(.banner-light):not(.banner-sub):not(.banner-dark) {
  display: inline-block !important;
  margin: 0.15rem 0 0 !important;
  padding: 0.45em 1em !important;
  border-radius: 999px !important;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: rgba(8, 16, 32, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 22px rgba(6, 14, 30, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}
@media (max-width: 780px) {
  .banner-sub,
  .hero-copy .banner-dark,
  .hero-copy > .banner:not(.banner-light):not(.banner-sub):not(.banner-dark) {
    font-size: clamp(0.72rem, 3.2vw, 0.9rem) !important;
    padding: 0.4em 0.85em !important;
    border-radius: 16px !important;
  }
}

/* ========== Kuntoutus booking one-card ========== */
.booking-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(192,198,206,.18);
  background: linear-gradient(165deg, #17243a, #0e182a);
  box-shadow: 0 18px 40px rgba(6,14,30,.4);
  max-width: 920px;
  margin: 0 auto;
}
body:not(.theme-blue) .booking-card {
  background: linear-gradient(165deg, #fff, #f4f5f7);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 14px 32px rgba(15,23,42,.08);
}
.booking-card-media {
  min-height: 280px;
  background: #0a1424;
}
body:not(.theme-blue) .booking-card-media {
  background: #e8eaee;
}
.booking-card-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  aspect-ratio: auto !important;
}
.booking-card-body {
  padding: 1.5rem 1.55rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}
.booking-card-body .svc-tag {
  align-self: flex-start;
  margin-bottom: 0.15rem;
}
.booking-title {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.booking-lead {
  margin: 0;
  color: var(--muted, #a7b0ba);
  font-size: 1.02rem;
  line-height: 1.55;
}
body:not(.theme-blue) .booking-lead {
  color: var(--muted, #5c6570);
}
.booking-person {
  margin: 0.35rem 0 0.55rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(225, 29, 46, 0.12);
  border: 1px solid rgba(225, 29, 46, 0.28);
  display: grid;
  gap: 0.15rem;
}
body:not(.theme-blue) .booking-person {
  background: rgba(225, 29, 46, 0.07);
  border-color: rgba(225, 29, 46, 0.16);
}
.booking-person strong {
  font-size: 1.08rem;
  font-weight: 800;
}
.booking-person span {
  color: var(--muted, #a7b0ba);
  font-size: 0.95rem;
}
body:not(.theme-blue) .booking-person span {
  color: var(--muted, #5c6570);
}
.booking-phone {
  align-self: flex-start;
  margin-top: 0.25rem;
  border-radius: 999px !important;
  padding: 0.8rem 1.35rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.35);
}
@media (max-width: 780px) {
  .booking-card {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .booking-card-media img {
    min-height: 260px;
    max-height: 360px;
    width: 100%;
  }
  .booking-card-body {
    padding: 1.25rem 1.2rem 1.4rem;
  }
}

/* Teemu booking photo crop framing */
.booking-card-media img {
  object-position: center 12% !important;
}

/* ========== Kuntoutus booking duo cards ========== */
.kuntoutus-page .booking-duo {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  max-width: 920px;
  margin: 0 auto;
}
.kuntoutus-page .booking-photo-card {
  padding: 0 !important;
  overflow: hidden !important;
  min-height: 100%;
  background: #0a1424 !important;
}
body:not(.theme-blue) .kuntoutus-page .booking-photo-card {
  background: #e8eaee !important;
}
.kuntoutus-page .booking-photo-card img {
  width: 100% !important;
  height: 100% !important;
  min-height: 340px;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 12% !important;
  display: block !important;
  aspect-ratio: auto !important;
}
.kuntoutus-page .booking-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.45rem 1.4rem 1.5rem !important;
}
.kuntoutus-page .booking-info-card .kuntoutus-h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
}
.kuntoutus-page .booking-info-card .contact-person {
  margin: 0.55rem 0 0.85rem;
}
.kuntoutus-page .booking-info-card .contact-actions .btn {
  border-radius: 999px !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 800 !important;
}
/* hide one-card layout if leftover */
.booking-card { display: none !important; }
@media (max-width: 780px) {
  .kuntoutus-page .booking-duo {
    grid-template-columns: 1fr !important;
    max-width: 480px;
  }
  .kuntoutus-page .booking-photo-card img {
    min-height: 280px;
    max-height: 380px;
  }
}

/* ========== WP primary menu harden ========== */
@media (min-width: 781px) {
  .main-nav .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .main-nav #menu,
  .main-nav ul.primary-menu,
  .main-nav .nav-inner > ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .main-nav #menu > li,
  .main-nav ul.primary-menu > li {
    display: flex !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }
  .main-nav #menu > li > a,
  .main-nav ul.primary-menu > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 15px 11px !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }
  /* hide nested leftovers on desktop primary (depth 1) */
  .main-nav #menu ul.sub-menu,
  .main-nav ul.primary-menu ul.sub-menu {
    display: none !important;
  }
  /* hide cart / shop utils accidentally in primary */
  .main-nav li.menu-item a .count,
  .main-nav li a .amount,
  .main-nav .cart-contents,
  .main-nav li.menu-item-type-custom a[href*="cart"],
  .main-nav li a[href*="/cart"],
  .main-nav li.woocommerce-mini-cart-item,
  .main-nav li.menu-item a > .fa,
  .main-nav li.menu-item a > .svg-inline--fa,
  .main-nav li.menu-item a > i,
  .main-nav li.menu-item a > svg {
    /* keep text menus clean */
  }
  .main-nav li.menu-item a[href*="cart"],
  .main-nav li.menu-item a[href*="kassa"],
  .main-nav li.menu-item a[href*="checkout"] {
    display: none !important;
  }
  /* hide social-only items if they only contain icons/empty label */
  .main-nav li.menu-item a[href*="facebook.com"],
  .main-nav li.menu-item a[href*="instagram.com"] {
    display: none !important;
  }
  /* hide In English from primary if also in topbar - optional: keep it */
}
@media (min-width: 781px) and (max-width: 1100px) {
  .main-nav #menu > li > a,
  .main-nav ul.primary-menu > li > a {
    padding: 14px 8px !important;
    font-size: 0.82rem !important;
  }
}
@media (min-width: 781px) and (max-width: 920px) {
  .main-nav #menu,
  .main-nav ul.primary-menu {
    flex-wrap: wrap !important;
    justify-content: center !important;
    row-gap: 0 !important;
  }
  .main-nav #menu > li > a {
    padding: 12px 8px !important;
    font-size: 0.8rem !important;
  }
}

/* Default news image (logo fallback) */
.news-featured-media.is-default,
.news-card-media.is-default {
  background-size: cover !important;
  background-position: center center !important;
  background-color: #eef0f3;
}
body.theme-blue .news-featured-media.is-default,
body.theme-blue .news-card-media.is-default {
  background-color: #121c30;
  background-size: cover !important;
}
.news-featured-media.is-default .ph,
.news-card-media.is-default .ph {
  display: none !important;
}

/* Homepage news carousel images */
.news-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  background: #121c30;
}
body:not(.theme-blue) .news-item img {
  background: #eef0f3;
}
.news-item .thumb-ph {
  display: none !important;
}


/* ========== BLUE total surface pass ========== */
html body.theme-blue {
  background-color: #070b14 !important;
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 29, 46, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(40, 90, 160, 0.18), transparent 50%),
    linear-gradient(180deg, #070b14, #0a1424) !important;
  color: #f3f4f6 !important;
}

html body.theme-blue .card,
html body.theme-blue .panel,
html body.theme-blue .service,
html body.theme-blue .news-item,
html body.theme-blue .news-card,
html body.theme-blue .news-featured,
html body.theme-blue .news-pin,
html body.theme-blue .price-card,
html body.theme-blue .trainer-card,
html body.theme-blue .partner-card,
html body.theme-blue .quote,
html body.theme-blue .quote-card,
html body.theme-blue .booking-info-card,
html body.theme-blue .booking-photo-card,
html body.theme-blue .contact-pro,
html body.theme-blue .trust article,
html body.theme-blue .info-card,
html body.theme-blue .split > *,
html body.theme-blue .two-col > * {
  background: linear-gradient(165deg, #1e3352 0%, #15263f 45%, #0f1c32 100%) !important;
  border-color: rgba(150, 185, 230, 0.18) !important;
  box-shadow: 0 14px 34px rgba(3, 10, 24, 0.5) !important;
}

html body.theme-blue .card.media,
html body.theme-blue .booking-photo-card,
html body.theme-blue .trainer-photo {
  background: #0c1830 !important;
}

html body.theme-blue .services .service .icon,
html body.theme-blue .icon.icon-duo,
html body.theme-blue .icon {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.16), transparent 42%),
    linear-gradient(160deg, #2a4468, #15263f 70%, #0f1c32) !important;
  border-color: rgba(225, 29, 46, 0.45) !important;
  box-shadow: 0 10px 24px rgba(4, 12, 28, 0.45) !important;
}

html body.theme-blue .main-nav {
  background: linear-gradient(180deg, #1a3050, #0a1830) !important;
  border-top-color: rgba(150, 185, 230, 0.12) !important;
}

html body.theme-blue .masthead {
  background: rgba(10, 24, 44, 0.95) !important;
  border-bottom: 1px solid rgba(150, 185, 230, 0.1);
}

html body.theme-blue .topbar,
html body.theme-blue .colophon,
html body.theme-blue footer {
  background: #050e1c !important;
}

html body.theme-blue .page-hero {
  background: linear-gradient(180deg, #102038, #070b14) !important;
}

html body.theme-blue .hero {
  background: #050e1c !important;
}

html body.theme-blue .hero-arrow,
html body.theme-blue .carousel-btn,
html body.theme-blue button.carousel-btn,
html body.theme-blue #newsPrev,
html body.theme-blue #newsNext,
html body.theme-blue #heroPrev,
html body.theme-blue #heroNext {
  background: rgba(12, 28, 52, 0.82) !important;
  border: 1px solid rgba(150, 185, 230, 0.28) !important;
  color: #f3f4f6 !important;
  box-shadow: 0 8px 20px rgba(3, 10, 24, 0.45) !important;
}

html body.theme-blue .hero-arrow:hover,
html body.theme-blue .carousel-btn:hover {
  background: rgba(20, 48, 88, 0.95) !important;
  border-color: rgba(225, 29, 46, 0.5) !important;
}

html body.theme-blue .btn-outline {
  background: rgba(100, 150, 210, 0.12) !important;
  border-color: rgba(150, 185, 230, 0.35) !important;
  color: #e8eef8 !important;
}

html body.theme-blue .news-item span,
html body.theme-blue .news-card-body,
html body.theme-blue .news-featured-body {
  background: transparent !important;
}

html body.theme-blue .news-item {
  background: #15263f !important;
}

html body.theme-blue .news-track,
html body.theme-blue .news-viewport,
html body.theme-blue .news-row {
  background: transparent !important;
}

html body.theme-blue .section-title,
html body.theme-blue h2.section-title {
  color: #f3f4f6 !important;
}

/* trust strip / stats if present */
html body.theme-blue .trust,
html body.theme-blue .trust-grid,
html body.theme-blue .stats,
html body.theme-blue .feature-grid {
  background: transparent !important;
}

html body.theme-blue .nav-toggle {
  background: #15263f !important;
  border-color: rgba(150, 185, 230, 0.25) !important;
}

html body.theme-blue .nav-toggle-box span {
  background: #e8eef8 !important;
}

/* mobile open menu panel */
html body.theme-blue .main-nav.is-open,
html body.theme-blue .main-nav.is-open .nav-inner,
html body.theme-blue .main-nav.is-open #menu {
  background: #0c1830 !important;
}

html body.theme-blue .lightbox,
html body.theme-blue .lightbox-inner {
  background: rgba(5, 12, 28, 0.92) !important;
}


/* ========== Blue testimonials (distinct from cards) ========== */
html body.theme-blue .testimonial-stack {
  display: grid !important;
  gap: 0.85rem !important;
  margin: 1rem 0 1.15rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body.theme-blue .quote,
html body.theme-blue blockquote.quote {
  position: relative !important;
  margin: 0.75rem 0 !important;
  padding: 1.05rem 1.1rem 1rem 1.25rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(150, 190, 240, 0.22) !important;
  border-left: 4px solid #e11d2e !important;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.10), transparent 42%),
    linear-gradient(165deg, #243a5c 0%, #182c48 100%) !important;
  box-shadow:
    0 10px 26px rgba(3, 10, 24, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  color: #eef3fb !important;
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
  font-style: italic !important;
}

html body.theme-blue .testimonial-stack .quote {
  margin: 0 !important;
}

html body.theme-blue .quote::before {
  content: "“" !important;
  position: absolute !important;
  top: 0.15rem !important;
  right: 0.7rem !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 2.6rem !important;
  line-height: 1 !important;
  color: rgba(225, 29, 46, 0.45) !important;
  font-style: normal !important;
  pointer-events: none !important;
}

html body.theme-blue .quote cite,
html body.theme-blue blockquote.quote cite {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-top: 0.7rem !important;
  padding: 0.28rem 0.7rem !important;
  border-radius: 999px !important;
  background: rgba(225, 29, 46, 0.16) !important;
  border: 1px solid rgba(225, 29, 46, 0.28) !important;
  color: #ffd0d5 !important;
  font-style: normal !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
}

html body.theme-blue .card > .quote + .quote {
  margin-top: 0.85rem !important;
}

