
:root {
  --brand: #4A8EA6;
  --brand-dark: #3A7A94;
  --brand-light: #6BB3CC;
  --brand-pale: #E8F4F8;
  --brand-ice: #F2F8FA;
  --navy: #1E3A50;
  /* Fejléc felső sáv + sablon .tpl-topbar (ugyanaz a sötét alap) */
  --mc-topbar-base: #142536;
  --bg: #EDF1F5;
  --bg-warm: #F5F7FA;
  --white: #FFFFFF;
  --text: #2C3E50;
  --text-mid: #5A6B7D;
  --text-soft: #8A99A8;
  --border: #DBE2EA;
  --border-soft: #E8ECF0;
  --navy-deep: #142536;
  --red: #C0392B;
  --red-light: #E74C3C;
  --green: #27AE60;
  --shadow-xs: 0 1px 3px rgba(30,58,80,0.04);
  --shadow-sm: 0 2px 8px rgba(30,58,80,0.06);
  --shadow-md: 0 4px 20px rgba(30,58,80,0.08);
  --shadow-lg: 0 8px 40px rgba(30,58,80,0.10);
  --shadow-xl: 0 16px 48px rgba(30,58,80,0.14);
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  /* Egys\u00e9ges f\u0151oldali szekci\u00f3-padding (fent+lent) \u2014 reszpont\u00edv */
  --section-pad-y: clamp(22px, 2.6vw, 36px);
  /* Egész oldal szélessége: nagy képernyőn szélebb „doboz”, kicsin reszponzív margó */
  --layout-max: 1680px;
  --layout-pad-x: clamp(14px, 4vw, 48px);
  /* Betegségkereső / fejléc gradiens – egységes átmenetek */
  --df-gradient: linear-gradient(135deg, #19324a 0%, #204f75 60%, #248c99 100%);
  --df-gradient-overlay: linear-gradient(135deg, rgba(25, 50, 74, 0.94) 0%, rgba(32, 79, 117, 0.92) 60%, rgba(36, 140, 153, 0.88) 100%);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scrollbar-gutter: stable; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
.wrap {
  width: 100%;
  max-width: min(var(--layout-max), calc(100% - 2 * var(--layout-pad-x)));
  margin: 0 auto;
  padding-left: var(--layout-pad-x);
  padding-right: var(--layout-pad-x);
  padding-top: 0;
  padding-bottom: 50px;
  box-sizing: border-box;
}
/* Lábléc .wrap: ne kapjon alsó 50px paddinget (mc-footer-unified zárja le) */
footer.footer > .wrap,
footer.footer .wrap {
  padding-bottom: 0;
}

/* Gyorsmenü gombok — fallback, ha mc-footer-unified nem töltődik (főoldal perf / stale twig) */
footer.footer .footer-nav-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
footer.footer .footer-nav-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  white-space: nowrap;
  margin: 0;
}
footer.footer .footer-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* Oldalsó layout — oldal-specifikus konténerek ugyanazt a formulát használják, mint a .wrap
   (különben közepes viewporton kilógnak a fejléchez / főoldalhoz képest). */
.jobs-wrap,
.ssr-wrap,
.mk-wrap,
.imp-wrap,
.m-wrap,
.vc-page .vc-wrap,
.rolunk-page-main .rl-wrap {
  width: 100%;
  max-width: min(var(--layout-max), calc(100% - 2 * var(--layout-pad-x)));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-pad-x);
  padding-right: var(--layout-pad-x);
  box-sizing: border-box;
}

/* ====== HEADER (medicare-group.hu stílus, 3 oszlopos megamenu) ======
   Shell fejléc — MINDEN oldalon azonos: sticky + látható megamenü.
   Ne tegyél overflow-x:hidden-t html/body-ra oldal-CSS-ben: az eltöri a sticky-t.
   Vízszintes kilógást a main / szekció fogja (overflow-x: clip), ne a dokumentum gyökér. */

/* Skip link — vizuálisan rejtve, csak billentyűzetes fókusznál látszik */
.mc-skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100000;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1E3A50;
  color: #fff !important;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(30, 58, 80, 0.28);
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}
.mc-skip-link:focus,
.mc-skip-link:focus-visible {
  outline: 3px solid #4A8EA6;
  outline-offset: 3px;
  transform: translateY(0);
}

