/* Medicare Sürgősségi Centrum — composed aloldal */
body.subpage-fallback-t2:has(.sc-page) #fallbackSecBody.tpl-section {
  padding-top: 28px !important;
  padding-bottom: 56px !important;
  background: #f3f6f9 !important;
}
.wp-import-content .sc-page,
#fallbackSecBody .sc-page {
  width: 100%;
  max-width: 100%;
  color: var(--text, #2c3e50);
}
.wp-import-content .sc-page h2,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page h2 {
  margin: 2.2rem 0 1rem !important;
  color: var(--navy, #1e3a50) !important;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  background: none !important;
}
.wp-import-content .sc-page h3,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page h3 {
  margin: 0 0 0.85rem !important;
  color: var(--navy, #1e3a50) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

/* Intro: szöveg + fotó */
.sc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 28px 36px;
  align-items: center;
  margin: 0 0 28px;
}
.sc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px !important;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f4f8;
  border: 1px solid rgba(74, 142, 166, 0.28);
  color: var(--navy, #1e3a50) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sc-lead {
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  color: var(--text, #2c3e50) !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 0 14px !important;
}
.sc-lead--soft {
  color: var(--text-mid, #5a6b7d) !important;
  font-size: 15.5px !important;
}
.sc-intro__media {
  margin: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(30, 58, 80, 0.1);
  box-shadow:
    0 4px 14px rgba(30, 58, 80, 0.08),
    0 24px 48px -20px rgba(30, 58, 80, 0.28);
  background: #fff;
  aspect-ratio: 1500 / 1160;
}
.sc-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
}

.sc-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 6px 0 10px;
}
.sc-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sc-contact__btn:hover {
  transform: translateY(-1px);
}
.sc-contact__btn--online {
  background: linear-gradient(135deg, #19324a 0%, #248c99 100%);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 10px 24px rgba(36, 140, 153, 0.28);
}
.sc-contact__btn--phone {
  background: #fff;
  color: var(--navy, #1e3a50) !important;
  -webkit-text-fill-color: var(--navy, #1e3a50) !important;
  border: 1.5px solid var(--border, #dbe2ea);
}
.sc-contact__btn--ghost {
  background: transparent;
  color: var(--navy, #1e3a50) !important;
  -webkit-text-fill-color: var(--navy, #1e3a50) !important;
  border: 1.5px solid var(--brand, #4a8ea6);
}
.sc-contact__hint {
  flex: 1 1 100%;
  margin: 2px 0 0 !important;
  font-size: 13px !important;
  color: var(--text-mid, #5a6b7d) !important;
  line-height: 1.5 !important;
}
.sc-badge {
  display: inline-block;
  margin: 14px 0 0 !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(74, 142, 166, 0.35);
  color: var(--navy, #1e3a50) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.sc-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid var(--border, #dbe2ea);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgb(30 58 80 / .07);
}
.sc-info__card {
  padding: 22px 24px 18px;
  border-right: 1px solid var(--border, #dbe2ea);
}
.sc-info__card:last-of-type { border-right: 0; }
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-info__card h2,
.sc-info__card h2 {
  margin: 0 0 10px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark, #3a7a94) !important;
}
.sc-info__card p {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: var(--text, #2c3e50) !important;
}
.sc-info__place {
  font-size: 16px !important;
  color: var(--navy, #1e3a50) !important;
}
.sc-info__note {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 12px 24px;
  background: #e8f4f8;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: var(--navy, #1e3a50) !important;
  border-top: 1px solid #d5e8ef;
}
.sc-ambulance {
  margin: 0 0 8px !important;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(74, 142, 166, 0.45);
  font-size: 15px !important;
  line-height: 1.65 !important;
}
.sc-ambulance a { font-weight: 700; color: var(--brand-dark, #3a7a94) !important; }

.sc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 12px;
}
.sc-col {
  border-radius: 18px;
  padding: 18px 18px 12px;
  border: 1px solid var(--border, #dbe2ea);
  background: #fff;
  box-shadow: 0 2px 10px rgb(30 58 80 / .05);
}
.sc-col--yes { box-shadow: inset 4px 0 0 #2f7a45, 0 2px 10px rgb(30 58 80 / .05); }
.sc-col--no { box-shadow: inset 4px 0 0 #a83a3a, 0 2px 10px rgb(30 58 80 / .05); }
.sc-col ul,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sc-col li,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page .sc-col li {
  position: relative;
  margin: 0 0 8px !important;
  padding: 0 0 0 22px !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  color: var(--text, #2c3e50) !important;
}
.sc-col--yes li::before,
.sc-col--no li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sc-col--yes li::before { background: #2f7a45; }
.sc-col--no li::before { background: #a83a3a; }
.sc-note {
  margin: 0 0 8px !important;
  font-size: 14.5px !important;
  font-weight: 600;
  color: var(--navy, #1e3a50) !important;
}

.sc-bg3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 8px;
}
.sc-bg3 article {
  background: #fff;
  border: 1px solid var(--border, #dbe2ea);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 8px rgb(30 58 80 / .05);
}
.sc-bg3 p {
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: var(--text-mid, #5a6b7d) !important;
}

/* Szolgáltatás menete — bal oldalon a kör, mellett a szöveg */
.sc-steps {
  list-style: none !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  display: grid;
  gap: 12px;
  max-width: none;
  counter-reset: none;
}
.sc-steps li {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center !important;
  margin: 0 !important;
  padding: 18px 32px 18px 18px !important;
  box-sizing: border-box !important;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border, #dbe2ea);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgb(30 58 80 / .04);
}
/* Prose / sc-page li padding ne nullázza a jobb oldalt */
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page .sc-steps > li,
.wp-import-content .sc-page .sc-steps > li,
#fallbackSecBody .sc-page .sc-steps > li {
  margin: 0 !important;
  padding: 18px 32px 18px 18px !important;
}
.sc-steps li::before { display: none !important; content: none !important; }
.sc-steps__n {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  border-radius: 50%;
  background: linear-gradient(135deg, #19324a 0%, #248c99 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  text-align: center !important;
  flex-shrink: 0;
}
.sc-steps li > div {
  text-align: left;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sc-steps strong {
  display: block;
  color: var(--navy, #1e3a50);
  font-size: 15.5px;
  margin-bottom: 4px;
}
.sc-steps p {
  margin: 0 0 6px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: var(--text-mid, #5a6b7d) !important;
}

/* Globális tipográfia ne írja felül a fehér számot */
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page .sc-steps__n,
.wp-import-content .sc-page .sc-steps__n,
#fallbackSecBody .sc-page .sc-steps__n {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* CTA gombok: prose link-szín ne írja felül (sötét szöveg a sötét gombon) */
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page .sc-contact__btn--online,
.wp-import-content .sc-page .sc-contact__btn--online,
#fallbackSecBody .sc-page .sc-contact__btn--online {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page .sc-contact__btn--phone,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page .sc-contact__btn--ghost,
.wp-import-content .sc-page .sc-contact__btn--phone,
.wp-import-content .sc-page .sc-contact__btn--ghost,
#fallbackSecBody .sc-page .sc-contact__btn--phone,
#fallbackSecBody .sc-page .sc-contact__btn--ghost {
  color: var(--navy, #1e3a50) !important;
  -webkit-text-fill-color: var(--navy, #1e3a50) !important;
}

body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-price,
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-price :is(h2, p, span, div, strong, b) {
  color: #fff !important;
}
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-price .sc-contact__btn--online {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-price .sc-contact__btn--phone {
  background: #fff !important;
  color: #1e3a50 !important;
  -webkit-text-fill-color: #1e3a50 !important;
}
.sc-price {
  margin: 8px 0 8px;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #19324a 0%, #204f75 55%, #248c99 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(25, 50, 74, 0.22);
}
.sc-price h2 { color: #fff !important; margin-top: 0 !important; margin-bottom: 10px !important; }
.sc-price p {
  margin: 0 0 10px !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}
.sc-price__sum {
  font-size: clamp(1.9rem, 3.2vw, 2.55rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.03em;
  margin: 0 0 14px !important;
}
.sc-price .sc-cta-row { margin-top: 16px; }
.sc-price .sc-contact__btn--phone {
  background: #fff !important;
  color: #1e3a50 !important;
  border: none;
}
.sc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

@media (max-width: 980px) {
  .sc-intro { grid-template-columns: 1fr; }
  .sc-intro__media { order: -1; max-height: 360px; }
  .sc-info, .sc-bg3, .sc-split { grid-template-columns: 1fr; }
  .sc-info__card { border-right: 0; border-bottom: 1px solid var(--border, #dbe2ea); }
}
@media (max-width: 640px) {
  .sc-steps li,
  body.subpage-fallback-t2 .tpl-section--white .tpl-prose .sc-page .sc-steps > li,
  .wp-import-content .sc-page .sc-steps > li,
  #fallbackSecBody .sc-page .sc-steps > li {
    padding: 16px 28px 16px 14px !important;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }
  .sc-steps__n {
    width: 40px;
    height: 40px;
  }
  .sc-contact__btn,
  .sc-cta-row .sc-contact__btn {
    flex: 1 1 100%;
  }
  .sc-intro__media { max-height: 280px; }
}
