/* Daganatsebészet landing — page-scoped (.ol-page), Medicare brand palette */

body.subpage-fallback-t2:has(.ol-page) #fallbackSecBody.tpl-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--bg, #edf1f5) !important;
}

/* Body wrap ne szűkítsen — a tartalom a header --layout-* sávjához igazodik */
body.subpage-fallback-t2:has(.ol-page) #fallbackSecBody > .wrap {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.wp-import-content.wp-import-content--daganatsebeszet:has(.ol-page),
.wp-import-content:has(.ol-page) {
  max-width: none !important;
  padding: 0 !important;
}

/* Hero CTA: a 280px oszlop + nowrap levágta a feliratot */
body.subpage-fallback-t2:has(.ol-page) .pr-hero--subpage .pr-hero__title-row {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px) !important;
  align-items: center !important;
}

body.subpage-fallback-t2:has(.ol-page) .pr-hero--subpage .pr-hero__title-row .pr-hero__ctas,
body.subpage-fallback-t2:has(.ol-page) .pr-hero--subpage .pr-hero__title-row > .imported-composer-static {
  max-width: none !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.subpage-fallback-t2:has(.ol-page) .pr-hero--subpage .pr-hero__cta {
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.25 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.ol-page {
  --ol-navy: var(--navy, #1e3a50);
  --ol-navy-deep: var(--mc-topbar-base, #142536);
  --ol-brand: var(--brand, #4a8ea6);
  --ol-brand-dark: var(--brand-dark, #3a7a94);
  --ol-brand-light: var(--brand-light, #6bb3cc);
  --ol-pale: var(--brand-pale, #e8f4f8);
  --ol-ice: var(--brand-ice, #f2f8fa);
  --ol-text: var(--text, #2c3e50);
  --ol-mid: var(--text-mid, #5a6b7d);
  --ol-line: var(--border, #dbe2ea);
  --ol-radius: 20px;
  /* Ugyanaz a sáv, mint .mc-nav-inner / fejléc logó→EN */
  --ol-rail-max: var(--layout-max, 1680px);
  --ol-rail-pad: var(--layout-pad-x, clamp(14px, 4vw, 48px));
  color: var(--ol-text);
  font-family: Poppins, Montserrat, "Segoe UI", sans-serif;
  background: var(--bg, #edf1f5);
}

.ol-page * {
  box-sizing: border-box;
}

.ol-page a {
  text-decoration: none;
}

/* Fejléc-szélességű tartalomsáv (logó vége → EN gomb vége) */
.ol-intro,
.ol-proof,
.ol-section:not(.ol-section--band),
.ol-cta,
.ol-section--band > .ol-split,
.ol-section--band > .ol-section__head,
.ol-section--band > .ol-benefits,
.ol-section--band > .ol-video-split {
  width: 100% !important;
  max-width: min(var(--ol-rail-max), calc(100% - 2 * var(--ol-rail-pad))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--ol-rail-pad) !important;
  padding-right: var(--ol-rail-pad) !important;
  box-sizing: border-box !important;
}

/* Band: full-bleed háttér; a rail a belső wrapereken van (ne dupla pad!) */
.ol-section.ol-section--band {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ol-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--ol-pale);
  border: 1px solid rgba(74, 142, 166, 0.28);
  color: var(--ol-navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ol-title,
.ol-section__title {
  margin: 0 0 0.85rem;
  color: var(--ol-navy);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ol-cta__title {
  margin: 0 0 0.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ol-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
}

.ol-section__title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.ol-lead {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.7;
  color: var(--ol-text);
  max-width: 46rem;
}

.ol-lead--tight {
  margin-bottom: 0.85rem;
}

.ol-text {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ol-text);
}

.ol-text--muted,
.ol-docs__note {
  color: var(--ol-mid);
  font-size: 0.92rem;
}

.ol-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.75rem;
  align-items: center;
  padding: 2.75rem 0 2rem;
}

.ol-intro__media {
  margin: 0;
  border-radius: var(--ol-radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ol-navy-deep);
  box-shadow:
    0 4px 16px rgba(20, 37, 54, 0.1),
    0 28px 56px -24px rgba(20, 37, 54, 0.35);
}

.ol-intro__media img,
.ol-split__media img,
.ol-docs__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ol-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ol-btn:hover {
  transform: translateY(-1px);
}

/* .tpl-prose a / h2 felülírása — gombok és CTA szöveg mindig olvasható */
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn:visited,
.ol-page a.ol-btn,
.ol-page a.ol-btn:visited {
  text-decoration: none !important;
}

body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--primary,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--primary:visited,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--primary:hover,
.ol-page a.ol-btn--primary,
.ol-page a.ol-btn--primary:visited,
.wp-import-content a.ol-btn--primary {
  background: var(--ol-brand) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 10px 24px -12px rgba(74, 142, 166, 0.8);
}

body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--primary:hover,
.ol-page a.ol-btn--primary:hover {
  background: var(--ol-brand-dark) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--ghost,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--ghost:visited,
.ol-page a.ol-btn--ghost,
.wp-import-content a.ol-btn--ghost {
  background: #fff !important;
  color: var(--ol-navy) !important;
  -webkit-text-fill-color: var(--ol-navy) !important;
  border: 1px solid var(--ol-line);
}

body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--on-dark,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--on-dark:visited,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-page a.ol-btn--on-dark:hover,
.ol-page a.ol-btn--on-dark,
.wp-import-content a.ol-btn--on-dark {
  background: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.ol-page a.ol-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* CTA sávon a primary: fehér gomb + navy felirat (jobb kontraszt a sötét háttéren) */
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-cta a.ol-btn--primary,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-cta a.ol-btn--primary:visited,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-cta a.ol-btn--primary:hover,
.ol-cta a.ol-btn--primary {
  background: #ffffff !important;
  color: var(--ol-navy) !important;
  -webkit-text-fill-color: var(--ol-navy) !important;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35);
}

.ol-cta a.ol-btn--primary:hover {
  background: var(--ol-ice) !important;
  color: var(--ol-navy) !important;
  -webkit-text-fill-color: var(--ol-navy) !important;
}

/* Proof strip — not cards: open composition */
.ol-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 1.5rem;
  padding: 1.35rem 0;
  border-block: 1px solid var(--ol-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
}

.ol-proof__item {
  padding: 0.5rem 1.25rem;
  text-align: center;
}

.ol-proof__item + .ol-proof__item {
  border-left: 1px solid var(--ol-line);
}

.ol-proof__item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ol-navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ol-proof__item span {
  display: block;
  color: var(--ol-mid);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ol-section {
  padding: 2.75rem 0;
}

.ol-section--band {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background:
    linear-gradient(180deg, rgba(232, 244, 248, 0.65), rgba(242, 248, 250, 0.35));
  border-block: 1px solid rgba(74, 142, 166, 0.12);
}

.ol-section__head {
  margin-bottom: 1.5rem;
}

.ol-section__head--center {
  text-align: center;
}

.ol-section__sub {
  margin: 0;
  max-width: 36rem;
  color: var(--ol-mid);
  font-size: 1rem;
  line-height: 1.55;
}

.ol-section__head--center .ol-section__sub {
  margin-inline: auto;
}

.ol-procs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ol-proc {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 72px;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ol-line);
  color: var(--ol-navy) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.ol-proc:hover {
  border-color: rgba(74, 142, 166, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(30, 58, 80, 0.35);
}

.ol-proc--static {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ol-text);
  cursor: default;
}

.ol-proc__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.ol-proc__go {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ol-pale);
  color: var(--ol-brand);
  font-size: 0.8rem;
}

.ol-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.ol-split--flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.ol-split--flip .ol-split__copy {
  order: 1;
}

.ol-split--flip .ol-split__media {
  order: 2;
}

.ol-split__media {
  margin: 0;
  border-radius: var(--ol-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 40px -28px rgba(20, 37, 54, 0.45);
}

.ol-docs {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  padding: 1.25rem;
  border-radius: var(--ol-radius);
  background: #fff;
  border: 1px solid var(--ol-line);
  box-shadow: 0 18px 40px -30px rgba(20, 37, 54, 0.35);
}

.ol-docs__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ol-docs__tab {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ol-mid);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ol-docs__tab:hover {
  background: var(--ol-ice);
  color: var(--ol-navy);
}

.ol-docs__tab.is-active,
.ol-docs__tab[aria-selected="true"] {
  background: var(--ol-navy);
  color: #fff;
}

.ol-docs__panel {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
  animation: olFade 0.35s ease;
}

.ol-docs__panel[hidden] {
  display: none !important;
}

.ol-docs__photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ol-ice);
}

.ol-docs__photo img {
  object-position: top center;
}

.ol-docs__name {
  margin: 0 0 0.75rem;
  color: var(--ol-navy);
  font-size: 1.2rem;
  font-weight: 700;
}

.ol-docs__body p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ol-text);
}

.ol-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
}

.ol-benefits li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ol-line);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ol-navy);
  line-height: 1.4;
}

.ol-benefits i {
  margin-top: 0.15rem;
  color: var(--ol-brand);
  flex: 0 0 auto;
}

.ol-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.ol-info__block {
  padding: 0.25rem 0.15rem;
}

.ol-info__block h3 {
  margin: 0 0 0.65rem;
  color: var(--ol-navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.ol-info__block p,
.ol-info__block li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ol-text);
}

.ol-info__block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.ol-info__dense {
  columns: 1;
}

.ol-video-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem 2.75rem;
  align-items: center;
}

.ol-video-split__media {
  position: relative;
  margin: 0;
  border-radius: var(--ol-radius);
  overflow: hidden;
  background: var(--ol-navy-deep);
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 48px -20px rgba(20, 37, 54, 0.45);
}

.ol-video-split__poster {
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}

.ol-video-split__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
  transition: filter 0.25s ease, transform 0.35s ease;
}

.ol-video-split__poster:hover img {
  filter: brightness(0.68);
  transform: scale(1.03);
}

.ol-video-split__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ol-navy);
  font-size: 1.35rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ol-video-split__poster:hover .ol-video-split__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff;
}

.ol-video-split__play i {
  margin-left: 3px;
}

.ol-docs,
.ol-docs__panel,
.ol-docs__body {
  overflow: visible;
}

/* Videó popup — csak iframe (TikTok 9:16), a poster a helyén marad, nincs fehér keret */
.ol-video-modal[hidden] {
  display: none !important;
}

.ol-video-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: max(0.75rem, var(--ol-rail-pad, 24px));
  background: transparent;
}

.ol-video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(20, 37, 54, 0.78);
  cursor: pointer;
}

.ol-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(325px, calc(100vw - 2rem));
  background: transparent !important;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.ol-video-modal__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 37, 54, 0.92);
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ol-video-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: min(82vh, calc(min(325px, calc(100vw - 2rem)) * 16 / 9));
  max-height: 82vh;
  margin: 0 auto;
  background: #000 !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.ol-video-modal__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  display: block;
}

