/**
 * Migrált szakrendelés / specialty oldalak — .ms-* layout
 * Egy közös sablon-CSS minden ilyen oldalra (belgyogyaszat stb.).
 * Szélesség = globális .wrap (--layout-max / --layout-pad-x).
 */

.wp-import-content .ms-wrap {
  --ms-brand: #4a8ea6;
  --ms-brand-dark: #3a7a94;
  --ms-brand-light: #6bb3cc;
  --ms-brand-pale: #e8f4f8;
  --ms-navy: #1e3a50;
  --ms-text: #2c3e50;
  --ms-text-mid: #5a6b7d;
  --ms-text-soft: #8a99a8;
  --ms-border: #dbe2ea;
  --ms-bg: #edf1f5;
  --ms-bg-warm: #f5f7fa;
  --ms-white: #ffffff;
  --ms-radius: 14px;
  --ms-radius-lg: 20px;
  --ms-shadow: 0 8px 28px rgba(30, 58, 80, 0.08);
  /* Ugyanaz a sáv, mint a fejléc / .wrap */
  --ms-pad-x: var(--layout-pad-x, clamp(14px, 4vw, 48px));
  --ms-max: min(var(--layout-max, 1680px), calc(100vw - 2 * var(--ms-pad-x)));

  font-family: Poppins, Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ms-text);
  line-height: 1.6;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Belső tartalomsáv — fejléc-szélesség, reszponzív */
.wp-import-content .ms-wrap .ms-hero-inner,
.wp-import-content .ms-wrap .ms-meta-bar,
.wp-import-content .ms-wrap .ms-section,
.wp-import-content .ms-wrap .ms-info-banner,
.wp-import-content .ms-wrap .ms-footer-cta {
  width: 100%;
  max-width: var(--ms-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ms-pad-x);
  padding-right: var(--ms-pad-x);
  box-sizing: border-box;
}

.wp-import-content .ms-wrap *,
.wp-import-content .ms-wrap *::before,
.wp-import-content .ms-wrap *::after {
  box-sizing: border-box;
}

