/* ==========================================================================
   ASCA WordPress Theme — CSS Principal v1.0
   100% fiel al diseño Figma (./vistas/)
   Bootstrap 5 base. Clases personalizadas prefijo "asca-".
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    --asca-navy:        #0D3178;
    --asca-navy-hover:  #102E6C;
    --asca-dark:        #0A1D4A;
    --asca-red:         #CC1111;
    --asca-red-hover:   #b00e0e;
    --asca-white:       #FFFFFF;
    --asca-gray-light:  #F5F5F5;
    --asca-gray-mid:    #E8E8E8;
    --asca-gray-border: #DDDDDD;
    --asca-text:        #333333;
    --asca-text-light:  #555555;
    --asca-text-muted:  #888888;

    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Open Sans', sans-serif;

    --section-pad-y:  60px;
    --header-height:  84px;
    --nav-height:     50px;
    --container:      1260px;
    --gutter:         24px;

    --radius-sm:  6px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius:    var(--radius-md);   /* alias genérico */
    --transition: 0.25s ease;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--asca-text);
    background: var(--asca-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--asca-navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--asca-red); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--asca-text); }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 16px; }
address { font-style: normal; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.asca-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
.asca-header {
    background: var(--asca-white);
    border-bottom: 1px solid var(--asca-gray-mid);
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.asca-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px var(--gutter);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logos */
.asca-header__brand { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.asca-header__logo-link { display: flex; align-items: center; gap: 10px; line-height: 1; }
.asca-header__logo { height: 70px; width: auto; object-fit: contain; }
.asca-header__logo--idac { height: 70px; }
.asca-header__logo-fallback { display: flex; align-items: center; gap: 10px; }
.asca-header__brand-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--asca-navy);
    line-height: 1.3;
    white-space: nowrap;
}
.asca-logo-svg { height: 42px; width: auto; }

/* Separador entre logos */
.asca-header__brand-sep {
    width: 1px;
    height: 48px;
    background: var(--asca-gray-mid);
    flex-shrink: 0;
}

/* Tools (idioma, buscador, bandera, hamburger) */
.asca-header__tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── SELECTOR DE IDIOMA ─────────────────────────────────────── */
.asca-lang-wrapper {
    position: relative;
}
.asca-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid var(--asca-gray-border);
    border-radius: 6px;
    padding: 5px 10px 5px 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--asca-text);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.asca-lang-btn:hover {
    border-color: var(--asca-navy);
    color: var(--asca-navy);
    background: rgba(13,49,120,0.04);
}
.asca-lang-btn[aria-expanded="true"] {
    border-color: var(--asca-navy);
    color: var(--asca-navy);
    background: rgba(13,49,120,0.06);
}
.asca-lang-btn__globe { font-size: 13px; color: var(--asca-navy); line-height: 1; }
.asca-lang-btn__chevron {
    font-size: 8px;
    color: var(--asca-text-muted);
    transition: transform 0.2s ease;
}
.asca-lang-btn[aria-expanded="true"] .asca-lang-btn__chevron {
    transform: rotate(180deg);
}

/* Dropdown del idioma */
.asca-lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--asca-white);
    border: 1px solid var(--asca-gray-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    list-style: none;
    padding: 6px;
    margin: 0;
    min-width: 130px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.asca-lang-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.asca-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--asca-text);
    letter-spacing: 0.3px;
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
}
.asca-lang-option:hover {
    background: var(--asca-gray-light);
    color: var(--asca-navy);
}
.asca-lang-option.is-active {
    color: var(--asca-navy);
    font-weight: 700;
}
.asca-lang-option__code {
    font-size: 13px;
    font-weight: 800;
    min-width: 22px;
}
.asca-lang-option__name {
    flex: 1;
    font-weight: 500;
    color: var(--asca-text-light);
    font-size: 11px;
}
.asca-lang-option .fa-check {
    font-size: 10px;
    color: var(--asca-navy);
    margin-left: auto;
}

/* ── BUSCADOR ───────────────────────────────────────────────── */
.asca-search-form {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--asca-gray-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--asca-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.asca-search-form:focus-within {
    border-color: var(--asca-navy);
    box-shadow: 0 0 0 3px rgba(13,49,120,0.10);
}
.asca-search-form__input {
    border: none;
    outline: none;
    padding: 8px 4px 8px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--asca-text);
    width: 200px;
    background: transparent;
    transition: width 0.3s ease;
}
.asca-search-form__input::placeholder { color: var(--asca-text-muted); font-style: italic; }
.asca-search-form__input:focus { width: 240px; }
.asca-search-form__btn {
    background: var(--asca-navy);
    border: none;
    color: var(--asca-white);
    padding: 12px 14px;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}
.asca-search-form__btn:hover { background: var(--asca-dark); }
.asca-search-form__btn .fa-magnifying-glass { font-size: 13px; }

/* Hamburger mobile */
.asca-mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.asca-hamburger { display: flex; flex-direction: column; gap: 5px; }
.asca-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--asca-navy);
    border-radius: 2px;
    transition: all var(--transition);
}
.asca-mobile-toggle[aria-expanded="true"] .asca-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.asca-mobile-toggle[aria-expanded="true"] .asca-hamburger span:nth-child(2) { opacity: 0; }
.asca-mobile-toggle[aria-expanded="true"] .asca-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. NAVEGACIÓN PRINCIPAL
   -------------------------------------------------------------------------- */
.asca-main-nav {
    background: var(--asca-navy);
    position: sticky;
    top: var(--header-height);
    z-index: 1039;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.asca-main-nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Lista del menú */
.asca-nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

/* Item de nivel 0 */
.asca-nav-menu > .nav-item { position: relative; }

.asca-nav-menu > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 15px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
    border-bottom: 3px solid transparent;
    line-height: 1.2;
}

.asca-nav-menu > .nav-item > .nav-link:hover,
.asca-nav-menu > .nav-item.active > .nav-link,
.asca-nav-menu > .nav-item.current-menu-item > .nav-link,
.asca-nav-menu > .nav-item.current-menu-ancestor > .nav-link,
.asca-nav-menu > .nav-item.current-menu-parent > .nav-link {
    color: var(--asca-white);
    border-bottom-color: var(--asca-red);
    background: rgba(255,255,255,0.07);
}

/* Chevron */
.nav-chevron {
    width: 10px;
    height: 10px;
    transition: transform var(--transition);
    flex-shrink: 0;
    opacity: 0.7;
}
.nav-item.dropdown.show > .nav-link .nav-chevron { transform: rotate(180deg); }

/* Dropdown nivel 1 */
.asca-nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    min-width: 220px;
    background: var(--asca-white);
    border: none;
    border-top: 3px solid var(--asca-red);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 6px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    display: block !important; /* sobrescribir Bootstrap para animación CSS */
    visibility: hidden;
}
.asca-nav-menu .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}
.asca-nav-menu .dropdown-menu li { margin: 0; }
.asca-nav-menu .dropdown-menu .dropdown-item {
    display: block;
    padding: 9px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--asca-text);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.asca-nav-menu .dropdown-menu .dropdown-item:hover,
.asca-nav-menu .dropdown-menu .dropdown-item:focus { background: var(--asca-gray-light); color: var(--asca-navy); }
.asca-nav-menu .dropdown-menu .dropdown-item.active,
.asca-nav-menu .dropdown-menu .current-menu-item > .dropdown-item { background: var(--asca-navy); color: var(--asca-white); }

/* Sub-dropdown nivel 2 */
.asca-nav-menu .dropdown-submenu {
    position: absolute;
    top: -6px;
    left: 100%;
    min-width: 200px;
    background: var(--asca-white);
    border-left: 3px solid var(--asca-red);
    box-shadow: 4px 8px 20px rgba(0,0,0,0.12);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
/* El sub-dropdown ahora lo maneja JS (.show) — mantener :hover como fallback */
.asca-nav-menu .dropend:hover > .dropdown-submenu,
.asca-nav-menu .dropend.show > .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
/* Área de hitbox extendida entre el item y el submenu */
.asca-nav-menu .dropdown-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
}

/* --------------------------------------------------------------------------
   5. BOTONES
   -------------------------------------------------------------------------- */
.asca-btn, .btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 11px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}
.btn-red, .asca-btn--red {
    background: var(--asca-red);
    color: var(--asca-white);
    border-color: var(--asca-red);
}
.btn-red:hover, .asca-btn--red:hover {
    background: var(--asca-red-hover);
    border-color: var(--asca-red-hover);
    color: var(--asca-white);
}
.asca-btn--outline {
    background: transparent;
    color: var(--asca-navy);
    border-color: var(--asca-navy);
}
.asca-btn--outline:hover { background: var(--asca-navy); color: var(--asca-white); }
.asca-btn--navy {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-color: var(--asca-navy);
    border-radius: var(--radius-sm);
}
.asca-btn--navy:hover { background: var(--asca-dark); border-color: var(--asca-dark); color: var(--asca-white); }

/* --------------------------------------------------------------------------
   6. PAGE TITLE BAR
   -------------------------------------------------------------------------- */
.asca-page-title-bar {
    background: var(--asca-navy);
    padding: 22px 0;
}
.asca-page-title-bar__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.asca-page-title-bar__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--asca-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 6px;
}

/* Breadcrumb — siempre blanco sobre el fondo navy */
.asca-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    margin: 0;
    padding: 0;
    list-style: none;
}
.asca-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}
.asca-breadcrumb a:hover { color: var(--asca-white); }
.asca-breadcrumb__sep {
    margin: 0 6px;
    color: rgba(255,255,255,0.35);
    font-size: 10px;
    user-select: none;
}
.asca-breadcrumb__current {
    color: var(--asca-white);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. HERO (front-page)
   -------------------------------------------------------------------------- */
.asca-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    overflow: hidden;
    background: var(--asca-navy);
}
.asca-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.asca-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(13,49,120,0.45) 0%,
        rgba(13,49,120,0.85) 55%,
        rgba(13,49,120,0.97) 100%
    );
}
.asca-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px var(--gutter);
    display: flex;
    align-items: center;
}
.asca-hero__content {
    max-width: 540px;
    margin-left: auto;
    text-align: right;
}
.asca-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--asca-white);
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.asca-hero__line {
    width: 60px;
    height: 4px;
    background: var(--asca-red);
    margin-left: auto;
    margin-bottom: 20px;
    border-radius: 2px;
}
.asca-hero__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   8. QUICK ACCESS TABS
   -------------------------------------------------------------------------- */
.asca-quick-tabs {
    background: var(--asca-white);
    border-bottom: 2px solid var(--asca-gray-mid);
}
.asca-quick-tabs__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.asca-quick-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 16px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--asca-text-muted);
    cursor: pointer;
    border-right: 1px solid var(--asca-gray-mid);
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}
.asca-quick-tab:last-child { border-right: none; }
.asca-quick-tab:hover {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-bottom-color: var(--asca-red);
}
.asca-quick-tab.active,
.asca-quick-tab--active {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-bottom-color: var(--asca-red);
}
.asca-quick-tab.active:hover { color: var(--asca-white); }
.asca-quick-tab__icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.asca-quick-tab__icon img,
.asca-quick-tab__icon svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   9. SECTION HELPERS
   -------------------------------------------------------------------------- */
.asca-section { padding: var(--section-pad-y) 0; }
.asca-section__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
/* Bloque de CTA centrado debajo de grids/carruseles */
.asca-section-cta {
    text-align: center;
    margin-top: 36px;
}
.asca-section-kicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--asca-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.asca-section-heading {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--asca-navy);
    margin: 0;
}
/* Divider con título centrado */
.asca-divider-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}
.asca-divider-title__line { flex: 1; height: 1px; background: var(--asca-gray-border); }
.asca-divider-title__text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--asca-text);
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. INTRO SECTION
   -------------------------------------------------------------------------- */
.asca-intro { background: var(--asca-white); padding: var(--section-pad-y) 0; }
.asca-intro__grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.asca-intro__copy {
    font-size: 14px;
    color: var(--asca-text-light);
    line-height: 1.75;
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   11. BLUE CARDS (Carreras / Ed. Continuada / Extensiones)
   -------------------------------------------------------------------------- */
.asca-blue-cards { background: var(--asca-white); padding: var(--section-pad-y) 0; }
.asca-blue-cards__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
}
.asca-blue-card {
    background: var(--asca-navy);
    padding: 44px 32px 40px;
    color: var(--asca-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: background var(--transition), transform 0.5s cubic-bezier(.25,.46,.45,.94);
    text-decoration: none;
    cursor: pointer;
}
.asca-blue-card:nth-child(2) { background: #0a3d8f; }
.asca-blue-card:nth-child(3) { background: #0c3580; }
.asca-blue-card:hover { background: var(--asca-dark); color: var(--asca-white); transform: scale(1.03); }
.asca-blue-card__icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.92;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    margin-left: auto;
    margin-right: auto;
}
.asca-blue-card__icon img,
.asca-blue-card__icon svg { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.asca-blue-card__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--asca-white);
    margin: 0;
}
.asca-blue-card__desc {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   12. TOUR VIRTUAL BAND
   -------------------------------------------------------------------------- */
.asca-tour-band {
    background: var(--asca-dark);
    padding: 44px 0;
    color: var(--asca-white);
}
.asca-tour-band__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.asca-tour-band__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: var(--asca-white);
}
.asca-tour-band__stage {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    height: 220px;
}
.asca-tour-card {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.asca-tour-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asca-tour-card--a { left: 40px; top: 18px; width: 300px; height: 170px; z-index: 1; }
.asca-tour-card--b { left: 260px; top: 0; width: 350px; height: 185px; z-index: 2; }
.asca-tour-band__yt-badge {
    position: absolute;
    right: 90px;
    bottom: 20px;
    z-index: 3;
    background: rgba(0,0,0,0.7);
    color: var(--asca-white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}
.asca-tour-band__arrow {
    position: absolute;
    right: 10px;
    bottom: 5px;
    z-index: 3;
    font-size: 62px;
    opacity: 0.6;
    color: var(--asca-white);
}

/* --------------------------------------------------------------------------
   13. EDUCACIÓN CONTINUADA
   -------------------------------------------------------------------------- */
.asca-edu-continuada { padding: var(--section-pad-y) 0; background: var(--asca-white); }
.asca-program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.asca-program-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--asca-navy);
    cursor: pointer;
}
.asca-program-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.asca-program-card:hover .asca-program-card__img { transform: scale(1.06); }
.asca-program-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,49,120,0.92) 0%, rgba(13,49,120,0.3) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}
.asca-program-card__meta {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.asca-program-card__title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--asca-white);
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. BANNER CARRERA (Técnico Superior)
   -------------------------------------------------------------------------- */
.asca-degree-banner {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--asca-dark);
}
.asca-degree-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}
.asca-degree-banner__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 48px var(--gutter);
}
.asca-degree-banner__kicker {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin-bottom: 12px;
}
.asca-degree-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 800;
    color: var(--asca-white);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 500px;
}

/* --------------------------------------------------------------------------
   15. NOTICIAS
   -------------------------------------------------------------------------- */
.asca-news { background: var(--asca-white); padding: var(--section-pad-y) 0; }
.asca-news__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.asca-news__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.asca-news__header-line { flex: 1; height: 1px; background: var(--asca-gray-border); min-width: 30px; }
.asca-news__header-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--asca-navy);
    margin: 0;
    white-space: nowrap;
}
.asca-news__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--asca-text-muted);
    white-space: nowrap;
}
.asca-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.asca-news-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--asca-gray-mid);
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    background: var(--asca-white);
}
.asca-news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.11); }
.asca-news-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--asca-gray-light);
}
.asca-news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.asca-news-card:hover .asca-news-card__img img { transform: scale(1.04); }
.asca-news-card__body { padding: 14px 16px 20px; }
.asca-news-card__date {
    font-size: 11px;
    color: var(--asca-text-muted);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}
.asca-news-card__title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--asca-navy);
    margin: 0;
    line-height: 1.4;
}
.asca-news-card__title a { color: var(--asca-navy); }
.asca-news-card__title a:hover { color: var(--asca-red); }

/* --------------------------------------------------------------------------
   16. EVENTOS
   -------------------------------------------------------------------------- */
