/* qma-child/css/paginas/p-b299970aef.css: CSS que vivía en el contenido. Páginas: ver la opción qma_css_paginas. 23-oct-2026 */
.qma-hero-s2027 { width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
  background:linear-gradient(115deg,#060f1a 0%,#0d1321 35%,#111927 65%,#060f1a 100%);
  display:flex; justify-content:center; overflow:hidden; line-height:0; }
.qma-hero-s2027-img { width:1600px; max-width:100%; height:380px;
  background-image:url('https://qma.mx/wp-content/uploads/2026/08/sesion-priorizacion-2027-banner-1600x500-1.webp'); background-size:1600px auto; background-position:center; background-repeat:no-repeat; }
@media (max-width:1600px){ .qma-hero-s2027-img{ width:100%; height:320px; background-size:cover; } }
@media (max-width:900px){ .qma-hero-s2027-img{ height:auto; min-height:240px; background-size:cover; } }

.qma-hero-s2027-img { position:relative; }
.qma-hero-ovl { position:absolute; inset:0; display:flex; align-items:center; justify-content:flex-end;
  background:linear-gradient(270deg, rgba(6,15,26,.86) 0%, rgba(6,15,26,.62) 38%, rgba(6,15,26,.10) 68%, rgba(6,15,26,0) 100%); }
.qma-hero-ovl .qma-lfc-banner-overlay-inner { max-width:560px; padding:0 clamp(20px,4vw,56px); line-height:1.5; }
.qma-hero-kicker { font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:#D1DF48; margin:0 0 10px; font-weight:700; }
.qma-hero-titular { font-size:clamp(23px,2.9vw,36px); line-height:1.16; margin:0 0 12px; color:#fff; font-weight:700; text-shadow:0 2px 12px rgba(0,0,0,.55); }
.qma-hero-sub { font-size:clamp(14px,1.35vw,17px); line-height:1.5; margin:0; color:rgba(255,255,255,.92); max-width:52ch; text-shadow:0 1px 8px rgba(0,0,0,.5); }
@media (max-width:900px){
  .qma-hero-ovl { justify-content:flex-start; background:linear-gradient(180deg, rgba(6,15,26,.35) 0%, rgba(6,15,26,.88) 100%); }
  .qma-hero-ovl .qma-lfc-banner-overlay-inner { max-width:100%; }
}

/* --- overlay: especificidad alta para ganarle a las reglas de <p> del tema --- */
.qma-hero-ovl .qma-lfc-banner-overlay-inner { box-sizing:border-box; max-width:620px; padding:0 clamp(20px,4vw,56px); }
.qma-hero-ovl .qma-hero-kicker { font-size:13px; letter-spacing:.18em; text-transform:uppercase; color:#D1DF48; margin:0 0 12px; font-weight:800; line-height:1.2; }
.qma-hero-ovl .qma-hero-titular { font-size:clamp(27px,3.5vw,45px); line-height:1.12; margin:0 0 14px; color:#fff; font-weight:800; letter-spacing:-.01em; text-shadow:0 2px 14px rgba(0,0,0,.6); }
.qma-hero-ovl .qma-hero-sub { font-size:clamp(15px,1.5vw,19px); line-height:1.5; margin:0 0 16px; color:rgba(255,255,255,.94); max-width:50ch; text-shadow:0 1px 10px rgba(0,0,0,.55); }
@media (max-width:900px){
  .qma-hero-ovl { position:relative; justify-content:flex-start; padding:26px 0 30px;
    background:linear-gradient(180deg, rgba(6,15,26,.42) 0%, rgba(6,15,26,.90) 100%); }
  .qma-hero-ovl .qma-lfc-banner-overlay-inner { max-width:100%; }
  .qma-hero-ovl .qma-hero-sub { max-width:100%; }
}
.qma-mssp-wrap .qma-form-box { border:1px solid rgba(0,0,0,.12); border-radius:12px; padding:22px 24px; margin:8px 0 12px; }

/* En móvil el hero deja de ser full-bleed y vive dentro del contenedor:
   así el texto del banner nunca se corta, sin depender del overflow del tema. */
@media (max-width:900px){
  .qma-hero-p2027, .qma-hero-s2027 { width:auto; max-width:100%; position:static;
    left:auto; right:auto; margin-left:0; margin-right:0; border-radius:10px; }
}