.wp-import-content .ms-wrap a {
  color: var(--ms-brand-dark);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.wp-import-content .ms-wrap a:hover {
  color: var(--ms-brand);
}

.wp-import-content .ms-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Ha van ms-wrap, a régi WPBakery maradék sorok (régen vc_hidden) ne jelenjenek meg */
.wp-import-content:has(.ms-wrap) > .content > article > .post_content > .vc_row:not(:has(.ms-wrap)),
.wp-import-content:has(.ms-wrap) .entry-content > .vc_row:not(:has(.ms-wrap)) {
  display: none !important;
}

/* A ms-wrap-ot tartalmazó VC sor ne kapjon felesleges gap/pad-ot */
.wp-import-content .vc_row:has(.ms-wrap),
.wp-import-content .wpb_row:has(.ms-wrap) {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.wp-import-content .vc_row:has(.ms-wrap) > .wpb_column,
.wp-import-content .vc_row:has(.ms-wrap) .vc_column-inner,
.wp-import-content .vc_row:has(.ms-wrap) .wpb_wrapper,
.wp-import-content .vc_row:has(.ms-wrap) .wpb_raw_html,
.wp-import-content .vc_row:has(.ms-wrap) .wpb_raw_code {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  float: none !important;
}

/* ---------- Hero (full-bleed háttér, belső sáv = site wrap) ---------- */
.wp-import-content .ms-hero {
  background: linear-gradient(135deg, #19324a 0%, #204f75 55%, #248c99 100%);
  color: #fff;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  width: 100%;
}

.wp-import-content .ms-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 340px);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

/* .tpl-prose sötét szövegszínei felülírása a sötét hero/CTA sávokon */
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .ms-hero :is(h1, h2, h3, h4, p, span, div, li, strong, b),
body.subpage-fallback-t1 .tpl-section--white .tpl-prose .ms-hero :is(h1, h2, h3, h4, p, span, div, li, strong, b),
body.subpage-fallback-t3 .tpl-section--white .tpl-prose .ms-hero :is(h1, h2, h3, h4, p, span, div, li, strong, b) {
  color: #fff !important;
}

body.subpage-fallback-t2 .tpl-section--white .tpl-prose .ms-hero .ms-hero-eyebrow,
body.subpage-fallback-t1 .tpl-section--white .tpl-prose .ms-hero .ms-hero-eyebrow,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose .ms-hero .ms-hero-eyebrow {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.subpage-fallback-t2 .tpl-section--white .tpl-prose .ms-hero .ms-hero-lead,
body.subpage-fallback-t1 .tpl-section--white .tpl-prose .ms-hero .ms-hero-lead,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose .ms-hero .ms-hero-lead {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.subpage-fallback-t2 .tpl-section--white .tpl-prose .ms-footer-cta :is(h1, h2, h3, h4, p, span, div, li, strong, b),
body.subpage-fallback-t1 .tpl-section--white .tpl-prose .ms-footer-cta :is(h1, h2, h3, h4, p, span, div, li, strong, b),
body.subpage-fallback-t3 .tpl-section--white .tpl-prose .ms-footer-cta :is(h1, h2, h3, h4, p, span, div, li, strong, b) {
  color: #fff !important;
}

body.subpage-fallback-t2 .tpl-section--white .tpl-prose .ms-footer-cta .copy p,
body.subpage-fallback-t1 .tpl-section--white .tpl-prose .ms-footer-cta .copy p,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose .ms-footer-cta .copy p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.wp-import-content .ms-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.wp-import-content .ms-hero-text h1,
.wp-import-content .ms-hero-text h2 {
  margin: 0 0 14px !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff !important;
}

.wp-import-content .ms-hero-lead {
  margin: 0 0 20px !important;
  font-size: clamp(15px, 1.5vw, 17px) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 38em;
}

.wp-import-content .ms-hero-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Csomagár + telefon a hero alján */
.wp-import-content .ms-price-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 0.65rem 1.15rem;
  backdrop-filter: blur(4px);
  min-width: 0;
}

.wp-import-content .ms-price-box .label {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0 0 2px;
}

.wp-import-content .ms-price-box .amount {
  font-size: clamp(22px, 2.4vw, 26px) !important;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.15;
  margin: 0;
}

.wp-import-content .ms-price-box .note {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.62) !important;
  margin: 3px 0 0;
  line-height: 1.35;
}

body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-phone,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-phone,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-phone,
.wp-import-content a.ms-btn-phone {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.35rem !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #1e3a50 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap;
  border: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-phone:hover,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-phone:hover,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-phone:hover,
.wp-import-content a.ms-btn-phone:hover {
  background: #e8f4f8 !important;
  color: #3a7a94 !important;
  transform: translateY(-1px);
}

/* Gombok — a .tpl-prose a { color: navy !important } felülírása */
body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-cta,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-cta,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-cta,
.wp-import-content a.ms-btn-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  color: #fff !important;
  background: #4a8ea6 !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
}

body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-cta:hover,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-cta:hover,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-cta:hover,
.wp-import-content a.ms-btn-cta:hover {
  background: #6bb3cc !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Második gomb: outline, fehér szöveg */
body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-cta:nth-child(2),
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-cta:nth-child(2),
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-cta:nth-child(2),
.wp-import-content a.ms-btn-cta:nth-child(2) {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #fff !important;
  box-shadow: none;
}

body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-cta:nth-child(2):hover,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-cta:nth-child(2):hover,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-cta:nth-child(2):hover,
.wp-import-content a.ms-btn-cta:nth-child(2):hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.wp-import-content .ms-hero-image {
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.08);
  align-self: stretch;
  min-height: 220px;
}

.wp-import-content .ms-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 220px;
  max-height: none;
}

@media (max-width: 860px) {
  .wp-import-content .ms-hero-inner {
    grid-template-columns: 1fr;
  }

  .wp-import-content .ms-hero-image {
    order: -1;
    min-height: 0;
    max-height: 200px;
  }

  .wp-import-content .ms-hero-image img {
    min-height: 160px;
    max-height: 200px;
  }
}

/* ---------- Meta bar ---------- */
.wp-import-content .ms-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 18px;
  padding-bottom: 8px;
  color: var(--ms-text-soft);
  font-size: 13px;
  font-weight: 500;
}

.wp-import-content .ms-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wp-import-content .ms-meta-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ms-brand);
  opacity: 0.7;
}

/* ---------- Sections ---------- */
.wp-import-content .ms-section {
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.wp-import-content .ms-section-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--ms-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.wp-import-content .ms-section-lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ms-text-mid);
  max-width: 52em;
}

.wp-import-content .ms-prose {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ms-text-mid);
}

/* ---------- Spec grid ---------- */
.wp-import-content .ms-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .wp-import-content .ms-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wp-import-content .ms-spec-grid {
    grid-template-columns: 1fr;
  }
}