.asca-events { background: var(--asca-white); padding: var(--section-pad-y) 0; }
.asca-events__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.asca-events__subheader {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.asca-events__month-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--asca-navy);
    text-transform: uppercase;
}
.asca-events__nav { display: flex; gap: 6px; }
.asca-events__nav-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--asca-gray-border);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: var(--asca-text);
    transition: all var(--transition);
}
.asca-events__nav-btn:hover { background: var(--asca-navy); border-color: var(--asca-navy); color: var(--asca-white); }
.asca-event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.asca-event-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform var(--transition), box-shadow var(--transition);
    background: var(--asca-white);
}
.asca-event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.13); }
.asca-event-card__img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--asca-gray-light);
}
.asca-event-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asca-event-card__body {
    padding: 12px 14px 16px;
    border-top: 3px solid var(--asca-navy);
}
.asca-event-card__date {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--asca-navy);
    margin-bottom: 6px;
    line-height: 1;
}
.asca-event-card__title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--asca-text);
    margin-bottom: 4px;
    text-transform: uppercase;
    line-height: 1.3;
}
.asca-event-card__type {
    font-size: 11px;
    color: var(--asca-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   17. CERTIFICACIONES
   -------------------------------------------------------------------------- */
.asca-certifications {
    background: linear-gradient(135deg, var(--asca-dark) 0%, #112060 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.asca-certifications::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
/* ── Variante Home: centrada, impactante, con cabecera textual ─── */
.asca-certifications--home {
    padding: 46px 0 88px;
    text-align: center;
}
.asca-certifications__inner--home {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    position: relative;
    z-index: 1;
}
.asca-certifications__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.asca-certifications__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--asca-red);
}
.asca-certifications__heading {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--asca-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.asca-certifications__divider {
    width: 56px;
    height: 3px;
    background: var(--asca-red);
    border-radius: 2px;
}
/* Logos centrados en la variante home */
.asca-certifications--home .asca-certifications__logos {
    justify-content: center;
    gap: 28px;
}
.asca-certifications--home .asca-cert-item {
    min-width: 210px;
    min-height: 130px;
    padding: 24px 36px;
    max-width: 270px;
}
.asca-certifications--home .asca-cert-item__img {
    max-height: 96px;
}
/* Las blue-cards siempre tienen padding-top propio (ver regla .asca-blue-cards) */

.asca-certifications__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.asca-certifications__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--asca-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
    min-width: 170px;
    padding-left: 18px;
    border-left: 4px solid var(--asca-red);
    line-height: 1.4;
}
.asca-certifications__logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    flex: 1;
}
.asca-cert-item {
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius);
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 120px;
    flex: 1;
    max-width: 260px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.30);
    transition: transform var(--transition), box-shadow var(--transition);
}
.asca-cert-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 36px rgba(0,0,0,0.40);
}
.asca-cert-item__img {
    max-height: 88px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: grayscale(15%);
    transition: filter var(--transition);
}
.asca-cert-item:hover .asca-cert-item__img { filter: grayscale(0%); }
.asca-cert-item__placeholder {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--asca-navy);
    text-align: center;
}

/* --------------------------------------------------------------------------
   18. ENLACES DE INTERÉS
   -------------------------------------------------------------------------- */
.asca-interest-links {
    background: var(--asca-white);
    padding: 48px 0;
    border-top: 1px solid var(--asca-gray-mid);
}
.asca-interest-links__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: center;
}
.asca-interest-links__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--asca-text);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 36px;
}
.asca-interest-links__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.asca-interest-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity var(--transition), transform var(--transition);
}
.asca-interest-item:hover { opacity: 1; transform: scale(1.04); }
.asca-interest-item__img { max-height: 52px; width: auto; object-fit: contain; display: block; }
.asca-interest-item__name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--asca-text);
    letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.asca-footer { background: var(--asca-white); border-top: 1px solid var(--asca-gray-mid); }
.asca-footer__body { padding: 48px 0 36px; }
/* Layout por grid de Bootstrap (.row/.col-*); este contenedor solo centra
   el ancho. Las columnas usan col-12 (móvil) → col-md-4 → col-lg-3. */
.asca-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
/* Brand */
.asca-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 47px; }
.asca-footer__brand-logo { max-height: 56px; width: auto; object-fit: contain; display: block; }
.asca-footer__brand-name {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--asca-text);
    line-height: 1.4;
    margin: 4px 0 0;
}
.asca-footer__brand-placeholder {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--asca-navy);
}
/* Divisor */
.asca-footer__divider { background: var(--asca-gray-border); width: 1px; align-self: stretch; }
/* Columnas — el espaciado horizontal lo dan los gutters de Bootstrap (.row.g-4) */
.asca-footer__col-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--asca-text);
    margin-bottom: 14px;
}
.asca-footer__menu { list-style: none; padding: 0; margin: 0; }
.asca-footer__menu li { margin-bottom: 6px; }
.asca-footer__menu a { font-size: 13px; color: var(--asca-text-light); transition: color var(--transition); }
.asca-footer__menu a:hover { color: var(--asca-navy); }
/* Contacto */
.asca-footer__contact-list { list-style: none; padding: 0; margin: 0; }
.asca-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--asca-text-light);
}
.asca-footer__contact-item i { color: var(--asca-navy); flex-shrink: 0; margin-top: 3px; font-size: 13px; }
.asca-footer__contact-item a { color: var(--asca-text-light); }
.asca-footer__contact-item a:hover { color: var(--asca-navy); }
/* Bottom bar */
.asca-footer__bottom { background: var(--asca-dark); padding: 14px 0; }
.asca-footer__bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.asca-footer__copy { font-size: 12px; color: rgba(255,255,255,0.72); margin: 0; }
.asca-footer__social { display: flex; align-items: center; gap: 12px; }
.asca-footer__social-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.asca-footer__social a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    transition: all var(--transition);
}
.asca-footer__social a:hover {
    color: var(--asca-white);
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}

/* --------------------------------------------------------------------------
   20. TEMPLATE SIDEBAR (menú izquierdo)
   -------------------------------------------------------------------------- */
.asca-page-with-sidebar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 48px var(--gutter);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}
.asca-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 20px);
}
.asca-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--asca-gray-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.asca-sidebar-menu .sidebar-menu-item {
    border-bottom: 1px solid var(--asca-gray-border);
}
.asca-sidebar-menu .sidebar-menu-item:last-child { border-bottom: none; }
.asca-sidebar-menu .sidebar-menu-item a {
    display: block;
    padding: 14px 18px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--asca-text);
    transition: background var(--transition), color var(--transition), border-left-color var(--transition);
    border-left: 3px solid transparent;
}
.asca-sidebar-menu .sidebar-menu-item a:hover {
    background: var(--asca-gray-light);
    color: var(--asca-navy);
    border-left-color: var(--asca-navy);
}
.asca-sidebar-menu .sidebar-menu-item.current-menu-item a,
.asca-sidebar-menu .sidebar-menu-item a.active {
    background: rgba(13,49,120,0.07);
    color: var(--asca-navy);
    border-left-color: var(--asca-navy);
    font-weight: 800;
}
/* WordPress genera .menu-item en lugar de .sidebar-menu-item — compatibilidad */
.asca-sidebar-menu .menu-item {
    border-bottom: 1px solid var(--asca-gray-border);
}
.asca-sidebar-menu .menu-item:last-child { border-bottom: none; }
.asca-sidebar-menu .menu-item > a {
    display: block;
    padding: 14px 18px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--asca-text);
    transition: background var(--transition), color var(--transition), border-left-color var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}
.asca-sidebar-menu .menu-item > a:hover {
    background: var(--asca-gray-light);
    color: var(--asca-navy);
    border-left-color: var(--asca-navy);
}
.asca-sidebar-menu .menu-item.current-menu-item > a,
.asca-sidebar-menu .menu-item.current-menu-parent > a,
.asca-sidebar-menu .menu-item.current-menu-ancestor > a {
    background: rgba(13,49,120,0.07);
    color: var(--asca-navy);
    border-left-color: var(--asca-navy);
    font-weight: 800;
}
/* Sub-menús en sidebar */
.asca-sidebar-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--asca-gray-light);
    border-top: 1px solid var(--asca-gray-border);
}
.asca-sidebar-menu .sub-menu .menu-item > a {
    padding-left: 32px;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-left: none;
    border-left: 3px solid transparent;
}
.asca-sidebar-menu .sub-menu .menu-item.current-menu-item > a {
    border-left-color: var(--asca-red);
    color: var(--asca-navy);
}

/* Contenido interior */
.asca-page-content { min-width: 0; }
/* Elimina el aire superior del primer elemento del contenido en TODAS las
   páginas — reemplaza los antiguos márgenes negativos por page-id. */
.asca-page-content > :first-child { margin-top: 0; }
/* Tipografía completa para contenido del editor de WordPress */
.asca-page-content p {
    font-size: 15px;
    color: var(--asca-text-light);
    line-height: 1.8;
    margin-bottom: 1.2em;
    text-align: justify;
}
.asca-page-content h1,
.asca-page-content h2,
.asca-page-content h3,
.asca-page-content h4,
.asca-page-content h5,
.asca-page-content h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--asca-navy);
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}
.asca-page-content h2 { font-size: 22px; }
.asca-page-content h3 { font-size: 19px; }
.asca-page-content h4 { font-size: 17px; }
.asca-page-content h5 { font-size: 15px; }
.asca-page-content h6 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.asca-page-content a {
    color: var(--asca-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
.asca-page-content a:hover { color: var(--asca-red); }
.asca-page-content ul,
.asca-page-content ol {
    padding-left: 24px;
    margin-bottom: 1.2em;
    color: var(--asca-text-light);
    font-size: 15px;
    line-height: 1.8;
}
.asca-page-content ul { list-style: disc; }
.asca-page-content ol { list-style: decimal; }
.asca-page-content li { margin-bottom: 6px; }
.asca-page-content blockquote {
    border-left: 4px solid var(--asca-navy);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--asca-gray-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--asca-text);
}
.asca-page-content blockquote p { font-size: 15px; margin-bottom: 0; text-align: left; }
.asca-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}
.asca-page-content figure { margin: 24px 0; }
.asca-page-content figcaption {
    font-size: 12px;
    color: var(--asca-text-light);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}
.asca-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}
.asca-page-content table th {
    background: var(--asca-navy);
    color: var(--asca-white);
    padding: 10px 14px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.asca-page-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--asca-gray-border);
    color: var(--asca-text-light);
}
.asca-page-content table tr:nth-child(even) td { background: var(--asca-gray-light); }
.asca-page-content table tr:hover td { background: rgba(13,49,120,0.04); }
.asca-page-content hr {
    border: none;
    border-top: 2px solid var(--asca-gray-border);
    margin: 32px 0;
}
.asca-page-content .wp-caption { max-width: 100%; }
.asca-page-content .alignleft { float: left; margin: 8px 24px 16px 0; }
.asca-page-content .alignright { float: right; margin: 8px 0 16px 24px; }
.asca-page-content .aligncenter { display: block; margin: 16px auto; }
.asca-page-content .alignfull { width: 100%; }
/* Misión / Visión / Valores */
.asca-mvv-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
.asca-mvv-item__icon { width: 38px; height: 38px; flex-shrink: 0; }
.asca-mvv-item__icon img { width: 100%; height: 100%; object-fit: contain; }
.asca-mvv-item__content h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.asca-mvv-item__content p { font-size: 14px; color: var(--asca-text-light); line-height: 1.7; }

/* --------------------------------------------------------------------------
   21. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .asca-program-grid { grid-template-columns: repeat(2, 1fr); }
    .asca-event-grid   { grid-template-columns: repeat(2, 1fr); }
    /* Footer ahora con grid de Bootstrap; el divisor ya no se usa */
    .asca-footer__divider { display: none; }
}

/* ── Búsqueda dentro del drawer (solo mobile) ───────────────── */
.asca-nav-search {
    display: none;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.asca-nav-search__form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.22);
}
.asca-nav-search__input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--asca-white);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
}
.asca-nav-search__input::placeholder { color: rgba(255,255,255,0.45); }
.asca-nav-search__btn {
    background: var(--asca-red);
    border: none;
    color: var(--asca-white);
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: background var(--transition);
}
.asca-nav-search__btn:hover { background: #a50e0e; }

/* ── OVERLAY para drawer mobile ─────────────────────────────── */
.asca-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 1049;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
}
.asca-nav-overlay.is-visible { display: block; }

/* ── Cabecera del drawer (logo + botón cerrar) ───────────────── */
.asca-nav-drawer-head {
    display: none; /* solo mobile */
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--asca-dark);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.asca-nav-drawer-head__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--asca-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.asca-nav-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: color var(--transition), background var(--transition);
}
.asca-nav-close:hover { color: var(--asca-white); background: rgba(255,255,255,0.1); }

/* ── DRAWER OFF-CANVAS mobile ≤ 991px ───────────────────────── */
@media (max-width: 991px) {
    :root { --section-pad-y: 44px; --header-height: 68px; }

    /* ── Header: logos en columna, herramientas simplificadas ── */
    .asca-header__inner { gap: 12px; padding: 10px var(--gutter); }
    .asca-header__brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        flex: 1;          /* tomar el espacio disponible */
        min-width: 0;
    }
    .asca-header__brand-sep { display: none; }
    .asca-header__logo           { height: 32px; }
    .asca-header__logo--idac     { height: 26px; }
    .asca-header__brand-text     { display: none; }
    .asca-logo-svg               { height: 28px; }

    /* Ocultar search y lang del header — pasan al drawer */
    .asca-header__search { display: none; }
    .asca-header__lang   { display: none; }

    /* Mostrar search dentro del drawer */
    .asca-nav-search { display: block; }

    /* Drawer fijo desde la derecha */
    .asca-main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 88vw;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1050;
        transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }
    .asca-main-nav.is-open {
        right: 0;
        box-shadow: -6px 0 32px rgba(0,0,0,0.35);
    }
    .asca-main-nav__inner { padding: 0; flex: 1; }

    /* Mostrar cabecera del drawer */
    .asca-nav-drawer-head { display: flex; }

    /* Menú siempre visible — el drawer maneja visibilidad */
    .asca-nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0;
    }
    .asca-nav-menu > .nav-item > .nav-link {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 14px 20px;
        font-size: 14px;
        /* Indicación visual: doble toque para navegar */
    }
    /* Chevron más grande — área táctil */
    .asca-nav-menu .nav-chevron {
        width: 18px;
        height: 18px;
        padding: 2px;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* ── Dropdown nivel 1 en mobile ── */
    .asca-nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--asca-red);
        background: rgba(255,255,255,0.06);
        display: none;
        min-width: 0;
        pointer-events: auto; /* asegurar que los items sean clickeables */
    }
    .asca-nav-menu .dropdown-menu.show { display: block; }

    /* ── Sub-dropdown nivel 2 en mobile ── */
    .asca-nav-menu .dropdown-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid rgba(255,255,255,0.3);
        background: rgba(0,0,0,0.12);
        display: none;
        min-width: 0;
        padding: 0;
        pointer-events: auto;
    }
    .asca-nav-menu .dropdown-submenu.show { display: block; }
    /* Eliminar el pseudo-element bridge en mobile (no sirve aquí) */
    .asca-nav-menu .dropdown-submenu::before { display: none; }

    .asca-nav-menu .dropdown-menu .dropdown-item {
        color: rgba(255,255,255,0.85);
        padding: 12px 20px 12px 28px;
        font-size: 13px;
        white-space: normal;
        display: block;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255,255,255,0.1);
    }
    .asca-nav-menu .dropdown-menu .dropdown-item:hover,
    .asca-nav-menu .dropdown-menu .dropdown-item:active {
        background: rgba(255,255,255,0.1);
        color: var(--asca-white);
    }
    /* Sub-items indentados */
    .asca-nav-menu .dropdown-submenu .dropdown-item {
        padding-left: 44px;
    }

    /* Bloquear scroll al abrir */
    body.nav-open { overflow: hidden; }

    .asca-intro__grid { grid-template-columns: 1fr; gap: 24px; }
    .asca-blue-cards__inner { grid-template-columns: 1fr; }
    .asca-blue-card { border-right: none; border-bottom: none; }
    .asca-news-grid { grid-template-columns: 1fr; }
    .asca-page-with-sidebar { grid-template-columns: 1fr; }
    .asca-sidebar { position: static; }
    /* Footer cert strip */
    .asca-certifications__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .asca-certifications__logos { width: 100%; }
    .asca-cert-item { min-width: 140px; min-height: 100px; padding: 16px 20px; max-width: 100%; }
    .asca-cert-item__img { max-height: 70px; }
    /* Home cert section */
    .asca-certifications--home { padding: 56px 0 64px; }
    .asca-certifications--home .asca-cert-item { min-width: 160px; min-height: 110px; }
    .asca-certifications--home .asca-cert-item__img { max-height: 80px; }
}

@media (max-width: 767px) {
    :root { --header-height: 64px; }
    .asca-header__logo       { height: 28px; }
    .asca-header__logo--idac { height: 22px; }
    .asca-logo-svg           { height: 24px; }
    .asca-hero { min-height: 260px; }
    .asca-hero__content { margin: 0; text-align: left; }
    .asca-hero__title { text-align: left; font-size: 22px; }
    .asca-hero__line { margin-left: 0; }
    .asca-quick-tabs__inner { grid-template-columns: repeat(2, 1fr); }
    .asca-program-grid { grid-template-columns: 1fr; }
    .asca-event-grid   { grid-template-columns: 1fr; }
    .asca-tour-band__stage { height: 200px; }
    .asca-tour-card--a { left: 0; width: 200px; height: 130px; }
    .asca-tour-card--b { left: 150px; width: 220px; height: 145px; }
    .asca-footer__bottom-inner { flex-direction: column; text-align: center; gap: 12px; }
    .asca-interest-links__logos { gap: 28px; }
    .asca-blue-cards__inner { grid-template-columns: 1fr; }
    .asca-news-grid { grid-template-columns: 1fr; }
    .asca-admission-grid { grid-template-columns: 1fr; }
    .asca-contact-btns { flex-direction: column; }
}

/* ==========================================================================
   PÁGINAS INTERNAS — CSS adicional
   ========================================================================== */

