/* RoboMecs P4B.3J RevD — V6.4.31
   ONE authoritative commercial image-Hero implementation.
   Visual reference: approved Home Hero.
   Scope: .rm-unified-hero only (Solutions / Services / Industries hubs + details).
   Home and Blogs are intentionally untouched. */

.rm-unified-hero {
  --rm-hero-content: 1536px;
  --rm-hero-pad-inline: 40px;
  --rm-hero-top: 48px;
  --rm-hero-actions-bottom: 48px;
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  width: 100% !important;
  min-height: calc(100svh - 88px) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000047 !important;
  color: #fff !important;
}

/* Full-bleed Hero media: one treatment for hub + detail pages. */
.rm-unified-hero .solutions-hub-hero-media,
.rm-unified-hero .service-hero-media,
.rm-unified-hero .solution-hero-media,
.rm-unified-hero .rm-industry-hero__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #000047 !important;
}

.rm-unified-hero .solutions-hub-hero-media img,
.rm-unified-hero .service-hero-media img,
.rm-unified-hero .solution-hero-media img,
.rm-unified-hero .rm-industry-hero__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform-origin: center center;
  animation: rmHomeAlignedHeroMediaIn 1.15s cubic-bezier(.2,.72,.2,1) both;
}

/* Neutralize family-specific overlays and use one Home-like readability layer. */
.rm-unified-hero .service-hero-overlay,
.rm-unified-hero .rm-industry-hero__overlay {
  background: transparent !important;
  opacity: 0 !important;
}

.rm-unified-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0,0,71,.94) 0%,
      rgba(0,0,71,.86) 30%,
      rgba(0,0,71,.66) 53%,
      rgba(0,0,71,.34) 76%,
      rgba(0,0,71,.18) 100%),
    linear-gradient(180deg, rgba(0,0,36,.18) 0%, rgba(0,0,36,.04) 54%, rgba(0,0,36,.28) 100%);
}

/* Wide Home-like content grid. Reset old family padding/centering completely. */
.rm-unified-hero > .container,
.rm-unified-hero .solutions-hub-hero-layout,
.rm-unified-hero .service-hero-inner,
.rm-unified-hero .rm-industry-hero__inner {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  width: min(var(--rm-hero-content), calc(100% - (var(--rm-hero-pad-inline) * 2))) !important;
  max-width: var(--rm-hero-content) !important;
  min-height: calc(100svh - 88px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.rm-unified-hero .solution-hero-shell {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rm-unified-hero .solutions-hub-copy,
.rm-unified-hero .service-hero-copy,
.rm-unified-hero .solution-hero-copy,
.rm-unified-hero .rm-industry-hero__copy {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  align-self: flex-start !important;
  display: block !important;
  width: 100% !important;
  max-width: 1340px !important;
  min-height: calc(100svh - 88px) !important;
  height: auto !important;
  inset: auto !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: var(--rm-hero-top) 0 150px !important;
  color: #fff !important;
  text-align: start !important;
}

/* Breadcrumb position/size: one standard. */
.rm-unified-hero .solution-breadcrumbs,
.rm-unified-hero .service-breadcrumbs,
.rm-unified-hero .rm-industry-hero__breadcrumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: max-content;
  max-width: 100%;
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.74) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  animation: rmHomeAlignedHeroCopyIn .58s .08s cubic-bezier(.2,.72,.2,1) both;
}

.rm-unified-hero .solution-breadcrumbs a,
.rm-unified-hero .service-breadcrumbs a,
.rm-unified-hero .rm-industry-hero__breadcrumbs a,
.rm-unified-hero .solution-breadcrumbs span,
.rm-unified-hero .service-breadcrumbs span,
.rm-unified-hero .rm-industry-hero__breadcrumbs span {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
}

.rm-unified-hero .solution-breadcrumbs a:hover,
.rm-unified-hero .service-breadcrumbs a:hover,
.rm-unified-hero .rm-industry-hero__breadcrumbs a:hover {
  color: #fff !important;
}

/* Kicker / eyebrow = same scheme on every commercial Hero. */
.rm-unified-hero .solution-kicker,
.rm-unified-hero .service-kicker,
.rm-unified-hero .rm-industry-hero__kicker {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.94) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  animation: rmHomeAlignedHeroCopyIn .58s .16s cubic-bezier(.2,.72,.2,1) both;
}