.wp-import-content .ms-spec-item {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 16px 18px;
  box-shadow: var(--ms-shadow);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.wp-import-content .ms-spec-item:hover {
  border-color: var(--ms-brand-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 58, 80, 0.1);
}

.wp-import-content .ms-spec-item a {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ms-navy);
  line-height: 1.4;
}

.wp-import-content .ms-spec-item a:hover {
  color: var(--ms-brand-dark);
}

.wp-import-content .ms-spec-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ms-brand-pale);
  border-left: 3px solid var(--ms-brand);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ms-text-mid);
}

/* ---------- Complaint list (quiet numbered rows — clinic-grid look) ---------- */
.wp-import-content .ms-complaint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0.25rem 0 1.15rem;
  padding: 0;
  list-style: none;
  counter-reset: ms-complaint-step;
  border: none;
  background: none;
}

@media (max-width: 900px) {
  .wp-import-content .ms-complaint-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wp-import-content .ms-complaint-grid {
    grid-template-columns: 1fr;
  }
}

.wp-import-content .ms-complaint-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 0.15rem 0.5rem 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(30, 58, 80, 0.1);
  background: none;
  box-shadow: none;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #1e3a50;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.wp-import-content .ms-complaint-item:last-child {
  border-bottom-color: transparent;
}

.wp-import-content .ms-complaint-item::before {
  counter-increment: ms-complaint-step;
  content: counter(ms-complaint-step);
  flex: 0 0 1.15rem;
  width: 1.15rem;
  margin-top: 0.05em;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: #4a8ea6;
}

/* ---------- Steps (kép a boxban, cím alatta, hover flip) ---------- */
.wp-import-content .ms-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0.5rem 0 2rem;
  perspective: 1400px;
}

@media (max-width: 900px) {
  .wp-import-content .ms-steps {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

.wp-import-content .ms-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  aspect-ratio: auto;
  perspective: 1400px;
}

.wp-import-content .ms-step__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
  border-radius: 14px;
}

.wp-import-content .ms-step:hover .ms-step__inner,
.wp-import-content .ms-step:focus-within .ms-step__inner,
.wp-import-content .ms-step.is-flipped .ms-step__inner {
  transform: rotateY(180deg);
}

.wp-import-content .ms-step__face {
  position: absolute;
  inset: 0;
  padding: 22px 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--border, #dbe2ea);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30, 58, 80, 0.06);
  overflow: hidden;
}

.wp-import-content .ms-step__face--front {
  display: block;
  padding: 0;
  background-color: #e8f0f4;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wp-import-content .ms-step__face--back {
  background: #fff;
  transform: rotateY(180deg);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}

.wp-import-content .ms-step-num,
.wp-import-content .ms-step__hint {
  display: none !important;
}