/* Página simple (sin sidebar) */
.asca-simple-page {
    padding: 15px 0;
}
.asca-simple-page__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header al hacer scroll — solo sombra, logos sin cambio de tamaño */
.asca-header--scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
}

/* Single post */
.asca-single__hero-img {
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 420px;
}
.asca-single__hero-img img { width: 100%; height: 100%; object-fit: cover; }
.asca-single__content { margin-bottom: 40px; }
.asca-single__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--asca-text-muted);
    flex-wrap: wrap;
}
.asca-single__date { font-weight: 600; }
.asca-single__nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--asca-gray-mid);
}
.asca-single__nav a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--asca-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.asca-single__nav a:hover { color: var(--asca-red); }

/* Contacto */
.asca-contact-map {
    margin-bottom: 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--asca-gray-border);
}
.asca-contact-info { margin-bottom: 28px; }
.asca-contact-info__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: -16px;
    font-size: 15px;
    color: var(--asca-text);
    line-height: 1.5;
}
.asca-contact-info__row i { color: var(--asca-navy); flex-shrink: 0; margin-top: 3px; font-size: 16px; }
.asca-contact-info__row strong { font-family: var(--font-heading); display: block; margin-bottom: 2px; }
.asca-contact-info__row a { color: var(--asca-text); }
.asca-contact-info__row a:hover { color: var(--asca-navy); }
.asca-contact-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Admisiones */
.asca-admision-img-wrap {
    position: relative;
}
.asca-admision-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}
.asca-admision-img-placeholder {
    width: 100%;
    height: 320px;
    background: var(--asca-gray-light);
    border-radius: var(--radius-md);
}
.asca-admission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--asca-navy);
    margin-top: 40px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.asca-admission-card {
    padding: 28px 22px;
    border-right: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.asca-admission-card:last-child { border-right: none; }
.asca-admission-card__title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--asca-white);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}
.asca-admission-card__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}
.asca-admission-card__link:hover { color: var(--asca-white); }

@media (max-width: 991px) {
    .asca-admission-grid { grid-template-columns: repeat(2, 1fr); }
    .asca-admission-card:nth-child(2) { border-right: none; }
    .asca-admission-card { border-bottom: 1px solid rgba(255,255,255,0.15); }
    .asca-admission-card:nth-child(3),
    .asca-admission-card:nth-child(4) { border-bottom: none; }
}

/* ==========================================================================
   FRONT-PAGE — Estilos específicos y ajustes finos
   ========================================================================== */

/* Hero sin imagen configurada */
.asca-hero__bg--no-image {
    background: linear-gradient(135deg, var(--asca-navy) 0%, var(--asca-dark) 100%);
}

/* Quick tab icono FA */
.asca-quick-tab__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--asca-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}
.asca-quick-tab__icon i { font-size: 20px; color: var(--asca-navy); transition: color var(--transition); }
.asca-quick-tab.active .asca-quick-tab__icon,
.asca-quick-tab:hover  .asca-quick-tab__icon {
    background: var(--asca-navy);
    transform: scale(1.08);
}
.asca-quick-tab.active .asca-quick-tab__icon i,
.asca-quick-tab:hover  .asca-quick-tab__icon i { color: var(--asca-white); }

/* Blue card con icono FA */
.asca-blue-card__icon i { font-size: 36px; }

/* Tour Virtual — placeholder cuando no hay imagen */
.asca-tour-card--placeholder {
    background: rgba(255,255,255,0.08);
    width: 100%;
    height: 100%;
}

/* Tour Virtual — card B es enlace */
.asca-tour-card.asca-tour-card--b {
    display: block;
    position: absolute;
    left: 260px;
    top: 0;
    width: 350px;
    height: 185px;
    z-index: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
}
.asca-tour-card--b img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Programa card placeholder (sin imagen) */
.asca-program-card__overlay--placeholder {
    background: linear-gradient(to top, var(--asca-dark) 0%, rgba(13,49,120,0.6) 100%);
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}
.asca-program-grid--placeholder .asca-program-card {
    background: var(--asca-navy);
    min-height: 200px;
}

/* News card placeholder (sin imagen destacada) */
.asca-news-card__img-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--asca-gray-light);
}

/* Event card placeholder (sin imagen) */
.asca-event-card__img-placeholder,
.asca-event-card__img--placeholder {
    aspect-ratio: 16/9;
    background: var(--asca-gray-light);
    width: 100%;
}

/* Event card title — link dentro de h3 */
.asca-event-card__title a {
    color: var(--asca-text);
    text-decoration: none;
}
.asca-event-card__title a:hover { color: var(--asca-navy); }

/* Degree banner — bg sin imagen (fallback color) */
.asca-degree-banner:not(:has(.asca-degree-banner__bg)) {
    background: var(--asca-dark);
}

/* Ajuste de fondo para hero con imagen completa */
.asca-hero {
    min-height: 420px;
}
@media (max-width: 991px) {
    .asca-hero { min-height: 300px; }
    .asca-tour-band__stage { height: 220px; }
    .asca-tour-card.asca-tour-card--b { left: 200px; width: 260px; }
}
@media (max-width: 767px) {
    .asca-quick-tab { padding: 14px 10px; gap: 8px; font-size: 11px; }
    .asca-quick-tab__icon i { font-size: 18px; }
    .asca-tour-band__stage { height: 180px; }
    .asca-tour-card.asca-tour-card--b { left: 130px; width: 210px; height: 155px; }
    .asca-degree-banner__title { font-size: 22px; }
    .asca-news__header { flex-wrap: wrap; gap: 12px; }
    .asca-news__cta { flex-wrap: wrap; font-size: 11px; white-space: normal; }
}

/* --------------------------------------------------------------------------
   TAGS EN TARJETAS
   -------------------------------------------------------------------------- */
.asca-archive-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.asca-tag {
    display: inline-block;
    background: rgba(13,49,120,0.07);
    color: var(--asca-navy);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(13,49,120,0.15);
}
.asca-archive-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}
.asca-archive-card__link--pdf { color: var(--asca-red); }
.asca-archive-card__link--pdf:hover { color: #a00; }

/* --------------------------------------------------------------------------
   OFERTA CURRICULAR — PÁGINA CON FILTRO
   -------------------------------------------------------------------------- */
.asca-ofertas-page {
    padding: 40px 0 60px;
    background: var(--asca-gray-bg, #f7f8fc);
}
.asca-ofertas-page__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Layout dos columnas */
.asca-ofertas-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* ── SIDEBAR FILTROS ── */
.asca-ofertas-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 16px);
}
.asca-filter-sidebar {
    background: var(--asca-white);
    border: 1px solid var(--asca-gray-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.asca-filter-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--asca-navy);
    color: var(--asca-white);
}
.asca-filter-sidebar__title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.asca-filter-clear {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    transition: all var(--transition);
}
.asca-filter-clear:hover {
    color: var(--asca-white);
    border-color: var(--asca-white);
    background: rgba(255,255,255,0.12);
}

/* Secciones */
.asca-filter-section {
    padding: 16px 18px;
    border-bottom: 1px solid var(--asca-gray-border);
}
.asca-filter-section:last-child { border-bottom: none; }
.asca-filter-section__title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--asca-navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.asca-filter-section__title i { font-size: 12px; }

/* Lista checkboxes */
.asca-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.asca-filter-item { margin-bottom: 0; }
.asca-filter-label {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 7px 0;
    cursor: pointer;
    transition: color var(--transition);
}
.asca-filter-label:hover .asca-filter-label__text { color: var(--asca-navy); }

/* Input real (oculto) */
.asca-filter-check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Checkbox visual personalizado */
.asca-filter-custom-check {
    width: 16px;
    height: 16px;
    border: 2px solid var(--asca-gray-border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-right: 10px;
    transition: background var(--transition), border-color var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.asca-filter-check:checked + .asca-filter-custom-check {
    background: var(--asca-navy);
    border-color: var(--asca-navy);
}
.asca-filter-check:checked + .asca-filter-custom-check::after {
    content: '';
    display: block;
    width: 5px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg) translate(-1px, -1px);
}
.asca-filter-check:focus-visible + .asca-filter-custom-check {
    outline: 2px solid var(--asca-navy);
    outline-offset: 2px;
}
.asca-filter-label__text {
    flex: 1;
    font-size: 13px;
    color: var(--asca-text);
    line-height: 1.3;
    transition: color var(--transition);
}
.asca-filter-item.is-active .asca-filter-label__text {
    color: var(--asca-navy);
    font-weight: 600;
}
.asca-filter-count {
    font-size: 11px;
    color: var(--asca-text-light);
    background: var(--asca-gray-light);
    padding: 1px 7px;
    border-radius: 20px;
    margin-left: 6px;
}

/* Cloud de tags */
.asca-filter-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.asca-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    border: 1px solid var(--asca-gray-border);
    border-radius: 20px;
    cursor: pointer;
    color: var(--asca-text);
    background: var(--asca-white);
    transition: all var(--transition);
    user-select: none;
}
.asca-filter-tag input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.asca-filter-tag:hover {
    border-color: var(--asca-navy);
    color: var(--asca-navy);
}
.asca-filter-tag.is-active,
.asca-filter-tag:has(input:checked) {
    background: var(--asca-navy);
    border-color: var(--asca-navy);
    color: var(--asca-white);
}
.asca-filter-tag__count {
    font-size: 10px;
    opacity: 0.65;
    font-weight: 500;
}

/* ── COLUMNA PRINCIPAL ── */
.asca-ofertas-main { min-width: 0; }

/* Buscador */
.asca-ofertas-search-row {
    margin-bottom: 20px;
}
.asca-ofertas-search-wrap {
    max-width: 66.6%; /* aprox col-8 dentro de la columna derecha */
}
.asca-ofertas-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.asca-ofertas-search-input-wrap > .fa-magnifying-glass {
    position: absolute;
    left: 14px;
    color: var(--asca-text-light);
    font-size: 14px;
    pointer-events: none;
}
.asca-ofertas-search__input {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 42px;
    border: 2px solid var(--asca-gray-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--asca-text);
    background: var(--asca-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.asca-ofertas-search__input:focus {
    border-color: var(--asca-navy);
    box-shadow: 0 0 0 3px rgba(13,49,120,0.12);
}
.asca-ofertas-search__input::placeholder { color: var(--asca-text-light); }
.asca-ofertas-search__clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--asca-text-light);
    font-size: 14px;
    padding: 4px;
    transition: color var(--transition);
}
.asca-ofertas-search__clear:hover { color: var(--asca-red); }

/* Cabecera conteo */
.asca-ofertas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--asca-gray-border);
}
.asca-ofertas-header__count {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--asca-text-light);
    margin: 0;
}
.asca-ofertas-header__count span {
    font-size: 18px;
    font-weight: 800;
    color: var(--asca-navy);
}
.asca-ofertas-header__status {
    font-size: 12px;
    color: var(--asca-text-light);
    font-style: italic;
}

/* Grid de ofertas (3 columnas dentro de la columna principal) */
.asca-ofertas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    min-height: 200px;
    position: relative;
    margin-bottom: 32px;
    transition: opacity 0.25s ease;
}
.asca-ofertas-grid.is-loading {
    opacity: 0.45;
    pointer-events: none;
}
.asca-ofertas-grid.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 50 50'%3E%3Cpath fill='%230D3178' d='M25,5A20,20,0,1,1,5,25,20,20,0,0,1,25,5m0-5A25,25,0,1,0,50,25,25,25,0,0,0,25,0Z' opacity='.2'/%3E%3Cpath fill='%230D3178' d='M25,5A20,20,0,0,1,45,25h5A25,25,0,0,0,25,0Z'%3E%3CanimateTransform attributeName='transform' dur='0.8s' from='0 25 25' repeatCount='indefinite' to='360 25 25' type='rotate'/%3E%3C/path%3E%3C/svg%3E") center / 36px no-repeat;
    pointer-events: none;
}

/* Estado vacío */
.asca-no-results-block {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: var(--asca-text-light);
}
.asca-no-results-block .fa-graduation-cap {
    font-size: 40px;
    color: var(--asca-gray-mid);
    margin-bottom: 16px;
    display: block;
}
.asca-no-results-block p {
    font-size: 15px;
    margin-bottom: 16px;
}
.asca-btn-clear-inline {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 9px 20px;
    border: 2px solid var(--asca-navy);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--asca-navy);
    cursor: pointer;
    transition: all var(--transition);
}
.asca-btn-clear-inline:hover {
    background: var(--asca-navy);
    color: var(--asca-white);
}

/* Responsive filtros */
@media (max-width: 1199px) {
    .asca-ofertas-layout { grid-template-columns: 240px 1fr; }
    .asca-ofertas-grid   { grid-template-columns: repeat(2, 1fr); }
    .asca-ofertas-search-wrap { max-width: 100%; }
}
@media (max-width: 991px) {
    .asca-ofertas-layout {
        grid-template-columns: 1fr;
    }
    .asca-ofertas-sidebar {
        position: static;
    }
    .asca-filter-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .asca-filter-sidebar__header {
        grid-column: 1 / -1;
    }
    .asca-ofertas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .asca-filter-sidebar { display: block; }
    .asca-ofertas-grid   { grid-template-columns: 1fr; }
    /* Áreas táctiles más cómodas en los filtros (≥~40px) */
    .asca-filter-label { padding: 11px 0; }
    .asca-filter-tag   { padding: 9px 14px; }
}

/* --------------------------------------------------------------------------
   SINGLE OFERTA CURRICULAR — Hero con gradiente
   -------------------------------------------------------------------------- */

/* Hero completo */
.asca-curso-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-color: var(--asca-dark);
    overflow: hidden;
}

/* Imagen de fondo (la imagen destacada via CSS custom property) */
.asca-curso-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--curso-bg, none);
    background-size: cover;
    background-position: top right;   /* visible desde la parte superior */
    z-index: 0;
}

/* Gradiente sobre la imagen: navy sólido izquierda → transparente derecha */
.asca-curso-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #0A1D4A 0%,
        #0A1D4A 40%,
        rgba(10, 29, 74, 0.90) 55%,
        rgba(10, 29, 74, 0.45) 72%,
        rgba(10, 29, 74, 0.10) 100%
    );
    z-index: 1;
}

/* Sin imagen: fondo sólido */
.asca-curso-hero:not([style*="--curso-bg"]) .asca-curso-hero__overlay {
    background: var(--asca-dark);
}

/* Contenedor principal — mismo ancho y gutter que .asca-curso-body__inner */
.asca-curso-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 52px var(--gutter);
    width: 100%;
}

/* El texto se confina a la mitad izquierda dentro del container */
.asca-curso-hero__content {
    max-width: 52%;
}

/* Forzar breadcrumb blanco dentro del hero (ya lo hereda, pero por claridad) */
.asca-curso-hero .asca-breadcrumb,
.asca-curso-hero .asca-breadcrumb a { color: rgba(255,255,255,0.65); }
.asca-curso-hero .asca-breadcrumb a:hover { color: #fff; }
.asca-curso-hero .asca-breadcrumb__sep { color: rgba(255,255,255,0.35); }
.asca-curso-hero .asca-breadcrumb__current { color: #fff; }

/* Badge de categoría */
.asca-curso-hero__cat {
    display: inline-block;
    background: var(--asca-red);
    color: var(--asca-white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 10px 0 14px;
}

/* Título grande blanco */
.asca-curso-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--asca-white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

/* Extracto */
.asca-curso-hero__excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 100%; /* hereda el ancho de __content */
}

/* Lista de meta (Fecha, Duración, Modalidad) */
.asca-curso-hero__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.asca-curso-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}
.asca-curso-hero__meta-item i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}
.asca-curso-hero__meta-item strong {
    color: var(--asca-white);
    font-weight: 600;
    margin-right: 4px;
}

/* Botón PDF rojo */
.asca-curso-hero__pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.asca-curso-hero__pdf-btn i { font-size: 16px; }

/* ── Sección de contenido del programa ── */
.asca-curso-body {
    padding: 48px 0 60px;
}
.asca-curso-body__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.asca-curso-body__content {
    max-width: 820px;
    margin-bottom: 36px;
}

/* Tags en la sección de contenido */
.asca-curso-body__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--asca-gray-border);
}
.asca-curso-body__tags-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--asca-text-light);
    margin-right: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.asca-tag--link {
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.asca-tag--link:hover {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-color: var(--asca-navy);
}

/* Responsive hero curso */
@media (max-width: 1199px) {
    .asca-curso-hero__content { max-width: 62%; }
}
@media (max-width: 991px) {
    .asca-curso-hero { min-height: 360px; }
    .asca-curso-hero::before { background-position: top center; }
    .asca-curso-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(10,29,74,0.96) 0%,
            rgba(10,29,74,0.88) 55%,
            rgba(10,29,74,0.78) 100%
        );
    }
    .asca-curso-hero__inner { padding: 40px var(--gutter) 36px; }
    .asca-curso-hero__content { max-width: 100%; }
    .asca-curso-hero__excerpt { max-width: 100%; }
}
@media (max-width: 575px) {
    .asca-curso-hero { min-height: 300px; }
    .asca-curso-hero__title { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   WHATSAPP FLOTANTE
   -------------------------------------------------------------------------- */
.asca-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Toast de mensaje */
.asca-whatsapp-float__toast {
    background: #fff;
    color: #111;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.asca-whatsapp-float__toast.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Botón circular verde WhatsApp */
.asca-whatsapp-float__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.asca-whatsapp-float__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37,211,102,0.55);
    color: #fff;
}
.asca-whatsapp-float__btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@media (max-width: 575px) {
    .asca-whatsapp-float { bottom: 18px; right: 16px; }
    .asca-whatsapp-float__btn { width: 50px; height: 50px; font-size: 26px; }
    .asca-whatsapp-float__toast { font-size: 12px; padding: 8px 14px; }
}

/* --------------------------------------------------------------------------
   ARCHIVE CPTs — Listados
   -------------------------------------------------------------------------- */
.asca-archive {
    padding: var(--section-pad-y) 0;
}
.asca-archive__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.asca-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}
@media (max-width: 991px) {
    .asca-archive__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .asca-archive__grid { grid-template-columns: 1fr; }
}