body.ol-video-modal-open {
  overflow: hidden;
}

.ol-cta {
  margin-top: 1rem;
  padding: 0 0 3.5rem;
}

.ol-cta__inner {
  padding: 2.5rem 2rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgb(25 50 74) 0%, rgb(32 79 117) 55%, rgb(58 122 148) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 56px -28px rgba(20, 37, 54, 0.55);
}

body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-cta__title,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-cta h2.ol-cta__title,
.ol-page .ol-cta__title,
.ol-cta__title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-cta__text,
body.subpage-fallback-t2 .tpl-prose.wp-import-content .ol-cta p.ol-cta__text,
.ol-page .ol-cta__text,
.ol-cta__text {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1rem;
  line-height: 1.55;
}

.ol-cta .ol-intro__actions {
  justify-content: center;
}

@keyframes olFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ol-reveal {
    animation: olFade 0.55s ease both;
  }

  .ol-proof {
    animation-delay: 0.08s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ol-btn:hover,
  a.ol-proc:hover {
    transform: none;
  }

  .ol-docs__panel,
  .ol-reveal {
    animation: none;
  }
}

@media (max-width: 960px) {
  .ol-intro,
  .ol-split,
  .ol-split--flip,
  .ol-docs,
  .ol-docs__panel,
  .ol-info,
  .ol-benefits,
  .ol-procs,
  .ol-video-split {
    grid-template-columns: 1fr;
  }

  .ol-split--flip .ol-split__copy,
  .ol-split--flip .ol-split__media {
    order: initial;
  }

  .ol-proof {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ol-proof__item + .ol-proof__item {
    border-left: 0;
    border-top: 1px solid var(--ol-line);
    padding-top: 1rem;
  }

  .ol-docs__tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ol-docs__tab {
    width: auto;
    flex: 1 1 auto;
    text-align: center;
  }

  .ol-docs__photo {
    max-width: 220px;
    margin-inline: auto;
  }

  .ol-intro__media,
  .ol-split__media {
    max-height: 360px;
  }
}

@media (max-width: 560px) {
  .ol-cta__inner {
    padding: 2rem 1.25rem;
  }

  body.subpage-fallback-t2:has(.ol-page) .pr-hero--subpage .pr-hero__title-row {
    grid-template-columns: 1fr !important;
  }
}