/* Egységes fókuszgyűrű a shell interaktív elemein */
.mc-header a:focus-visible,
.mc-header button:focus-visible,
.footer a:focus-visible,
.footer button:focus-visible,
.mc-mobile-drawer a:focus-visible,
.mc-mobile-drawer button:focus-visible {
  outline: 2px solid var(--brand, #4A8EA6);
  outline-offset: 3px;
}

.mc-header {
  font-family: 'Poppins', sans-serif;
  position: sticky;
  top: 0;
  z-index: 5000;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.mc-header,
.mc-header .mc-nav,
.mc-header .mc-nav-inner,
.mc-header .mc-nav ul.mc-nav-list {
  overflow: visible;
}
.mc-header, .mc-header * { box-sizing: border-box; }
.mc-header a { text-decoration: none; color: inherit; }
/* Felső sáv: teli sötét alap + gradiens (front-import-uploaded.css-sel egyező) */
.mc-top-bar {
  background-color: var(--mc-topbar-base);
  background-image: linear-gradient(135deg, var(--mc-topbar-base) 0%, #1a3550 42%, #1f4a6a 68%, #1c6b78 100%);
  border-bottom: none; padding: 0;
  position: relative; z-index: 1100;
  overflow: visible;
}
.mc-top-bar-inner {
  width: 100%;
  max-width: min(var(--layout-max), calc(100% - 2 * var(--layout-pad-x)));
  margin: 0 auto; padding: 8px var(--layout-pad-x);
  box-sizing: border-box;
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: 8px 14px;
  min-width: 0;
  min-height: 46px;
}
.mc-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.mc-logo-img { height: 40px; width: auto; display: block; }
.mc-contact-info {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 8px 14px; flex-wrap: nowrap; min-width: 0;
  flex: 1 1 auto;
}
.mc-contact-phones {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px 12px;
}
.mc-contact-phones-sep {
  width: 1px; height: 18px; background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}
.mc-contact-item span {
  overflow: hidden; text-overflow: ellipsis;
}
.mc-contact-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, 0.96) !important; font-size: 15px; font-weight: 500;
  white-space: nowrap; transition: opacity 0.2s;
}
button.mc-contact-item {
  background: none; border: none; cursor: pointer; padding: 0;
  font: inherit; text-align: left;
}
.mc-contact-item:hover { opacity: 0.82; }
.mc-contact-item i {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mc-topbar-lang {
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  margin-left: 0; padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}
.mc-topbar-lang-item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.1em; padding: 5px 9px;
  font-size: 13px; font-weight: 700; line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.mc-topbar-lang-item.is-active {
  color: #8aa0b3;
  background: rgba(0, 0, 0, 0.38);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.mc-topbar-lang-item:hover:not(.is-active) { color: #fff; background: rgba(255, 255, 255, 0.1); }
.mc-topbar-lang-item + .mc-topbar-lang-item::before {
  content: none;
}

/* Fő navigáció – fehér sáv; elválasztó csak görgetéskor */
.mc-header .mc-nav {
  background: #fff;
  border-bottom: 1px solid transparent;
  position: relative;
  z-index: 900;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mc-header.is-scrolled .mc-nav {
  border-bottom-color: rgba(30, 58, 80, 0.14);
  box-shadow: 0 8px 18px rgba(30, 58, 80, 0.06);
}
.mc-nav-inner {
  width: 100%;
  max-width: min(var(--layout-max), calc(100% - 2 * var(--layout-pad-x)));
  margin: 0 auto; padding: 0 var(--layout-pad-x);
  box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 0;
}
.mc-nav ul.mc-nav-list {
  list-style: none; display: flex; flex-wrap: nowrap; align-items: center;
  margin: 0; padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.mc-nav-item {
  position: static;
  flex: 0 1 auto;
  min-width: 0;
}
.mc-nav-item > a {
  display: flex; align-items: center; padding: 16px 14px;
  color: #2c3d52; font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.35px;
  white-space: nowrap; transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.mc-nav-item > a:hover, .mc-nav-item > a:focus-visible,
.mc-nav-item.is-open > a {
  color: #0099c4; background: rgba(0,153,196,0.06);
  border-bottom-color: #0099c4;
}
.mc-nav-item > a.mc-nav-new { color: #0099c4; }
.mc-nav-item.has-mega > a::after {
  content: ''; display: inline-block; width: 0; height: 0;
  margin-left: 5px; vertical-align: middle;
  border: 4px solid transparent; border-top-color: currentColor;
  opacity: 0.65;
}

/* Megamenü: nav szöveges sáv szélessége (mc-mega-layout.js) */
.mc-mega {
  display: none; position: absolute; left: var(--mc-mega-left, 0); right: auto; top: calc(100% - 1px);
  transform: none;
  width: var(--mc-mega-width, 100%);
  max-width: none;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow:
    0 10px 24px -8px rgba(15, 35, 55, 0.1),
    0 28px 56px -16px rgba(15, 35, 55, 0.14);
  z-index: 2000;
  overflow: hidden;
}
.mc-nav-item.has-mega:hover .mc-mega,
.mc-nav-item.has-mega:focus-within .mc-mega,
.mc-nav-item.has-mega.is-open .mc-mega { display: block; }
html.mc-mega-intent-ready .mc-nav-item.has-mega:hover .mc-mega { display: none; }
html.mc-mega-intent-ready .mc-nav-item.has-mega.is-open .mc-mega,
html.mc-mega-intent-ready .mc-nav-item.has-mega:focus-within .mc-mega { display: block; }
.mc-mega-pad { width: 100%; max-width: 100%; margin: 0; padding: 0; box-sizing: border-box; }
.mc-mega-grid {
  display: grid;
  grid-template-columns: minmax(200px, 22%) minmax(0, 1fr) minmax(220px, 26%);
  width: 100%;
  height: auto;
  min-height: max(var(--mc-mega-unified-height, auto), var(--mc-mega-min-height, 550px));
  align-items: stretch;
  box-sizing: border-box;
}

.mc-mega.mc-mega--measure,
body.page-home-v1 .mc-header .mc-mega.mc-mega--measure {
  display: block !important;
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: var(--mc-mega-width, 100%) !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

#mcMainNav .mc-mega.mc-mega--measure .mc-mega-pad,
#mcMainNav .mc-mega.mc-mega--measure .mc-mega-grid,
.mc-mega.mc-mega--measure .mc-mega-pad,
.mc-mega.mc-mega--measure .mc-mega-grid {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
.mc-mega-left {
  background: linear-gradient(180deg, #192e42 0%, #1f374e 100%);
  color: #e8eef4; padding: 20px 0 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: visible;
}
.mc-mega-left-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,0.45);
  padding: 0 18px 12px;
}
.mc-mega-cat {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 11px 18px; border: none; background: none;
  color: #dce6ee; font-family: 'Poppins', sans-serif; font-size: 14px;
  font-weight: 600; text-align: left; text-transform: uppercase;
  letter-spacing: 0.3px; cursor: pointer; transition: background 0.15s, color 0.15s;
  text-decoration: none; box-sizing: border-box;
}
a.mc-mega-cat:visited { color: #dce6ee; }
.mc-mega-cat:hover, .mc-mega-cat:focus-visible, .mc-mega-cat.is-active,
.mc-mega-cat.is-current-page {
  background: rgba(0,153,196,0.2); color: #fff;
}
.mc-mega-cat .chev { font-size: 12px; opacity: 0.5; }
.mc-mega-cat.is-active .chev,
.mc-mega-cat.is-current-page .chev { opacity: 1; color: #5dd4ff; }
.mc-mega-cat--spacer {
  visibility: hidden;
  pointer-events: none;
  cursor: default;
  flex-shrink: 0;
}
.mc-mega-cat--spacer:hover,
.mc-mega-cat--spacer:focus-visible {
  background: transparent;
}

.mc-mega-mid {
  padding: 22px 24px 28px;
  background: #fafbfc;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  display: grid;
  grid-template-areas: 'mega-panels';
}
.mc-mega-panel-block {
  display: none;
  grid-area: mega-panels;
  width: 100%;
  box-sizing: border-box;
}
.mc-mega-panel-block.is-visible {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  animation: mcFade 0.2s ease;
}

/* Egységes mega min-magasság (mc-mega-layout.js): bal/közép — nincs belső görgetés */
#mcMainNav.mc-mega-height-ready .mc-mega-services,
#mcMainNav.mc-mega-height-ready .mc-mega-corp {
  height: var(--mc-mega-unified-height);
  min-height: var(--mc-mega-unified-height);
  max-height: var(--mc-mega-unified-height);
}
#mcMainNav.mc-mega-height-ready .mc-mega-grid {
  height: var(--mc-mega-unified-height);
  min-height: var(--mc-mega-unified-height);
  max-height: var(--mc-mega-unified-height);
}
#mcMainNav.mc-mega-height-ready .mc-mega-left,
#mcMainNav.mc-mega-height-ready .mc-mega-mid,
#mcMainNav.mc-mega-height-ready .mc-mega-right {
  align-self: stretch;
  min-height: 100%;
  height: 100%;
}
#mcMainNav.mc-mega-height-ready .mc-mega-left,
#mcMainNav.mc-mega-height-ready .mc-mega-mid {
  overflow: visible;
}
#mcMainNav.mc-mega-height-ready .mc-mega-panel-block {
  overflow: visible;
}
#mcMainNav.mc-mega-height-ready .mc-mega-panel-block.is-visible {
  display: block;
}
@keyframes mcFade { from { opacity: 0.6; } to { opacity: 1; } }
.mc-mega-mid-cols {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: stretch;
  gap: 0 28px;
  width: 100%;
  box-sizing: border-box;
}
.mc-mega-mid-cols > div {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
}
.mc-mega-mid-cols--3 { gap: 0 24px; }
.mc-mega-mid-cols--4 { gap: 0 22px; }
.mc-mega-mid-cols--labor {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.mc-mega-mid-cols--labor > div {
  width: auto !important;
  flex: none !important;
  min-width: 0;
  max-width: 100%;
}
.mc-mega-szakrendelesek-flow {
  width: 100%;
  padding-bottom: 10px;
}
.mc-mega-section-heading--full {
  column-span: all;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8ef;
}
.mc-mega-link-cols--3 {
  column-count: 3;
  column-gap: 28px;
}
.mc-mega-link-cols--3 .mc-mega-link,
.mc-mega-link-cols--3 .mc-mega-section-heading--in-flow {
  break-inside: avoid;
  page-break-inside: avoid;
}
.mc-mega-section-heading--in-flow {
  font-size: 12px;
  font-weight: 700;
  color: #0099c4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 10px 0 4px;
  padding: 8px 0 4px;
  border-top: 1px solid #e2e8ef;
  border-bottom: none;
}
.mc-mega-link-cols--3 .mc-mega-link {
  align-items: flex-start;
  line-height: 1.35;
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.mc-mega-link-cols--3 .mc-mega-link__chev {
  margin-top: 4px;
}
.mc-mega-mid h5 {
  font-size: 14px; font-weight: 700; color: #0099c4;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 16px 0 8px; padding-bottom: 6px;
  border-bottom: 1px solid #e2e8ef;
}
.mc-mega-mid h5:first-child { margin-top: 0; }
.mc-mega-mid a {
  display: block; padding: 6px 0; font-size: 15px; color: #3d4f63;
  font-weight: 500; transition: color 0.15s;
}
.mc-mega-mid a:hover, .mc-mega-mid a:focus-visible { color: #0099c4; }

.mc-mega-right {
  padding: 0 16px 0 12px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: none;
  align-self: stretch;
  min-height: 0;
}
.mc-mega-right-img {
  position: relative; flex: 1; min-height: 140px;
  overflow: hidden;
}
.mc-mega-right-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.mc-mega-right-body {
  padding: 16px 18px 20px; flex-shrink: 0;
}
.mc-mega-right-body p {
  font-size: 14px; line-height: 1.55; color: #4a5a6b; margin-bottom: 14px;
}
.mc-mega-contact-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 11px 16px;
  background: #1a3a5c; color: #fff !important; font-size: 14px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  border-radius: 4px; transition: background 0.2s, transform 0.2s;
}
.mc-mega-contact-btn:hover { background: #0099c4; }

/* Egyszerűbb megamenu (nincs bal tab) – ugyanaz a rács, bal: cím + rövid lista */
.mc-mega-simple .mc-mega-left { padding-top: 24px; }
.mc-mega-simple .mc-mega-left ul { list-style: none; margin: 0; padding: 0 8px 0 0; }
.mc-mega-simple .mc-mega-left a {
  display: block; padding: 8px 18px; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.85); text-transform: uppercase;
  border-radius: 4px; transition: background 0.15s;
}
.mc-mega-simple .mc-mega-left ul { list-style: none; margin: 0; padding: 0; }
.mc-mega-simple .mc-mega-left a:hover { background: rgba(255,255,255,0.08); color: #fff; }

.mc-nav-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: 8px;
  padding: 0 0 0 10px;
  margin-left: 4px;
  position: relative;
  z-index: 4;
  background: #fff;
  box-shadow: -14px 0 16px -8px #fff;
}
.mc-life1-badge { display: none; }
.mc-nav-search { display: none; }
.mc-nav-lang { display: none; }
.mc-flag { display: none; }

/* Keresőikon a felső sávban */
button.mc-topbar-search,
.mc-topbar-search {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-left: 8px; padding: 4px 8px 4px 16px;
  border: none; border-left: 1px solid rgba(255, 255, 255, 0.32);
  background: none; font: inherit; line-height: 1;
  color: #fff; font-size: 17px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.mc-topbar-search i {
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 15px;
  width: 1em;
}
.mc-topbar-search:hover { opacity: 0.82; }
.mc-topbar-search:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Telefonszám felugró: mc-phone-popover.css */

/* Life1 logo a navbarban — flat, modern chip (nem MSN-es „badge”) */
.mc-life1-nav-link {
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 8px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 10px rgba(15, 25, 40, 0.18);
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mc-life1-nav-link:hover {
  background: #f7fafc;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(15, 25, 40, 0.22);
  transform: translateY(-1px);
}
.mc-life1-nav-link img {
  height: 26px;
  width: auto;
  display: block;
  filter: none;
}

/* ── Keresés / Időpontfoglalás overlay ── */
.mc-search-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,25,40,0);
  z-index: 12000;
  justify-content: center; align-items: flex-start;
  padding: 52px 16px 32px;
  transition: background 0.28s ease;
  overflow-y: auto;
}
.mc-search-overlay.is-open { display: flex; background: var(--df-gradient-overlay); }

/* Fő modal — 3 flex-zóna: fix fejléc/kereső (top), görgethető találatok (scroll), mindig látható foglalás sáv (booking-bar) */
.mc-search-box {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 24px;
  padding: 0;
  width: 100%; max-width: 900px;
  max-height: calc(100vh - 84px);
  box-shadow: 0 8px 32px rgba(30,58,80,0.10), 0 32px 80px rgba(15,35,55,0.24);
  position: relative; flex-shrink: 0;
  overflow: hidden;
}
.mc-search-box__top { flex-shrink: 0; padding: 26px 30px 14px; }
.mc-search-box__scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  padding: 6px 30px 22px;
  scrollbar-width: thin; scrollbar-color: rgba(30,58,80,0.18) transparent;
}
.mc-search-box__scroll::-webkit-scrollbar { width: 7px; }
.mc-search-box__scroll::-webkit-scrollbar-track { background: transparent; }
.mc-search-box__scroll::-webkit-scrollbar-thumb { background: rgba(30,58,80,0.18); border-radius: 8px; }
.mc-search-box__scroll::-webkit-scrollbar-thumb:hover { background: rgba(30,58,80,0.3); }
.mc-search-box form { margin: 0; }

/* Fejléc */
.mc-search-header-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.mc-search-header-text { flex: 1; min-width: 0; }
.mc-search-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-dark); margin: 0 0 6px;
}
.mc-search-kicker i { font-size: 11px; }
.mc-search-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.25rem,2vw,1.55rem); font-weight: 800; color: var(--navy);
  letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 4px;
}
.mc-search-subtitle {
  font-size: 13px; color: var(--text-mid,#5a6b7d); margin: 0; line-height: 1.4;
}
.mc-search-close {
  flex-shrink: 0; margin-top: 2px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,58,80,0.07); border: none; border-radius: 50%;
  font-size: 19px; color: var(--navy); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mc-search-close:hover { background: rgba(36,140,153,0.2); color: var(--brand-dark); }

/* Keresőmező */
.mc-search-field {
  display: flex; align-items: center; gap: 12px;
  padding: 5px 6px 5px 18px; background: #fff;
  border: 2px solid var(--border,#dde3ea); border-radius: 16px;
  box-shadow: 0 2px 8px rgba(30,58,80,0.06);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.mc-search-field:focus-within {
  border-color: var(--brand,#4A8EA6);
  box-shadow: 0 2px 8px rgba(30,58,80,0.06), 0 0 0 3px rgba(74,142,166,0.18);
}
.mc-search-field__icon { color: var(--brand,#4A8EA6); font-size: 18px; flex-shrink: 0; opacity: 0.75; }
.mc-search-field input {
  flex: 1; min-width: 0; padding: 14px 8px 14px 0;
  border: none; background: transparent;
  font-family: inherit; font-size: 16px; color: var(--text,#2c3e50); outline: none;
}
.mc-search-field input::placeholder { color: var(--text-soft,#8a99a8); }
.mc-search-field__go {
  flex-shrink: 0;
  height: 42px; padding: 0 18px;
  border: none; border-radius: 12px;
  background: var(--df-gradient,linear-gradient(135deg,#19324a,#204f75 60%,#248c99));
  color: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: filter 0.2s, transform 0.2s;
}
.mc-search-field__go:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── Élő találatok ── */
.mc-search-live { margin-top: 0; }
.mc-search-live__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.mc-search-live__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-soft,#8a99a8); margin: 0;
}
.mc-search-live__count { font-size: 11px; color: var(--brand-dark); font-weight: 700; }
.mc-search-live__list {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px;
}
@media (max-width:600px) { .mc-search-live__list { grid-template-columns: 1fr; } }

/* Találati kártya */
.mc-search-live__item {
  display: flex; flex-direction: column;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--border-soft,#e8ecf0);
  border-left: 4px solid var(--brand,#4A8EA6);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.mc-search-live__item:hover {
  border-color: var(--brand,#4A8EA6);
  box-shadow: 0 4px 18px rgba(74,142,166,0.18);
  transform: translateY(-2px);
}
.mc-search-live__item-body {
  flex: 1; padding: 13px 14px 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.mc-search-live__title {
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--navy,#1E3A50); line-height: 1.35;
}
.mc-search-live__snippet {
  font-size: 12px; color: var(--text-mid,#5a6b7d); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mc-search-live__meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px;
}
.mc-search-live__price {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700; color: #1a7a4a;
  background: #e6f7ee; padding: 3px 9px; border-radius: 999px;
}
.mc-search-live__price i { font-size: 9px; }
.mc-search-live__item-foot {
  padding: 8px 14px 11px;
  border-top: 1px solid var(--border-soft,#e8ecf0);
}
.mc-search-live__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px;
  background: linear-gradient(135deg,#19324a,#204f75 60%,#248c99);
  color: #fff !important; font-size: 12px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: filter 0.18s, transform 0.18s;
  width: 100%; justify-content: center;
}
.mc-search-live__cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.mc-search-live__cta i { font-size: 11px; }

.mc-search-live__more {
  grid-column: 1 / -1; padding: 10px 14px;
  background: rgba(74,142,166,0.06); border: 1.5px dashed rgba(74,142,166,0.35);
  border-radius: 12px; font-size: 12px; font-weight: 600;
  color: var(--brand-dark,#3A7A94); text-align: center;
}
.mc-search-live__state {
  font-size: 12px; color: var(--text-soft,#8a99a8);
  margin: 10px 0 0; line-height: 1.4; text-align: center;
}

/* ── Chipek ── */
.mc-search-extras { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(30,58,80,0.07); }
.mc-search-extras__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft,#8a99a8); margin: 0 0 8px;
}
.mc-search-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.mc-search-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border,#dde3ea); background: #fff; color: var(--navy,#1E3A50);
  text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mc-search-chip:hover {
  border-color: var(--brand,#4A8EA6); background: var(--brand-pale,#E8F4F8);
  color: var(--brand-dark,#3A7A94); box-shadow: 0 2px 10px rgba(36,140,153,0.12);
}
.mc-search-chip i { font-size: 12px; opacity: 0.85; }

/* ── Másodlagos CTA (ghost) — tudatosan visszavéve, hogy a lenti foglalás gomb legyen az egyetlen elsődleges akció ── */
.mc-search-submit {
  margin-top: 16px; width: 100%; padding: 11px 20px; border: 1.5px solid var(--border,#dde3ea); border-radius: 12px;
  background: #fff;
  color: var(--navy,#1E3A50); font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; letter-spacing: 0.01em;
}
.mc-search-submit:hover { border-color: var(--brand,#4A8EA6); background: var(--brand-pale,#E8F4F8); color: var(--brand-dark,#3A7A94); }

/* ── Foglalás sáv — mindig látható, fix az alján, fehér háttér (nincs külön sötét sáv) ── */
.mc-search-booking-bar {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 30px 18px;
  background: #fff;
  border-top: 1px solid rgba(30,58,80,0.08);
  position: relative; z-index: 1;
}
.mc-search-booking-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 12px; width: 100%;
  background: linear-gradient(135deg,#2aa1af,#1a7a8a);
  color: #fff !important; font-family: 'Poppins',sans-serif;
  font-size: 15px; font-weight: 800; text-decoration: none; letter-spacing: 0.01em;
  transition: filter 0.2s, transform 0.2s;
  box-shadow: 0 4px 18px rgba(36,140,153,0.4);
}
.mc-search-booking-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.mc-search-booking-btn i { font-size: 15px; }
.mc-search-booking-btn__arrow { margin-left: auto; font-size: 17px; opacity: 0.85; }
.mc-search-booking-bar__note { font-size: 11px; color: var(--text-soft,#8a99a8); font-weight: 500; margin: 0; text-align: center; }


/* Sürgősségi ellátás gomb piros – slider */
.hero-quick a.hero-quick-emergency {
  background: rgba(192, 57, 43, 0.85);
  border-color: rgba(192, 57, 43, 0.6);
}
.hero-quick a.hero-quick-emergency:hover {
  background: rgba(192, 57, 43, 0.95);
  border-color: rgba(192, 57, 43, 0.8);
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.3);
}
.hero-quick a.hero-quick-emergency i { color: #fff; opacity: 1; }
/* CTA gombok a nav sávban */
.mc-nav-right .mc-cta-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: auto; min-width: 168px;
  height: 48px;
  padding: 6px 18px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(30, 58, 80, 0.18);
  text-align: center; line-height: 1.2;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.35px;
  color: #fff !important;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.mc-nav-right .mc-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(30, 58, 80, 0.24);
}
.mc-nav-right .mc-cta-btn:not(.mc-cta-online) > span { display: block; font-weight: 800; }
.mc-nav-right .mc-cta-btn:not(.mc-cta-online) > span + span { margin-top: 1px; opacity: 0.98; }
.mc-nav-right .mc-cta-online {
  background: linear-gradient(135deg, #19324a 0%, #204f75 35%, #248c99 70%, #4A8EA6 100%);
  box-shadow: 0 4px 18px rgba(36, 140, 153, 0.42), 0 2px 8px rgba(25, 50, 74, 0.28);
  flex-direction: column;
  white-space: normal;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.mc-cta-online__desk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.mc-cta-online__desk > span {
  display: block;
  font-weight: 800;
}
.mc-cta-online__desk > span + span {
  margin-top: 1px;
  opacity: 0.98;
}
.mc-nav-right .mc-cta-online:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(36, 140, 153, 0.55), 0 3px 10px rgba(25, 50, 74, 0.3);
}
.mc-nav-right .mc-cta-amb { background: #C2432F; }
.mc-nav-right .mc-cta-amb:hover { filter: brightness(1.06); }
.mc-nav-right .mc-cta-aj { background: #DBAB24; }
.mc-nav-right .mc-cta-aj:hover { filter: brightness(1.05); }
.mc-nav-right .mc-cta-sz { background: #1598D8; }
.mc-nav-right .mc-cta-sz:hover { filter: brightness(1.06); }

/* Időpontfoglalás a topbarban csak mobilon (logo és kereső között) */
.mc-topbar-booking--mobile {
  display: none;
}
.mc-mobile-drawer__head-start {
  display: none;
}
.mc-mobile-drawer__phone {
  display: none;
}
.mc-nav-right .mc-cta-quote {
  text-decoration: none !important;
  text-transform: none;
  justify-content: center;
  white-space: nowrap;
}
.mc-nav-right .mc-cta-quote .mc-cta-quote__label {
  display: block;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}
.mc-nav-right .mc-cta-quote .mc-cta-quote__desk,
.mc-nav-right .mc-cta-quote .mc-cta-quote__mob {
  display: none !important;
}

.mc-burger {
  display: none; align-items: center; justify-content: center;
  width: 48px; min-height: 48px; padding: 0; border: none; background: none;
  color: #1a3a5c; font-size: 26px; cursor: pointer;
  z-index: 2002; position: relative;
}
.mc-mobile-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(15,25,40,0.45);
  z-index: 1998;
}
.mc-mobile-backdrop.is-on { display: block; }
.mc-nav.mc-mobile-open .mc-nav-list {
  display: flex; flex-direction: column; position: fixed;
  top: 0; right: 0; width: min(100%, 400px); height: 100vh;
  background: #fff; z-index: 1999; overflow-y: auto;
  padding: 56px 0 32px;
  box-shadow: none;
  align-items: stretch;
}
.mc-nav.mc-mobile-open .mc-nav-item > a {
  border-bottom: 1px solid #eef1f5; padding: 14px 20px;
}
.mc-nav.mc-mobile-open .mc-mega {
  position: static; display: block !important; box-shadow: none;
  border: none; overflow: visible;
}
.mc-nav.mc-mobile-open .mc-mega-grid {
  grid-template-columns: 1fr;
  height: auto; min-height: 0; max-height: none;
}
.mc-nav.mc-mobile-open .mc-mega-left { border-right: none; }
.mc-nav.mc-mobile-open .mc-mega-right { border-left: none; border-top: 1px solid #e5e9ef; }

/* ====== HERO (statikus, YouTube háttérvideó) ====== */
.hero {
  position: relative; overflow: hidden;
  height: 90vh; min-height: 640px;
}
.hero-viewport {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-video-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
#heroYoutubePlayer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: hidden;
}
.hero-video-bg iframe {
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  width: max(177.77vh, 177.77vw) !important;
  height: max(100vh, 56.25vw) !important;
  min-width: 120% !important;
  min-height: 120% !important;
  max-width: none !important;
  transform: translate(-50%, -50%) !important;
  border: 0 !important;
}
.hero-media-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(23, 48, 72, 0.71) 0%, rgba(23, 48, 72, 0.78) 50%, rgb(23, 48, 72) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
  .hero-viewport { background: var(--df-gradient); }
}

/* Content box – bal oldalt, felső 20%-tól az aljáig */
.hero-content-box {
  position: absolute; top: 20%; bottom: 0; left: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  width: 38%; min-width: 420px; max-width: 600px;
  border-right: 6px solid #1E3A50;
  box-shadow: 12px 0 48px rgba(0,0,0,0.12);
}
.hero-text-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 48px;
  overflow-y: auto;
}
.hero-text-slide h1 {
  font-size: 38px; font-weight: 800; color: var(--navy);
  line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.5px;
}
.hero-text-slide p {
  font-size: 14px; color: var(--text-mid); margin: 0 0 32px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: var(--navy);
  padding: 13px 26px; border: 2px solid var(--navy);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; transition: all 0.3s; width: fit-content;
  border-radius: 4px;
}
.hero-cta:hover { background: var(--navy); color: #fff; }

/* ====== JOBB OLDALI PANEL – lapkák + cím + quick gombok ====== */
/* Ugyanaz a függőleges sáv mint a bal .hero-content-box (20%–alja); bal szél a doboz jobb éle + rés */
.hero-right-panel {
  position: absolute;
  top: 20%; bottom: 0;
  left: calc(clamp(420px, 38%, 800px) + 20px);
  right: 32px;
  z-index: 5;
  display: flex; flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  padding-bottom: 40px;
  box-sizing: border-box;
}

/* 3 lapka – 3 oszlop */
.hero-promo-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
}
.hero-promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 16px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.11);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  position: relative; overflow: hidden;
  transition: background 0.2s, transform 0.2s;
}
.hero-promo-card:hover {
  background: rgba(255,255,255,0.17);
  transform: translateY(-3px);
}
/* Bal akcentcsík */
.hero-promo-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: 14px 0 0 14px;
}
.hero-promo-card--a::before { background: linear-gradient(180deg, #0EA5A0, #06B6D4); }
.hero-promo-card--b::before { background: linear-gradient(180deg, #3B82F6, #1D4ED8); }
.hero-promo-card--c::before { background: linear-gradient(180deg, #A855F7, #7C3AED); }

.hero-promo-card-body { min-width: 0; }
.hero-promo-kicker {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin: 0 0 5px;
}
.hero-promo-card--a .hero-promo-kicker { background: rgba(14,165,160,0.22); color: #5EEAD4; }
.hero-promo-card--b .hero-promo-kicker { background: rgba(59,130,246,0.22); color: #93C5FD; }
.hero-promo-card--c .hero-promo-kicker { background: rgba(168,85,247,0.22); color: #D8B4FE; }

.hero-promo-title {
  font-size: 18px; font-weight: 800; line-height: 1.18;
  margin: 0 0 6px; letter-spacing: -0.2px;
  color: #fff; font-family: 'Poppins', sans-serif;
}
.hero-promo-list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 3px;
}
.hero-promo-list li {
  font-size: 11px; color: rgba(255,255,255,0.72);
  display: flex; align-items: center; gap: 4px;
}
.hero-promo-list li::before {
  content: '✓'; font-size: 10px; font-weight: 800;
}
.hero-promo-card--a .hero-promo-list li::before { color: #5EEAD4; }
.hero-promo-card--b .hero-promo-list li::before { color: #93C5FD; }
.hero-promo-card--c .hero-promo-list li::before { color: #D8B4FE; }

/* Gomb a kártyán (alul, teljes szélesség) */
.hero-promo-btn {
  display: flex; flex-direction: row;
  align-items: center; justify-content: center;
  gap: 7px;
  width: 100%; padding: 10px 12px;
  border-radius: 10px; flex-shrink: 0;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.2;
  text-align: center; color: #fff !important;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}
.hero-promo-btn .btn-icon { font-size: 14px; display: block; flex-shrink: 0; }
.hero-promo-card--a .hero-promo-btn {
  background: linear-gradient(160deg, #0EA5A0, #06B6D4);
  box-shadow: 0 3px 12px rgba(14,165,160,0.4);
}
.hero-promo-card--b .hero-promo-btn {
  background: linear-gradient(160deg, #1D4ED8, #3B82F6);
  box-shadow: 0 3px 12px rgba(29,78,216,0.4);
}
.hero-promo-card--c .hero-promo-btn {
  background: linear-gradient(160deg, #7C3AED, #A855F7);
  box-shadow: 0 3px 12px rgba(124,58,237,0.4);
}
.hero-promo-btn:hover { transform: scale(1.06); filter: brightness(1.08); }

/* Cím + leírás egy flex-elemben (.hero-title-block), a panelben: lapkák | szövegblokk | gombok */
.hero-image-title {
  flex-shrink: 0;
  position: relative; top: auto; left: auto; right: auto; bottom: auto;
  transform: none; z-index: auto;
  padding: 0;
  text-align: left;
  margin: 0;
}
.hero-title-block {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px; min-width: 0;
}
.hero-image-title h1 {
  font-size: 36px; font-weight: 800; color: #fff;
  line-height: 1.28; margin: 0; letter-spacing: 0.2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-image-title p {
  font-size: 14px; color: rgba(255,255,255,0.72);
  line-height: 1.8; margin: 0; letter-spacing: 0.1px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

/* Quick gombok – a jobb panelen belül, legalsó elem (legacy: sima <a>, üveg stílus) */
.hero-quick {
  position: relative;
  display: flex; gap: 8px; padding: 0;
  flex-shrink: 0;
}
/* BEM (.hero-quick__link) a front-import-uploaded.css-ben van — ne írjuk felül a type+class specifikussal */
.hero-quick a:not(.hero-quick__link) {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 12px; color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.hero-quick a:not(.hero-quick__link):hover {
  background: rgba(107, 180, 204, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.hero-quick a:not(.hero-quick__link):focus-visible { outline: 2px solid var(--brand-light); outline-offset: -2px; }
.hero-quick a:not(.hero-quick__link) i { font-size: 14px; color: var(--brand-light); flex-shrink: 0; opacity: 0.9; }

/* Akadálymentesség: mobilon az alsó sávban; asztalon a FAB kezeli */
.mc-float-rail__item--a11y {
  display: none;
}

.mc-float-rail {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  top: 50%;
  z-index: 950;
  transform: translate(-120%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.85s cubic-bezier(0.33, 1.02, 0.45, 1), visibility 0s linear 0.85s;
}
.mc-float-rail.is-past-hero {
  transform: translate(0, -50%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.55s ease, transform 0.85s cubic-bezier(0.33, 1.02, 0.45, 1), visibility 0s linear 0s;
}
.mc-float-rail__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 2px 0;
}
.mc-float-rail__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(107, 179, 204, 0.45);
  background: #fff;
  box-shadow:
    0 1px 2px rgba(30, 58, 80, 0.05),
    0 3px 8px -3px rgba(30, 58, 80, 0.11);
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 0;
  transition:
    max-width 0.95s cubic-bezier(0.32, 1.05, 0.42, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}
.mc-float-rail__item:nth-child(1) {
  box-shadow: 0 2px 5px -2px rgba(30, 58, 80, 0.12), 0 1px 2px rgba(30, 58, 80, 0.05);
}
.mc-float-rail__item:nth-child(2) {
  box-shadow: 0 3px 7px -2px rgba(30, 58, 80, 0.11), 0 1px 2px rgba(30, 58, 80, 0.04);
}
.mc-float-rail__item:nth-child(3) {
  box-shadow: 0 2px 7px -3px rgba(30, 58, 80, 0.1), 0 2px 4px -2px rgba(30, 58, 80, 0.05);
}
.mc-float-rail__item:nth-child(4) {
  box-shadow: 0 4px 8px -3px rgba(30, 58, 80, 0.11), 0 1px 3px rgba(30, 58, 80, 0.05);
}
.mc-float-rail__item:nth-child(5) {
  box-shadow: 0 3px 9px -3px rgba(30, 58, 80, 0.12), 0 2px 4px -1px rgba(234, 88, 12, 0.07);
}
.mc-float-rail__item:hover,
.mc-float-rail__item:focus-visible {
  max-width: min(340px, calc(100vw - 28px));
  box-shadow:
    0 4px 14px -3px rgba(30, 58, 80, 0.14),
    0 8px 22px -6px rgba(30, 58, 80, 0.08);
  border-color: rgba(74, 142, 166, 0.55);
  background: #fffef8;
}
.mc-float-rail__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 0;
  flex-shrink: 0;
  color: var(--brand-dark);
}
.mc-float-rail__icon > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.mc-float-rail__icon > i::before {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mc-float-rail__item--em .mc-float-rail__icon { color: #b91c1c; }
.mc-float-rail__label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-right: 6px;
}
.mc-float-rail__arrow {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 0;
  color: #fff;
  background: var(--df-gradient);
  box-shadow: 0 2px 8px rgba(25, 50, 74, 0.25);
}
.mc-float-rail__arrow > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.mc-float-rail__arrow > i::before {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mc-float-rail__item--search .mc-float-rail__icon {
  background: transparent;
  color: #fff;
}
.mc-float-rail__item--search .mc-float-rail__icon > i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(160deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.35);
}
.mc-float-rail__item--search .mc-float-rail__icon > i::before {
  width: 100%;
  height: 100%;
}
.mc-float-rail__item--search:hover,
.mc-float-rail__item--search:focus-visible {
  background: #fffef5;
}
/* Áraink + Keresés: csak max-width (min-width animálva összeakadt a max-width-del) */
.mc-float-rail__item--wide:hover,
.mc-float-rail__item--wide:focus-visible {
  max-width: min(300px, calc(100vw - 28px));
}
@media (prefers-reduced-motion: reduce) {
  .mc-float-rail,
  .mc-float-rail__item {
    transition-duration: 0.15s;
  }
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* Aloldal: fő tartalom ne maradjon rejtve, ha a reveal script nem fut le (prod / bundle kihagyás) */
.blog-page-root main .reveal,
.composed-page-root main .reveal,
body.page-home-v1:not(.page-home) main .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ====== SECTION TAG (kis felirat szekciócím felett) ====== */
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  padding: 4px 12px;
  background: var(--brand-pale);
  border-radius: 20px;
}

/* ====== SECTION COMMON ====== */
.section-head { text-align: left; margin-bottom: 36px; }
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.3px; }
.section-head p { font-size: 14px; color: var(--text-soft); max-width: 600px; margin: 0; }
.section-head p.hosp-intro-full { max-width: 100%; color: var(--text-mid); line-height: 1.8; margin-top: 12px; }

/* ====== SECTION-HD — 2 oszlopos szekció fejléc (cím + leírás) ====== */
/* Bármely oldalon használható alap; oldal CSS csak az eltéréseket override-olja. */
/* .section-hd--light: azonos layout, könnyebb vizuális súly (pl. fehér háttéren) */
.section-hd,
.section-hd--light,
.vc-hd {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .section-hd,
  .section-hd--light,
  .vc-hd {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
}
.section-hd__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 10px;
}
/* Kanonikus szekció-cím: minden oldal ezt \u00f6r\u00f6kli.
   Alias-ok: .vc-hd (V\u00e1llalatoknak), .rl-heading--h2 (R\u00f3lunk inline-szerkeszt\u0151) */
.section-hd h2,
.section-hd .rl-heading--h2,
.vc-hd h2 {
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0;
  max-width: 16em;
  text-wrap: balance;
}
.section-hd h2 em,
.section-hd .rl-heading--h2 em,
.vc-hd h2 em {
  font-style: normal;
  font-weight: 800;
  color: var(--brand-dark);
}
.section-hd__sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 460px;
  margin: 0;
}

.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px;
  gap: 16px; flex-wrap: wrap;
}
.section-head-row h2 { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; margin: 0; }
.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 22px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  position: relative; overflow: hidden;
  transition: color 0.3s, gap 0.3s, border-color 0.3s;
}
.section-link::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transition: left 0.5s;
}
.section-link:hover::before { left: 120%; }
.section-link:hover {
  gap: 12px; background: var(--brand); color: #fff; border-color: var(--brand);
}

/* ====== SERVICES ====== */
.services { padding: var(--section-pad-y) 0; background: var(--bg); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/3; display: flex; flex-direction: column;
  justify-content: flex-end; transition: all 0.4s; cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.svc-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s;
}
.svc-card:hover img { transform: scale(1.06); }
.svc-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,58,80,0.88) 0%, rgba(30,58,80,0.4) 40%, transparent 75%);
}
/* Alsó „sáv”: olvasható cím + CTA a kép alján (főoldal szolgáltatáskártyák) */
.svc-card-body {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
  padding: 22px 18px 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(18, 48, 62, 0) 0%, rgba(18, 48, 62, 0.55) 28%, rgba(15, 40, 55, 0.94) 100%);
  border-radius: 0 0 calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px);
}
.svc-card-body h3 {
  font-size: 14px; font-weight: 700; line-height: 1.3;
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.3px;
}
.svc-card-btn {
  display: inline-block; padding: 6px 14px; border-radius: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: #fff; transition: all 0.3s;
}
.svc-card:hover .svc-card-btn { background: var(--brand); border-color: var(--brand); }

/* ====== DISEASE FINDER ====== */
.disease-finder {
  padding: var(--section-pad-y) 0;
  color: #fff;
  position: relative; overflow: hidden;
  background-color: #19324a;
  --tpl-parallax-photo: url('https://medicare-group.hu/wp-content/uploads/2025/12/arena-corner-05.jpg');
  --tpl-parallax-overlay: var(--df-gradient-overlay);
  background-image:
    var(--tpl-parallax-overlay),
    var(--tpl-parallax-photo);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.disease-finder::before {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07); top: -220px; right: -120px; pointer-events: none;
}
.disease-finder::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05); bottom: -160px; left: -80px; pointer-events: none;
}
.disease-finder .section-head h2 { color: #fff; }
.disease-finder .section-head p { color: rgba(255,255,255,0.7); }
.disease-finder .section-tag { background: rgba(255,255,255,0.12); color: var(--brand-light); }
.df-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.df-card {
  background: rgba(255,255,255,0.08); border-radius: var(--r-xl); padding: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.df-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.abc-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.abc-btn {
  width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35);
  background: transparent; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; box-sizing: border-box;
}
body.page-home .disease-finder .abc-btn {
  width: min(100%, 64px);
  justify-self: center;
}
.abc-btn:hover { background: var(--brand-light); color: #0f2840; border-color: var(--brand-light); }
.df-search {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.df-search input {
  flex: 1; padding: 13px 16px; border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px; font-family: inherit; font-size: 13px;
  color: #fff; background: rgba(255,255,255,0.1); outline: none; transition: border-color 0.3s;
}
.df-search input::placeholder { color: rgba(255,255,255,0.5); }
.df-search input:focus { border-color: var(--brand-light); }
.df-search button {
  padding: 13px 20px; background: var(--df-gradient); color: #fff;
  border: none; border-radius: 8px; font-family: inherit;
  font-size: 14px; font-weight: 700; cursor: pointer;
  position: relative; overflow: hidden;
  transition: filter 0.3s;
}
.df-search button::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}
.df-search button:hover { filter: brightness(1.12); }
.df-search button:hover::before { left: 120%; }
.df-text { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ====== CTA BANNER ====== */
.cta-section {
  padding: 12px 0;
  background: var(--white);
  position: relative; overflow: hidden;
}
.cta-section::before { display: none; }
.cta-section::after { display: none; }
.cta-banner {
  border-radius: var(--r-xl); padding: 56px 52px;
  background: var(--df-gradient);
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06); top: -200px; right: -80px;
}
.cta-banner::after {
  content: ''; position: absolute; width: 250px; height: 250px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04); bottom: -120px; left: -40px;
}
.cta-left { position: relative; z-index: 2; max-width: 500px; }
.cta-left h2 { font-size: 28px; color: #fff; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.3px; }
.cta-left p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.cta-right { position: relative; z-index: 2; }
.cta-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--brand); padding: 16px 32px;
  border-radius: var(--r); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.cta-btn-white::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transition: left 0.5s;
}
.cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.cta-btn-white:hover::before { left: 120%; }

/* ====== HOSPITALS ====== */
.hospitals { background: var(--white); }
/* Számok szekció: több lélegzet a sötét blokk után, kevesebb üres hely a gombok előtt */
.hospitals.hospitals-stats {
  padding: var(--section-pad-y) 0 8px;
}
.hospitals.hospitals-stats .section-head {
  padding-top: 12px;
}
/* Klinikák szekció a CTA után */
.hospitals.hospitals-locations {
  padding: 20px 0 var(--section-pad-y);
}
.hosp-intro { font-size: 14px; color: var(--text-mid); line-height: 1.8; max-width: 800px; margin-bottom: 32px; }
.hosp-intro-full { font-size: 14px; color: var(--text-mid); line-height: 1.8; max-width: 100%; margin-bottom: 32px; }

/* Importált szekció lead: cím alatt, rács / accordion előtt */
.section-imported-lead {
  margin-bottom: 28px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.section-imported-lead.fd-rich,
.section-imported-lead .section-imported-lead__block {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.section-imported-lead--light .section-imported-lead__block,
.section-imported-lead--light-full .section-imported-lead__block {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}
.section-imported-lead--light .section-imported-lead__long {
  margin-top: 14px;
}
.section-imported-lead--faq .section-imported-lead__block {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.75;
}
.section-imported-lead--faq .section-imported-lead__long {
  margin-top: 14px;
}
.services .section-imported-lead,
.news .section-imported-lead {
  margin-bottom: 28px;
}
.faq .section-head {
  margin-bottom: 12px;
}
.faq .section-head p,
.faq .tpl-prose,
.faq .tpl-prose--faq-lead {
  max-width: 100%;
}
body.page-home-v1 .faq .section-head p,
body.page-home-v1 .faq .section-head p.faq-intro-full {
  max-width: 100%;
}

.hosp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 0;
}
.hosp-stat {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--brand-pale); border-radius: 14px; padding: 22px 24px;
  border: 1px solid rgba(74,142,166,0.12);
}
.hosp-stat > div:not(.hosp-stat-icon) {
  flex: 1;
  min-width: 0;
}
.hosp-stat-icon {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); font-size: 30px; line-height: 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hosp-stat-icon__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hosp-stat-num {
  font-size: 30px; font-weight: 800; color: var(--brand-dark); line-height: 1.1;
  letter-spacing: -0.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
}
.hosp-stat-num span {
  font-size: 13px; font-weight: 600; color: var(--text-mid); margin-left: 0;
}
.hosp-stat-num__label,
.hosp-stat-num > span:not(.hosp-stat-num__value) {
  text-transform: lowercase;
}
.hosp-stat-desc {
  font-size: 12px; color: var(--text-soft); line-height: 1.5; margin-top: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hosp-section-title {
  font-size: 26px; font-weight: 800; color: var(--navy);
  margin-bottom: 8px; letter-spacing: -0.2px;
}
.hosp-loc-title {
  font-size: 20px; font-weight: 700; color: var(--navy);
  margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between;
}
.hosp-loc-title h4 {
  font-size: 18px; font-weight: 700; color: var(--navy); margin: 0;
}
.hosp-loc-group + .hosp-loc-group { margin-top: 28px; }
.hosp-loc-subhead {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin: 0 0 12px 0; letter-spacing: -0.1px;
}
.hosp-loc-more {
  margin-top: 22px;
}
.hosp-loc-title--more {
  margin-bottom: 0;
  gap: 12px;
  flex-wrap: wrap;
}
.hosp-loc-title--more h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.1px;
}
.hosp-loc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.hosp-loc {
  background: var(--bg-warm); border-radius: var(--r); padding: 12px 14px;
  border: 1px solid var(--border); transition: all 0.3s; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hosp-loc:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hosp-loc-img {
  width: clamp(72px, 7.5vw, 110px);
  height: clamp(72px, 7.5vw, 110px);
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--brand-pale);
}
.hosp-loc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hosp-loc-info { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.hosp-loc-info small { font-size: 9px; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.hosp-loc-info h4 {
  font-size: 13px; font-weight: 700; color: var(--navy); margin: 1px 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hosp-loc-info p { font-size: 10px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }

/* Közepes desktop: 3 helyett 2 oszlop — ne lógjon ki a jobb szélen */
@media (max-width: 1280px) {
  .hosp-loc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ====== OFFERS (promó kártyák — lekerekített box, lágy árnyék, tipográfia) ====== */
.offers { padding: var(--section-pad-y) 0; background: var(--bg); }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--white);
  border: 1px solid rgba(219, 226, 234, 0.98);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 32px rgba(25, 50, 74, 0.07),
    0 2px 8px rgba(25, 50, 74, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 44px rgba(25, 50, 74, 0.12),
    0 4px 14px rgba(36, 140, 153, 0.08);
  border-color: rgba(58, 163, 204, 0.38);
}
.promo-card-img {
  flex-shrink: 0;
  height: 176px;
  overflow: hidden;
  background: #e8eef4;
}
.promo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.promo-card:hover .promo-card-img img { transform: scale(1.04); }
.promo-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px 24px 22px;
}
.promo-card-body h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin: 0 0 10px;
  line-height: 1.35;
}
.promo-card-body p,
.promo-card-body .promo-card-excerpt {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1 1 auto;
  min-height: 0;
}
.promo-card-body .promo-card-excerpt > *:last-child { margin-bottom: 0; }
.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.promo-card:hover .promo-link { gap: 10px; color: var(--brand-dark); }

/* ====== FAQ ====== */
.faq {
  padding: var(--section-pad-y) 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  overflow-anchor: none;
  background-color: #19324a;
  --tpl-parallax-photo: url('https://medicare-group.hu/wp-content/uploads/2025/03/IMG_1802.jpg');
  --tpl-parallax-overlay: linear-gradient(135deg, rgba(25, 50, 74, 0.93) 0%, rgba(32, 79, 117, 0.93) 60%, rgba(36, 140, 153, 0.93) 100%);
  background-image:
    var(--tpl-parallax-overlay),
    var(--tpl-parallax-photo);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
/* Parallax: fotó (media) → kék overlay (shade) → tartalom; csak a fotó mozog */
.tpl-parallax-bg.is-parallax-ready {
  background-image: none !important;
}
.disease-finder.tpl-parallax-bg > .tpl-parallax-bg__media,
.faq.tpl-parallax-bg > .tpl-parallax-bg__media,
.nl-vid.tpl-parallax-bg > .tpl-parallax-bg__media {
  background-image: var(--tpl-parallax-photo);
}
.disease-finder.tpl-parallax-bg > .tpl-parallax-bg__shade,
.faq.tpl-parallax-bg > .tpl-parallax-bg__shade,
.nl-vid.tpl-parallax-bg > .tpl-parallax-bg__shade {
  background-image: var(--tpl-parallax-overlay, var(--df-gradient-overlay));
}
.tpl-parallax-bg__media {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 132%;
  min-height: 115%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translate3d(-50%, -50%, 0) scale(1.10);
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}
.tpl-parallax-bg__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}
/* GYIK: fix vh méret + felül rögzített Y — lenyitás nem tolja, középre keretezett kép */
.faq.tpl-parallax-bg {
  --faq-parallax-shift: -24vh;
  --faq-parallax-height: 132vh;
}
.faq.tpl-parallax-bg > .tpl-parallax-bg__media {
  top: var(--faq-parallax-shift);
  left: 50%;
  width: 122%;
  height: var(--faq-parallax-height);
  min-height: 720px;
  max-height: none;
  transform: translate3d(-50%, 0, 0) scale(1.10);
  background-position: center center;
  background-size: cover;
}
.faq.tpl-parallax-bg.is-parallax-ready > .wrap,
.disease-finder.tpl-parallax-bg.is-parallax-ready > .wrap,
.nl-vid.tpl-parallax-bg.is-parallax-ready > .wrap {
  position: relative;
  z-index: 2;
}
.faq.tpl-parallax-bg.is-parallax-ready::before,
.faq.tpl-parallax-bg.is-parallax-ready::after,
.disease-finder.tpl-parallax-bg.is-parallax-ready::before,
.disease-finder.tpl-parallax-bg.is-parallax-ready::after,
.nl-vid.tpl-parallax-bg.is-parallax-ready::before,
.nl-vid.tpl-parallax-bg.is-parallax-ready::after {
  z-index: 1;
}
.faq::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07); top: -260px; left: -140px; pointer-events: none;
}
.faq::after {
  content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05); bottom: -180px; right: -100px; pointer-events: none;
}
.faq .section-head h2 { color: #fff; }
.faq .section-head p { color: rgba(255,255,255,0.7); }
.faq .section-tag { background: rgba(255,255,255,0.12); color: var(--brand-light); }
.faq-list { max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(255,255,255,0.08); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: none; transition: box-shadow 0.3s, background 0.3s;
  padding: 0 28px; overflow: hidden;
}
.faq-item:hover { background: rgba(255,255,255,0.12); }
.faq-toggle { display: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; cursor: pointer; user-select: none;
  font-size: 15px; font-weight: 600; color: #fff;
}
.faq-icon {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.35); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 18px;
  transition: all 0.3s; margin-left: 16px;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.45s ease;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  padding: 0;
}
.faq-a a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
  background: #fff !important;
  color: var(--navy, #1E3A50) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow:
    0 0 0 1px rgba(74, 142, 166, 0.35),
    0 8px 22px rgba(15, 40, 64, 0.28) !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.faq-a a:hover,
.faq-a a:focus-visible {
  background: var(--brand, #4A8EA6) !important;
  border-color: var(--brand, #4A8EA6) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(74, 142, 166, 0.5),
    0 10px 26px rgba(74, 142, 166, 0.4) !important;
  outline: none;
}
.faq-toggle:checked ~ .faq-a {
  max-height: 6000px;
  padding: 0 0 22px 0;
}
.faq-toggle:checked ~ .faq-q .faq-icon {
  background: var(--brand-light); color: #0f2840; border-color: var(--brand-light); transform: rotate(45deg);
}
.faq-toggle:checked ~ .faq-q {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 18px;
}
body.page-home-v1 .faq-toggle:checked ~ .faq-a {
  max-height: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .tpl-parallax-bg__media {
    transform: translate3d(-50%, -50%, 0) scale(1.10) !important;
  }
}

/* ====== NEWS (blog kártyák — főoldal) ====== */
.news { padding: var(--section-pad-y) 0; background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 1px solid var(--border);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 135, 148, 0.35);
}
.news-card-img {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, var(--brand-pale, #e8f4fc) 0%, #eef4f8 100%);
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-img--empty {
  border-bottom: 1px solid var(--border);
}
.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  background: var(--brand, #1f8794);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 40, 64, 0.18);
}
.news-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 108px;
  padding: 16px 18px 18px;
}
.news-card-title,
.news-card-body h4.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy, #0f2840);
  line-height: 1.38;
  margin: 0 0 8px;
}
.news-card-lead {
  flex: 0 1 auto;
  margin: 0 0 6px;
}
.news-card-lead__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid, #5a6b7d);
  line-height: 1.45;
  max-height: calc(1.45em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.news-card-lead__html {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.45;
  max-height: calc(1.45em * 3);
  overflow: hidden;
}
.news-card-date-row {
  margin-top: auto;
  padding-top: 6px;
  flex-shrink: 0;
}
.news-card-meta,
.news-card-meta--date {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.45;
  margin: 0;
}
.news-card-meta--date { font-weight: 500; }
.news-card-excerpt {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.45;
  margin: 0;
  max-height: calc(1.45em * 3);
  overflow: hidden;
}
.news-card-excerpt p {
  margin: 0 0 0.35em;
  font-size: inherit;
  color: inherit;
}
.news-card-excerpt p:last-child {
  margin-bottom: 0;
}

/* ====== NEWSLETTER + VIDEO ====== */
.nl-vid {
  padding: 40px 0;
  color: #fff;
  position: relative; overflow: hidden;
  background-color: #19324a;
  --tpl-parallax-photo: url('https://medicare-group.hu/wp-content/uploads/2025/10/GAB3936.jpg');
  --tpl-parallax-overlay: linear-gradient(135deg, rgba(25, 50, 74, 0.93) 0%, rgba(32, 79, 117, 0.93) 60%, rgba(36, 140, 153, 0.93) 100%);
  background-image:
    var(--tpl-parallax-overlay),
    var(--tpl-parallax-photo);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.nl-vid::before {
  content: ''; position: absolute; width: 450px; height: 450px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07); top: -200px; right: -100px; pointer-events: none;
}
.nl-vid::after {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05); bottom: -150px; left: -60px; pointer-events: none;
}
.nl-vid .nl-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nl-vid .nl-card h2 { color: #fff; }
.nl-vid .nl-card > p { color: rgba(255,255,255,0.7); }
.nl-vid .nl-perks li { color: rgba(255,255,255,0.8); }
.nl-vid .nl-perks li i { color: var(--brand-light); }
.nl-vid .nl-form input[type="email"] {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.nl-vid .nl-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.nl-vid .nl-form input[type="email"]:focus { border-color: var(--brand-light); }
.nl-vid .nl-privacy { color: rgba(255,255,255,0.45); }
.nl-vid .nl-privacy a { color: var(--brand-light); }
.nl-vid-grid { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.38fr); gap: 32px; align-items: stretch; }
.nl-card {
  background: var(--white); border-radius: var(--r-xl); padding: 44px 40px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: center;
}
.nl-card h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.nl-card > p { font-size: 14.5px; line-height: 1.55; color: var(--text-mid); margin-bottom: 20px; }
.nl-perks { list-style: none; margin-bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.nl-perks li {
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  display: flex; align-items: center; gap: 8px;
}
.nl-perks li i { color: var(--brand); font-size: 12px; }
.nl-form { display: flex; gap: 10px; position: relative; }
.nl-form .visually-hidden,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.nl-form .nl-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.nl-form input[type="email"] {
  flex: 1; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 13px;
  color: var(--text); background: var(--bg-warm); outline: none;
  transition: border-color 0.3s;
}
.nl-form input[type="email"]:focus { border-color: var(--brand); }
.nl-form button {
  padding: 13px 24px; background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff; border: none; border-radius: 8px; font-family: inherit;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.4px; cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.nl-form button:hover { box-shadow: 0 4px 14px rgba(74,142,166,0.3); }
.nl-form button:disabled { opacity: 0.65; cursor: wait; }
.nl-form-msg { font-size: 12px; font-weight: 600; margin-top: 10px; }
.nl-form-msg.is-ok { color: #7ddea8; }
.nl-form-msg.is-err { color: #ffb4a8; }
.nl-privacy { font-size: 10px; color: var(--text-soft); margin-top: 12px; }
.nl-privacy a { color: var(--brand); }
.vid-card {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  align-self: stretch;
  background: #0f1f2e url('/media/front/medicare-imazs-yt.jpg') center center / cover no-repeat;
}
.vid-card img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.vid-card .vid-open {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  margin: 0;
  cursor: pointer;
  background: transparent url('/media/front/medicare-imazs-yt.jpg') center center / cover no-repeat;
  position: absolute;
  inset: 0;
}
.vid-card .vid-open img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.vid-card .vid-iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
}
.vid-overlay {
  position: absolute; inset: 0; background: rgba(30,58,80,0.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background 0.3s;
  pointer-events: none;
}
.vid-card:hover .vid-overlay,
.vid-card .vid-open:focus-visible .vid-overlay { background: rgba(30,58,80,0.32); }
.vid-play {
  width: 82px; height: 82px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; color: #fff; font-size: 26px;
}
.vid-play i { margin-left: 3px; }
.vid-card:hover .vid-play,
.vid-card .vid-open:focus-visible .vid-play { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.vid-label { display: none; }

.nl-vid-modal[hidden] { display: none !important; }
.nl-vid-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.nl-vid-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(20, 37, 54, 0.82);
  cursor: pointer;
}
.nl-vid-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 2.5rem));
}
.nl-vid-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 37, 54, 0.94);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.nl-vid-modal__close:hover,
.nl-vid-modal__close:focus-visible {
  background: var(--brand, #4A8EA6);
}
.nl-vid-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.nl-vid-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.nl-vid-modal-open { overflow: hidden; }

/* medicare-merged később töltődik — specifikusabb szabályok, hogy a nagyobb videó megmaradjon */
body.page-home-v1 section.nl-vid,
section.nl-vid {
  padding-top: 40px;
  padding-bottom: 40px;
}
/* A globális .wrap alsó 50px paddingje lent nagyobb rést adott, mint fent. */
body.page-home-v1 section.nl-vid > .wrap,
section.nl-vid > .wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.page-home-v1 section.nl-vid .nl-vid-grid,
section.nl-vid .nl-vid-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.38fr);
  gap: 32px;
  align-items: stretch;
}
body.page-home-v1 section.nl-vid .nl-card,
section.nl-vid .nl-card {
  padding: 44px 40px;
}
body.page-home-v1 section.nl-vid .vid-card,
section.nl-vid .vid-card {
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  align-self: start;
  width: 100%;
}
body.page-home-v1 section.nl-vid .vid-card .vid-open,
section.nl-vid .vid-card .vid-open {
  min-height: 0;
  height: 100%;
  background-image: url('/media/front/medicare-imazs-yt.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.page-home-v1 section.nl-vid .vid-card .vid-open img,
section.nl-vid .vid-card .vid-open img {
  object-fit: cover;
  object-position: center center;
}
body.page-home-v1 section.nl-vid .nl-card h2,
section.nl-vid .nl-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.3;
}
body.page-home-v1 section.nl-vid .nl-card > p,
section.nl-vid .nl-card > p {
  font-size: 14.5px;
  line-height: 1.55;
}
body.page-home-v1 section.nl-vid .nl-perks li,
section.nl-vid .nl-perks li {
  font-size: 13px;
}

/* ====== TESTIMONIALS ====== */
.testimonials { padding: var(--section-pad-y) 0; background: var(--bg); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* JS carousel: .test-grid → horizontal scroll + nav/dots */
.test-grid-carousel-host {
  position: relative;
  width: 100%;
}
.test-grid-carousel-track {
  position: relative;
}
.test-grid-carousel-host .test-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 10px 2px 18px;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  grid-template-columns: none !important;
}
.test-grid-carousel-host .test-grid::-webkit-scrollbar {
  display: none;
  height: 0;
}
/* Composer snippet: a kártyák egy belső wrapperben vannak */
.test-grid-carousel-host .test-grid > [data-composer-skip-snippet-inline],
.test-grid-carousel-host .test-grid > div:only-child:not(.test-card):not(.test-carousel-nav) {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 20px;
  flex: 0 0 auto;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}
.test-grid-carousel-host .test-grid.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}
.test-grid-carousel-host .test-card {
  flex: 0 0 min(340px, calc(100% - 28px));
  width: min(340px, calc(100% - 28px));
  max-width: 420px;
  scroll-snap-align: start;
  box-sizing: border-box;
  margin: 0;
}
@media (min-width: 1024px) {
  .test-grid-carousel-host .test-card {
    flex: 0 0 clamp(280px, 22vw, 360px);
    width: clamp(280px, 22vw, 360px);
  }
}
.test-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.test-carousel-nav:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.test-carousel-nav--prev { left: -6px; }
.test-carousel-nav--next { right: -6px; }
.test-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  min-height: 16px;
}
.test-carousel-dots[hidden] { display: none !important; }
.test-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
}
.test-carousel-dots button.is-active {
  background: var(--brand);
  width: 18px;
}
@media (max-width: 720px) {
  .test-carousel-nav { display: none; }
}

.test-card {
  background: var(--white); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.test-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  opacity: 0; transition: opacity 0.3s;
}
.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.test-card:hover::before { opacity: 1; }
.test-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.test-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--brand-pale);
}
.test-avatar img { width: 100%; height: 100%; object-fit: cover; }
.test-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.test-role { font-size: 11px; color: var(--text-soft); }
.test-stars { color: #F5A623; font-size: 12px; margin-bottom: 12px; }
.test-text { font-size: 13px; color: var(--text-mid); line-height: 1.7; font-style: italic; }

/* ====== FOOTER — lásd mc-footer-unified.css (shell foot lock); itt ne duplikáljuk ====== */

/* ====== RESPONSIVE ====== */
/* Asztali / laptop: online CTA egy szöveg + kompakt fehér sáv */
@media (min-width: 1025px) {
  .mc-nav-inner {
    align-items: center;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .mc-nav ul.mc-nav-list {
    align-items: center;
  }
  .mc-nav-right {
    align-self: center;
    align-items: center;
  }
  /* CTA sorrend: Szűrések → Biztosítás → Online (jobbra) */
  .mc-nav-right #mcSzuresekWrap { order: 1; }
  .mc-nav-right #mcBiztositasWrap { order: 2; }
  .mc-nav-right .mc-cta-online,
  .mc-nav-right .mc-cta-btn.mc-cta-online { order: 3; }
  .mc-nav-right .mc-cta-online {
    flex-direction: column;
    white-space: normal;
  }
  .mc-nav-right .mc-cta-online .mc-cta-online__mob {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }
  .mc-nav-right .mc-cta-online .mc-cta-online__desk {
    display: block !important;
    line-height: 1.2;
    text-align: center;
    margin: 0 !important;
  }
}
/* Laptop / közepes asztal: nav egy sorban – kompaktabb cellák és CTA (ne törjön 2 sorba) */
@media (min-width: 1025px) and (max-width: 1600px) {
  .mc-nav-item > a {
    padding: 14px 10px;
    font-size: 13px;
    letter-spacing: 0.25px;
  }
  .mc-nav-right { gap: 6px; }
  .mc-nav-right .mc-life1-nav-link,
  .mc-nav-right .mc-cta-btn,
  .mc-nav-right .mc-cta-dropdown-wrap {
    height: 44px;
  }
  .mc-nav-right .mc-cta-btn {
    min-width: 132px;
    height: 44px;
    padding: 6px 14px;
    font-size: 10px;
    letter-spacing: 0.28px;
  }
  .mc-nav-right .mc-cta-dropdown-toggle {
    padding: 6px 28px 6px 14px !important;
  }
}
@media (min-width: 1025px) and (max-width: 1520px) {
  .mc-nav-item > a {
    padding: 12px 6px;
    font-size: 11px;
    letter-spacing: 0.12px;
  }
  .mc-nav-item.has-mega > a::after {
    margin-left: 2px;
    border-width: 3px;
  }
  .mc-life1-nav-link {
    height: 42px;
    padding: 4px 8px;
  }
  .mc-life1-nav-link img {
    height: 22px;
  }
  .mc-nav-right .mc-life1-nav-link,
  .mc-nav-right .mc-cta-btn,
  .mc-nav-right .mc-cta-dropdown-wrap {
    height: 42px;
  }
  .mc-nav-right .mc-cta-btn {
    min-width: 0;
    height: 42px;
    padding: 5px 10px;
    font-size: 9px;
    letter-spacing: 0.18px;
  }
  .mc-nav-right .mc-cta-dropdown-toggle {
    padding: 5px 22px 5px 10px !important;
  }
  /* Rövid CTA feliratok: Szűrések / Biztosítás — ne lógjon ki az Időpont */
  .mc-nav-right .mc-cta-dropdown-toggle__label > span:first-child {
    display: none !important;
  }
  .mc-nav-right .mc-cta-online {
    min-width: 0;
    max-width: 118px;
    padding: 5px 10px;
  }
  .mc-nav-right .mc-cta-online .mc-cta-online__desk {
    display: none !important;
  }
  .mc-nav-right .mc-cta-online .mc-cta-online__mob[hidden] {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.15;
    white-space: nowrap;
  }
}
@media (min-width: 1025px) and (max-width: 1320px) {
  .mc-nav-item > a {
    padding: 12px 5px;
    font-size: 10px;
    letter-spacing: 0.08px;
  }
  .mc-nav-item.has-mega > a::after {
    margin-left: 2px;
    border-width: 3px;
  }
  .mc-nav-right .mc-life1-nav-link,
  .mc-nav-right .mc-cta-btn,
  .mc-nav-right .mc-cta-dropdown-wrap {
    height: 40px;
  }
  .mc-nav-right .mc-cta-btn {
    min-width: 0;
    height: 40px;
    padding: 4px 8px;
    font-size: 8px;
    letter-spacing: 0.15px;
  }
  .mc-nav-right .mc-cta-dropdown-toggle {
    padding: 4px 20px 4px 8px !important;
  }
  .mc-nav-right .mc-cta-online {
    max-width: 100px;
  }
  .mc-life1-nav-link img {
    height: 20px;
  }
}
@media (max-width: 1600px) {
  .hero-quick a:not(.hero-quick__link) { font-size: 10px; padding: 12px 10px; }
}
@media (max-width: 1440px) {
  .hero { height: 85vh; min-height: 600px; }
  .hero-content-box { width: 36%; min-width: 380px; }
  .hero-right-panel {
    left: calc(clamp(380px, 36%, 600px) + 16px);
    right: 28px;
  }
  .hero-promo-title { font-size: 15px; }
  .hero-promo-btn { font-size: 9px; padding: 9px 8px; }
  .hero-image-title h1 { font-size: 26px; }
  .hero-quick a:not(.hero-quick__link) { padding: 14px 8px; font-size: 10px; }
}
@media (max-width: 1280px) {
  .hero { height: 80vh; min-height: 580px; }
  .hero-content-box { width: 36%; min-width: 340px; }
  .hero-right-panel {
    left: calc(clamp(340px, 36%, 600px) + 14px);
    right: 20px;
  }
  .hero-promo-title { font-size: 13px; }
  .hero-promo-list { font-size: 10px; }
  .hero-promo-btn { font-size: 8px; padding: 8px 6px; }
  .hero-promo-stack { gap: 7px; }
  .hero-image-title h1 { font-size: 22px; }
  .hero-image-title p { font-size: 12px; }
  .hero-quick a:not(.hero-quick__link) { padding: 12px 8px; font-size: 9px; }
}
@media (max-width: 1024px) {
  .mc-header { position: sticky; top: 0; z-index: 5000; }
  .mc-top-bar { overflow-x: visible; }
  .mc-top-bar-inner {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    grid-template-areas: "burger logo search";
    align-items: center;
    padding: 8px 10px;
    column-gap: 10px;
    min-height: 52px;
    max-width: 100%;
  }
  .mc-top-bar .mc-burger {
    display: flex;
    grid-area: burger;
    justify-self: start;
    order: 0;
    width: 36px;
    min-height: 36px;
    height: 36px;
    color: #fff;
    font-size: 18px;
  }
  .mc-top-bar .mc-burger i {
    color: #fff;
  }
  .mc-logo {
    grid-area: logo;
    justify-self: center;
    order: 0;
    flex-shrink: 1;
    margin: 0 auto;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }
  .mc-logo-img {
    height: 28px;
    width: auto;
    max-width: 100%;
    max-height: 28px;
    object-fit: contain;
  }
  .mc-contact-info,
  .mc-top-bar-actions {
    display: flex;
    grid-area: search;
    justify-self: end;
    order: 0;
    flex: none;
    width: 36px;
    max-width: 36px;
    gap: 0;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    min-width: 0;
  }
  .mc-topbar-lang--desktop,
  .mc-top-bar .mc-topbar-lang:not(.mc-topbar-lang--mobile-menu) {
    display: none !important;
  }
  .mc-contact-item {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s;
  }
  .mc-contact-item:hover {
    background: rgba(255, 255, 255, 0.22);
    opacity: 1;
  }
  .mc-contact-item i { font-size: 15px; color: #fff; }
  .mc-contact-item span { display: none; }

  /* Telefon a fiókmenü fejébe; időpont a logo és kereső közé */
  .mc-top-bar .mc-contact-item,
  .mc-top-bar .mc-contact-item--desk-phone {
    display: none !important;
  }
  .mc-topbar-booking--mobile {
    display: none !important;
  }
  .mc-mobile-drawer__head-start {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 44px;
    height: 44px;
  }
  .mc-mobile-drawer__head-start .mc-mobile-drawer__close,
  .mc-mobile-drawer__head-start .mc-mobile-drawer__back {
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    bottom: auto;
    width: 40px;
    height: 40px;
    margin: 0;
    transform: translateY(-50%);
  }
  .mc-mobile-drawer__head-start:has(.mc-mobile-drawer__back:not([hidden])) .mc-mobile-drawer__close {
    visibility: hidden;
    pointer-events: none;
  }
  .mc-mobile-drawer__phone {
    justify-self: end;
  }
  .mc-mobile-drawer__phone {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c3548 0%, #268699 100%);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 58, 80, 0.16);
  }
  .mc-mobile-drawer__phone i {
    color: #fff;
  }
  .mc-mobile-drawer__phone:hover {
    background: linear-gradient(135deg, #1c3548 0%, #268699 100%);
    filter: brightness(1.08);
  }
  .mc-mobile-drawer__close,
  .mc-mobile-drawer__back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c3548 0%, #268699 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(30, 58, 80, 0.16);
  }
  .mc-mobile-drawer__close i,
  .mc-mobile-drawer__back i {
    color: #fff;
  }
  button.mc-topbar-search,
  .mc-topbar-search {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border-left: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
  }
  .mc-topbar-search:hover {
    background: rgba(255, 255, 255, 0.22);
    opacity: 1;
  }
  .mc-topbar-search i { font-size: 15px; }
  .mc-nav-right .mc-life1-nav-link,
  .mc-nav-right .mc-cta-btn,
  .mc-nav-right .mc-cta-dropdown-wrap {
    height: 36px;
  }
  .mc-nav-right .mc-cta-btn {
    min-width: 0; height: 36px; font-size: 9px; padding: 5px 11px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(30, 58, 80, 0.14);
  }
  .mc-nav-right .mc-cta-online { flex: 0 1 auto; min-width: 0; }
  .mc-nav-right { gap: 6px; }
  .mc-top-bar .mc-burger {
    display: flex;
    order: 0;
    flex: 0 0 40px;
    width: 40px;
    min-height: 40px;
    position: relative;
    z-index: 30;
    font-size: 22px;
    color: #fff;
  }
  .mc-top-bar .mc-burger i {
    color: #fff;
  }
  .mc-nav,
  .mc-nav-inner,
  .mc-nav-right,
  .mc-nav-right .mc-cta-dropdown-wrap {
    overflow: visible !important;
  }
  .mc-nav-inner { flex-wrap: wrap; padding: 12px 10px; align-items: center; min-height: 58px; }
  .mc-nav-list {
    display: none !important; width: 100%; order: 3;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch;
  }
  .mc-nav.mc-mobile-open .mc-nav-list { display: flex !important; }
  .mc-nav-right { margin-left: auto; margin-right: 0; order: 2; }
  /* Mobil nav sáv a felső topbar szélességére húzva, egy sorban:
     hamburger + LIFE1 logó balra, CTA gombok jobbra (mint fent a Medicare logó és a kereső). */
  .mc-nav-inner { flex-wrap: nowrap; padding: 12px 10px; max-width: 100%; align-items: center; gap: 8px; min-height: 58px; }
  .mc-nav-right {
    flex-wrap: nowrap;
    min-width: 0;
    flex: 0 1 auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 6px;
  }
  /* Life1 csak a hamburger menü alján — ne foglalja a fehér sávot */
  .mc-nav-right .mc-life1-nav-link { display: none !important; }
  /* Medicare biztosítás + Időpont: kompakt, csak a szöveg szélessége */
  .mc-nav-right .mc-cta-dropdown-wrap {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    position: relative;
    z-index: 20;
  }
  .mc-nav-right .mc-cta-dropdown-toggle {
    width: auto;
    min-width: 0;
    padding: 5px 24px 5px 11px !important;
    font-size: 9px;
    letter-spacing: 0.12px;
  }
  .mc-cta-dropdown-toggle__label {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3px;
    align-items: center;
    justify-content: center;
  }
  .mc-cta-dropdown-toggle__label > span {
    display: inline;
    margin-top: 0 !important;
    white-space: nowrap;
  }
  .mc-cta-dropdown-toggle .mc-dd-arrow {
    right: 7px;
    font-size: 7px !important;
  }
  .mc-nav-right .mc-cta-online {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 5px 11px !important;
    font-size: 9px;
    letter-spacing: 0.12px;
    box-shadow: 0 2px 6px rgba(30, 58, 80, 0.14);
    white-space: nowrap;
    justify-content: center;
  }
  .mc-nav-right .mc-cta-online .mc-cta-online__desk { display: none !important; }
  .mc-nav-right .mc-cta-online .mc-cta-online__mob[hidden] { display: block !important; visibility: visible !important; position: static !important; width: auto !important; height: auto !important; overflow: visible !important; pointer-events: auto !important; }
  /* Pozíciót a front-import-global.js állítja (fixed, gomb alatt) */
  .mc-mega-grid {
    grid-template-columns: 1fr;
    height: auto; min-height: 0; max-height: none;
  }
  .mc-mega-left { padding-bottom: 12px; overflow: visible; }
  .mc-mega-mid { overflow: visible; }
  .hero { height: auto; min-height: unset; }
  .hero-viewport { position: relative; height: 50vw; min-height: 260px; max-height: 400px; }
  /* Mobilon a jobb panel eltűnik, fehér box teljes szélességű */
  .hero-right-panel { display: none; }
  .hero-content-box {
    position: relative; top: auto; bottom: auto; left: auto;
    max-width: 100%; min-width: unset; width: 100%;
    border: none;
    border-left: 4px solid var(--mc-topbar-base);
    border-radius: 0;
    box-shadow: none; background: #fff;
    overflow: hidden;
  }
  .hero-text-slide {
    position: relative; inset: auto;
    padding: 28px 28px 24px;
    overflow: hidden;
    min-height: 0;
  }
  .hero-text-slide h1 { font-size: 22px; }
  .hero-text-slide p { font-size: 13px; margin-bottom: 18px; }
  .section-head-row { flex-wrap: wrap; gap: 12px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .df-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; gap: 20px; }
  .hosp-stats { grid-template-columns: repeat(2, 1fr); }
  .hosp-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-vid-grid,
  body.page-home-v1 section.nl-vid .nl-vid-grid,
  section.nl-vid .nl-vid-grid { grid-template-columns: 1fr; }
  body.page-home-v1 section.nl-vid .vid-card,
  section.nl-vid .vid-card,
  body.page-home-v1 section.nl-vid .vid-card .vid-open,
  section.nl-vid .vid-card .vid-open {
    min-height: 0;
    height: auto;
  }
  body.page-home-v1 section.nl-vid .vid-card,
  section.nl-vid .vid-card {
    aspect-ratio: 16 / 9;
  }
  .test-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-viewport { min-height: 220px; max-height: 340px; }
  .hero-image-title h1 { font-size: 18px; }
  .hero-image-title p { font-size: 11px; max-width: 360px; }
  .hero-text-slide h1 { font-size: 20px; }
  .hero-quick a:not(.hero-quick__link) { font-size: 9px; padding: 10px 8px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .abc-grid { grid-template-columns: repeat(7, 1fr); }
  /* Mobilon / keskeny tableten 1 oszlop — ne maradjon üres jobb sáv a 2-col gridtől */
  .hosp-loc-grid { grid-template-columns: 1fr; }
  .hosp-loc-img { width: 72px; height: 72px; border-radius: 8px; }
  .promo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nl-form { flex-direction: column; }
  /* Hírlevél + videó: mobilon ne lógjon ki jobbra — szöveg + fenti/lenti pad marad */
  body.page-home-v1 section.nl-vid > .wrap,
  section.nl-vid > .wrap,
  body.page-home-v1 section.nl-vid .nl-vid-grid,
  section.nl-vid .nl-vid-grid,
  body.page-home-v1 section.nl-vid .nl-card,
  section.nl-vid .nl-card,
  body.page-home-v1 section.nl-vid .vid-card,
  section.nl-vid .vid-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  body.page-home-v1 section.nl-vid .nl-card,
  section.nl-vid .nl-card {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.page-home-v1 section.nl-vid .nl-perks,
  section.nl-vid .nl-perks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  body.page-home-v1 section.nl-vid .nl-perks li,
  section.nl-vid .nl-perks li {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  body.page-home-v1 section.nl-vid .nl-form input[type="email"],
  section.nl-vid .nl-form input[type="email"],
  body.page-home-v1 section.nl-vid .nl-form button,
  section.nl-vid .nl-form button {
    max-width: 100%;
    min-width: 0;
  }
  .section-head h2 { font-size: 22px; }
  .section-head-row h2 { font-size: 22px; }
  .faq-item { padding: 0 20px; }
}
@media (max-width: 480px) {
  /* CTA méret = max-width 1024 lock (36px / 9px) — ne zsugorítson 32/7-re */
  .mc-nav-inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 58px !important;
    gap: 8px !important;
  }
  .mc-nav-right { gap: 6px !important; }
  .mc-nav-right .mc-life1-nav-link,
  .mc-nav-right .mc-cta-btn,
  .mc-nav-right .mc-cta-dropdown-wrap,
  body.page-home-v1 .mc-nav-right .mc-cta-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }
  .mc-nav-right .mc-cta-dropdown-toggle {
    padding: 5px 24px 5px 11px !important;
    font-size: 9px !important;
  }
  .mc-nav-right .mc-cta-btn {
    height: 36px !important;
    font-size: 9px !important;
    padding: 5px 11px !important;
    border-radius: 8px !important;
  }
  .mc-nav-right .mc-cta-online {
    font-size: 9px !important;
    padding: 5px 11px !important;
  }
  .mc-burger {
    width: 36px !important;
    min-height: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
    font-size: 22px !important;
  }
  body.page-home-v1 section.nl-vid .nl-card,
  section.nl-vid .nl-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mc-cta-dropdown-toggle .mc-dd-arrow {
    right: 7px;
    font-size: 8px !important;
  }
  .mc-nav-right .mc-cta-online .mc-cta-online__desk { display: none; }
  .mc-nav-right .mc-cta-online .mc-cta-online__mob[hidden] { display: block; visibility: visible; position: static; width: auto; height: auto; overflow: visible; pointer-events: auto; }
  .mc-logo-img {
    height: 26px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .hero-viewport { min-height: 180px; max-height: 260px; }
  .hero-image-title h1 { font-size: 16px; }
  .hero-image-title p { display: none; }
  .hero-text-slide h1 { font-size: 18px; }
  /* Csak legacy quick linkekre — a BEM sáv a feltöltött CSS szerint marad egy „pill” / oszlop */
  .hero-quick:not(:has(.hero-quick__link)) { flex-direction: column; gap: 5px; padding: 8px 10px; }
  .hero-quick a:not(.hero-quick__link) { font-size: 9px; padding: 10px 12px; min-width: 0; flex: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .hosp-stats { grid-template-columns: 1fr; }
  .hosp-loc-grid { grid-template-columns: 1fr; }
  .abc-grid { grid-template-columns: repeat(6, 1fr); }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .faq-item { padding: 0 16px; }
  .faq-q { font-size: 13px; }
}
/* ============================================================
   Medicare – sablon megosztott stílusok (medicare-tpl-shared.css)
   A főoldal inline-ból kivett duplikátum helyett: egy helyen, global után.
   Nem tartalmaz: :root/reset/.wrap, teljes footer-blokk, .reveal (a főoldal változat érvényes).
   ============================================================ */
.tpl-section {
  padding: 64px 0;
}
.tpl-section--alt {
  background: var(--bg-warm);
}
.tpl-section--white {
  background: var(--white);
}

/* Sablon / CMS: szekciócím h1 (a főoldal .section-head h2 / p változatlan marad) */
.section-head h1 {
  font-size: 32px; font-weight: 800; color: var(--navy);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
/* --- Kép + szöveg sor (sablon-kep-bal / sablon-kep-jobb) --- */
/* minmax(0,1fr): ne nőjön túl a viewporton szöveg/kép intrinsic szélességtől mobilon */
.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-width: 0;
}
.media-row__img {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.media-row__img img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.media-row__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.media-row__body h1 {
  font-size: clamp(1.35rem, 2.8vw + 0.5rem, 1.875rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
.media-row__body p:not(.section-tag) {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
.media-row--reverse .media-row__img { order: 2; }
.media-row--reverse .media-row__body { order: 1; }
@media (max-width: 768px) {
  .media-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .media-row--reverse .media-row__img { order: 1; }
  .media-row--reverse .media-row__body { order: 2; }
  .media-row .tpl-btn:not(.tpl-btn--icon) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* --- Header (simplified, no megamenu) --- */
.tpl-header { font-family: 'Poppins', sans-serif; position: sticky; top: 0; z-index: 1000; }
.tpl-topbar {
  background-color: var(--mc-topbar-base);
  background-image: linear-gradient(135deg, var(--mc-topbar-base) 0%, #1a3550 42%, #1f4a6a 68%, #1c6b78 100%);
  padding: 0;
}
.tpl-topbar-inner {
  width: 100%;
  max-width: min(var(--layout-max), calc(100% - 2 * var(--layout-pad-x)));
  margin: 0 auto; padding: 8px var(--layout-pad-x);
  display: flex; align-items: center; gap: 14px;
  min-height: 46px;
}
.tpl-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.tpl-logo img { height: 40px; width: auto; }
.tpl-topbar-right {
  display: flex; align-items: center; gap: 14px;
  margin-left: auto;
}
.tpl-topbar-phone {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.96); font-size: 15px; font-weight: 500;
  white-space: nowrap; transition: opacity 0.2s;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.tpl-topbar-phone:hover { opacity: 0.82; }
.tpl-topbar-phone i { font-size: 13px; color: rgba(255,255,255,0.82); }
.tpl-topbar-sep {
  width: 1px; height: 18px; background: rgba(255,255,255,0.28); flex-shrink: 0;
}
.tpl-topbar-lang {
  display: flex; align-items: center; gap: 8px;
  padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.32);
}
.tpl-topbar-lang a {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.72); transition: color 0.2s;
}
.tpl-topbar-lang a.is-active { color: #fff; }
.tpl-topbar-lang a:hover { color: rgba(255,255,255,0.95); }

/* Main nav bar */
.tpl-nav {
  background: #fff; border-bottom: 1px solid #dde3ea;
  position: relative;
}
.tpl-nav-inner {
  width: 100%;
  max-width: min(var(--layout-max), calc(100% - 2 * var(--layout-pad-x)));
  margin: 0 auto; padding: 0 var(--layout-pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 0;
}
.tpl-nav-list {
  list-style: none; display: flex; align-items: stretch;
  margin: 0; padding: 0; flex: 1 1 auto;
}
.tpl-nav-list li a {
  display: flex; align-items: center; padding: 14px 16px;
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700;
  color: #2c3d52; letter-spacing: 0.35px; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
}
.tpl-nav-list li a:hover,
.tpl-nav-list li a.is-active {
  color: var(--brand); background: rgba(74,142,166,0.06);
  border-bottom-color: var(--brand);
}
.tpl-nav-cta {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.tpl-burger {
  display: none; background: none; border: none; font-size: 22px;
  color: var(--navy); cursor: pointer; padding: 10px;
}

/* --- Buttons (section-link style from main page) --- */
/* Mint a főoldal .section-link (Szolgáltatásaink → „Összes szolgáltatás”), ikon nélkül is */
.tpl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; border: 1px solid var(--brand);
  background: transparent; color: var(--brand);
  position: relative; overflow: hidden;
  transition: color 0.3s, gap 0.3s, border-color 0.3s, background 0.3s;
  text-align: center;
  box-sizing: border-box;
}
.tpl-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transition: left 0.5s;
}
.tpl-btn:hover::before { left: 120%; }
.tpl-btn:hover {
  gap: 12px; background: var(--brand); color: #fff; border-color: var(--brand);
}
.tpl-btn--primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.tpl-btn--primary:hover {
  background: var(--brand-dark); border-color: var(--brand-dark);
}
.tpl-btn--outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.tpl-btn--outline:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.tpl-btn--navy {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.tpl-btn--navy:hover {
  background: var(--mc-topbar-base); border-color: var(--mc-topbar-base);
}
.tpl-btn--sm {
  padding: 9px 18px;
  font-size: 11px;
}
.tpl-btn--sm:hover {
  gap: 10px;
}
.tpl-btn--icon {
  width: 44px; height: 44px; padding: 0; justify-content: center;
  border-radius: 50%;
}
.tpl-btn--icon:hover {
  gap: 0;
}

/* --- Alcím / pill: 0_Főoldal_vilagosabb.html .section-tag (Szakértelem / Szolgáltatásaink) --- */
.section-tag,
.tpl-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 0 8px 0;
  padding: 4px 12px;
  min-height: 26px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--brand);
  background-color: var(--brand-pale);
  border-radius: 20px;
  -webkit-font-smoothing: antialiased;
}
/* Flex oszlopban a gap ad térközt a címhez; ne duplázzuk a 8px margóval */
.media-row__body > .section-tag,
.media-row__body > .tpl-kicker,
.carousel__body > .section-tag,
.carousel__body > .tpl-kicker,
.prof-hero__body > .section-tag,
.prof-hero__body > .tpl-kicker {
  margin-bottom: 0;
}

/* --- Prose (long text): teljes szélesség a szülőben (.wrap); a layout maxát --layout-max adja --- */
.tpl-prose {
  width: 100%;
  max-width: 100%;
}
.tpl-prose p:not(.section-tag) {
  margin-bottom: 1.5em; font-size: 15px; line-height: 1.85;
  color: var(--text-mid);
}
.tpl-prose p:last-child { margin-bottom: 0; }
.tpl-prose h1 {
  font-size: 32px; font-weight: 800; color: var(--navy);
  margin: 0 0 0.5em; letter-spacing: -0.3px;
  line-height: 1.2;
}
.tpl-prose h2 {
  font-size: 26px; font-weight: 800; color: var(--navy);
  margin: 2em 0 0.6em; letter-spacing: -0.2px;
}
.tpl-prose h3 {
  font-size: 20px; font-weight: 700; color: var(--navy);
  margin: 1.6em 0 0.5em;
}
.tpl-prose ul, .tpl-prose ol {
  margin: 0 0 1.5em 1.4em; font-size: 15px; line-height: 1.85;
  color: var(--text-mid);
}
.tpl-prose li { margin-bottom: 0.4em; }
.tpl-prose blockquote {
  border-left: 4px solid var(--brand); margin: 1.8em 0;
  padding: 16px 24px; background: var(--brand-pale);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; color: var(--text);
}
.tpl-prose blockquote cite {
  display: block; margin-top: 8px; font-style: normal;
  font-size: 13px; font-weight: 600; color: var(--brand-dark);
}
.tpl-prose figure {
  margin: 2em 0;
}
.tpl-prose figure img {
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.tpl-prose figcaption {
  font-size: 12px; color: var(--text-soft); margin-top: 8px;
  text-align: center;
}
.tpl-prose a {
  color: var(--brand); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px;
}
.tpl-prose a:hover { color: var(--brand-dark); }
.tpl-prose table {
  width: 100%; border-collapse: collapse; margin: 1.5em 0;
  font-size: 14px;
}
.tpl-prose th, .tpl-prose td {
  padding: 10px 14px; border: 1px solid var(--border); text-align: left;
}
.tpl-prose th {
  background: var(--brand-pale); font-weight: 700; color: var(--navy);
}
.tpl-prose hr {
  border: none; border-top: 1px solid var(--border); margin: 2em 0;
}
.tpl-prose code {
  font-family: 'Courier New', Courier, monospace;
  background: var(--brand-ice); padding: 2px 6px; border-radius: 4px;
  font-size: 13px; color: var(--navy);
}
.tpl-prose pre {
  background: var(--navy); color: #e8eef4; padding: 20px 24px;
  border-radius: var(--r); overflow-x: auto; margin: 1.5em 0;
  font-size: 13px; line-height: 1.7;
}
.tpl-prose pre code {
  background: none; padding: 0; color: inherit;
}
.tpl-prose strong { color: var(--text); font-weight: 700; }

/* --- Card --- */
.tpl-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.tpl-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}

/* --- Idővonal lapozó (sablon-lapozo-csak-szoveg): transform + végtelen szalag --- */
.tl-section-head {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tl-carousel {
  position: relative;
  width: 100%;
}
.tl-carousel__stage {
  overflow: hidden;
  margin: 0;
  min-width: 0;
  cursor: grab;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
}
.tl-carousel__track,
.tl-card {
  touch-action: pan-y;
}
.tl-carousel__stage.is-tl-dragging {
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
}
.tl-carousel__track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  will-change: transform;
  transition: none;
}
.tl-carousel__track.is-tl-animating {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (prefers-reduced-motion: reduce) {
  .tl-carousel__track.is-tl-animating { transition: none; }
}
.tl-card {
  flex-shrink: 0;
  background: var(--brand-ice);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.tl-card:hover { border-color: var(--brand); }
.tl-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}
.tl-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}
.tl-carousel__bar,
.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
}
.tl-carousel__arrow,
.carousel__arrow {
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  transition: background 0.2s;
}
.tl-carousel__arrow:hover,
.carousel__arrow:hover { background: var(--brand-dark); }
.tl-carousel__dots,
.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 6px;
  margin: 0;
  min-width: 0;
  flex-wrap: wrap;
}
.tl-carousel__dot,
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.tl-carousel__dot.is-active,
.carousel__dot.is-active { background: var(--brand); }

/* --- Tab sablonok: felső cím, leírás, kategória (sablon-tab-*) --- */
.tab-hero {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-bottom: 36px;
}
.tab-hero--center {
  text-align: center;
}
.tab-hero--center .tab-hero__cats {
  justify-content: center;
}
.tab-hero__title {
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.tab-hero__text {
  width: 100%;
  max-width: none;
}
.tab-hero__text .tab-hero__lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-mid);
  margin: 0 0 1.1em;
  max-width: none;
  width: 100%;
}
.tab-hero__text .tab-hero__lead:last-child {
  margin-bottom: 0;
}
.tab-hero__cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.tab-hero__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--white);
  color: var(--brand);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab-hero__cat:hover {
  background: var(--brand-pale);
}
.tab-hero__cat.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.tab-hero__cat--more {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-color: var(--navy);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.tab-hero__cat--more:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
@media (max-width: 600px) {
  .tab-hero__cat {
    font-size: 10px;
    padding: 8px 14px;
  }
}

/* --- Kép + szöveg lapozó (sablon-lapozo-kep-szoveg) --- */
.carousel {
  position: relative;
}
.carousel__stage {
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: grab;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}
.carousel__stage.is-cr-dragging {
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
}
.carousel__track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: none;
  will-change: transform;
  touch-action: pan-y;
}
.carousel__slide,
.carousel__body {
  touch-action: pan-y;
}
.carousel__body a {
  touch-action: pan-y;
}
.carousel__track.is-cr-animating {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track.is-cr-animating { transition: none; }
}
.carousel__slide {
  flex-shrink: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: 24px;
  align-items: stretch;
  padding: 16px 20px 16px 16px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 360px;
}
/* Kép jobbra, szöveg balra (DOM: előbb kép, utána body – rácshelyekkel cserélünk) */
.carousel--img-right .carousel__slide {
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
}
.carousel--img-right .carousel__body {
  grid-column: 1;
  grid-row: 1;
  padding: 32px 8px 32px 16px;
}
.carousel--img-right .carousel__img {
  grid-column: 2;
  grid-row: 1;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
/* Kép: ne fogja el a húzást (natív kép-drag / kattintás) */
.carousel__img,
.carousel__img img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.carousel__img {
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  overflow: hidden;
  align-self: stretch;
  min-height: 0;
}
.carousel__img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.carousel__body {
  padding: 32px 16px 32px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
  min-height: 0;
}
.carousel__body h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}
.carousel__body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0;
}
.carousel__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.carousel__subhead {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 4px 0 0;
  line-height: 1.3;
}
.carousel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.carousel__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--white);
  line-height: 1.2;
}
.carousel__body .btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  /* Lapozó kártya: függőleges „téglalap”, kép felül, belső margó (mint referencia) */
  .tpl-section:has(> .wrap > .carousel) {
    padding: 44px 0 52px;
  }
  .carousel__stage {
    border-radius: var(--r-xl);
  }
  .carousel__slide {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
    padding: 16px 16px 18px;
    min-height: 0;
    border-radius: var(--r-xl);
    border: 1px solid rgba(74, 142, 166, 0.22);
    box-shadow: var(--shadow-sm);
  }
  .carousel__img {
    border-radius: var(--r-lg);
    overflow: hidden;
    align-self: stretch;
  }
  .carousel__img img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }
  .carousel__body {
    padding: 4px 4px 8px;
    gap: 12px;
  }
  .carousel__body h2 {
    font-size: clamp(20px, 5.2vw, 24px);
  }
  /* Mobilon csak kép + cím + két gomb (nincs leírás, tovább olvasás, top szakterületek, címkék) */
  .carousel__intro,
  .carousel__subhead,
  .carousel__chips {
    display: none !important;
  }
  .carousel__body .btn-row {
    margin-top: 8px;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .carousel__body .btn-row .tpl-btn {
    flex: 1 1 auto;
    min-width: min(100%, 148px);
    justify-content: center;
  }
  .carousel--img-right .carousel__img {
    grid-column: 1;
    grid-row: 1;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .carousel--img-right .carousel__body {
    grid-column: 1;
    grid-row: 2;
    padding: 4px 4px 8px;
  }
}

@media (max-width: 480px) {
  .carousel__slide {
    padding: 12px 12px 16px;
    gap: 12px;
  }
  .carousel__body {
    padding: 2px 2px 6px;
    gap: 10px;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .tpl-nav-list { display: none; }
  .tpl-burger { display: block; }
  .tpl-nav.is-open .tpl-nav-list {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: var(--shadow-lg); z-index: 900;
    padding: 8px 0;
  }
  .tpl-nav.is-open .tpl-nav-list li a {
    padding: 12px var(--layout-pad-x); border-bottom: none;
  }
  .tpl-topbar-phone span { display: none; }
}
@media (max-width: 768px) {
  .section-head h1,
  .section-head h2 { font-size: 22px; }

  /* Szövegtörzs mobilon sorkizárt (lábléc / nav / tájékoztató kihagyva) */
  .tpl-prose p:not(.section-tag):not(.content-disclaimer__note),
  .tpl-prose li,
  .tpl-prose td,
  .tpl-prose blockquote,
  .tpl-prose figcaption,
  .section-head p:not(.section-tag),
  .media-row__body p:not(.section-tag),
  .vtabs__panel p:not(.section-tag),
  .htabs__body p:not(.section-tag),
  .carousel__body p:not(.section-tag),
  .tl-card li,
  .prof-hero__bio,
  .booking__panel p,
  .booking__success p,
  .doc-filter__list li,
  .doc-card__info,
  .article-hero .wrap > p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .section-tag,
  .tpl-kicker {
    text-align: center;
  }
  .tpl-prose h1 { font-size: 26px; }
}

/* Mobil off-canvas nav: árnyék ne a görgethető listán legyen (négyzetes hatás) */
@media (max-width: 1024px) {
  .mc-nav ul.mc-nav-list,
  body.page-home-v1 .mc-nav ul.mc-nav-list {
    box-shadow: none !important;
  }
  .mc-nav.mc-mobile-open::before,
  body.page-home-v1 .mc-nav.mc-mobile-open::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: min(88%, 360px);
    height: 100dvh;
    pointer-events: none;
    z-index: 10000;
    box-shadow:
      -24px 0 48px -14px rgba(15, 35, 55, 0.18),
      -6px 0 18px -6px rgba(15, 35, 55, 0.1);
  }
}

/* Global fix: minden címke/doboz szöveg középre igazítva */
.section-tag,
.tpl-kicker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
}

/* ====== CONTENT DISCLAIMER — oldalvégi tájékoztató lábjegyzet ====== */
/* Globálisan: services, job-detail, és minden jövőbeli oldal számára */
.content-disclaimer.tpl-section {
  padding: 0 0 clamp(2rem, 3vw, 2.5rem);
  margin-top: calc(-1 * clamp(20px, 3vw, 36px));
  background: var(--white, #fff);
}
.content-disclaimer .content-disclaimer__prose {
  margin: 0;
  padding-top: 1.35rem;
  padding-bottom: 0.75rem;
  border-top: 1px solid var(--border, #dbe2ea);
}
.content-disclaimer__note {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: var(--text-soft, #8a99a8) !important;
  text-align: left !important;
  text-justify: auto !important;
  hyphens: manual !important;
  -webkit-hyphens: manual !important;
}
.content-disclaimer__kicker {
  display: inline;
  margin: 0 0.5rem 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand, #4a8ea6);
  text-align: left !important;
}
.content-disclaimer__kicker::after {
  content: "—";
  margin-left: 0.5rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-soft, #8a99a8);
}
.content-disclaimer__note :is(strong, b) {
  font-weight: 600;
  color: var(--text-mid, #5a6b7d) !important;
}
@media (max-width: 767px) {
  .content-disclaimer .content-disclaimer__prose {
    padding-top: 0.75rem;
    padding-bottom: 0.45rem;
  }
  .content-disclaimer__note {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }
  .content-disclaimer__kicker {
    font-size: 10px;
    letter-spacing: 0.04em;
    margin-right: 0.35rem;
  }
  .content-disclaimer__kicker::after {
    margin-left: 0.35rem;
  }
}

/* ============================================================
   Life1 logo gomb-szerű stílus (desktop) + egységes CTA magasság
   ============================================================ */
.mc-nav-right .mc-life1-nav-link,
.mc-nav-right .mc-cta-btn,
.mc-nav-right .mc-cta-dropdown-wrap {
  height: 48px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.mc-nav-right .mc-cta-dropdown-toggle {
  min-height: 0;
  height: 100%;
}
.mc-nav-right .mc-cta-online {
  justify-content: center;
}
.mc-nav-right .mc-cta-online .mc-cta-online__mob {
  display: none;
}

/* ============================================================
   Medicare biztosítás dropdown (mc-cta-aj helyett)
   ============================================================ */
.mc-cta-dropdown-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
}
.mc-cta-dropdown-toggle {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 6px 30px 6px 18px !important;
  cursor: pointer;
  border: none;
  font: inherit;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}
.mc-cta-dropdown-toggle__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.mc-cta-dropdown-toggle__label > span {
  display: block;
  font-weight: 800;
}
.mc-cta-dropdown-toggle__label > span + span {
  margin-top: 1px;
  opacity: 0.98;
}
.mc-dd-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  margin: 0 !important;
  font-size: 9px !important;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s;
  pointer-events: none;
}
.mc-cta-dropdown-wrap.is-open .mc-dd-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.mc-cta-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 8px;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(30, 58, 80, 0.16);
  border: 1px solid #e2eaf2;
  list-style: none;
  padding: 6px;
  z-index: 9000;
  margin-left: 0;
}
.mc-cta-dropdown-wrap.is-open .mc-cta-dropdown-menu {
  display: block;
}
.mc-cta-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a50;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.mc-cta-dropdown-menu li a:hover {
  background: rgba(36, 140, 153, 0.1);
  color: #248c99;
}
.mc-cta-dropdown-menu li a i {
  width: 16px;
  text-align: center;
  color: #248c99;
  font-size: 13px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .mc-nav-right {
    position: relative !important;
  }
  .mc-cta-dropdown-wrap {
    position: static !important;
  }
  .mc-cta-dropdown-wrap.is-open {
    z-index: 40 !important;
  }
  .mc-cta-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    z-index: 10050 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .mc-cta-dropdown-menu li a,
  .mc-cta-dropdown-sub li a {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

/* ============================================================
   Life1: csak mobil menüben (desktopon a jobb oldali logó gomb)
   ============================================================ */
@media (min-width: 1025px) {
  .mc-nav-item.mc-nav-item--life1-external {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .mc-nav-right .mc-life1-nav-link {
    display: none !important;
  }
  .mc-nav-inner {
    align-items: stretch;
    gap: 6px;
    padding: 10px !important;
    min-height: 0 !important;
  }
  .mc-nav-right {
    margin-left: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    justify-content: stretch !important;
    gap: 6px !important;
  }

  /* Három egyenlő gomb a fehér sávban */
  .mc-nav-right .mc-cta-dropdown-wrap,
  .mc-nav-right .mc-cta-online,
  .mc-nav-right .mc-cta-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .mc-nav-right .mc-cta-dropdown-toggle {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Középméretű CTA — nem teljes szélesség, de olvasható */
  .mc-nav-right .mc-life1-nav-link,
  .mc-nav-right .mc-cta-btn,
  .mc-nav-right .mc-cta-dropdown-wrap,
  .mc-nav-right .mc-cta-dropdown-toggle,
  body.page-home-v1 .mc-nav-right .mc-cta-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    box-sizing: border-box !important;
  }
  .mc-nav-right .mc-cta-btn,
  .mc-nav-right .mc-cta-dropdown-toggle {
    padding: 5px 11px !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.12px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(30, 58, 80, 0.14) !important;
  }
  .mc-nav-right .mc-cta-btn > span,
  .mc-cta-dropdown-toggle__label > span {
    margin-top: 0 !important;
    line-height: 1.15 !important;
  }
  .mc-cta-dropdown-toggle__label {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  .mc-cta-dropdown-toggle__label > span:first-child {
    display: none !important;
  }
  .mc-cta-dropdown-toggle .mc-dd-arrow {
    right: 7px !important;
    font-size: 8px !important;
  }
  .mc-nav-right .mc-cta-dropdown-toggle {
    padding: 5px 22px 5px 10px !important;
  }
  .mc-nav-right .mc-cta-dropdown-menu {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .mc-nav-right .mc-cta-online,
  .mc-nav-right .mc-cta-btn.mc-cta-online {
    display: flex !important;
  }
  .mc-top-bar .mc-burger,
  .mc-top-bar .mc-burger i {
    width: 40px !important;
    min-height: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    font-size: 22px !important;
    padding: 0 !important;
    color: #fff !important;
  }
}

/* restored phone-box from HEAD */
.mc-phone-overlay {
  display: none; position: fixed; inset: 0;
  background: transparent;
  z-index: 20000;
  transition: background 0.25s ease;
}
.mc-phone-overlay.is-open { display: block; background: var(--df-gradient-overlay); }
.mc-phone-box {
  background: #fff; border-radius: 18px; padding: 40px 36px;
  width: 90%; max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  position: absolute; text-align: center;
  transform-origin: top center;
  animation: mcPhoneSlideIn 0.28s cubic-bezier(0.34,1.4,0.64,1);
}
.mc-phone-box-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 24px;
  color: #8A99A8; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.mc-phone-box-close:hover { color: #1E3A50; }
.mc-phone-box-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--df-gradient);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 26px; color: #fff;
}
.mc-phone-box h3 {
  font-family: 'Poppins', sans-serif; font-size: 22px;
  font-weight: 700; color: #1E3A50; margin-bottom: 8px;
}
.mc-phone-box p {
  font-size: 14px; color: #5A6B7D; margin-bottom: 28px; line-height: 1.6;
}
.mc-phone-box-cta {
  display: block; width: 100%; padding: 16px 20px;
  background: var(--df-gradient);
  color: #fff !important; border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 700; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 4px 18px rgba(25, 50, 74, 0.35);
  margin-bottom: 16px;
}
.mc-phone-box-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 28px rgba(32, 79, 117, 0.4);
}
.mc-phone-box-cta i { margin-right: 8px; }
.mc-phone-box-divider {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; color: #8A99A8; font-size: 13px;
}
.mc-phone-box-divider::before,
.mc-phone-box-divider::after {
  content: ''; flex: 1; height: 1px; background: #dde3ea;
}
.mc-phone-box-tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 600; color: #1E3A50;
  transition: color 0.2s;
}
.mc-phone-box-tel:hover { color: #248c99; }
.mc-phone-box-tel i { font-size: 16px; color: #204f75; }