/* Tarjeta genérica de archivo */
.asca-archive-card {
    background: var(--asca-white);
    border: 1px solid var(--asca-gray-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}
.asca-archive-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}
.asca-archive-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.asca-archive-card:hover .asca-archive-card__img { transform: scale(1.05); }
.asca-archive-card__img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--asca-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--asca-gray-mid);
}
.asca-archive-card__body {
    padding: 20px 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.asca-archive-card__badge {
    display: inline-block;
    background: var(--asca-navy);
    color: var(--asca-white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.asca-archive-card__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--asca-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}
.asca-archive-card__title a {
    color: inherit;
    text-decoration: none;
}
.asca-archive-card__title a:hover { color: var(--asca-red); }
.asca-archive-card__excerpt {
    font-size: 13px;
    color: var(--asca-text-light);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 14px;
}
.asca-archive-card__meta {
    font-size: 12px;
    color: var(--asca-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.asca-archive-card__meta i { color: var(--asca-navy); margin-right: 4px; }
.asca-archive-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--asca-navy);
    text-decoration: none;
    margin-top: auto;
    transition: color var(--transition);
}
.asca-archive-card__link:hover { color: var(--asca-red); }

/* ── Badge estado Disponible / Próximamente ─────────────────────── */
.asca-archive-card__img-link { position: relative; display: block; }

.asca-oferta-status {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
}
.asca-oferta-status--disponible {
    background: #16a34a;
    color: #fff;
}
.asca-oferta-status--proximamente {
    background: #d97706;
    color: #fff;
}

/* ── Formulario de interés en tarjeta ──────────────────────────── */
.asca-oferta-interest {
    margin-top: 14px;
    border-top: 1px solid var(--asca-gray-border);
    padding-top: 12px;
}
.asca-oferta-interest__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--asca-navy);
    background: none;
    border: 1px solid var(--asca-navy);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.asca-oferta-interest__toggle:hover,
.asca-oferta-interest__toggle[aria-expanded="true"] {
    background: var(--asca-navy);
    color: var(--asca-white);
}
.asca-oferta-interest__form {
    margin-top: 12px;
}
.asca-oferta-interest__form-title {
    font-size: 12px;
    color: var(--asca-text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}
.asca-oferta-interest__field {
    margin-bottom: 8px;
}
.asca-oferta-interest__field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--asca-navy);
    margin-bottom: 3px;
}
.asca-oferta-interest__field input {
    width: 100%;
    padding: 7px 10px;
    font-size: 13px;
    border: 1px solid var(--asca-gray-border);
    border-radius: var(--radius-sm);
    background: var(--asca-white);
    color: var(--asca-text);
    transition: border-color var(--transition);
    box-sizing: border-box;
}
.asca-oferta-interest__field input:focus {
    outline: none;
    border-color: var(--asca-navy);
}
.asca-oferta-interest__actions { margin-top: 10px; }
.asca-oferta-interest__submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--asca-red);
    color: var(--asca-white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 7px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background var(--transition);
}
.asca-oferta-interest__submit:hover { background: #a00; }
.asca-oferta-interest__msg {
    margin-top: 8px;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
}
.asca-oferta-interest__msg--ok  { background: #dcfce7; color: #166534; }
.asca-oferta-interest__msg--err { background: #fee2e2; color: #991b1b; }

/* ── Botón Inscríbete en hero del single ───────────────────────── */
.asca-curso-hero__inscripcion-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

/* Paginación archives — ver sección PAGINACIÓN CIRCULAR al final */

/* Tarjeta docente */
.asca-docente-card {
    background: var(--asca-white);
    border: 1px solid var(--asca-gray-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}
.asca-docente-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}
.asca-docente-card__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.asca-docente-card__photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--asca-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    color: var(--asca-gray-mid);
}
.asca-docente-card__body {
    padding: 18px 16px 20px;
}
.asca-docente-card__name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--asca-navy);
    margin-bottom: 4px;
}
.asca-docente-card__position {
    font-size: 12px;
    font-weight: 600;
    color: var(--asca-red);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.asca-docente-card__spec {
    font-size: 13px;
    color: var(--asca-text-light);
    line-height: 1.6;
}

/* Single docente */
.asca-docente-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 767px) {
    .asca-docente-profile { grid-template-columns: 1fr; }
}
.asca-docente-profile__photo {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}
.asca-docente-profile__photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--asca-gray-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: var(--asca-gray-mid);
}
.asca-docente-profile__name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--asca-navy);
    margin-bottom: 6px;
}
.asca-docente-profile__position {
    font-size: 14px;
    font-weight: 600;
    color: var(--asca-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.asca-docente-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--asca-text-light);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--asca-gray-border);
}
.asca-docente-profile__meta i { color: var(--asca-navy); margin-right: 5px; }

/* ==========================================================================
   EVENTOS — Vista semanal (front-page) + Archive filtro + Single relacionados
   ========================================================================== */

/* ── VISTA SEMANAL — wrapper ─────────────────────────────────── */
.asca-events-week {
    margin-top: 20px;
}

.asca-events-week__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(13, 49, 120, 0.06);
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-bottom: 18px;
}

.asca-events-week__range {
    flex: 1;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--asca-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.asca-events-week__nav-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--asca-navy);
    color: var(--asca-white);
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}
.asca-events-week__nav-btn:hover   { background: var(--asca-dark); }
.asca-events-week__nav-btn:disabled { opacity: 0.38; cursor: not-allowed; }

/* ── CUERPO: grid de días ────────────────────────────────────── */
.asca-events-week__body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    min-height: 100px;
    transition: opacity 0.25s ease;
}
.asca-events-week__body.is-loading { opacity: 0.4; pointer-events: none; }

.asca-events-week__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 44px 20px;
    color: var(--asca-text-muted);
}
.asca-events-week__empty i {
    font-size: 38px;
    color: var(--asca-gray-mid);
    display: block;
    margin-bottom: 12px;
}
.asca-events-week__empty p { margin: 0; font-size: 14px; }

/* ── DÍA — card ──────────────────────────────────────────────── */
.asca-events-day-group {
    background: var(--asca-white);
    border-radius: var(--radius);
    border: 1px solid var(--asca-gray-mid);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.asca-events-day-group__header {
    background: var(--asca-navy);
    color: var(--asca-white);
    padding: 10px 14px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.asca-events-day-group__name {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    opacity: 0.75;
}
.asca-events-day-group__date {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.asca-events-day-group__items { display: flex; flex-direction: column; }

/* ── Ítem de evento en la semana ────────────────────────────── */
.asca-event-week-item {
    display: block;
    padding: 11px 14px;
    border-bottom: 1px solid var(--asca-gray-light);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition);
}
.asca-event-week-item:last-child  { border-bottom: none; }
.asca-event-week-item:hover       { background: var(--asca-gray-light); }

.asca-event-week-item__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--asca-red);
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}
.asca-event-week-item__title {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--asca-navy);
    line-height: 1.3;
    margin-bottom: 5px;
}
.asca-event-week-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 11px;
    color: var(--asca-text-muted);
}
.asca-event-week-item__meta i { color: var(--asca-navy); margin-right: 3px; }

/* ── META BAR en el single de evento ────────────────────────── */
.asca-evento-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-bottom: 28px;
    padding: 16px 22px;
    background: var(--asca-gray-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--asca-navy);
}
.asca-evento-meta-bar__type {
    font-size: 14px;
    font-weight: 700;
    color: var(--asca-navy);
    font-family: var(--font-heading);
}
.asca-evento-meta-bar__type i { margin-right: 6px; }
.asca-evento-meta-bar__item {
    font-size: 14px;
    color: var(--asca-text);
}
.asca-evento-meta-bar__item i { color: var(--asca-navy); margin-right: 6px; }

/* ── EVENTOS RELACIONADOS (single) ───────────────────────────── */
.asca-related-events {
    background: var(--asca-gray-light);
    padding: 52px 0;
    margin-top: 0;
}
.asca-related-events__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.asca-related-events .asca-archive__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Responsive */
@media (max-width: 767px) {
    .asca-events-week__nav-label { display: none; }
    .asca-events-week__nav-btn   { padding: 8px 12px; }
    .asca-events-week__range     { font-size: 11px; }
    .asca-events-week__body      { grid-template-columns: 1fr; }
    .asca-related-events .asca-archive__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   SERVICIOS — Archive (controles + tarjetas)
   -------------------------------------------------------------------------- */
.asca-servicios-page {
    padding: 48px 0 72px;
    background: var(--asca-gray-light);
}
.asca-servicios-page__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ── Grid (tarjetas verticales: más altas que anchas) ── */
.asca-servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 24px;
}
@media (max-width: 575px) { .asca-servicios-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 400px) { .asca-servicios-grid { grid-template-columns: 1fr; } }

/* ── Tarjeta de servicio (vertical, imagen + descripción + CTA) ── */
.asca-servicio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 16px 18px 22px;
    background: var(--asca-white);
    border: 0;
    border-top: 5px solid var(--asca-navy);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--asca-text);
    transition: box-shadow var(--transition), transform var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    isolation: isolate;
}
.asca-servicio-card:hover {
    box-shadow: 0 18px 44px rgba(13,49,120,0.18);
    transform: translateY(-8px);
    color: var(--asca-text);
}

/* Badge de categoría */
.asca-servicio-card__badge {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 2;
    background: rgba(13,49,120,0.92);
    color: var(--asca-white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 50px;
    transition: background var(--transition);
}
.asca-servicio-card:hover .asca-servicio-card__badge { background: var(--asca-red); }

/* Banner superior: imagen subida o imagen por defecto (sin doble fondo) */
.asca-servicio-card__icon-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: var(--asca-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.asca-servicio-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.55s cubic-bezier(.2,.7,.2,1);
}
.asca-servicio-card:hover .asca-servicio-card__img { transform: scale(1.05); }
.asca-servicio-card__icon-wrap i {
    font-size: 48px;
    color: var(--asca-white);
    transition: transform 0.45s, color var(--transition);
}
.asca-servicio-card:hover .asca-servicio-card__icon-wrap i {
    transform: scale(1.05);
    color: var(--asca-white);
}

.asca-servicio-card__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--asca-navy);
    line-height: 1.3;
    margin: 0;
    transition: color var(--transition);
}
.asca-servicio-card:hover .asca-servicio-card__title { color: var(--asca-red); }

.asca-servicio-card__excerpt {
    font-size: 13px;
    color: var(--asca-text-light);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA siempre alineado al pie para igualar alturas */
.asca-servicio-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--asca-navy);
    margin-top: auto;
    padding: 9px 20px;
    border: 1.5px solid var(--asca-navy);
    border-radius: 50px;
    transition: all var(--transition);
}
.asca-servicio-card__cta i { transition: transform var(--transition); }
.asca-servicio-card:hover .asca-servicio-card__cta {
    background: var(--asca-red);
    border-color: var(--asca-red);
    color: var(--asca-white);
}
.asca-servicio-card:hover .asca-servicio-card__cta i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   SERVICIOS — Sección en Home
   -------------------------------------------------------------------------- */
.asca-servicios-home {
    background: var(--asca-gray-light);
    padding: var(--section-pad-y) 0;
}
.asca-servicios-home__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.asca-servicios-home__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1199px) { .asca-servicios-home__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .asca-servicios-home__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .asca-servicios-home__grid { grid-template-columns: 1fr; } }

/* Tarjeta home del servicio */
.asca-servicio-home-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 18px 22px;
    background: var(--asca-white);
    border: 1px solid var(--asca-gray-border);
    border-bottom: 3px solid var(--asca-navy);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--asca-text);
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition), border-bottom-color var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.asca-servicio-home-card:hover {
    box-shadow: 0 12px 30px rgba(13,49,120,0.14);
    transform: translateY(-5px);
    border-bottom-color: var(--asca-red);
}

.asca-servicio-home-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--asca-navy) 0%, #1a4fa8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(13,49,120,0.18);
}
.asca-servicio-home-card:hover .asca-servicio-home-card__icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--asca-red) 0%, #e02020 100%);
    box-shadow: 0 4px 16px rgba(193,39,45,0.28);
}
.asca-servicio-home-card__icon i {
    font-size: 24px;
    color: var(--asca-white);
}

.asca-servicio-home-card__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--asca-navy);
    line-height: 1.35;
    transition: color var(--transition);
}
.asca-servicio-home-card:hover .asca-servicio-home-card__title { color: var(--asca-red); }

.asca-servicio-home-card__excerpt {
    font-size: 12px;
    color: var(--asca-text-light);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.asca-servicio-home-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--asca-gray-light);
    color: var(--asca-navy);
    font-size: 13px;
    margin-top: 4px;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.asca-servicio-home-card:hover .asca-servicio-home-card__arrow {
    background: var(--asca-red);
    color: var(--asca-white);
    transform: translateX(4px);
}

/* Mobile ≤480px: tarjeta horizontal para mejor legibilidad */
@media (max-width: 480px) {
    .asca-servicio-home-card {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 14px;
        align-items: flex-start;
    }
    .asca-servicio-home-card__icon {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }
    .asca-servicio-home-card__icon i { font-size: 20px; }
    .asca-servicio-home-card__arrow { margin-top: auto; }
}

/* ================================================================
   SINGLE OFERTA CURRICULAR — Benefits, Banner, Docentes, Services
   ================================================================ */

/* Benefits section */
.asca-curso-benefits {
    background: var(--asca-white);
    padding: 64px 0;
}
.asca-curso-benefits__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.asca-curso-benefits__title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--asca-navy);
    margin-bottom: 40px;
}
.asca-curso-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    justify-items: center;
}
.asca-curso-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 220px;
}
.asca-curso-benefit__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--asca-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.asca-curso-benefit__text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--asca-text);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Banner CTA */
.asca-curso-banner {
    position: relative;
    background: var(--asca-dark);
    background-image: var(--banner-bg, none);
    background-size: cover;
    background-position: center;
    padding: 80px 24px;
    text-align: center;
    overflow: hidden;
}
.asca-curso-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,29,74,0.75);
}
.asca-curso-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.asca-curso-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}
.asca-curso-banner__btn {
    font-size: 1rem;
    padding: 14px 40px;
}

/* Docentes section */
.asca-curso-docentes {
    background: #f5f7fc;
    padding: 64px 0;
}
.asca-curso-docentes__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.asca-curso-docentes__title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 800;
    color: var(--asca-navy);
    text-align: center;
    margin-bottom: 36px;
}
.asca-curso-docentes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.asca-docente-card {
    background: var(--asca-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13,49,120,0.07);
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.asca-docente-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13,49,120,0.12);
}
.asca-docente-card__photo {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--asca-gray-light);
}
.asca-docente-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.asca-docente-card__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--asca-navy);
    opacity: 0.3;
}
.asca-docente-card__body {
    padding: 16px;
}
.asca-docente-card__name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--asca-navy);
    margin: 0 0 4px;
    line-height: 1.3;
}
.asca-docente-card__pos {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--asca-red);
    margin: 0 0 4px;
}
.asca-docente-card__spec {
    font-size: 0.78rem;
    color: var(--asca-text-muted);
    margin: 0;
}

