/* Campus SVB - Fase 5: portada publicitaria compacta y WhatsApp m贸vil */
/* Selector con alcance p煤blico: no alterar vistas administrativas ni certificados. */
@media (max-width: 850px) {
  .svb-identity-intro {
    margin-top: 8px !important;
    margin-bottom: 24px !important;
    padding: clamp(20px, 4vw, 28px) 18px !important;
  }
  .svb-identity-copy h1 { margin-bottom: 12px !important; }
  .svb-identity-copy p { margin-bottom: 18px !important; }
  .main > header.topbar { gap: 8px 12px !important; padding-block: 10px !important; }
  .svb-whatsapp-float {
    right: 14px !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    padding: 12px !important;
    gap: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
  }
  .svb-whatsapp-float > span { display: none !important; }
  .svb-whatsapp-float > svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    flex: 0 0 28px !important;
  }
}
@media(max-width: 560px) {
  .svb-identity-intro { margin-top: 8px !important; margin-bottom: 20px !important; }
  .svb-identity-ctas { gap: 10px !important; }
  .svb-identity-ctas > a { min-height: 48px; }
}

/* SVB - Imagen del banner principal */

.svb-identity-intro {
    background-color: #e4f3fb !important;
    background-image:
        linear-gradient(
            90deg,
            rgba(228, 243, 251, 0.98) 0%,
            rgba(228, 243, 251, 0.92) 35%,
            rgba(228, 243, 251, 0.10) 75%
        ),
        url("svb-banner-principal-v2.webp") !important;

    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
}

/* Adaptación para celulares */
@media (max-width: 768px) {
    .svb-identity-intro {
        background-image:
            url("svb-banner-principal.webp") !important;

        background-size: 100% auto !important;
        background-position: center bottom !important;
        background-repeat: no-repeat !important;

        padding-bottom: 190px !important;
    }
}

/* SVB - Imagen del banner principal */

.svb-identity-intro {
    background-image:
        linear-gradient(
            90deg,
            rgba(228, 243, 251, 0.98) 0%,
            rgba(228, 243, 251, 0.90) 38%,
            rgba(228, 243, 251, 0.08) 75%
        ),
        url("svb-banner-principal.webp") !important;

    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
}

/* Versión móvil */
@media (max-width: 768px) {
    .svb-identity-intro {
        background-image:
            linear-gradient(
                180deg,
                rgba(228, 243, 251, 0.98) 0%,
                rgba(228, 243, 251, 0.98) 45%,
                rgba(228, 243, 251, 0.05) 75%
            ),
            url("svb-banner-principal.webp") !important;

        background-size: 100% auto !important;
        background-position: center bottom !important;
        background-repeat: no-repeat !important;
        padding-bottom: 190px !important;
    }
}
/* ============================================
   SVB - CORRECCIÓN BANNER PRINCIPAL
   Evitar que se utilice la imagen anterior
   ============================================ */

body .svb-identity-intro {
    background-color: #e4f3fb !important;

    background-image:
        linear-gradient(
            90deg,
            rgba(228, 243, 251, 0.98) 0%,
            rgba(228, 243, 251, 0.92) 35%,
            rgba(228, 243, 251, 0.10) 75%
        ),
        url("svb-banner-principal-v2.webp") !important;

    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
}
