/* OBLYTECH v1.9 — legacy The7 hero repair.
   Scope is deliberately narrow: only the first direct Elementor section of a
   legacy page is removed, and only if it is a The7 slider without an H1. The
   real page title/content remains in place; no Elementor data is changed. */
@supports selector(.obly-legacy-check:has(.obly-legacy-check-child)) {
  body.obly-editorial-system-v1.page:not(.home) #main .elementor[data-elementor-id] > .elementor-top-section:first-child:has(.elementor-widget-the7-slider):not(:has(h1)) {
    display: none !important;
  }
}

/* Generated fallback page titles become a clear, compact editorial lead-in
   after a broken slider is removed. */
body.obly-editorial-system-v1.page:not(.home) #main .obly-generated-h1 {
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(38px,5vw,68px) max(28px,calc((100vw - 1124px)/2)) !important;
  background: linear-gradient(120deg,#102A43 0%,#173F64 62%,#1463FF 100%) !important;
  color: #FFFFFF !important;
  font-size: clamp(2rem,4vw,3.35rem) !important;
  line-height: 1.12 !important;
}

@media (max-width:700px) {
  body.obly-editorial-system-v1.page:not(.home) #main .obly-generated-h1 {
    padding: 38px 20px !important;
  }
}