/* Services on single course */
.asca-curso-services {
    background: var(--asca-white);
    padding: 64px 0;
}
.asca-curso-services__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.asca-curso-services__title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 800;
    color: var(--asca-navy);
    text-align: center;
    margin-bottom: 36px;
}
.asca-curso-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.asca-curso-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 28px 20px;
    background: #f5f7fc;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--asca-text);
    border: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.asca-curso-service-card:hover {
    border-color: var(--asca-navy);
    background: #fff;
    transform: translateY(-3px);
}
.asca-curso-service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--asca-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.2s;
}
.asca-curso-service-card:hover .asca-curso-service-card__icon {
    background: var(--asca-red);
}
.asca-curso-service-card__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--asca-navy);
    margin: 0;
    line-height: 1.3;
}
.asca-curso-service-card__excerpt {
    font-size: 0.8rem;
    color: var(--asca-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* News card excerpt (new) */
.asca-news-card__excerpt {
    font-size: 0.82rem;
    color: var(--asca-text-muted);
    line-height: 1.5;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive single-oferta new sections */
@media (max-width: 768px) {
    .asca-curso-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .asca-curso-docentes__grid { grid-template-columns: repeat(2, 1fr); }
    .asca-curso-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .asca-curso-benefits__grid { grid-template-columns: 1fr; }
    .asca-curso-docentes__grid { grid-template-columns: 1fr; }
    .asca-curso-services__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SINGLE OFERTA CURRICULAR — ¿Por qué estudiar? + Tabs
   ================================================================ */

/* ── ¿Por qué estudiar en ASCA? ─────────────────────────────────── */
.asca-curso-why {
    background: var(--asca-white);
    padding: 64px 0;
    border-bottom: 1px solid #eef0f6;
}
.asca-curso-why__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.asca-curso-why__title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--asca-navy);
    margin: 0 0 16px;
}
.asca-curso-why__lead {
    font-size: 1rem;
    color: var(--asca-text-muted);
    max-width: 680px;
    margin: 0 auto 44px;
    line-height: 1.7;
}
.asca-curso-why__grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.asca-curso-why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 180px;
}
.asca-curso-why-item__icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--asca-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: background 0.25s;
}
.asca-curso-why-item:hover .asca-curso-why-item__icon {
    background: var(--asca-red);
}
.asca-curso-why-item__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--asca-text);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* ── Tab section ────────────────────────────────────────────────── */
.asca-curso-tabs-section {
    background: #f8f9fc;
    padding: 0px;
}
.asca-curso-tabs-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1px 24px;
}

/* Tab buttons row */
.asca-curso-tabs {
    display: flex;
    gap: 0;
   /* border-bottom: 3px solid #dde1ec; */
    margin-bottom: 40px;
}
.asca-curso-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--asca-text-muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.asca-curso-tab i { font-size: 0.95rem; }
.asca-curso-tab:hover {
    color: var(--asca-navy);
}
.asca-curso-tab.is-active {
    color: var(--asca-navy);
    border-bottom-color: var(--asca-navy);
}

/* Tab panels */
.asca-curso-tab-panel {
    display: none;
}
.asca-curso-tab-panel.is-active {
    display: block;
    animation: asca-tab-in 0.25s ease;
}
@keyframes asca-tab-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Docentes grid inside tab */
.asca-curso-docentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .asca-curso-why__grid { gap: 28px; }
    .asca-curso-why-item__icon { width: 72px; height: 72px; font-size: 1.5rem; }
    .asca-curso-tab { padding: 12px 18px; font-size: 0.9rem; }
    .asca-curso-docentes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .asca-curso-why__grid { gap: 20px; }
    .asca-curso-why-item { max-width: 140px; }
    .asca-curso-tab { padding: 10px 14px; font-size: 0.82rem; }
    .asca-curso-docentes-grid { grid-template-columns: 1fr; }
}

/* ── Tab empty state ─────────────────────────────────────────────── */
.asca-curso-tab-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 48px 32px;
    background: #f0f3fa;
    border-radius: var(--radius-md);
    color: var(--asca-text-muted);
    font-size: 1rem;
    font-style: italic;
    border: 2px dashed #dde1ec;
}
.asca-curso-tab-empty i {
    font-size: 1.4rem;
    color: var(--asca-navy);
    opacity: 0.5;
    flex-shrink: 0;
}

/* ── Why item text ───────────────────────────────────────────────── */
.asca-curso-why-item__text {
    font-size: 0.88rem;
    color: var(--asca-text-muted);
    line-height: 1.5;
    margin: 6px 0 0;
    text-align: center;
}

/* ==========================================================================
   ADMISIONES — Secciones específicas
   ========================================================================== */

/* ── Conoce más (texto + video) ─────────────────────────────────── */
.asca-conoce-mas {
    background: var(--asca-white);
    padding: var(--section-pad-y) 0;
}
.asca-conoce-mas__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.asca-conoce-mas__title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--asca-navy);
    margin: 0 0 20px;
    line-height: 1.2;
}
.asca-conoce-mas__body {
    font-size: 14px;
    color: var(--asca-text-light);
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Video embed */
.asca-conoce-mas__video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--asca-dark);
}
.asca-conoce-mas__video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.asca-conoce-mas__video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 4rem;
    color: rgba(255,255,255,0.6);
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.asca-conoce-mas__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}
.asca-conoce-mas__img-placeholder {
    aspect-ratio: 16 / 9;
    background: var(--asca-gray-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--asca-gray-mid);
}

/* ── Banner Tour Virtual ─────────────────────────────────────────── */
.asca-tour-banner {
    position: relative;
    background: var(--asca-dark);
    background-image: var(--tour-bg, none);
    background-size: cover;
    background-position: center;
    padding: 80px var(--gutter);
    text-align: left;
    overflow: hidden;
}
.asca-tour-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,29,74,0.72);
}
.asca-tour-banner__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.asca-tour-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 0;
    max-width: 680px;
}
.asca-tour-banner__btn {
    white-space: nowrap;
    padding: 14px 40px;
    font-size: 1rem;
}

@media (max-width: 991px) {
    .asca-conoce-mas__inner { grid-template-columns: 1fr; gap: 32px; }
    .asca-tour-banner__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   MARCO LEGAL — Estilos
   ========================================================================== */

/* Contenido principal (al lado del sidebar) */
.asca-ml-content {
    flex: 1;
    min-width: 0;
}
.asca-ml-content__title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 800;
    color: var(--asca-navy);
    margin: 0 0 28px;
}

/* ── Pestañas ────────────────────────────────────────────────────── */
.asca-ml-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--asca-gray-border);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.asca-ml-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 11px 28px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--asca-text-muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}
.asca-ml-tab:hover {
    color: var(--asca-navy);
    background: var(--asca-gray-light);
}
.asca-ml-tab.is-active {
    color: var(--asca-white);
    background: var(--asca-navy);
    border-bottom-color: var(--asca-red);
}

/* ── Paneles ─────────────────────────────────────────────────────── */
.asca-ml-panel {
    display: none;
}
.asca-ml-panel.is-active {
    display: block;
    animation: asca-tab-in 0.2s ease;
}

/* ── Lista de documentos ─────────────────────────────────────────── */
.asca-ml-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--asca-gray-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.asca-ml-doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--asca-white);
    border-bottom: 1px solid var(--asca-gray-border);
    transition: background 0.15s;
}
.asca-ml-doc-item:last-child { border-bottom: none; }
.asca-ml-doc-item:hover { background: #f5f8ff; }

.asca-ml-doc-item__icon {
    font-size: 1.5rem;
    color: #CC1111;
    flex-shrink: 0;
    line-height: 1;
}
.asca-ml-doc-item__title {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--asca-navy);
    line-height: 1.4;
}
.asca-ml-doc-item__btn {
    display: inline-block;
    padding: 6px 18px;
    background: var(--asca-navy);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.asca-ml-doc-item__btn:hover {
    background: var(--asca-red);
    color: #fff;
}

.asca-ml-empty {
    padding: 32px;
    text-align: center;
    color: var(--asca-text-muted);
    font-style: italic;
    background: var(--asca-gray-light);
    border-radius: var(--radius-sm);
}

@media (max-width: 600px) {
    .asca-ml-doc-item { flex-wrap: wrap; gap: 10px; }
    .asca-ml-doc-item__btn { width: 100%; text-align: center; }
    .asca-ml-tab { padding: 10px 16px; font-size: 0.76rem; }
}

/* ================================================================
   MARCO LEGAL — tab bar overflow para numero dinamico de pestanas
   ================================================================ */
.asca-ml-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    flex-wrap: nowrap;
}
.asca-ml-tab {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ================================================================
   NOTICIAS — SINGLE (sidebar izquierdo + relacionadas)
   ================================================================ */

/* Token sutil de azul navy */
:root {
    --asca-navy-subtle:        #EDF1FB;
    --asca-navy-subtle-border: #C3CFEC;
}

/* Wrapper del single */
.asca-news-single-wrapper {
    max-width: var(--container);
    margin: 0 auto;
    padding: 48px var(--gutter);
}

/* Layout 2 columnas: sidebar | main */
.asca-news-single-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* ── SIDEBAR ─────────────────────────────────────────── */
.asca-news-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Widget genérico del sidebar */
.asca-sidebar-widget {
    background: var(--asca-white);
    border: 1px solid var(--asca-gray-mid);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.asca-sidebar-widget__title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--asca-navy);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--asca-navy-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}
.asca-sidebar-widget__title i {
    color: var(--asca-red);
    font-size: 14px;
}

.asca-sidebar-widget__empty {
    font-size: 13px;
    color: var(--asca-text-muted);
    margin: 0;
}

/* Lista de noticias en sidebar */
.asca-sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asca-sidebar-news-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--asca-gray-mid);
}
.asca-sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }

.asca-sidebar-news-item__img-link {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--asca-gray-light);
    flex-shrink: 0;
}
.asca-sidebar-news-item__img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.asca-sidebar-news-item:hover .asca-sidebar-news-item__img-link img {
    transform: scale(1.05);
}

.asca-sidebar-news-item__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asca-sidebar-news-item__date {
    font-size: 10px;
    color: var(--asca-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.asca-sidebar-news-item__title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--asca-navy);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}
.asca-sidebar-news-item__title:hover { color: var(--asca-red); }

.asca-sidebar-widget__ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--asca-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-top: 1px solid var(--asca-gray-mid);
    padding-top: 12px;
    width: 100%;
    transition: color var(--transition);
}
.asca-sidebar-widget__ver-todas:hover { color: var(--asca-red); }

/* ── CARD DE SUSCRIPCIÓN ─────────────────────────────── */
.asca-subscribe-card {
    background: linear-gradient(145deg, var(--asca-navy) 0%, var(--asca-dark) 100%);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    color: var(--asca-white);
    box-shadow: 0 6px 24px rgba(13,49,120,0.25);
}

.asca-subscribe-card__icon {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: var(--asca-white);
    border: 1px solid rgba(255,255,255,0.2);
}

.asca-subscribe-card__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--asca-white);
    margin: 0 0 10px;
    line-height: 1.3;
}

.asca-subscribe-card__text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.80);
    margin: 0 0 18px;
}

.asca-subscribe-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--asca-red);
    color: var(--asca-white);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background var(--transition), transform var(--transition);
    border: none;
    cursor: pointer;
}
.asca-subscribe-card__btn:hover {
    background: var(--asca-red-hover);
    color: var(--asca-white);
    transform: translateY(-1px);
}

/* ── CONTENIDO SINGLE ────────────────────────────────── */
.asca-news-single-main {
    min-width: 0; /* evita overflow en grid */
}

.asca-single__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--asca-gray-mid);
}

.asca-single__date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--asca-text-muted);
    text-transform: uppercase;
}
.asca-single__date i { color: var(--asca-navy); }

.asca-single__cat-badge {
    display: inline-block;
    background: var(--asca-navy-subtle);
    color: var(--asca-navy);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 30px;
    border: 1px solid var(--asca-navy-subtle-border);
    transition: background var(--transition), color var(--transition);
}
.asca-single__cat-badge:hover {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-color: var(--asca-navy);
}

/* ── NOTICIAS RELACIONADAS (sección debajo del layout) ── */
.asca-news-related {
    background: var(--asca-gray-light);
    padding: 56px 0;
    border-top: 1px solid var(--asca-gray-mid);
}
.asca-news-related__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Override: 3 columnas para las relacionadas */
.asca-news-related .asca-news-grid {
    grid-template-columns: repeat(3, 1fr);
}
/* En tablet evita 3 columnas apretadas (la base colapsa a 1fr recién en 768px) */
@media (max-width: 991px) {
    .asca-news-related .asca-news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── CATEGORÍA Y SEPARADOR en news cards ─────────────── */
.asca-news-card__cat-sep {
    color: var(--asca-gray-border);
    font-size: 11px;
}
.asca-news-card__cat {
    font-size: 11px;
    color: var(--asca-navy);
    font-weight: 700;
    text-transform: uppercase;
    transition: color var(--transition);
}
.asca-news-card__cat:hover { color: var(--asca-red); }

/* ================================================================
   NOTICIAS — ARCHIVE/INDEX (slideshow hero + layout sidebar)
   ================================================================ */

/* ── SLIDESHOW HERO DE NOTICIAS ──────────────────────── */
.asca-nhs {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: var(--asca-dark);
}

.asca-nhs__track { width: 100%; height: 100%; }

.asca-nhs__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}
.asca-nhs__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.asca-nhs__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}
.asca-nhs__slide.is-active .asca-nhs__bg {
    transform: scale(1.04);
}
.asca-nhs__bg--fallback {
    background: linear-gradient(135deg, var(--asca-dark) 0%, var(--asca-navy) 100%);
}

.asca-nhs__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,29,74,0.88) 0%, rgba(10,29,74,0.55) 55%, rgba(10,29,74,0.18) 100%);
}

.asca-nhs__content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;
}

.asca-nhs__cat {
    display: inline-block;
    background: var(--asca-red);
    color: var(--asca-white);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
    transition: background var(--transition);
    align-self: flex-start;
}
.asca-nhs__cat:hover { background: var(--asca-red-hover); color: var(--asca-white); }

.asca-nhs__title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--asca-white);
    line-height: 1.25;
    margin: 0 0 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.asca-nhs__title a { color: inherit; }
.asca-nhs__title a:hover { color: rgba(255,255,255,0.85); }

.asca-nhs__excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.asca-nhs__footer {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.asca-nhs__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.asca-nhs__btn {
    font-size: 12px;
    padding: 9px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* Flechas */
.asca-nhs__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--asca-white);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    backdrop-filter: blur(4px);
}
.asca-nhs__arrow:hover { background: rgba(255,255,255,0.25); }
.asca-nhs__arrow--prev { left: 20px; }
.asca-nhs__arrow--next { right: 20px; }

/* Dots */
.asca-nhs__dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
    align-items: center;
}
.asca-nhs__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}
.asca-nhs__dot.is-active {
    background: var(--asca-white);
    transform: scale(1.35);
}

/* ── LAYOUT ARCHIVO NOTICIAS ─────────────────────────── */
.asca-news-archive-section { padding-top: 40px; }

.asca-news-archive-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

.asca-news-archive-main { min-width: 0; }

.asca-news-archive-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

/* ── NOTICIAS MÁS LEÍDAS (sidebar archive) ──────────── */
.asca-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: popular-counter;
}

.asca-popular-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--asca-gray-mid);
}
.asca-popular-item:first-child { padding-top: 0; }
.asca-popular-item:last-child { border-bottom: none; padding-bottom: 0; }

.asca-popular-item__rank {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--asca-navy-subtle);
    border: 1px solid var(--asca-navy-subtle-border);
    color: var(--asca-navy);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.asca-popular-item:first-child .asca-popular-item__rank {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-color: var(--asca-navy);
}
.asca-popular-item:nth-child(2) .asca-popular-item__rank,
.asca-popular-item:nth-child(3) .asca-popular-item__rank {
    background: var(--asca-navy-subtle-border);
    border-color: var(--asca-navy);
    color: var(--asca-navy);
}

.asca-popular-item__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.asca-popular-item__title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--asca-navy);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}
.asca-popular-item__title:hover { color: var(--asca-red); }

.asca-popular-item__date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: var(--asca-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}
.asca-popular-item__date i { color: var(--asca-navy); font-size: 9px; }

/* Widget sticky del sidebar */
.asca-sidebar-widget--sticky {
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

/* ── ESTADO VACÍO ────────────────────────────────────── */
.asca-news-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--asca-text-muted);
}
.asca-news-empty i {
    font-size: 48px;
    color: var(--asca-gray-mid);
    display: block;
    margin-bottom: 16px;
}
.asca-news-empty p { margin-bottom: 16px; }

/* ================================================================
   PAGINACIÓN CIRCULAR — aplica a TODOS los archives
   ================================================================ */
.asca-news-pagination,
.asca-archive__pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.asca-news-pagination ul,
.asca-archive__pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.asca-news-pagination ul li,
.asca-archive__pagination .nav-links li { display: contents; }

/* Reset ul.page-numbers — paginate_links(type='list') pone la clase en el <ul> también */
.asca-news-pagination ul.page-numbers,
.asca-archive__pagination ul.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    background: none;
    border: none;
    border-radius: 0;
    min-width: auto;
    height: auto;
    box-shadow: none;
}

.asca-news-pagination a.page-numbers,
.asca-news-pagination span.page-numbers,
.asca-archive__pagination a.page-numbers,
.asca-archive__pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 50%;
    background: var(--asca-navy-subtle);
    border: 1.5px solid var(--asca-navy-subtle-border);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--asca-navy);
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    line-height: 1;
}
.asca-news-pagination a.page-numbers:hover,
.asca-archive__pagination a.page-numbers:hover {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-color: var(--asca-navy);
    transform: translateY(-1px);
}
.asca-news-pagination span.page-numbers.current,
.asca-archive__pagination span.page-numbers.current {
    background: var(--asca-navy);
    color: var(--asca-white);
    border-color: var(--asca-navy);
    box-shadow: 0 4px 12px rgba(13,49,120,0.3);
}
/* Puntos suspensivos */
.asca-news-pagination span.page-numbers.dots,
.asca-archive__pagination span.page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--asca-text-muted);
    cursor: default;
    pointer-events: none;
}
/* Prev / Next como flechas circulares */
.asca-news-pagination a.prev.page-numbers,
.asca-news-pagination a.next.page-numbers,
.asca-archive__pagination a.prev.page-numbers,
.asca-archive__pagination a.next.page-numbers {
    font-size: 12px;
}