.wp-import-content .ms-step__title,
.wp-import-content .ms-step > h3,
.wp-import-content .ms-step > h4 {
  margin: 0;
  font-family: Poppins, Montserrat, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  color: var(--navy, #1e3a50);
  line-height: 1.35;
  text-align: center;
}

.wp-import-content .ms-step__face h3,
.wp-import-content .ms-step__face h4 {
  display: none;
}

.wp-import-content .ms-step p,
.wp-import-content .ms-step {
  font-size: 14px;
  color: var(--text-mid, #5a6b7d);
  line-height: 1.55;
}

.wp-import-content .ms-step ul,
.wp-import-content .ms-step ol {
  margin: 0;
  padding-left: 1.15em;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wp-import-content .ms-step li {
  color: var(--text-mid, #5a6b7d);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.wp-import-content .ms-step ul ul {
  margin-top: 4px;
}

.wp-import-content .ms-step a {
  color: var(--brand, #4a8ea6);
  font-weight: 600;
  text-decoration: underline;
}

/* Mobil: nincs 3D rotate (üres fehér négyzet / backface bug) — tap váltja az oldalakat. */
@media (max-width: 900px) {
  .wp-import-content .ms-steps {
    max-width: 420px;
  }

  .wp-import-content .ms-step {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .wp-import-content .ms-step__title {
    order: -1;
  }

  .wp-import-content .ms-step__inner {
    aspect-ratio: 1 / 1;
    min-height: 220px;
    transform: none !important;
    transition: none;
    -webkit-transform-style: flat;
    transform-style: flat;
  }

  /* Hover / focus ne ragadjon be érintőn — csak .is-flipped. */
  .wp-import-content .ms-step:hover .ms-step__inner,
  .wp-import-content .ms-step:focus-within .ms-step__inner,
  .wp-import-content .ms-step.is-flipped .ms-step__inner {
    transform: none !important;
  }

  .wp-import-content .ms-step__face {
    position: absolute;
    inset: 0;
    transform: none !important;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .wp-import-content .ms-step__face--front {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    aspect-ratio: auto;
    min-height: 0;
  }

  .wp-import-content .ms-step__face--back {
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 16px 14px;
    align-items: flex-start;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wp-import-content .ms-step.is-flipped .ms-step__face--front {
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .wp-import-content .ms-step.is-flipped .ms-step__face--back {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .wp-import-content .ms-step__hint {
    display: block !important;
    order: 2;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--brand, #4a8ea6);
    text-align: center;
  }
}

@media (hover: hover) and (pointer: fine) {
  .wp-import-content .ms-step:hover .ms-step__inner {
    transform: rotateY(180deg);
  }
}

.wp-import-content .ms-info-banner {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(74, 142, 166, 0.12), rgba(74, 142, 166, 0.04));
  border: 1px solid rgba(74, 142, 166, 0.22);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ms-navy);
  font-weight: 500;
}

/* ---------- Lab params ---------- */
.wp-import-content .ms-params {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wp-import-content .ms-param {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ms-navy);
}

.wp-import-content .ms-param-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ms-brand);
  flex-shrink: 0;
}

.wp-import-content .ms-param a {
  color: inherit;
  font-weight: 600;
}

.wp-import-content .ms-param a:hover {
  color: var(--ms-brand-dark);
}

/* ---------- Exam cards (csomagtartalom) ---------- */
.wp-import-content .ms-exam-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .wp-import-content .ms-exam-grid {
    grid-template-columns: 1fr;
  }
}

.wp-import-content .ms-exam-card {
  position: relative;
  overflow: hidden;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: var(--ms-shadow);
}

.wp-import-content .ms-exam-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ms-brand);
}

.wp-import-content .ms-exam-card.blue::before {
  background: #0053a0;
}

.wp-import-content .ms-exam-card.amber::before {
  background: #d97706;
}

.wp-import-content .ms-exam-card.teal::before {
  background: #1a7a57;
}

.wp-import-content .ms-exam-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  background: var(--ms-brand-pale);
}

/* Üres ikonhelyek ne jelenjenek meg (nincs SVG / tartalom) */
.wp-import-content .ms-exam-icon:empty {
  display: none;
}

.wp-import-content .ms-exam-icon.blue {
  background: #e6f0fb;
}

.wp-import-content .ms-exam-icon.amber {
  background: #fef3e2;
}

.wp-import-content .ms-exam-icon.teal {
  background: #e6f5ef;
}

.wp-import-content .ms-exam-card h3 {
  margin: 0 0 0.4rem;
  font-size: 15px;
  font-weight: 700;
  color: var(--ms-navy);
  line-height: 1.3;
}

.wp-import-content .ms-exam-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ms-text-mid);
}

/* ---------- Disease list (quiet numbered rows — clinic-grid look) ---------- */
.wp-import-content .ms-disease-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  margin: 0.25rem 0 1.15rem;
  padding: 0;
  counter-reset: ms-disease-step;
  border: none;
  background: none;
}

.wp-import-content .ms-disease-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  height: auto;
  min-height: 0;
  gap: 0.45rem;
  background: none;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(30, 58, 80, 0.1);
  padding: 0.45rem 0.15rem 0.5rem 0;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #1e3a50;
  line-height: 1.4;
  box-shadow: none;
  box-sizing: border-box;
}

.wp-import-content .ms-disease-item:last-child {
  border-bottom-color: transparent;
}

.wp-import-content .ms-disease-item::before {
  counter-increment: ms-disease-step;
  content: counter(ms-disease-step);
  flex: 0 0 1.15rem;
  width: 1.15rem;
  margin-top: 0.05em;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: #4a8ea6;
  background: none;
}

.wp-import-content .ms-disease-item a {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.wp-import-content .ms-disease-item a:hover {
  color: #1e6b7a;
}

/* ---------- Praktikus tudnivalók ---------- */
.wp-import-content .ms-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.wp-import-content .ms-info-tile {
  background: var(--ms-bg-warm);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 0.85rem 1rem;
}

.wp-import-content .ms-info-tile .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-text-soft);
  margin-bottom: 4px;
}

.wp-import-content .ms-info-tile .val {
  font-size: 13.5px;
  color: var(--ms-navy);
  font-weight: 600;
  line-height: 1.4;
}

.wp-import-content .ms-info-tile .val a {
  color: inherit;
  font-weight: 600;
}