.rm-unified-hero .solution-kicker::before,
.rm-unified-hero .rm-industry-hero__kicker > span:first-child,
.rm-unified-hero .service-kicker .rm-hero-kicker-line {
  content: "";
  display: block !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #c10a0a !important;
  opacity: 1 !important;
}

.rm-unified-hero .service-kicker::before {
  content: none !important;
  display: none !important;
}

.rm-unified-hero .service-kicker .rm-hero-kicker-text {
  display: inline !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Home-like large H1 scale. Manual .rm-hero-title-line breaks remain authoritative. */
.rm-unified-hero h1,
.rm-unified-hero .rm-industry-hero__title {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: #fff !important;
  background: none !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  font-size: clamp(72px, 5.42vw, 104px) !important;
  line-height: .96 !important;
  letter-spacing: -.05em !important;
  font-weight: 800 !important;
  text-wrap: balance;
}

.rm-unified-hero .rm-hero-title-line {
  display: block !important;
  width: max-content;
  max-width: 100%;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  animation: rmHomeAlignedHeroTitleIn .66s cubic-bezier(.16,.76,.2,1) both;
}
.rm-unified-hero .rm-hero-title-line:nth-child(1) { animation-delay: .22s; }
.rm-unified-hero .rm-hero-title-line:nth-child(2) { animation-delay: .30s; }
.rm-unified-hero .rm-hero-title-line:nth-child(3) { animation-delay: .38s; }

/* Supporting copy stays narrower like Home even when the H1 is wide. */
.rm-unified-hero .solutions-hub-copy > p,
.rm-unified-hero .service-hero-copy > p,
.rm-unified-hero .solution-hero-intro,
.rm-unified-hero .rm-industry-hero__intro {
  max-width: 760px !important;
  margin: 0 0 12px !important;
  color: rgba(255,255,255,.90) !important;
  font-size: 18px !important;
  line-height: 1.58 !important;
  font-weight: 400 !important;
  animation: rmHomeAlignedHeroCopyIn .62s .48s cubic-bezier(.2,.72,.2,1) both;
}

.rm-unified-hero .solution-hero-secondary,
.rm-unified-hero .rm-industry-hero__secondary,
.rm-unified-hero .solutions-hub-secondary {
  max-width: 760px !important;
  margin: 0 0 16px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
  animation: rmHomeAlignedHeroCopyIn .62s .56s cubic-bezier(.2,.72,.2,1) both;
}

.rm-unified-hero .solutions-hub-hero-lower,
.rm-unified-hero .service-hero-actions,
.rm-unified-hero .solution-hero-lower,
.rm-unified-hero .rm-industry-hero__lower {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: var(--rm-hero-actions-bottom) !important;
  z-index: 4 !important;
  margin: 0 !important;
  animation: rmHomeAlignedHeroCopyIn .62s .66s cubic-bezier(.2,.72,.2,1) both;
}

.rm-unified-hero .solution-hero-points,
.rm-unified-hero .rm-industry-hero__points {
  color: rgba(255,255,255,.82) !important;
}

.rm-unified-hero .service-anchor,
.rm-unified-hero .solution-text-link,
.rm-unified-hero .rm-industry-hero__text-link,
.rm-unified-hero .solutions-hub-anchor {
  color: #fff !important;
}

.rm-unified-hero .rm-industry-hero__badge {
  z-index: 3 !important;
}

@keyframes rmHomeAlignedHeroMediaIn {
  from { opacity: 0; transform: scale(1.045); filter: saturate(.88); }
  to   { opacity: 1; transform: scale(1); filter: saturate(1); }
}
@keyframes rmHomeAlignedHeroCopyIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rmHomeAlignedHeroTitleIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

html[dir="rtl"] .rm-unified-hero .solutions-hub-hero-lower,
html[dir="rtl"] .rm-unified-hero .service-hero-actions,
html[dir="rtl"] .rm-unified-hero .solution-hero-lower,
html[dir="rtl"] .rm-unified-hero .rm-industry-hero__lower {
  right: 0 !important;
  left: auto !important;
}

/* RTL: same geometry, Arabic-safe typography. */
html[dir="rtl"] .rm-unified-hero .solution-kicker,
html[dir="rtl"] .rm-unified-hero .service-kicker,
html[dir="rtl"] .rm-unified-hero .rm-industry-hero__kicker {
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[dir="rtl"] .rm-unified-hero h1,
html[dir="rtl"] .rm-unified-hero .rm-industry-hero__title {
  font-size: clamp(66px, 5vw, 96px) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}
html[dir="rtl"] .rm-unified-hero .rm-hero-title-line {
  width: auto !important;
}

@media (max-width: 1180px) {
  .rm-unified-hero {
    --rm-hero-pad-inline: 28px;
    --rm-hero-top: 44px;
    --rm-hero-actions-bottom: 42px;
    min-height: calc(100svh - 82px) !important;
  }
  .rm-unified-hero > .container,
  .rm-unified-hero .solutions-hub-hero-layout,
  .rm-unified-hero .service-hero-inner,
  .rm-unified-hero .rm-industry-hero__inner {
    min-height: calc(100svh - 82px) !important;
  }
  .rm-unified-hero .solutions-hub-copy,
  .rm-unified-hero .service-hero-copy,
  .rm-unified-hero .solution-hero-copy,
  .rm-unified-hero .rm-industry-hero__copy {
    max-width: 1120px !important;
    min-height: calc(100svh - 82px) !important;
    padding-bottom: 138px !important;
  }
  .rm-unified-hero h1,
  .rm-unified-hero .rm-industry-hero__title {
    max-width: 1080px !important;
    font-size: clamp(62px, 7.2vw, 86px) !important;
  }
}

@media (max-width: 720px) {
  .rm-unified-hero {
    --rm-hero-pad-inline: 20px;
    --rm-hero-top: 32px;
    --rm-hero-actions-bottom: 0px;
    min-height: 640px !important;
  }
  .rm-unified-hero::before {
    background:
      linear-gradient(90deg, rgba(0,0,71,.93) 0%, rgba(0,0,71,.82) 74%, rgba(0,0,71,.68) 100%),
      linear-gradient(180deg, rgba(0,0,36,.10), rgba(0,0,36,.30));
  }
  .rm-unified-hero > .container,
  .rm-unified-hero .solutions-hub-hero-layout,
  .rm-unified-hero .service-hero-inner,
  .rm-unified-hero .rm-industry-hero__inner {
    min-height: 640px !important;
  }
  .rm-unified-hero .solutions-hub-copy,
  .rm-unified-hero .service-hero-copy,
  .rm-unified-hero .solution-hero-copy,
  .rm-unified-hero .rm-industry-hero__copy {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: var(--rm-hero-top) 0 38px !important;
  }
  .rm-unified-hero .solutions-hub-hero-lower,
  .rm-unified-hero .service-hero-actions,
  .rm-unified-hero .solution-hero-lower,
  .rm-unified-hero .rm-industry-hero__lower,
  html[dir="rtl"] .rm-unified-hero .solutions-hub-hero-lower,
  html[dir="rtl"] .rm-unified-hero .service-hero-actions,
  html[dir="rtl"] .rm-unified-hero .solution-hero-lower,
  html[dir="rtl"] .rm-unified-hero .rm-industry-hero__lower {
    position: static !important;
    inset: auto !important;
    margin-top: 28px !important;
  }
  .rm-unified-hero .solution-breadcrumbs,
  .rm-unified-hero .service-breadcrumbs,
  .rm-unified-hero .rm-industry-hero__breadcrumbs {
    margin-bottom: 16px !important;
    font-size: 12px !important;
  }
  .rm-unified-hero .solution-kicker,
  .rm-unified-hero .service-kicker,
  .rm-unified-hero .rm-industry-hero__kicker {
    margin-bottom: 12px !important;
    gap: 9px !important;
    font-size: 10.5px !important;
  }
  .rm-unified-hero h1,
  .rm-unified-hero .rm-industry-hero__title,
  html[dir="rtl"] .rm-unified-hero h1,
  html[dir="rtl"] .rm-unified-hero .rm-industry-hero__title {
    max-width: 100% !important;
    font-size: clamp(42px, 11.2vw, 58px) !important;
    line-height: 1.00 !important;
    letter-spacing: -.035em !important;
    margin-bottom: 16px !important;
  }
  html[dir="rtl"] .rm-unified-hero h1,
  html[dir="rtl"] .rm-unified-hero .rm-industry-hero__title {
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }
  .rm-unified-hero .solutions-hub-copy > p,
  .rm-unified-hero .service-hero-copy > p,
  .rm-unified-hero .solution-hero-intro,
  .rm-unified-hero .rm-industry-hero__intro {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  .rm-unified-hero .solution-hero-secondary,
  .rm-unified-hero .rm-industry-hero__secondary,
  .rm-unified-hero .solutions-hub-secondary {
    max-width: 100% !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-unified-hero *,
  .rm-unified-hero *::before,
  .rm-unified-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================\n   P4B.3L V6.4.33 — Blog Hero adapter\n   Applies the approved Services/commercial Hero visual system to Blog hub and\n   Blog article Heroes without changing Home, CTA/footer, EIA or article body.\n   ========================================================================== */

.blog-index-hero,
.blog-article-hero {
  --rm-hero-content: 1536px;
  --rm-hero-pad-inline: 40px;
  --rm-hero-top: 48px;
  --rm-hero-actions-bottom: 48px;
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  width: 100% !important;
  min-height: calc(100svh - 88px) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000047 !important;
  color: #fff !important;
}

.blog-index-media,
.blog-article-hero-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #000047 !important;
}

.blog-index-media img,
.blog-article-hero-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform-origin: center center;
  animation: rmHomeAlignedHeroMediaIn 1.15s cubic-bezier(.2,.72,.2,1) both;
}

.blog-index-hero .blog-hero-overlay,
.blog-article-hero .blog-hero-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

/* Remove the old Blog-only decorative/ghost title treatment. */
.blog-index-hero::after,
.blog-article-hero::after,
.blog-index-hero-inner::before,
.blog-index-hero-inner::after,
.blog-article-hero-inner::before,
.blog-article-hero-inner::after {
  content: none !important;
  display: none !important;
}

.blog-index-hero::before,
.blog-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block !important;
  background:
    linear-gradient(90deg,
      rgba(0,0,71,.94) 0%,
      rgba(0,0,71,.86) 30%,
      rgba(0,0,71,.66) 53%,
      rgba(0,0,71,.34) 76%,
      rgba(0,0,71,.18) 100%),
    linear-gradient(180deg, rgba(0,0,36,.18) 0%, rgba(0,0,36,.04) 54%, rgba(0,0,36,.28) 100%) !important;
}

.blog-index-hero-inner,
.blog-article-hero-inner {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  width: min(var(--rm-hero-content), calc(100% - (var(--rm-hero-pad-inline) * 2))) !important;
  max-width: var(--rm-hero-content) !important;
  min-height: calc(100svh - 88px) !important;
  margin: 0 auto !important;
  padding: var(--rm-hero-top) 0 150px !important;
  display: block !important;
  color: #fff !important;
  text-align: start !important;
}

.blog-breadcrumb {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: max-content;
  max-width: 100%;
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.74) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  animation: rmHomeAlignedHeroCopyIn .58s .08s cubic-bezier(.2,.72,.2,1) both;
}

.blog-breadcrumb a,
.blog-breadcrumb span {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
}
.blog-breadcrumb a:hover { color: #fff !important; }

/* Replace Blog pill/category styling with the same red-line kicker used elsewhere. */
.blog-category {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: rgba(255,255,255,.94) !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  animation: rmHomeAlignedHeroCopyIn .58s .16s cubic-bezier(.2,.72,.2,1) both;
}
.blog-category::before {
  content: "";
  display: block !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #c10a0a !important;
  opacity: 1 !important;
}

.blog-index-hero h1,
.blog-article-hero h1 {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: #fff !important;
  background: none !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  font-size: clamp(72px, 5.42vw, 104px) !important;
  line-height: .96 !important;
  letter-spacing: -.05em !important;
  font-weight: 800 !important;
  text-wrap: balance;
  animation: rmHomeAlignedHeroTitleIn .66s .22s cubic-bezier(.16,.76,.2,1) both;
}

/* Editorial exception: long article titles keep the same system but use a safe cap. */
.blog-article-hero h1 {
  max-width: 1240px !important;
  font-size: clamp(64px, 4.8vw, 92px) !important;
  line-height: .98 !important;
}

.blog-index-hero-inner > p,
.blog-article-hero-inner > p {
  max-width: 760px !important;
  margin: 0 0 12px !important;
  color: rgba(255,255,255,.90) !important;
  font-size: 18px !important;
  line-height: 1.58 !important;
  font-weight: 400 !important;
  animation: rmHomeAlignedHeroCopyIn .62s .48s cubic-bezier(.2,.72,.2,1) both;
}

/* Blog-specific information occupies the same lower anchor used by Hero actions. */
.blog-index-stats,
.blog-meta {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: var(--rm-hero-actions-bottom) !important;
  z-index: 4 !important;
  margin: 0 !important;
  animation: rmHomeAlignedHeroCopyIn .62s .66s cubic-bezier(.2,.72,.2,1) both;
}

.blog-index-stats {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 28px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 14px !important;
}
.blog-index-stats strong { color: #fff !important; }

.blog-meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 14px !important;
}

@media (max-width: 1180px) {
  .blog-index-hero,
  .blog-article-hero {
    --rm-hero-pad-inline: 28px;
    --rm-hero-top: 44px;
    --rm-hero-actions-bottom: 42px;
    min-height: calc(100svh - 82px) !important;
  }
  .blog-index-hero-inner,
  .blog-article-hero-inner {
    min-height: calc(100svh - 82px) !important;
    padding-bottom: 138px !important;
  }
  .blog-index-hero h1 { font-size: clamp(62px, 7.2vw, 86px) !important; }
  .blog-article-hero h1 { font-size: clamp(58px, 6.6vw, 78px) !important; }
}

@media (max-width: 720px) {
  .blog-index-hero,
  .blog-article-hero {
    --rm-hero-pad-inline: 20px;
    --rm-hero-top: 32px;
    --rm-hero-actions-bottom: 0px;
    min-height: 640px !important;
  }
  .blog-index-hero::before,
  .blog-article-hero::before {
    background:
      linear-gradient(90deg, rgba(0,0,71,.93) 0%, rgba(0,0,71,.82) 74%, rgba(0,0,71,.68) 100%),
      linear-gradient(180deg, rgba(0,0,36,.10), rgba(0,0,36,.30)) !important;
  }
  .blog-index-hero-inner,
  .blog-article-hero-inner {
    min-height: 640px !important;
    padding: var(--rm-hero-top) 0 38px !important;
  }
  .blog-breadcrumb {
    margin-bottom: 16px !important;
    font-size: 12px !important;
  }
  .blog-category {
    margin-bottom: 12px !important;
    gap: 9px !important;
    font-size: 10.5px !important;
  }
  .blog-index-hero h1,
  .blog-article-hero h1 {
    max-width: 100% !important;
    font-size: clamp(42px, 11.2vw, 58px) !important;
    line-height: 1 !important;
    letter-spacing: -.035em !important;
    margin-bottom: 16px !important;
  }
  .blog-index-hero-inner > p,
  .blog-article-hero-inner > p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  .blog-index-stats,
  .blog-meta {
    position: static !important;
    inset: auto !important;
    margin-top: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-index-hero *,
  .blog-index-hero *::before,
  .blog-index-hero *::after,
  .blog-article-hero *,
  .blog-article-hero *::before,
  .blog-article-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* P4B.3L RevC V6.4.36 — Blog Hero title scale and 70vw editorial width
   Match Blog Hero H1 scale to the approved commercial Hero system.
   Long article titles may naturally wrap to as many as four lines, but the text
   column is capped at 70% of the Hero viewport so it never consumes the full image. */
@media (min-width: 1181px) {
  .blog-index-hero h1,
  .blog-article-hero h1 {
    width: auto !important;
    max-width: min(70vw, 1320px) !important;
    font-size: clamp(72px, 5.42vw, 104px) !important;
    line-height: .96 !important;
    letter-spacing: -.05em !important;
    font-weight: 800 !important;
    text-wrap: balance !important;
  }

  html[dir="rtl"] .blog-index-hero h1,
  html[dir="rtl"] .blog-article-hero h1 {
    max-width: min(70vw, 1260px) !important;
    font-size: clamp(66px, 5vw, 96px) !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .blog-index-hero h1,
  .blog-article-hero h1 {
    max-width: 70vw !important;
    font-size: clamp(62px, 7.2vw, 86px) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
  }

  html[dir="rtl"] .blog-index-hero h1,
  html[dir="rtl"] .blog-article-hero h1 {
    max-width: 70vw !important;
    font-size: clamp(58px, 6.8vw, 80px) !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
  }
}