/* ================================================================
   RESPONSIVE — noticias single, archive, slideshow
   ================================================================ */
@media (max-width: 1024px) {
    .asca-news-single-layout {
        grid-template-columns: 240px 1fr;
        gap: 28px;
    }
    .asca-news-archive-layout {
        grid-template-columns: 1fr 240px;
        gap: 28px;
    }
    .asca-nhs { height: 400px; }
}

@media (max-width: 768px) {
    .asca-news-single-wrapper { padding: 28px var(--gutter); }
    .asca-news-single-layout {
        grid-template-columns: 1fr;
    }
    .asca-news-sidebar {
        position: static;
        /* En móvil: sidebar debajo del contenido */
        order: 2;
    }
    .asca-news-single-main { order: 1; }

    .asca-news-archive-layout {
        grid-template-columns: 1fr;
    }
    .asca-news-archive-sidebar { position: static; order: 2; }
    .asca-news-archive-main   { order: 1; }

    .asca-news-related .asca-news-grid { grid-template-columns: 1fr; }
    .asca-nhs { height: 320px; }
    .asca-nhs__excerpt { -webkit-line-clamp: 2; }
    .asca-nhs__arrow { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
    .asca-nhs { height: 280px; }
    .asca-nhs__title { font-size: 18px; }
    .asca-nhs__excerpt { display: none; }
    .asca-nhs__arrow { display: none; }
    .asca-news-archive-section { padding-top: 24px; }
}

/* ================================================================
   BÚSQUEDA — search.php
   ================================================================ */

.asca-search-section { padding-top: 48px; padding-bottom: 64px; }

/* Encabezado de resultados */
.asca-search-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--asca-navy-subtle-border);
}
.asca-search-header__count {
    font-size: 15px;
    color: var(--asca-text-muted);
    margin: 0;
}
.asca-search-header__count strong { color: var(--asca-navy); font-weight: 700; }
.asca-search-header__count--empty { color: var(--asca-red); }

/* Formulario inline de nueva búsqueda */
.asca-search-form-inline {
    display: flex;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1.5px solid var(--asca-navy-subtle-border);
}
.asca-search-form-inline__input {
    border: none;
    padding: 8px 14px;
    font-size: 14px;
    outline: none;
    width: 220px;
    background: #fff;
    color: var(--asca-dark);
}
.asca-search-form-inline__btn {
    border: none;
    background: var(--asca-navy);
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background var(--transition);
}
.asca-search-form-inline__btn:hover { background: var(--asca-dark); }

/* Grupos de resultados */
.asca-search-group { margin-bottom: 48px; }

.asca-search-group__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--asca-navy-subtle-border);
}
.asca-search-group__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--asca-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.asca-search-group__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--asca-navy);
    margin: 0;
}
.asca-search-group__count {
    margin-left: auto;
    background: var(--asca-navy-subtle);
    border: 1px solid var(--asca-navy-subtle-border);
    color: var(--asca-navy);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 10px;
}

/* Lista de resultados */
.asca-search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asca-search-result-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--asca-navy-subtle-border);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition), transform var(--transition);
}
.asca-search-result-item:hover {
    box-shadow: 0 4px 16px rgba(13,49,120,0.1);
    transform: translateY(-1px);
}
.asca-search-result-item__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: block;
}
.asca-search-result-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.asca-search-result-item__body {
    flex: 1;
    min-width: 0;
}
.asca-search-result-item__title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.asca-search-result-item__title a {
    color: var(--asca-navy);
    text-decoration: none;
}
.asca-search-result-item__title a:hover { color: var(--asca-red); }
.asca-search-result-item__excerpt {
    font-size: 13px;
    color: var(--asca-text-muted);
    margin: 0 0 8px;
    line-height: 1.5;
}
.asca-search-result-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.asca-search-result-item__date {
    color: var(--asca-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.asca-search-result-item__cat {
    background: var(--asca-navy-subtle);
    border: 1px solid var(--asca-navy-subtle-border);
    color: var(--asca-navy);
    border-radius: 20px;
    padding: 2px 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
}
.asca-search-result-item__link {
    margin-left: auto;
    color: var(--asca-navy);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}
.asca-search-result-item__link:hover { color: var(--asca-red); }

@media (max-width: 600px) {
    .asca-search-header { flex-direction: column; align-items: flex-start; }
    .asca-search-form-inline__input { width: 160px; }
    .asca-search-result-item__thumb { width: 60px; height: 60px; }
}

/* ================================================================
   TOPBAR — Acceso Rápido (solo escritorio, estilo institucional)
   ================================================================ */

/* Barra superior completa */
.asca-topbar {
    background: var(--asca-dark, #0A1D4A);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    /* Solo visible en escritorio */
    display: block;
}

.asca-topbar__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Lista de enlaces */
.asca-topbar__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.asca-topbar__menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: color 0.18s, background 0.18s;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.asca-topbar__menu > li:last-child > a {
    border-right: none;
}

.asca-topbar__menu > li > a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

/* Oculto en mobile — no rompe el header */
@media (max-width: 991px) {
    .asca-topbar { display: none; }
}

/* ── IDIOMA — shortcode del plugin ───────────────────────────── */
.asca-lang-wrapper {
    display: flex;
    align-items: center;
}

/* ================================================================
   GTRANSLATE — Override para que se vea idéntico al diseño ASCA
   HTML que genera float.js (no modificar archivos del plugin):
     #gt_float_wrapper [position:fixed ← anulado]
       └── .gt_float_switcher
             ├── .gt-selected > .gt-current-lang
             │     ├── img (bandera ← oculta, se reemplaza por ícono globe)
             │     ├── span.gt-lang-code
             │     └── span.gt_float_switcher-arrow (SVG ← reemplazado por chevron)
             └── .gt_options [display:none/block via JS, .gt-open via JS]
                   └── a[data-gt-lang] > img + texto
   ================================================================ */

/* ── 1. Posicionamiento: anular position:fixed del flotador ───── */
.asca-lang-wrapper .gtranslate_wrapper {
    display: inline-flex !important;
    align-items: center !important;
    position: static !important;
}
.asca-lang-wrapper #gt_float_wrapper {
    position: static !important;
    bottom: auto !important; right: auto !important;
    left: auto !important;   top: auto !important;
    z-index: auto !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* ── 2. Switcher: reset estilos del plugin ────────────────────── */
.asca-lang-wrapper .gt_float_switcher {
    position: relative !important;  /* ancla el dropdown */
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* ── 3. BOTÓN — replica exacta de .asca-lang-btn ─────────────── */
.asca-lang-wrapper .gt_float_switcher .gt-selected {
    cursor: pointer;
}
.asca-lang-wrapper .gt_float_switcher .gt-selected .gt-current-lang {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    border: 1.5px solid var(--asca-gray-border) !important;
    border-radius: 6px !important;
    padding: 5px 10px 5px 8px !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--asca-text) !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    transition: border-color 0.2s, background 0.2s, color 0.2s !important;
}
.asca-lang-wrapper .gt_float_switcher .gt-selected:hover .gt-current-lang {
    border-color: var(--asca-navy) !important;
    color: var(--asca-navy) !important;
    background: rgba(13,49,120,0.04) !important;
}

/* Globe icon antes del código (reemplaza la bandera en el botón) */
.asca-lang-wrapper .gt_float_switcher .gt-selected .gt-current-lang::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f57d";           /* fa-globe */
    font-size: 13px;
    color: var(--asca-navy);
    line-height: 1;
    display: inline-block;
}

/* Ocultar bandera en el botón (se muestra globe en su lugar) */
.asca-lang-wrapper .gt_float_switcher .gt-selected img {
    display: none !important;
}

/* Código del idioma */
.asca-lang-wrapper .gt_float_switcher .gt-lang-code {
    position: static !important;
    top: auto !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--asca-text) !important;
    text-transform: uppercase !important;
}

/* Flecha: ocultar SVG del plugin, sustituir con chevron via ::after */
.asca-lang-wrapper .gt_float_switcher .gt_float_switcher-arrow {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    background-image: none !important;
    background: transparent !important;
    transition: transform 0.2s ease !important;
}
.asca-lang-wrapper .gt_float_switcher .gt_float_switcher-arrow::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";           /* fa-chevron-down */
    font-size: 8px;
    color: var(--asca-text-muted);
    display: inline-block;
}
/* Rotar chevron cuando el dropdown está abierto */
.asca-lang-wrapper .gt_float_switcher .gt_float_switcher-arrow.gt_arrow_rotate {
    transform: rotate(180deg) !important;
}

/* ── 4. DROPDOWN — replica exacta de .asca-lang-dropdown ─────── */
/*
 * GTranslate JS:
 *   Abrir: display:block → 200ms → class .gt-open
 *   Cerrar: quita .gt-open → 200ms → display:none
 * Aprovechamos ese timing para la animación.
 */
.asca-lang-wrapper .gt_float_switcher .gt_options {
    /* Posición */
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 9999 !important;
    /* Aspecto */
    background: var(--asca-white, #fff) !important;
    border: 1px solid var(--asca-gray-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    /* Tamaño */
    min-width: 148px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    padding: 6px !important;
    margin: 0 !important;
    list-style: none !important;
    /* Animación: estado inicial (display:block pero antes del .gt-open) */
    opacity: 0 !important;
    transform: translateY(-6px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}
/* Abierto: el JS añade .gt-open 200ms después del display:block */
.asca-lang-wrapper .gt_float_switcher .gt_options.gt-open {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ── 5. ITEMS del dropdown — replica de .asca-lang-option ─────── */
.asca-lang-wrapper .gt_float_switcher .gt_options a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--asca-text) !important;
    letter-spacing: 0.3px !important;
    transition: background 0.15s, color 0.15s !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    background: transparent !important;
}
.asca-lang-wrapper .gt_float_switcher .gt_options a:hover {
    background: var(--asca-gray-light) !important;
    color: var(--asca-navy) !important;
}

/* Bandera en el dropdown (pequeña, redondeada) */
.asca-lang-wrapper .gt_float_switcher .gt_options a img {
    width: 18px !important;
    height: auto !important;
    border-radius: 2px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* Ocultar idioma activo en el dropdown (.gt-current lo pone el plugin) */
.asca-lang-wrapper .gt_float_switcher .gt_options a.gt-current {
    display: none !important;
}

/* ── 6. Scrollbar del dropdown ────────────────────────────────── */
.asca-lang-wrapper .gt_float_switcher .gt_options::-webkit-scrollbar { width: 4px; }
.asca-lang-wrapper .gt_float_switcher .gt_options::-webkit-scrollbar-track { background: transparent; }
.asca-lang-wrapper .gt_float_switcher .gt_options::-webkit-scrollbar-thumb {
    background: var(--asca-gray-border);
    border-radius: 2px;
}

/* ── 7. SOLO CÓDIGOS — Ocultar nombres completos en el dropdown ── */
/* Ocultar el span con el nombre; mostrar solo bandera + código vía attr() */
.asca-lang-wrapper .gt_float_switcher .gt_options a span { display: none !important; }
.asca-lang-wrapper .gt_float_switcher .gt_options a::after {
    content: attr(data-gt-lang);
    text-transform: uppercase;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: inherit !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 0.6px;
}
/* Caso lang_names (texto directo sin span): ocultar con font-size:0 */
.asca-lang-wrapper .gt_float_switcher .gt_options a:not(:has(img)):not(:has(span)) {
    font-size: 0 !important;
}
.asca-lang-wrapper .gt_float_switcher .gt_options a:not(:has(img)):not(:has(span))::after {
    font-size: 11px !important;
}

/* ================================================================
   GTRANSLATE — Tipos adicionales de widget
   ================================================================

   TIPO 2: Inline (lang_codes / lang_names / flags / flags_code / flags_name)
   HTML: <div class="gtranslate_wrapper">
           <a href="#" data-gt-lang="es" class="gt-current-lang notranslate">…</a>
           <a href="#" data-gt-lang="en" class="notranslate">…</a>
         </div>
   ================================================================ */

/* Contenedor sin gt_float_switcher = widget inline */
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}

/* Cada enlace de idioma inline */
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 9px !important;
    border: 1.5px solid var(--asca-gray-border) !important;
    border-radius: 6px !important;
    font-family: var(--font-heading) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: var(--asca-text) !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: border-color 0.2s, background 0.2s, color 0.2s !important;
    white-space: nowrap !important;
}
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a:hover {
    border-color: var(--asca-navy) !important;
    color: var(--asca-navy) !important;
    background: rgba(13,49,120,0.05) !important;
}
/* Idioma activo */
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a.gt-current-lang {
    border-color: var(--asca-navy) !important;
    background: var(--asca-navy) !important;
    color: var(--asca-white) !important;
}

/* Flags en inline */
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a img {
    width: 16px !important;
    height: auto !important;
    border-radius: 2px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* Solo códigos: ocultar nombre/span, mostrar via attr */
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a span { display: none !important; }
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a:not(:has(img)):not(:has(span)) {
    font-size: 0 !important;
}
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a::after {
    content: attr(data-gt-lang);
    text-transform: uppercase;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: inherit !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 0.5px;
}
/* Restablecer ::after en el idioma activo */
.asca-lang-wrapper .gtranslate_wrapper:not(:has(.gt_float_switcher)) a.gt-current-lang::after {
    color: var(--asca-white) !important;
}

/* ================================================================
   TIPO 3: Dropdown (<select>)
   HTML: <select class="notranslate gt-select">...</select>
   ================================================================ */
.asca-lang-wrapper select.notranslate,
.asca-lang-wrapper .gt-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border: 1.5px solid var(--asca-gray-border) !important;
    border-radius: 6px !important;
    padding: 5px 32px 5px 10px !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--asca-text) !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    transition: border-color 0.2s !important;
}
.asca-lang-wrapper select.notranslate:hover,
.asca-lang-wrapper .gt-select:hover {
    border-color: var(--asca-navy) !important;
    color: var(--asca-navy) !important;
}
.asca-lang-wrapper select.notranslate:focus,
.asca-lang-wrapper .gt-select:focus {
    outline: none !important;
    border-color: var(--asca-navy) !important;
    box-shadow: 0 0 0 3px rgba(13,49,120,0.10) !important;
}

/* ================================================================
   TIPO 4: Dropdown con flags (.gt-dropdown-with-flags)
   ================================================================ */
.asca-lang-wrapper .gt-dropdown-with-flags {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}
.asca-lang-wrapper .gt-dropdown-with-flags button,
.asca-lang-wrapper .gt-dropdown-with-flags .gt-current-lang {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    border: 1.5px solid var(--asca-gray-border) !important;
    border-radius: 6px !important;
    padding: 5px 10px !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--asca-text) !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: border-color 0.2s, background 0.2s !important;
}
.asca-lang-wrapper .gt-dropdown-with-flags button:hover { border-color: var(--asca-navy) !important; }
.asca-lang-wrapper .gt-dropdown-with-flags .gt-options-with-flags {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    background: var(--asca-white) !important;
    border: 1px solid var(--asca-gray-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    padding: 6px !important;
    min-width: 140px !important;
    z-index: 9999 !important;
}
.asca-lang-wrapper .gt-dropdown-with-flags .gt-options-with-flags a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-radius: 5px !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--asca-text) !important;
    text-decoration: none !important;
    transition: background 0.15s !important;
}
.asca-lang-wrapper .gt-dropdown-with-flags .gt-options-with-flags a:hover {
    background: var(--asca-gray-light) !important;
    color: var(--asca-navy) !important;
}
/* Solo códigos en dropdown con flags */
.asca-lang-wrapper .gt-dropdown-with-flags span:not(.gt-lang-code) { display: none !important; }

/* ================================================================
   RESPONSIVE — Ocultar en mobile (ya oculta por .asca-header__lang)
   ================================================================ */
@media (max-width: 991px) {
    .asca-header__lang { display: none !important; }
}

/* ================================================================
   HERO — VIDEO YOUTUBE (autoplay, fondo)
   ================================================================ */
.asca-hero--video {
    position: relative;
    overflow: hidden;
}
.asca-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.asca-hero__video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;  /* 16:9 basado en la altura */
    height: 56.25vw;  /* 16:9 basado en el ancho */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}
.asca-hero--video .asca-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,29,74,0.55);
    z-index: 1;
}
.asca-hero--video .asca-hero__inner {
    position: relative;
    z-index: 2;
}

/* ================================================================
   OFERTA ACADÉMICA — Carrusel home
   ================================================================ */
.asca-oferta-academica {
    padding: 56px 0 64px;
    background: #f6f8fd;
}

.asca-oa-carousel {
    position: relative;
    overflow: hidden;
}

/* Flechas de navegación */
.asca-oa-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--asca-navy);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(13,49,120,0.25);
    transition: background var(--transition), transform var(--transition);
}
.asca-oa-arrow:hover { background: var(--asca-red); transform: translateY(-50%) scale(1.08); }
.asca-oa-arrow[hidden] { display: none; }
.asca-oa-arrow--prev { left: -52px; }
.asca-oa-arrow--next { right: -52px; }
/* Cuando hay suficientes items, las flechas aparecen dentro del contenedor */
.asca-oa-carousel.has-overflow .asca-oa-arrow--prev { left: 4px; }
.asca-oa-carousel.has-overflow .asca-oa-arrow--next { right: 4px; }

