/**
 * Estilos adaptativos: exf- Hero del Curso
 * Recreación fiel de la estética Immersive Banner / Pill Hero
 */

.exf-course-hero-block {
    position: relative;
    width: 100%;
    min-height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0f172a;
    color: #ffffff;
    box-sizing: border-box;
    text-align: center;
    font-family: inherit;
    transition: all 0.3s ease;

    /* CENTRADO VERTICAL Y HORIZONTAL COMPLETO DEL CONTENEDOR */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Modificador Ancho Pantalla Completa (Full Width Screen) */
.exf-course-hero-block.is-full-width-screen {
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    border-radius: 0px;
}

/* Modificador Alto Pantalla Completa (Full Screen Height) */
.exf-course-hero-block.is-full-screen-height {
    min-height: 100vh;
}

/* Overlay azul noche inmersivo para máxima legibilidad */
.exf-course-hero-block.has-bg-image .exf-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.exf-hero-content-inner {
    position: relative;
    z-index: 2;
    padding: 48px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    margin: auto;
    box-sizing: border-box;
}

/* 1. BANNER SUPERIOR RECTANGULAR CON BORDE TRANSLÚCIDO */
.exf-hero-top-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.82em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    max-width: 95%;
    box-sizing: border-box;
    line-height: 1.4;
}

/* 2. TÍTULO PRINCIPAL GRANDE Y POTENTE EN MAYÚSCULAS */
.exf-hero-main-title {
    margin: 4px auto;
    font-size: 2.5em;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 850px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

/* 3. MARCO INTERMEDIO DE ACREDITACIÓN / CERTIFICADO */
.exf-hero-acred-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.88em;
    font-weight: 600;
    margin: 2px auto;
}

.exf-hero-acred-box .dashicons {
    font-size: 1.15em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.15em;
    color: #ffffff;
}

/* 4. FILA DE PÍLDORAS OSCURAS INFERIORES */
.exf-hero-pills-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    max-width: 1050px;
}

.exf-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.84em;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.exf-hero-pill:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.exf-hero-pill .dashicons {
    font-size: 1.1em;
    width: 1.1em;
    height: 1.1em;
    line-height: 1.1em;
    color: #ffffff;
}

/* 📱 RESPONSIVE Y PANTALLAS PEQUEÑAS */
@media (max-width: 768px) {
    .exf-course-hero-block {
        min-height: 320px;
    }

    .exf-hero-content-inner {
        padding: 30px 16px;
        gap: 14px;
    }

    .exf-hero-main-title {
        font-size: 1.75em;
    }

    .exf-hero-top-banner {
        font-size: 0.75em;
        padding: 6px 14px;
    }

    .exf-hero-acred-box {
        font-size: 0.8em;
    }

    .exf-hero-pill {
        font-size: 0.78em;
        padding: 6px 12px;
    }
}
