@font-face {
    font-family: 'Vagspeed Chakra';
    src: url('fonts/chakra-petch-700.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Vagspeed Barlow Condensed';
    src: url('fonts/barlow-condensed-800.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'Vagspeed Inter';
    src: url('fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* ——— Banners permanentes Vagspeed: familia visual del banner BF 2026 ———
   Prefijo #et-content (contenedor del tema Mobimax) para ganar en
   especificidad a los estilos del tema, igual que banner-guia.css del BF. */
#et-content .vgs-pb {
    container: vgs-pb / inline-size;
    display: block;
    clear: both;
    /* Banda única a sangre, fundida en negro por los lados. */
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    font-family: 'Vagspeed Inter', Arial, sans-serif;
}
#et-content .vgs-pb *,
#et-content .vgs-pb *::before,
#et-content .vgs-pb *::after { box-sizing: border-box; }
#et-content .vgs-pb .vgs-pb-hero {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    min-height: clamp(470px, 32vw, 600px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #090b0e;
    color: #fff;
    text-align: left;
}
#et-content .vgs-pb .vgs-pb-photo {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 74%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}
#et-content .vgs-pb .vgs-pb-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #090b0e 0%, rgb(9 11 14 / 78%) 10%, rgb(9 11 14 / 8%) 34%, rgb(9 11 14 / 0%) 65%);
}
#et-content .vgs-pb .vgs-pb-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #090b0e 0%, rgb(9 11 14 / 65%) 5%, transparent 24%);
}
#et-content .vgs-pb .vgs-pb-content {
    position: relative;
    display: block;
    width: auto;
    /* Columna de texto de 720 px alineada con el contenedor de la página:
       padding izquierdo = (100vw − 1220)/2 y tope = ese padding + 760. A
       anchos grandes el padding simétrico estrangulaba el texto (a 1920 px
       dejaba 490 px y el titular rompía en 4 líneas). */
    max-width: calc(max(40px, 50vw - 610px) + 760px);
    margin: 0;
    /* El padding inferior reserva el sitio de la banda (absolute bottom):
       si el contenido crece, el héroe crece con él y la banda no corta nada. */
    padding: clamp(30px, 3vw, 50px) 40px clamp(116px, 10vw, 150px) max(40px, calc(50vw - 610px));
    border: 0;
    background: none;
}
#et-content .vgs-pb .vgs-pb-event {
    margin: 0 0 clamp(8px, .8vw, 12px);
    padding: 0;
    color: #fff;
    font: 700 clamp(19px, 1.6vw, 30px)/1.15 'Vagspeed Chakra', Arial, sans-serif;
    letter-spacing: .035em;
    text-transform: uppercase;
}
#et-content .vgs-pb .vgs-pb-giant {
    margin: 0;
    padding: 0;
    color: #fff;
    font: 800 clamp(58px, 6.4vw, 122px)/.92 'Vagspeed Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: -.015em;
    text-transform: uppercase;
}
#et-content .vgs-pb--portada .vgs-pb-giant { font-size: clamp(48px, 5.4vw, 102px); }
#et-content .vgs-pb .vgs-pb-giant .vgs-pb-rojo { color: #e30613; }
#et-content .vgs-pb .vgs-pb-sub {
    margin: clamp(16px, 1.6vw, 26px) 0 0;
    padding: 0;
    max-width: 560px;
    font: 400 clamp(15px, 1.05vw, 19px)/1.5 'Vagspeed Inter', Arial, sans-serif;
    color: #d9dee5;
}
#et-content .vgs-pb .vgs-pb-cta {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: clamp(22px, 2.2vw, 34px);
}
#et-content .vgs-pb .vgs-pb-boton {
    display: inline-block;
    padding: 14px 26px;
    background: #e30613;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font: 700 16px/1 'Vagspeed Inter', Arial, sans-serif;
    text-decoration: none;
}
#et-content .vgs-pb .vgs-pb-boton:hover { background: #c00511; color: #fff; }
#et-content .vgs-pb .vgs-pb-enlace {
    color: #fff;
    font: 600 15px/1 'Vagspeed Inter', Arial, sans-serif;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgb(255 255 255 / 45%);
}
#et-content .vgs-pb .vgs-pb-enlace:hover { color: #fff; text-decoration-color: #e30613; }
#et-content .vgs-pb .vgs-pb-banda {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 20px max(40px, calc(50vw - 610px)) 22px;
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 14%);
    background: linear-gradient(90deg, rgb(9 11 14 / 85%), rgb(9 11 14 / 35%));
    list-style: none;
}
#et-content .vgs-pb .vgs-pb-banda li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}
#et-content .vgs-pb .vgs-pb-banda li::before,
#et-content .vgs-pb .vgs-pb-banda li::after { content: none; }
#et-content .vgs-pb .vgs-pb-paso {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 clamp(26px, 1.8vw, 32px);
    height: clamp(26px, 1.8vw, 32px);
    color: #ff5364;
    border: 1px solid rgb(255 83 100 / 45%);
    border-radius: 7px;
    font: 700 12px/1 'Vagspeed Inter', Arial, sans-serif;
}
#et-content .vgs-pb .vgs-pb-raya {
    flex: 0 0 3px;
    height: 34px;
    margin-top: 2px;
    background: #e30613;
    border-radius: 2px;
}
#et-content .vgs-pb .vgs-pb-banda strong {
    display: block;
    color: #fff;
    font: 700 clamp(14px, 1vw, 17px)/1.35 'Vagspeed Inter', Arial, sans-serif;
}
#et-content .vgs-pb .vgs-pb-banda p {
    margin: 5px 0 0;
    padding: 0;
    color: #aeb5c0;
    font: 400 clamp(12px, .85vw, 14px)/1.4 'Vagspeed Inter', Arial, sans-serif;
}

@container vgs-pb (max-width: 760px) and (min-width: 561px) {
    #et-content .vgs-pb .vgs-pb-content { max-width: 74%; padding-left: 28px; padding-right: 28px; }
    #et-content .vgs-pb .vgs-pb-banda { padding-inline: 28px; gap: 18px; }
}
@container vgs-pb (max-width: 560px) {
    #et-content .vgs-pb .vgs-pb-hero { min-height: 0; display: flex; flex-direction: column; }
    #et-content .vgs-pb .vgs-pb-content { order: 1; max-width: none; padding: 26px 24px 0; }
    #et-content .vgs-pb .vgs-pb-photo {
        order: 2;
        position: relative;
        z-index: 0;
        inset: auto;
        width: 100%;
        height: 230px;
        margin-top: 24px;
        background-position: center;
    }
    #et-content .vgs-pb .vgs-pb-banda { order: 3; position: static; grid-template-columns: 1fr; gap: 16px; padding: 20px 24px 28px; background: transparent; }
    #et-content .vgs-pb .vgs-pb-giant { font-size: clamp(52px, 15.5cqw, 64px); }
    #et-content .vgs-pb--portada .vgs-pb-giant { font-size: clamp(38px, 12cqw, 48px); }
    #et-content .vgs-pb .vgs-pb-sub { font-size: 15px; }
    #et-content .vgs-pb .vgs-pb-cta { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 22px; }
    #et-content .vgs-pb .vgs-pb-boton { text-align: center; padding: 15px 22px; }
    #et-content .vgs-pb .vgs-pb-enlace { text-align: center; }
    #et-content .vgs-pb .vgs-pb-photo::before { content: none; }
    #et-content .vgs-pb .vgs-pb-photo::after { background: linear-gradient(180deg, #090b0e 0%, transparent 24%, transparent 90%, #090b0e 100%); }
}