/* Track: fila de tarjetas deslizable */
.asca-oa-carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Cada tarjeta ocupa 1/4 del ancho (con gaps) */
.asca-oa-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 0;
}

@media (max-width: 1024px) {
    .asca-oa-card { flex: 0 0 calc(33.333% - 16px); }
}
@media (max-width: 768px) {
    .asca-oa-card { flex: 0 0 calc(50% - 12px); }
    .asca-oa-arrow--prev { left: 0; }
    .asca-oa-arrow--next { right: 0; }
}
@media (max-width: 480px) {
    .asca-oa-card { flex: 0 0 85%; }
}

/* ================================================================
   ASCA TV — Tarjeta de video
   ================================================================ */

/* Grid de videos */
.asca-tv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.asca-tv-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Tarjeta */
.asca-tv-card {
    background: #fff;
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13,49,120,0.07);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.asca-tv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(13,49,120,0.14);
}

/* Thumbnail wrap */
.asca-tv-card__thumb-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--asca-dark, #0A1D4A);
    flex-shrink: 0;
}
.asca-tv-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.asca-tv-card:hover .asca-tv-card__thumb { transform: scale(1.04); }

.asca-tv-card__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 40px;
    width: 100%;
    height: 100%;
}

/* Botón play */
.asca-tv-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition);
}
.asca-tv-card__play i {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--asca-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding-left: 4px; /* centra visualmente el triángulo */
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
}
.asca-tv-card:hover .asca-tv-card__play i {
    transform: scale(1.12);
    background: #fff;
    color: var(--asca-red);
}

/* Badge de YouTube */
.asca-tv-card__yt-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0000;
    color: #fff;
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Cuerpo de la tarjeta */
.asca-tv-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.asca-tv-card__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--asca-navy);
    margin: 0;
    line-height: 1.35;
}
.asca-tv-card__title a {
    color: inherit;
    text-decoration: none;
}
.asca-tv-card__title a:hover { color: var(--asca-red); }
.asca-tv-card__excerpt {
    font-size: 12px;
    color: var(--asca-text-muted);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}
.asca-tv-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--asca-navy);
    text-decoration: none;
    font-family: var(--font-heading);
    transition: color var(--transition);
    margin-top: auto;
}
.asca-tv-card__link:hover { color: var(--asca-red); }

/* ================================================================
   ASCA TV — Sección home
   ================================================================ */
.asca-tv-home {
    padding: 56px 0 64px;
    background: var(--asca-dark, #0A1D4A);
}
.asca-tv-home .asca-divider-title__text {
    color: #fff;
}
.asca-tv-home .asca-divider-title__line {
    background: rgba(255,255,255,0.2);
}

/* ================================================================
   ASCA TV — Archive
   ================================================================ */
.asca-tv-archive {
    padding: 48px 0 64px;
}
.asca-tv-archive__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   ASCA TV — Single
   ================================================================ */
.asca-tv-single {
    padding: 48px 0 64px;
}
.asca-tv-single__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}
.asca-tv-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.asca-tv-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.asca-tv-single__content {
    margin-top: 32px;
}
.asca-tv-single__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.asca-tv-single__date {
    font-size: 13px;
    color: var(--asca-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.asca-tv-single__yt-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff0000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition);
}
.asca-tv-single__yt-link:hover { background: #cc0000; color: #fff; }
.asca-tv-single__thumb img {
    width: 100%;
    border-radius: var(--radius-md);
}

/* ================================================================
   RESPONSIVE — ASCA TV y Oferta Académica
   ================================================================ */
@media (max-width: 1200px) {
    .asca-tv-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .asca-tv-grid { grid-template-columns: repeat(2, 1fr); }
    .asca-tv-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .asca-tv-grid,
    .asca-tv-grid--3 { grid-template-columns: 1fr; }
    .asca-oa-carousel__track { gap: 16px; }
}

/* ================================================================
   TOUR VIRTUAL — Video embed YouTube
   ================================================================ */
.asca-tour-band__video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.18);
    background: #000;
    margin-top: 24px;
}
.asca-tour-band__video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.asca-tour-band__yt-link {
    text-align: center;
    margin-top: 16px;
}
.asca-tour-band__yt-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--asca-navy);
    text-decoration: none;
    transition: color 0.2s;
}
.asca-tour-band__yt-link a:hover { color: var(--asca-red); }

/* ==========================================================================
   PUBLICACIONES — elementos extra de tarjeta
   ========================================================================== */
