/* RoboMecs Industries Independent Hero V4.6
 * Clean, self-contained Hero component for the Industries Hub and all
 * individual Industry pages. It deliberately does NOT use any Solution hero
 * selector or Solution hub hero selector.
 */

.rm-industry-hero{
  position:relative;
  height:calc(100svh - var(--header));
  min-height:0;
  max-height:none;
  padding:0;
  overflow:hidden;
  isolation:isolate;
  background:#000047;
  color:#fff;
}
@supports(height:100dvh){
  .rm-industry-hero{height:calc(100dvh - var(--header))}
}
.rm-industry-hero__media{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden;
  background:#000047;
}
.rm-industry-hero__media img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.92) contrast(1.04);
}
.rm-industry-hero__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,0,71,.96) 0%,rgba(0,0,71,.87) 29%,rgba(0,0,71,.61) 50%,rgba(0,0,71,.18) 76%,rgba(0,0,71,.07) 100%),
    linear-gradient(0deg,rgba(0,0,71,.50) 0%,rgba(0,0,71,.08) 55%,rgba(0,0,71,.22) 100%);
}
.rm-industry-hero__inner{
  position:relative;
  z-index:2;
  height:100%;
}
.rm-industry-hero__copy{
  position:relative;
  width:min(1080px,100%);
  height:100%;
  box-sizing:border-box;
  padding:58px 0 var(--rm-hero-lower-reserve);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  overflow:hidden;
}
.rm-industry-hero--detail .rm-industry-hero__copy{width:min(1080px,100%)}
.rm-industry-hero--hub .rm-industry-hero__copy{width:min(880px,100%)}

/* V5.13.2 — Industry Hub desktop title clipping correction.
 * Keep mobile/tablet and all Industry detail Heroes unchanged. The Hub H1 uses
 * deliberate no-wrap title lines, so desktop gets a wider working column and
 * visible inner overflow. The outer Hero remains overflow:hidden. */
@media(min-width:881px){
  .rm-industry-hero--hub .rm-industry-hero__copy{
    width:min(1080px,100%);
    overflow:visible;
  }
}
.rm-industry-hero__breadcrumbs{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  margin:0 0 28px;
  color:rgba(255,255,255,.62);
  font-size:.72rem;
  line-height:1.3;
  font-weight:650;
}
.rm-industry-hero__breadcrumbs a{color:rgba(255,255,255,.78);transition:color .18s ease}
.rm-industry-hero__breadcrumbs a:hover{color:#fff}
.rm-industry-hero__breadcrumbs span[aria-current="page"]{color:#fff}
.rm-industry-hero__kicker{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  font-size:.68rem;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.rm-industry-hero__kicker>span{display:block;width:34px;height:3px;background:#c10a0a;flex:0 0 auto}
.rm-industry-hero__title{
  max-width:min(1080px,100%);
  margin:18px 0 22px;
  color:#fff;
  line-height:.96;
  letter-spacing:-.048em;
  font-weight:800;
  text-shadow:0 8px 28px rgba(0,0,40,.20);
  overflow-wrap:normal;
  word-break:normal;
}
.rm-industry-hero--detail .rm-industry-hero__title{font-size:clamp(3.2rem,4.55vw,5.55rem)}
.rm-industry-hero--hub .rm-industry-hero__title{font-size:clamp(4rem,5.7vw,6.8rem)}
.rm-industry-hero__intro{
  max-width:760px;
  margin:0;
  color:rgba(255,255,255,.90);
  font-size:clamp(1rem,1.08vw,1.13rem);
  line-height:1.68;
}
.rm-industry-hero__secondary{
  max-width:730px;
  margin:13px 0 0;
  color:rgba(255,255,255,.66);
  font-size:.88rem;
  line-height:1.62;
}
.rm-industry-hero__lower{width:min(780px,100%)!important}
.rm-industry-hero__actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.rm-industry-hero__text-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:rgba(255,255,255,.88);
  font-size:.83rem;
  font-weight:760;
  text-decoration:none;
}
.rm-industry-hero__text-link:hover{color:#fff}
.rm-industry-hero__points{
  width:100%;
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.15);
  display:flex;
  gap:12px 23px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.76);
  font-size:.72rem;
  line-height:1.35;
  font-weight:680;
}
.rm-industry-hero__points span{display:flex;align-items:center;gap:8px}
.rm-industry-hero__points i{display:block;width:5px;height:5px;border-radius:50%;background:#c10a0a;box-shadow:0 0 0 4px rgba(193,10,10,.14)}
.rm-industry-hero__badge{
  position:absolute;
  z-index:3;
  right:max(24px,calc((100vw - 1480px)/2));
  bottom:24px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:9px 11px 9px 13px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:9px;
  background:rgba(0,0,71,.74);
  backdrop-filter:blur(12px);
  color:#fff;
}
.rm-industry-hero__badge small{font-size:.61rem;letter-spacing:.10em;text-transform:uppercase;color:rgba(255,255,255,.68);font-weight:700}
.rm-industry-hero__badge strong{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:#c10a0a;font-size:.76rem}
.rm-industry-hero__placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
  padding:40px;
  background:#000047;
  color:#fff;
}
.rm-industry-hero__placeholder span{color:#ef3b3b;font-size:.72rem;font-weight:850}
.rm-industry-hero__placeholder strong{max-width:700px;font-size:2rem;line-height:1.05}

@media(min-width:881px) and (max-height:780px){
  .rm-industry-hero__copy{padding-top:30px}
  .rm-industry-hero__breadcrumbs{margin-bottom:16px}
  .rm-industry-hero__secondary{display:none}
  .rm-industry-hero__intro{line-height:1.45}
}

@media(max-width:880px){
  .rm-industry-hero__copy{width:min(760px,100%);padding-top:44px}
  .rm-industry-hero--hub .rm-industry-hero__copy{width:min(760px,100%)}
  .rm-industry-hero--detail .rm-industry-hero__title{font-size:clamp(2.9rem,7.6vw,4.25rem)}
  .rm-industry-hero--hub .rm-industry-hero__title{font-size:clamp(3rem,8vw,4.4rem)}
  .rm-industry-hero__badge{display:none}
}

/* Approved mobile standard: same compact 560px Hero height as the Blog pages.
 * Desktop behavior above is intentionally unchanged. */
@media(max-width:760px){
  .rm-industry-hero{
    height:560px;
    min-height:560px;
    max-height:560px;
  }
  .rm-industry-hero__copy{
    justify-content:flex-start;
    padding-top:42px;
    padding-bottom:var(--rm-hero-lower-reserve);
  }
  .rm-industry-hero__secondary{display:none}
  .rm-industry-hero__breadcrumbs{margin-bottom:14px;font-size:.66rem}
  .rm-industry-hero__kicker{font-size:.60rem;letter-spacing:.11em}
  .rm-industry-hero__title{margin:12px 0 14px;line-height:.96}
  .rm-industry-hero--detail .rm-industry-hero__title,
  .rm-industry-hero--hub .rm-industry-hero__title{font-size:clamp(2.2rem,10.2vw,3.15rem)}
  .rm-industry-hero__intro{max-width:620px;font-size:.90rem;line-height:1.50}
  .rm-industry-hero__points{margin-top:10px;padding-top:8px;gap:7px 14px;font-size:.66rem}
  .rm-industry-hero__actions{gap:12px}
}
@media(max-width:560px){
  .rm-industry-hero__copy{padding-top:30px}
  .rm-industry-hero__kicker{max-width:100%}
}

@media(prefers-reduced-motion:reduce){
  .rm-industry-hero__breadcrumbs a{transition:none}
}
