/* Matea review round 8 — pre-paint editorial hero and reversible premium motion. */
.matea-hero-final {
  min-height: calc(100svh + 44px) !important;
  padding-top: 52px !important;
  padding-bottom: 126px !important;
}
.matea-hero-final > .container {
  margin-block: 0 !important;
  margin-inline: auto !important;
}
.matea-hero-final .hero-grid {
  align-items: start !important;
}
.matea-hero-final .hero-copy-block {
  width: 100%;
  max-width: 1080px;
}
.matea-hero-final .eyebrow {
  display: grid !important;
  grid-template-columns: 32px minmax(0,1fr);
  align-items: center !important;
  column-gap: 16px !important;
  width: min(100%,780px) !important;
  max-width: none !important;
  text-wrap: balance;
}
.matea-hero-final .eyebrow::before {
  width: 32px !important;
  align-self: center !important;
  transform: translateY(-1px);
}
.map-panel-support .map-avatar,
.lead-card-support .avatar img {
  object-position: 50% 32% !important;
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.matea-motion-disabled) .matea-hero-final .eyebrow { animation: matea-r8-rise .44s cubic-bezier(.22,.8,.28,1) both !important; }
  html:not(.matea-motion-disabled) .matea-hero-final h1 { animation: matea-r8-rise .52s .045s cubic-bezier(.22,.8,.28,1) both !important; }
  html:not(.matea-motion-disabled) .matea-hero-final .hero-copy { animation: matea-r8-rise .48s .10s cubic-bezier(.22,.8,.28,1) both !important; }
  html:not(.matea-motion-disabled) .matea-hero-final .hero-actions { animation: matea-r8-rise .44s .16s cubic-bezier(.22,.8,.28,1) both !important; }
  html:not(.matea-motion-disabled) .nav-panel.matea-menu-v5 .nav-links a {
    transform: translateY(6px);
    transition: opacity .20s ease, transform .22s cubic-bezier(.22,.8,.28,1) !important;
  }
  html:not(.matea-motion-disabled) .is-menu-open .nav-panel.matea-menu-v5 .nav-links a { transform: translateY(0); }
  html:not(.matea-motion-disabled) .matea-candidate-v5 .map-panel.matea-panel-enter { animation: matea-r8-panel .25s cubic-bezier(.22,.8,.28,1) both !important; }
}
@keyframes matea-r8-rise {
  from { opacity:0; transform:translateY(9px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes matea-r8-panel {
  from { opacity:.28; transform:translateY(5px); }
  to { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .matea-hero-final .eyebrow,
  .matea-hero-final h1,
  .matea-hero-final .hero-copy,
  .matea-hero-final .hero-actions,
  .nav-panel.matea-menu-v5 .nav-links a,
  .matea-candidate-v5 .map-panel {
    animation:none !important;
    transition:none !important;
    transform:none !important;
    opacity:1 !important;
  }
}
html.matea-motion-disabled .matea-hero-final .eyebrow,
html.matea-motion-disabled .matea-hero-final h1,
html.matea-motion-disabled .matea-hero-final .hero-copy,
html.matea-motion-disabled .matea-hero-final .hero-actions,
html.matea-motion-disabled .nav-panel.matea-menu-v5 .nav-links a,
html.matea-motion-disabled .matea-candidate-v5 .map-panel {
  animation:none !important;
  transition:none !important;
  transform:none !important;
  opacity:1 !important;
}
@media (max-width:980px) {
  .matea-hero-final {
    min-height:calc(100svh + 62px) !important;
    align-items:flex-start !important;
    padding-top:88px !important;
    padding-bottom:140px !important;
  }
  .matea-hero-final .hero-grid {
    align-items:start !important;
  }
  .matea-hero-final .eyebrow {
    max-width:39ch !important;
  }
}
@media (max-width:520px) {
  .matea-hero-final {
    min-height:calc(100svh + 74px) !important;
    padding-top:84px !important;
    padding-bottom:146px !important;
  }
  .matea-hero-final .eyebrow {
    grid-template-columns:30px minmax(0,1fr);
    column-gap:15px !important;
    max-width:37ch !important;
  }
  .matea-hero-final .eyebrow::before {
    width:30px !important;
  }
}
@media (max-width:390px) {
  .matea-hero-final {
    min-height:calc(100svh + 68px) !important;
    padding-top:80px !important;
    padding-bottom:140px !important;
  }
  .matea-hero-final .eyebrow {
    max-width:35ch !important;
  }
}