.asca-pub-card__autores {
    font-size: 12px;
    color: var(--asca-text-muted);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.asca-pub-card__autores i { color: var(--asca-navy); font-size: 11px; }

/* ==========================================================================
   INVESTIGACIONES — badge de estado + elementos extra de tarjeta
   ========================================================================== */
.asca-inv-card__investigadores {
    font-size: 12px;
    color: var(--asca-text-muted);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.asca-inv-card__investigadores i { color: var(--asca-navy); font-size: 11px; }

.asca-inv-card__estado {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 9px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.asca-inv-estado--en_progreso {
    background: #fff3cd;
    color: #856404;
}
.asca-inv-estado--completada {
    background: #d1ecf1;
    color: #0c5460;
}
.asca-inv-estado--publicada {
    background: #d4edda;
    color: #155724;
}
.asca-tour-band__yt-link a i { color: #FF0000; font-size: 18px; }


/* ================================================================
   PÁGINA 404
================================================================ */
.asca-404-section {
    padding: var(--section-pad-y) 0;
    background: #f8f9fc;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.asca-404-section__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ── Hero genérico ──────────────────────────────────────── */
.asca-404-hero {
    text-align: center;
    padding: 40px 0;
}
.asca-404-hero__code {
    font-family: var(--font-heading);
    font-size: clamp(80px, 18vw, 160px);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 3px var(--asca-navy);
    opacity: .12;
    user-select: none;
    margin-bottom: -24px;
}
.asca-404-hero__icon {
    font-size: clamp(48px, 8vw, 80px);
    color: var(--asca-red);
    margin-bottom: 20px;
}
.asca-404-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--asca-navy);
    margin-bottom: 12px;
}
.asca-404-hero__desc {
    font-size: 15px;
    color: #555;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

/* ── Buscador ────────────────────────────────────────────── */
.asca-404-search {
    display: flex;
    align-items: stretch;
    max-width: 460px;
    margin: 0 auto 40px;
    border: 2px solid var(--asca-navy);
    border-radius: 6px;
    overflow: hidden;
}
.asca-404-search__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    background: #fff;
    color: var(--asca-dark);
}
.asca-404-search__btn {
    background: var(--asca-navy);
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 15px;
    transition: background .2s;
}
.asca-404-search__btn:hover { background: var(--asca-red); }

/* ── Links rápidos ───────────────────────────────────────── */
.asca-404-links__label {
    font-size: 13px;
    color: #777;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.asca-404-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.asca-404-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 6px;
    border: 2px solid var(--asca-navy);
    color: var(--asca-navy);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.asca-404-link:hover {
    background: var(--asca-navy);
    color: #fff;
    border-color: var(--asca-navy);
}
.asca-404-link i { font-size: 12px; }

/* ── Contenido personalizado desde admin ─────────────────── */
.asca-404-custom { max-width: 100%; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .asca-404-link {
        padding: 8px 14px;
        font-size: 12px;
    }
    .asca-404-search { max-width: 100%; }
}


/* ================================================================
   TOUR VIRTUAL — Diseño moderno (asca-tour-modern) — Fase 15
   ================================================================ */
.asca-tour-modern {
    background: linear-gradient(135deg, var(--asca-navy, #0a2f5c) 0%, #071c38 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
/* Patrón de puntos decorativo */
.asca-tour-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
/* Acento diagonal de color rojo */
.asca-tour-modern::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at top right, rgba(226,56,63,.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.asca-tour-modern__inner {
    max-width: var(--container, 1240px);
    margin: 0 auto;
    padding: 0 var(--gutter, 24px);
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
/* Columna contenido */
.asca-tour-modern__content { display: flex; flex-direction: column; }
.asca-tour-modern__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--asca-red, #e2383f);
    margin-bottom: 18px;
}
.asca-tour-modern__kicker i { font-size: 14px; }
.asca-tour-modern__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 20px;
    letter-spacing: -.02em;
}
.asca-tour-modern__desc {
    font-size: 15px;
    color: rgba(255,255,255,.68);
    line-height: 1.75;
    margin: 0 0 36px;
    max-width: 400px;
}
.asca-tour-modern__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    background: var(--asca-red, #e2383f);
    color: #fff;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 6px;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(226,56,63,.35);
}
.asca-tour-modern__btn:hover {
    background: #c72e34;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226,56,63,.45);
}
.asca-tour-modern__btn i { font-size: 16px; }
/* Columna media */
.asca-tour-modern__media {
    position: relative;
}
/* Video embed */
.asca-tour-modern__video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 28px 72px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.07);
    background: #000;
}
.asca-tour-modern__video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
    border-radius: 16px;
}
/* Decorador corner rojo sobre el video */
.asca-tour-modern__video-wrap::before {
    content: '';
    position: absolute;
    top: -8px; left: -8px;
    width: 56px; height: 56px;
    border-top: 3px solid var(--asca-red, #e2383f);
    border-left: 3px solid var(--asca-red, #e2383f);
    border-radius: 4px 0 0 0;
    z-index: 2;
    pointer-events: none;
}
/* Fallback grid de imágenes */
.asca-tour-modern__img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.asca-tour-modern__img-main,
.asca-tour-modern__img-sec {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,.06);
}
.asca-tour-modern__img-main img,
.asca-tour-modern__img-sec img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.asca-tour-modern__img-main:hover img,
.asca-tour-modern__img-sec:hover img { transform: scale(1.05); }
.asca-tour-modern__img-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,.18);
    min-height: 160px;
}
/* Responsive */
@media (max-width: 960px) {
    .asca-tour-modern__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .asca-tour-modern__desc { max-width: 100%; }
    .asca-tour-modern__btn { align-self: flex-start; }
}
@media (max-width: 600px) {
    .asca-tour-modern { padding: 56px 0; }
    .asca-tour-modern__img-grid { grid-template-columns: 1fr; }
    .asca-tour-modern__title { font-size: 26px; }
}

/* ================================================================
   OFERTA ACADÉMICA — Tabs de nivel educativo — Fase 15
   ================================================================ */
.asca-nivel-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
/* Barra del botón "Solicitar Capacitación" en las páginas de área de estudio */
.asca-oferta-request-bar__inner {
    max-width: var(--container);
    margin: 0 auto;
    /* padding: 18px var(--gutter) 0; */
    display: flex;
    justify-content: flex-end;
}
.asca-oferta-request-bar__inner .asca-nivel-tab {
    flex: 0 0 auto;
    min-width: 240px;
}
@media (max-width: 575px) {
    .asca-oferta-request-bar__inner { padding-top: 14px; }
    .asca-oferta-request-bar__inner .asca-nivel-tab { width: 100%; min-width: 0; }
}
.asca-nivel-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 20px 12px 18px;
    border-radius: 12px;
    border: 2px solid var(--asca-navy, #0a2f5c);
    background: #fff;
    color: var(--asca-navy, #0a2f5c);
    cursor: pointer;
    transition: background .22s, color .22s, border-color .22s, box-shadow .22s, transform .18s;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    line-height: 1.3;
    position: relative;
    overflow: hidden;
}
.asca-nivel-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--asca-navy, #0a2f5c);
    opacity: 0;
    transition: opacity .22s;
    z-index: 0;
}
.asca-nivel-tab > * { position: relative; z-index: 1; }
.asca-nivel-tab i {
    font-size: 24px;
    display: block;
    transition: transform .2s;
}
.asca-nivel-tab__label {
    font-size: 14px;
    font-weight: 700;
    display: block;
}
.asca-nivel-tab__sub {
    font-size: 11px;
    font-weight: 400;
    opacity: .65;
    display: block;
    line-height: 1.4;
    color: inherit;
}
.asca-nivel-tab:hover {
    border-color: var(--asca-navy, #0a2f5c);
    box-shadow: 0 4px 18px rgba(10,47,92,.15);
    transform: translateY(-2px);
}
.asca-nivel-tab:hover::before { opacity: .06; }
.asca-nivel-tab.is-active {
    background: var(--asca-navy, #0a2f5c);
    color: #fff;
    border-color: var(--asca-navy, #0a2f5c);
    box-shadow: 0 6px 24px rgba(10,47,92,.28);
    transform: translateY(0);
}
.asca-nivel-tab.is-active::before { opacity: 0; }
.asca-nivel-tab.is-active i { transform: scale(1.1); }
.asca-nivel-tab.is-active .asca-nivel-tab__sub { opacity: .75; }
/* Variante rojo para "Técnico Superior" cuando está activo */
.asca-nivel-tab[data-nivel="tecnico-superior"].is-active {
    background: var(--asca-navy, #0a2f5c);
    border-color: var(--asca-navy, #0a2f5c);
}
.asca-nivel-tab[data-nivel="educacion-permanente"].is-active {
    background: var(--asca-red, #e2383f);
    border-color: var(--asca-red, #e2383f);
}
/* Responsive */
@media (max-width: 680px) {
    .asca-nivel-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .asca-nivel-tab {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 14px 18px;
        gap: 14px;
    }
    .asca-nivel-tab i { font-size: 20px; flex-shrink: 0; }
    .asca-nivel-tab__sub { display: none; }
}


/* ================================================================
   OFERTA ACADÉMICA — Fase 15 rev.1: buscador full-width + tabs compactos
   ================================================================ */

/* Buscador ocupa todo el ancho del bloque */
.asca-ofertas-search-row--full .asca-ofertas-search-wrap {
    max-width: 100%;
}

/* Tabs de nivel: versión compacta (reemplaza tamaños anteriores) */
.asca-nivel-tabs {
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 20px;
}
.asca-nivel-tab {
    flex-direction: row;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 8px;
    gap: 8px;
    font-size: 12px;
}
.asca-nivel-tab i {
    font-size: 14px;
}
.asca-nivel-tab__label {
    font-size: 12px;
    font-weight: 700;
}
.asca-nivel-tab__sub {
    display: none; /* ocultar subtítulo en vista compacta */
}
@media (max-width: 680px) {
    .asca-nivel-tab {
        padding: 8px 12px;
        font-size: 11px;
    }
    .asca-nivel-tab i { font-size: 13px; }
}

/* ================================================================
   TAXONOMY — servicio_categoria
   ================================================================ */

/* Descripción del término */
.asca-srv-cat-desc {
    background: #fff;
    border-left: 4px solid var(--asca-navy, #0D3178);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

/* Botón "volver" en el sidebar */
.asca-srv-cat-back {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--asca-navy, #0D3178);
    text-decoration: none;
    transition: color .2s;
}
.asca-srv-cat-back:hover { color: var(--asca-red, #CC1111); }
.asca-srv-cat-back i { font-size: 12px; }

/* Categoría actual resaltada en sidebar */
.asca-srv-cat-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--asca-navy, #0D3178);
    color: #fff;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}
.asca-srv-cat-current i { font-size: 14px; opacity: .8; }

/* Subcategorías / hermanas — links en sidebar */
.asca-srv-cat-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    padding: 6px 4px;
    border-radius: 4px;
    transition: color .15s, background .15s;
    width: 100%;
}
.asca-srv-cat-link:hover {
    color: var(--asca-navy, #0D3178);
    background: #f0f4fb;
}
.asca-srv-cat-link i { font-size: 12px; color: var(--asca-navy, #0D3178); opacity: .6; flex-shrink: 0; }
.asca-srv-cat-link .asca-filter-count {
    margin-left: auto;
}

/* Lista indentada para subcategorías */
.asca-filter-list--indent { padding-left: 8px; }

/* ================================================================
   SINGLE SERVICIO — Página de detalle
   ================================================================ */

/* ── Cabecera del servicio ─────────────────────────────────────── */
.asca-srv-single-header {
    background: linear-gradient(135deg, var(--asca-navy, #0D3178) 0%, #0a2050 100%);
    padding: 15px 0;
}
.asca-srv-single-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: flex-start;
    gap: 28px;
}
.asca-srv-single-header__icon-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.asca-srv-single-header__icon-wrap i {
    font-size: 34px;
    color: #fff;
}
/* Imagen del servicio en la cabecera: tile OSCURO sobre el header navy para
   que los logos PNG blancos se vean con contraste (no fondo blanco). */
.asca-srv-single-header__icon-wrap:has(img) {
    background: rgba(0,0,0,0.18);
    border-color: rgba(255,255,255,0.28);
    overflow: hidden;
}
.asca-srv-single-header__icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}
.asca-srv-single-header__info {
    flex: 1;
    min-width: 0;
}
.asca-srv-single-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    background: var(--asca-red, #CC1111);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: opacity .2s;
}
.asca-srv-single-header__badge:hover { opacity: 0.85; color: #fff; }
.asca-srv-single-header__title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}
.asca-srv-single-header__excerpt {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.6;
    max-width: 680px;
}

/* ── Cuerpo: contenido + sidebar ──────────────────────────────── */
.asca-srv-single-body {
    background: var(--asca-surface-soft, #f7f9fc);
    padding: 44px 0;
}
.asca-srv-single-body__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

/* ── Contenido principal ───────────────────────────────────────── */
.asca-srv-single-content {
    min-width: 0;
}
.asca-srv-single-content__hero {
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    margin-bottom: 28px;
    max-height: 380px;
}
.asca-srv-single-content__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.asca-srv-single-content__blocks {
    background: #fff;
    border-radius: var(--radius-md, 10px);
    padding: 32px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    margin-bottom: 24px;
}
/* Reset de márgenes extremos del contenido de bloques */
.asca-srv-single-content__blocks > *:first-child { margin-top: 0; }
.asca-srv-single-content__blocks > *:last-child  { margin-bottom: 0; }

/* Estilos de tipografía para el contenido de bloques */
.asca-srv-single-content__blocks h2,
.asca-srv-single-content__blocks h3 {
    font-family: var(--font-heading);
    color: var(--asca-navy, #0D3178);
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
}
.asca-srv-single-content__blocks h2 { font-size: 20px; }
.asca-srv-single-content__blocks h3 { font-size: 17px; }
.asca-srv-single-content__blocks p  { line-height: 1.7; color: #374151; }
.asca-srv-single-content__blocks ul,
.asca-srv-single-content__blocks ol {
    padding-left: 20px;
    margin-bottom: 16px;
    color: #374151;
    line-height: 1.7;
}
.asca-srv-single-content__blocks li { margin-bottom: 6px; }

/* Numeración de pasos con contador automático */
.asca-srv-single-content__blocks ol {
    counter-reset: srv-step;
    list-style: none;
    padding-left: 0;
}
.asca-srv-single-content__blocks ol > li {
    counter-increment: srv-step;
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f4;
}
.asca-srv-single-content__blocks ol > li:last-child { border-bottom: none; }
.asca-srv-single-content__blocks ol > li::before {
    content: counter(srv-step);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--asca-navy, #0D3178);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* ── Navegación anterior / siguiente ─────────────────────────── */
.asca-srv-single-nav {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}
.asca-srv-single-nav__item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--asca-navy, #0D3178);
    text-decoration: none;
    flex: 1;
    transition: border-color .2s, box-shadow .2s;
}
.asca-srv-single-nav__item:hover {
    border-color: var(--asca-navy, #0D3178);
    box-shadow: 0 2px 8px rgba(13,49,120,0.1);
    color: var(--asca-navy, #0D3178);
}
.asca-srv-single-nav__item--next {
    justify-content: flex-end;
    text-align: right;
}
.asca-srv-single-nav__item span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.asca-srv-single-nav__item small {
    font-size: 10px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.asca-srv-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 24px;
}

/* Tarjeta de información */
.asca-srv-info-card {
    background: #fff;
    border-radius: var(--radius-md, 10px);
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    overflow: hidden;
}
.asca-srv-info-card__icon {
    background: var(--asca-navy, #0D3178);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.asca-srv-info-card__icon i {
    font-size: 36px;
    color: #fff;
}
/* Imagen del servicio (metabox) en la tarjeta lateral: se mantiene el fondo
   navy base para que los logos PNG blancos contrasten. */
.asca-srv-info-card__icon img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
}
/* Tarjetas de "Servicios relacionados" (single): tile navy bajo el logo para
   que los PNG blancos se vean (la tarjeta base tiene el wrap blanco). */
.asca-srv-related .asca-servicio-card__icon-wrap {
    background: linear-gradient(135deg, var(--asca-navy, #0D3178) 0%, #0a2050 100%);
}
.asca-srv-info-card__heading {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    padding: 16px 18px 8px;
    margin: 0;
    border-bottom: 1px solid #eef0f4;
}
.asca-srv-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid #f1f3f7;
}
.asca-srv-info-row:last-child { border-bottom: none; }
.asca-srv-info-row__icon {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--asca-navy, #0D3178);
    margin-top: 3px;
}
.asca-srv-info-row__label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
}
.asca-srv-info-row__value {
    font-size: 13px;
    color: var(--asca-navy, #0D3178);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.asca-srv-info-row__value:hover { color: var(--asca-red, #CC1111); }
.asca-srv-info-row__value i { font-size: 11px; }

/* Botón CTA principal */
.asca-srv-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--asca-red, #CC1111);
    color: #fff;
    border-radius: 8px;
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background .2s, transform .15s;
}
.asca-srv-cta-btn:hover {
    background: #a50e0e;
    color: #fff;
    transform: translateY(-1px);
}
.asca-srv-cta-btn i { font-size: 16px; }

/* Enlace de vuelta al listado */
.asca-srv-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--asca-navy, #0D3178);
    text-decoration: none;
    padding: 10px 14px;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s, color .2s;
    justify-content: center;
}
.asca-srv-back-link:hover {
    border-color: var(--asca-navy, #0D3178);
    color: var(--asca-navy, #0D3178);
}
.asca-srv-back-link i { font-size: 13px; }

/* ── Servicios relacionados ────────────────────────────────────── */
.asca-srv-related {
    background: #fff;
    padding: 48px 0;
    border-top: 1px solid #dfe5ef;
}
.asca-srv-related__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.asca-srv-related__heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--asca-navy, #0D3178);
    margin: 0 0 24px;
}
.asca-srv-related__grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .asca-srv-single-body__inner {
        grid-template-columns: 1fr 280px;
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .asca-srv-single-header__inner {
        flex-direction: column;
        gap: 20px;
    }
    .asca-srv-single-header__icon-wrap {
        width: 64px;
        height: 64px;
    }
    .asca-srv-single-header__icon-wrap i { font-size: 26px; }

    .asca-srv-single-body__inner {
        grid-template-columns: 1fr;
    }
    .asca-srv-single-sidebar {
        position: static;
        order: -1; /* sidebar arriba en móvil */
    }
    .asca-srv-single-content__blocks {
        padding: 20px;
    }
    .asca-srv-single-nav {
        flex-direction: column;
    }
    .asca-srv-single-nav__item--next {
        justify-content: flex-start;
        text-align: left;
    }
    .asca-srv-related__grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .asca-srv-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   REFUERZO DE USABILIDAD MÓVIL
   Reglas aditivas: cierran huecos responsive sin alterar el diseño existente.
   ========================================================================== */

/* 1. Evita el scroll horizontal accidental en toda la página.
      'clip' no crea contenedor de scroll, por lo que el header sticky sigue
      funcionando (a diferencia de overflow:hidden/auto). */
html { overflow-x: clip; }

/* 2. Rompe palabras/URLs largas para que no desborden tarjetas ni títulos
      (nombres de programas, correos, enlaces pegados en el contenido). */
h1, h2, h3, h4, h5, h6,
p, li, a,
.asca-breadcrumb,
.asca-servicio-card__title,
.asca-page-content,
.asca-content,
.entry-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* 3. Medios incrustados en el contenido siempre dentro del ancho disponible.
      Cubre los tres contenedores de contenido del tema. */
.asca-page-content img,   .asca-page-content iframe,   .asca-page-content video,   .asca-page-content embed,   .asca-page-content object,
.asca-content img,        .asca-content iframe,        .asca-content video,        .asca-content embed,        .asca-content object,
.entry-content img,       .entry-content iframe,       .entry-content video,       .entry-content embed,       .entry-content object {
    max-width: 100%;
}

/* 4. Tablas del contenido editorial: scroll horizontal propio en móvil
      en lugar de desbordar y romper toda la página. */
@media (max-width: 767px) {
    .asca-page-content table,
    .asca-content table,
    .entry-content table,
    .wp-block-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 5. Áreas táctiles cómodas (~44px recomendado) en el menú móvil. */
@media (max-width: 991px) {
    .asca-nav-menu > .nav-item > .nav-link { min-height: 44px; }
    .asca-nav-menu .dropdown-menu .dropdown-item { min-height: 40px; }
}

/* 6. En móviles muy estrechos, el buscador y los botones no se salen del borde. */
@media (max-width: 400px) {
    .asca-ofertas-search-input-wrap,
    .asca-ofertas-search__input { max-width: 100%; }
    .btn-red, .btn-navy { max-width: 100%; }
}

/* ==========================================================================
   7. AJUSTES MÓVIL — Footer y Acreditaciones
   ========================================================================== */

/* Footer: en móvil Académico, Enlaces y Contacto quedan uno DEBAJO del otro.
   El apilado lo da Bootstrap (col-12); aquí solo afinamos marca y espaciado. */
@media (max-width: 767px) {
    .asca-footer__body { padding: 36px 0 28px; }
    .asca-footer__brand { align-items: center; text-align: center; width: 100%; }
    .asca-footer__brand-logo { max-height: 42px; }
}
@media (max-width: 575px) {
    .asca-footer__inner { text-align: center; }
    .asca-footer__menu a { display: inline-block; }
    .asca-footer__contact-item { justify-content: center; text-align: left; }
}

/* Acreditaciones: el título y las tarjetas quedan SIEMPRE dentro del fondo.
   En pantallas estrechas el título con white-space:nowrap + overflow:hidden
   del contenedor podía recortarse ("se perdía lo que dice"). */
@media (max-width: 767px) {
    .asca-certifications__heading:empty { display: none; margin: 0; }
    .asca-certifications__inner { gap: 24px; }
    .asca-certifications__title {
        white-space: normal;
        border-left: 0;
        padding-left: 0;
        min-width: 0;
        width: 100%;
        text-align: center;
    }
    .asca-certifications__logos { width: 100%; justify-content: center; }
    .asca-cert-item,
    .asca-certifications--home .asca-cert-item {
        width: 100%;
        max-width: 320px;
        min-width: 0;
    }
}
@media (max-width: 575px) {
    .asca-certifications--home { padding: 48px 0 52px; }
    .asca-certifications__inner--home { gap: 26px; }
}
.asca-ofertas-layout--nofilter { grid-template-columns: 1fr; }
.asca-ofertas-layout--nofilter .asca-ofertas-sidebar { display: none; }

/* ══════════════════════════════════════════════════════════════════════
   MIGRADO DESDE EL CUSTOMIZER — 2026-07-23
   Reglas trasladadas del "CSS Personalizado" al tema. Desacopladas de
   page-id y del dominio desarrollo.asca.edu.do. Sin gradientes nuevos.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Bloque de archivos de Gutenberg (enlace + botón de descarga) ── */
.wp-block-file a:not(.wp-block-file__button) {
    color: var(--asca-dark);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}
.wp-block-file a:not(.wp-block-file__button):hover,
.wp-block-file a:not(.wp-block-file__button):focus { color: var(--asca-red); }

.wp-block-file__button.wp-element-button {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    background-color: var(--asca-navy) !important;
    color: var(--asca-white) !important;
    border: 2px solid var(--asca-navy) !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.wp-block-file__button.wp-element-button:hover,
.wp-block-file__button.wp-element-button:focus {
    background-color: var(--asca-dark) !important;
    border-color: var(--asca-dark) !important;
    color: var(--asca-white) !important;
}

/* ── Tipografía de contenido ── */
p { text-align: justify; hyphens: auto; }
@media (max-width: 600px) { p { text-align: left; hyphens: none; } }
.vision-unique p { text-align: left; }

/* Los textos cortos de tarjetas (excerpts/descripciones) NO se justifican:
   evita "ríos" de espacio en 2-3 líneas recortadas. */
.asca-archive-card__excerpt,
.asca-news-card__excerpt,
.asca-nhs__excerpt,
.asca-tv-card__excerpt,
.asca-servicio-card__excerpt,
.asca-servicio-home-card__excerpt,
.asca-curso-service-card__excerpt,
.asca-search-result-item__excerpt,
.asca-srv-single-header__excerpt,
.asca-curso-hero__excerpt,
.asca-blue-card__desc,
.asca-tour-modern__desc { text-align: left; }

.asca-page-content h1 { margin-top: 0; font-size: 30px; }
.asca-page-content h2 {
    font-size: 30px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}
.wp-block-group__inner-container { font-size: 17px; }
.wp-block-columns { padding-right: 0; padding-left: 0; }

/* Clases escritas en el contenido del editor (dependen de que el contenido
   nuevo reutilice estas clases; inocuas si no existen). */
.titulo-historia-asca-page {
    font-size: 30px;
    font-weight: bolder;
    color: var(--asca-navy);
    font-family: var(--font-heading);
    line-height: 1.3;
}

/* ── Navegación ── */
.asca-nav-menu,
.asca-nav-menu > .nav-item,
.asca-nav-menu > .nav-item > .nav-link { border-top: none; }
.asca-nav-menu > .nav-item > .nav-link:hover { border-top: none; box-shadow: none; border-bottom-color: transparent; }
.asca-nav-menu .nav-item > .nav-link { padding: 14px 10px; }
#main-menu-list { flex-wrap: nowrap; }

/* Chevron: ocultar SOLO en desktop; en móvil es el affordance del submenú. */
@media (min-width: 992px) { .nav-chevron { display: none; } }

/* ── Ocultamientos y ajustes menores ── */
.asca-legal-card__meta { display: none; }
.asca-srv-single-content__blocks { padding-top: 9px; }

/* Banda de video/tour: enlace legible sobre fondo oscuro */
.asca-tour-band__yt-link a { color: var(--asca-white); }
.asca-tour-modern__content p { font-size: 16px; font-weight: 800; color: var(--asca-white); }
.asca-certifications__kicker { font-size: 22px; font-weight: 800; color: var(--asca-white); }

/* ── Menú Campus Virtual (requiere clases CSS en Apariencia → Menús) ── */
.asca-topbar .asca-menu-campus-carrera > a { background: #3a44e0; color: #fff; border-radius: 15px; margin: 5px; }
.asca-topbar .asca-menu-campus-cursos  > a { background: #e03a44; color: #fff; border-radius: 15px; }

/* ── Logos del footer: tamaño por nombre de archivo (sin dominio) ──
   Anclados al filename para sobrevivir cambios de dominio. Ajuste fino
   opcional por logo disponible ahora en el panel (campo "Alto (px)"). */
.asca-cert-item__img[src*="MESCyT-logo-modified"] { max-height: 105px; margin-top: 6px; }
.asca-cert-item__img[src*="Trainair-Plus"]        { max-width: 206px; margin-top: 13px; }

.asca-interest-item__img[src*="image2"]                 { height: 42px; width: auto; max-height: none; margin-top: 9px; }
.asca-interest-item__img[src*="IATA-removebg-preview"]  { height: 70px; width: auto; max-height: none; }
.asca-interest-item__img[src*="international-civil-aviation-organization-icao-vector-logo-removebg-preview"] { height: 105px; width: auto; max-height: none; }
.asca-interest-item__img[src*="Logo-IDAC-con-titulo-vector-01-1-scaled"] { height: 68px; width: auto; max-height: none; }
.asca-interest-item__img[src*="130e39dc3991843568686aa745220dcee8992599"]  { height: 70px; width: auto; max-height: none; }
.asca-interest-item__img[src*="images.png"]             { height: 62px; width: auto; max-height: none; }

/* ══ Calendarios académicos (reanclado a slug, sin gradiente, icono FA) ══ */
.asca-page-calendarios :has(> .wp-block-file) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}
.asca-page-calendarios .wp-block-file:not(:has(.wp-block-file__embed)) {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin: 0;
    box-sizing: border-box;
}
.asca-page-calendarios .wp-block-file:has(.wp-block-file__embed) {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    order: 99;
}
.asca-page-calendarios .wp-block-file__embed {
    width: 100% !important;
    height: 85vh !important;
    min-height: 650px;
    max-height: 900px;
    display: block;
    border: 1px solid var(--asca-gray-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(13,49,120,0.08);
}
.asca-page-calendarios .wp-block-file:has(.wp-block-file__embed) > a:not(.wp-block-file__button) {
    display: block;
    max-width: 420px;
    margin: 20px auto 0;
}
.asca-page-calendarios .wp-block-file > a:not(.wp-block-file__button) {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 20px 24px 20px 95px;
    background: #fff;
    border: 1px solid var(--asca-gray-border);
    border-left: 6px solid var(--asca-navy);
    border-radius: var(--radius-md);
    color: var(--asca-navy);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: 0.30s ease;
    box-shadow: 0 10px 30px rgba(13,49,120,0.08);
}
.asca-page-calendarios .wp-block-file > a:not(.wp-block-file__button)::before {
    content: "\f133";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--asca-navy);
    color: var(--asca-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.asca-page-calendarios .wp-block-file > a:not(.wp-block-file__button):hover {
    transform: translateY(-4px);
    color: var(--asca-red);
    border-left-color: var(--asca-red);
    box-shadow: 0 18px 45px rgba(13,49,120,0.15);
}
.asca-page-calendarios .wp-block-file > a:not(.wp-block-file__button):hover::before { background: var(--asca-red); }
.asca-page-calendarios .wp-block-file__button { display: none; }

@media (max-width: 768px) {
    .asca-page-calendarios .wp-block-file:not(:has(.wp-block-file__embed)) { flex: 1 1 100%; max-width: 100%; }
    .asca-page-calendarios .wp-block-file__embed { height: 70vh !important; min-height: 420px; }
}