/* ---------- Promo card (Medicare Start) ----------
   Közvetlenül az .ms-wrap alatt van (nem a szekcióban),
   ezért külön kell a szekció-tartalom szélességére igazítani. */
.wp-import-content .ms-wrap > .ms-promo-card,
.wp-import-content .ms-promo-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  /* Ugyanakkora, mint a szekció belső tartalma (params / címek) */
  max-width: calc(var(--ms-max) - 2 * var(--ms-pad-x));
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  padding: 12px 16px 20px;
  box-sizing: border-box;
  border-radius: var(--ms-radius);
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  box-shadow: var(--ms-shadow);
  color: inherit !important;
}

.wp-import-content .ms-promo-card:hover {
  border-color: var(--ms-brand-light);
  transform: translateY(-2px);
}

.wp-import-content .ms-promo-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.wp-import-content .ms-promo-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ms-navy);
  line-height: 1.3;
}

.wp-import-content .ms-promo-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ms-text-mid);
  font-weight: 400;
}

@media (max-width: 560px) {
  .wp-import-content .ms-promo-card {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ — nincs nagy gradient box; a kérdések stílusa: wp-import-content.css (.ms-faq) ---------- */

/* ---------- Surgical list accordion (details + UL, közvetlen vagy nested) ---------- */
/* Csak FAQ-n kívüli listás details (műtéti lista). Az .ms-faq / .wp-import-faq
   pontok — akkor is, ha a válasz <ul> — a fehér FAQ stílust kapják. */
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul),
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) {
  margin: 14px 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(219, 226, 234, 0.6);
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > summary,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > summary {
  cursor: pointer;
  user-select: none;

  list-style: none;
  background: var(--navy, #1e3a50);
  color: #fff !important;

  padding: 16px 18px 16px 44px;
  font-family: Poppins, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;

  position: relative;
}

/* Nyitva se legyen navy szöveg a navy sávon (wp-import .ms-faq [open] felülírás) */
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul)[open] > summary,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul)[open] > summary {
  color: #fff !important;
  border-bottom: 0 !important;
  background: var(--navy, #1e3a50);
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > summary::-webkit-details-marker,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > summary::-webkit-details-marker {
  display: none;
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > summary::before,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > summary::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);

  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #fff;

  transition: transform 0.25s ease;
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul)[open] > summary::before,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul)[open] > summary::before {
  transform: translateY(-50%) rotate(180deg);
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > p,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > p {
  margin: 0;
  padding: 0;
  background: #fff;
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > ul,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > div,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > .ms-faq-answer {
  margin: 0;
  background: #fff;
  padding: 18px 18px 20px 40px;

  color: var(--ms-text-mid, #5a6b7d);
  line-height: 1.7;
  font-size: 14.5px;
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > div > ul {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > ul ul,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) ul ul {
  margin-top: 8px;
  padding-left: 18px;
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) a,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) a {
  color: var(--ms-brand-dark, #3a7a94);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(58, 122, 148, 0.35);
}

.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) a:hover,
.wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) a:hover {
  color: var(--ms-brand, #4a8ea6);
  border-bottom-color: rgba(74, 142, 166, 0.55);
}

.wp-import-content .ms-faq--categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0.5rem 0 1.25rem;
}

.wp-import-content .ms-faq--categories::before {
  content: none;
  display: none;
}

/* FAQ = Részletes beavatkozások kártya, de mindig teljes szélesség */
.wp-import-content .ms-faq.ms-faq--categories > details {
  margin: 0 !important;
  border: 1px solid rgba(74, 142, 166, 0.18) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #f4fafc 0%, #e8f4f8 100%) !important;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
}

.wp-import-content .ms-faq.ms-faq--categories > details:hover {
  border-color: rgba(74, 142, 166, 0.45) !important;
  box-shadow: 0 10px 24px rgba(74, 142, 166, 0.14) !important;
}

.wp-import-content .ms-faq.ms-faq--categories > details > summary,
.wp-import-content .ms-faq.ms-faq--categories > details[open] > summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px 14px 18px !important;
  min-height: 0;
  background: transparent !important;
  color: #1e3a50 !important;
  -webkit-text-fill-color: #1e3a50 !important;
  font-family: Poppins, Montserrat, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  border-bottom: 0 !important;
  position: relative;
}

.wp-import-content .ms-faq.ms-faq--categories > details > summary::-webkit-details-marker {
  display: none;
}

.wp-import-content .ms-faq.ms-faq--categories > details > summary::before,
.wp-import-content .ms-faq.ms-faq--categories > details[open] > summary::before {
  content: none !important;
  display: none !important;
}

.wp-import-content .ms-faq.ms-faq--categories > details > summary::after {
  content: '+' !important;
  flex-shrink: 0;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(74, 142, 166, 0.25) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #4a8ea6 !important;
  -webkit-text-fill-color: #4a8ea6 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1;
  transform: none !important;
}

.wp-import-content .ms-faq.ms-faq--categories > details[open] {
  background: #fff !important;
  border-color: rgba(74, 142, 166, 0.5) !important;
  box-shadow: 0 10px 28px rgba(30, 58, 80, 0.1) !important;
}

.wp-import-content .ms-faq.ms-faq--categories > details[open] > summary {
  background: #fff !important;
  border-bottom: 1px solid rgba(219, 226, 234, 0.9) !important;
  min-height: 0;
  color: #1e3a50 !important;
  -webkit-text-fill-color: #1e3a50 !important;
}

.wp-import-content .ms-faq.ms-faq--categories > details[open] > summary::after {
  content: '−' !important;
  background: #4a8ea6 !important;
  border-color: #4a8ea6 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: none !important;
}

.wp-import-content .ms-faq.ms-faq--categories > details > .ms-faq-answer,
.wp-import-content .ms-faq.ms-faq--categories > details > div {
  margin: 0 !important;
  padding: 14px 18px 18px !important;
  background: #fff !important;
  color: var(--ms-text-mid, #5a6b7d) !important;
}

.wp-import-content .ms-faq.ms-faq--categories > details ul {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.wp-import-content .ms-faq.ms-faq--categories > details a {
  color: var(--ms-brand-dark, #3a7a94);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(58, 122, 148, 0.35);
}

.wp-import-content .ms-faq.ms-faq--categories > details a:hover {
  color: var(--ms-brand, #4a8ea6);
  border-bottom-color: rgba(74, 142, 166, 0.55);
}

body.subpage-fallback-t2 .tpl-section--white .tpl-prose .ms-faq.ms-faq--categories > details > summary,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .ms-faq.ms-faq--categories > details[open] > summary {
  color: #1e3a50 !important;
  -webkit-text-fill-color: #1e3a50 !important;
  background: transparent !important;
}

.wp-import-content .ms-faq--procedures,
.wp-import-content .ms-proc-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 1.5rem 0 2.25rem;
}

.wp-import-content .ms-faq--procedures > .ms-faq-section-title,
.wp-import-content .ms-proc-section__title {
  margin: 0 0 2px;
  font-family: Poppins, Montserrat, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--navy, #1e3a50);
}

.wp-import-content .ms-proc-grid,
.wp-import-content .ms-proc-grid.ms-proc-grid--details,
.wp-import-content .ms-proc-grid.ms-proc-grid--toc {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 14px;
  align-items: stretch;
  margin: 0.75rem 0 1.5rem;
}

/* TOC / hiányos felsorolás → árlista-szerű linkkártyák */
.wp-import-content .ms-proc-tile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 16px 16px 16px 18px;
  background: linear-gradient(180deg, #f4fafc 0%, #e8f4f8 100%);
  border: 1px solid rgba(74, 142, 166, 0.18);
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--navy, #1e3a50) !important;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.wp-import-content .ms-proc-tile::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #4a8ea6 0%, #3a7388 100%);
  border-radius: 14px 0 0 14px;
  opacity: 0.85;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.wp-import-content .ms-proc-tile:hover,
.wp-import-content .ms-proc-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(74, 142, 166, 0.16);
  border-color: rgba(74, 142, 166, 0.45);
  background: linear-gradient(180deg, #fff 0%, #eaf6fa 100%);
  outline: none;
}

.wp-import-content .ms-proc-tile:hover::before,
.wp-import-content .ms-proc-tile:focus-visible::before {
  width: 4px;
  opacity: 1;
}

.wp-import-content .ms-proc-tile__title {
  font-family: Poppins, Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy, #1e3a50);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wp-import-content .ms-proc-tile__chev {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(74, 142, 166, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4a8ea6;
  font-size: 11px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.wp-import-content .ms-proc-tile:hover .ms-proc-tile__chev,
.wp-import-content .ms-proc-tile:focus-visible .ms-proc-tile__chev {
  transform: translateX(2px);
  background: #4a8ea6;
  color: #fff;
  border-color: #4a8ea6;
}

/* Részletes leírás kártyák (expandable) — ugyanaz a vizuális nyelv */
.wp-import-content .ms-proc-card {
  margin: 0 !important;
  border: 1px solid rgba(74, 142, 166, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #f4fafc 0%, #e8f4f8 100%);
  box-shadow: none;
  overflow: hidden;
  padding: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.wp-import-content .ms-proc-card:hover {
  border-color: rgba(74, 142, 166, 0.45);
  box-shadow: 0 10px 24px rgba(74, 142, 166, 0.14);
  transform: translateY(-2px);
}

.wp-import-content .ms-proc-card > .ms-proc-card__title {
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px 14px 18px;
  min-height: 0;
  background: transparent;
  color: var(--navy, #1e3a50) !important;
  font-family: Poppins, Montserrat, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  border-bottom: 0 !important;
  position: relative;
}

.wp-import-content .ms-proc-card > .ms-proc-card__title::-webkit-details-marker {
  display: none;
}

.wp-import-content .ms-proc-card > .ms-proc-card__title::before {
  content: none !important;
  display: none !important;
}

.wp-import-content .ms-proc-card > .ms-proc-card__title::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(74, 142, 166, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: #4a8ea6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-import-content .ms-proc-card[open] {
  background: #fff;
  border-color: rgba(74, 142, 166, 0.5);
  box-shadow: 0 10px 28px rgba(30, 58, 80, 0.1);
  grid-column: auto;
  transform: none;
}

.wp-import-content .ms-proc-card[open] > .ms-proc-card__title {
  color: var(--navy, #1e3a50) !important;
  background: #fff;
  border-bottom: 1px solid rgba(219, 226, 234, 0.9) !important;
  min-height: 0;
}

.wp-import-content .ms-proc-card[open] > .ms-proc-card__title::after {
  content: '−';
  background: #4a8ea6;
  border-color: #4a8ea6;
  color: #fff;
  transform: none;
}

.wp-import-content .ms-proc-card > .ms-proc-card__body {
  margin: 0 !important;
  padding: 14px 18px 18px !important;
  background: #fff !important;
  color: var(--ms-text-mid, #5a6b7d) !important;
  font-size: 14px;
  line-height: 1.7;
}

.wp-import-content .ms-proc-card > .ms-proc-card__body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px 0 0;
  border-radius: 8px;
}

@media (max-width: 680px) {
  .wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > summary,
  .wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > summary {
    padding-left: 40px;
  }

  .wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> ul) > ul,
  .wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > div,
  .wp-import-content :not(.ms-faq):not(.wp-import-faq) > details:has(> div > ul) > .ms-faq-answer {
    padding-left: 28px;
  }

  .wp-import-content .ms-proc-tile,
  .wp-import-content .ms-proc-card > .ms-proc-card__title {
    min-height: 0;
  }
}

/* ---------- Footer CTA ---------- */
.wp-import-content .ms-footer-cta {
  margin-top: clamp(40px, 5vw, 64px);
  margin-bottom: 28px;
  padding-top: clamp(24px, 3.5vw, 36px);
  padding-bottom: clamp(24px, 3.5vw, 36px);
  border-radius: var(--ms-radius-lg);
  background: linear-gradient(135deg, #19324a 0%, #204f75 60%, #248c99 100%);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.wp-import-content .ms-footer-cta .copy h2 {
  margin: 0 0 6px !important;
  font-size: clamp(20px, 2.4vw, 26px) !important;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.02em;
}

.wp-import-content .ms-footer-cta .copy p {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
}

.wp-import-content .ms-footer-cta .copy a {
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.wp-import-content .ms-footer-cta .ms-btn-blue,
.wp-import-content .ms-btn-blue,
body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-blue,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-blue,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-blue {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 13px 24px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #1e3a50 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  border: none !important;
}

.wp-import-content .ms-btn-blue:hover,
body.subpage-fallback-t1 .tpl-section--white .tpl-prose a.ms-btn-blue:hover,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose a.ms-btn-blue:hover,
body.subpage-fallback-t3 .tpl-section--white .tpl-prose a.ms-btn-blue:hover {
  background: #e8f4f8 !important;
  color: #3a7a94 !important;
  transform: translateY(-1px);
}

/* Full-bleed csak valódi specialty layoutnál (ms-hero), ne sima ms-wrap tartalomnál */
body.subpage-fallback-t2:has(.ms-hero) #fallbackSecBody > .wrap {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.subpage-fallback-t2:has(.ms-hero) #fallbackSecBody {
  padding-top: 0 !important;
}

/* Műtét / accordion oldalak: a hero meta után ne maradjon 64px üres sáv */
body.subpage-fallback-t2:has(.ms-wrap):not(:has(.ms-hero)) #fallbackSecBody,
body.subpage-fallback-t2:has(.ms-faq--categories):not(:has(.ms-hero)) #fallbackSecBody {
  padding-top: 20px !important;
}

body.subpage-fallback-t2:has(.ms-wrap):not(:has(.ms-hero)) #fallbackSecBody > .wrap,
body.subpage-fallback-t2:has(.ms-faq--categories):not(:has(.ms-hero)) #fallbackSecBody > .wrap {
  padding-top: 0;
}

.wp-import-content .ms-wrap > .ms-section:first-child {
  padding-top: 0;
}

.wp-import-content .ms-wrap > :is(h1, h2, h3, p):first-child,
.wp-import-content > :is(h1, h2, h3):first-child,
.wp-import-content .wp-import-flat > :is(h1, h2, h3):first-child {
  margin-top: 0;
}

body.subpage-fallback-t2:has(.ms-hero) .tpl-prose.wp-import-content {
  max-width: none !important;
}

/* Dupla hero elrejtése, ha az importált tartalomban már van ms-hero */
body.subpage-fallback-t2:has(.ms-hero) #fallbackSec1 {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .wp-import-content .ms-wrap a,
  .wp-import-content .ms-spec-item,
  .wp-import-content .ms-promo-card,
  .wp-import-content .ms-btn-cta,
  .wp-import-content .ms-btn-blue {
    transition: none;
  }
}

/* —— Daganatsebészet / onkosebészet page-scoped —— */
.wp-import-content--daganatsebeszet {
  --ms-onco-navy: #0e1b8d;
  --ms-onco-teal: #0d9488;
  --ms-onco-line: rgba(14, 27, 141, 0.12);
}

/* Media-row szövegoszlopban 1 oszlop (live-hez hasonló); specifikusság > globális toc 1fr. */
.wp-import-content.wp-import-content--daganatsebeszet .ms-proc-grid.ms-onco-proc {
  grid-template-columns: 1fr !important;
  gap: 10px;
  margin: 0.65rem 0 1.25rem;
}

.wp-import-content--daganatsebeszet .ms-proc-tile--static {
  cursor: default;
  background: #f7fafb;
  border-color: var(--ms-onco-line);
  box-shadow: none;
}

.wp-import-content--daganatsebeszet .ms-proc-tile--static:hover,
.wp-import-content--daganatsebeszet .ms-proc-tile--static:focus-visible {
  transform: none;
  border-color: var(--ms-onco-line);
  box-shadow: none;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  margin: 1rem 0 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--ms-onco-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 48%);
}

.wp-import-content--daganatsebeszet .ms-onco-doctors__tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors__tab {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors__tab:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--ms-onco-navy);
}

.wp-import-content--daganatsebeszet .ms-onco-doctors__tab.is-active,
.wp-import-content--daganatsebeszet .ms-onco-doctors__tab[aria-selected="true"] {
  background: var(--ms-onco-navy);
  color: #fff;
  border-color: var(--ms-onco-navy);
}

.wp-import-content--daganatsebeszet .ms-onco-doctors__panel {
  min-width: 0;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors__panel[hidden] {
  display: none !important;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors .wp-import-bio {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors .wp-import-bio__photo {
  margin: 0;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors .wp-import-bio__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}

.wp-import-content--daganatsebeszet .ms-onco-doctors .wp-import-bio__body > p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #334155;
}

.wp-import-content--daganatsebeszet .ms-onco-video {
  margin: 2.5rem 0 1rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--ms-onco-line);
}

.wp-import-content--daganatsebeszet .ms-onco-video__title {
  margin: 0 0 1rem;
  color: var(--ms-onco-navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
}

.wp-import-content--daganatsebeszet .ms-onco-video__frame {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: 720px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.wp-import-content--daganatsebeszet .ms-onco-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-import-content--daganatsebeszet .wp-import-media-row {
  margin-block: 1.5rem;
}

@media (max-width: 860px) {
  .wp-import-content--daganatsebeszet .ms-onco-doctors {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .wp-import-content--daganatsebeszet .ms-onco-doctors__tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .wp-import-content--daganatsebeszet .ms-onco-doctors__tab {
    width: auto;
    flex: 1 1 auto;
    text-align: center;
  }

  .wp-import-content--daganatsebeszet .ms-onco-doctors .wp-import-bio {
    grid-template-columns: 1fr;
  }

  .wp-import-content--daganatsebeszet .ms-onco-doctors .wp-import-bio__photo {
    max-width: 200px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-import-content--daganatsebeszet .ms-onco-doctors__tab {
    transition: none;
  }
}


