/* =====================================================
   Site.css  –  Aerosol La Revista  –  Estilos globales
   ===================================================== */

/* ---- Variables de diseño ---- */
:root {
    /* Paleta corporativa */
    --alr-deep: #0b1d33;
    /* Fondo más oscuro / sidebar base   */
    --alr-primary: #034b6a;
    /* Primario principal                 */
    --alr-primary-mid: #1f5a7a;
    --alr-primary-muted: #4a738f;
    /* Acento / hover                    */
    --alr-muted: #6b7c8a;
    /* Texto secundario / iconos suaves  */
    --alr-light: #d7dde2;
    /* Fondo claro / header / footer     */
    --alr-light-hover: #c4ccd3;
    /* Hover en superficies claras       */
    /* Compatibilidad con variables existentes */
    --alr-primary-dark: #0e2e48;
    --alr-secondary: #0b1d33;
    --alr-accent: #33aaf4;
    --alr-bg: #f8f8f8;
    --alr-surface: #ffffff;
    --alr-text: #1a2a3a;
    --alr-text-muted: #6b7c8a;
    --alr-border: rgba(18, 58, 90, .12);
    --alr-header-h: 70px;
    --alr-sidebar-w: 280px;
    --alr-transition: .28s cubic-bezier(.4, 0, .2, 1);
    --alr-shadow-sm: 0 2px 8px rgba(11, 29, 51, .12);
    --alr-shadow-md: 0 6px 24px rgba(11, 29, 51, .18);
    --alr-radius: 10px;
    /*Colores personalizados*/
    --alr-bg-bluelight: #e5f4fb;
    --alr-bg-blue: #3A5C9A;
    --alr-text-blue: #3A5C9A;
}

/* ---- Reset / Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-size: .945rem !important;
    font-family: Helvetica, Arial !important;
    background-color: var(--alr-surface) !important;
    color: var(--alr-text) !important;
    scroll-behavior: smooth;
}

a {
    color: var(--alr-primary);
    text-decoration: none;
    transition: color var(--alr-transition);
}

    a:hover {
        color: var(--alr-primary-dark);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 700;
}

/* =====================================================
   HEADER
   ===================================================== */
.alr-header {
    height: var(--alr-header-h);
    background: var(--alr-bg);
    box-shadow: 0 2px 12px rgba(11, 29, 51, .15);
    z-index: 1040;
    border-bottom: 3px solid var(--alr-accent);
}

    .alr-header .container-fluid {
        height: 100%;
        padding-inline: 1.25rem;
    }

/* Logo */
.alr-logo {
    gap: .65rem;
    text-decoration: none;
}

    .alr-logo img {
        height: 54px;
        /* Aumentado de 44px a 54px */
        width: auto;
        object-fit: contain;
        /* Sin filtro: mostrar el logo en sus colores originales sobre fondo claro */
        filter: none;
        transition: opacity var(--alr-transition), transform var(--alr-transition);
    }

    .alr-logo:hover img {
        opacity: .85;
        transform: scale(1.03);
    }

.alr-logo-text {
    color: var(--alr-primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
}

/* Navegación desktop */
.alr-nav {
    gap: .25rem;
}

.alr-nav-link {
    color: var(--alr-primary);
    font-size: .88rem;
    font-weight: 600;
    padding: .45rem .85rem;
    border-radius: 6px;
    transition: background var(--alr-transition), color var(--alr-transition);
    white-space: nowrap;
}

    .alr-nav-link:hover {
        color: var(--alr-primary-mid);
        background: rgba(18, 58, 90, .10);
    }

/* Dropdown desktop */
.alr-dropdown {
    position: relative;
}

    /* Puente invisible que cubre el gap entre el enlace y el menú
   para que el hover no se pierda al mover el cursor hacia abajo  */
    .alr-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        /* empieza justo al terminar el enlace */
        left: 0;
        right: 0;
        height: 12px;
        /* cubre el gap visual + 2px de margen */
        background: transparent;
    }

.alr-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    background: var(--alr-surface);
    border-radius: var(--alr-radius);
    box-shadow: var(--alr-shadow-md);
    min-width: 220px;
    max-width: min(340px, 90vw);
    max-height: calc(100vh - var(--alr-header-h) - 16px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2000;
    border: 1px solid var(--alr-border);
    animation: alrFadeInDown .18s ease forwards;
}

    /* Scrollbar estilizada para menús con muchas opciones */
    .alr-dropdown-menu::-webkit-scrollbar {
        width: 5px;
    }

    .alr-dropdown-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .alr-dropdown-menu::-webkit-scrollbar-thumb {
        background: rgba(3, 75, 106, .25);
        border-radius: 4px;
    }

        .alr-dropdown-menu::-webkit-scrollbar-thumb:hover {
            background: var(--alr-primary);
        }

/* Alineación a la derecha para dropdowns cercanos al borde derecho (ej. perfil/usuario) */
.alr-dropdown.alr-dropdown-end .alr-dropdown-menu,
.alr-dropdown:last-child .alr-dropdown-menu {
    left: auto;
    right: 0;
}

/* Alineación explícita a la izquierda */
.alr-dropdown.alr-dropdown-start .alr-dropdown-menu,
.alr-dropdown:first-child .alr-dropdown-menu {
    left: 0;
    right: auto;
}

/* Alineación centrada (opcional) */
.alr-dropdown.alr-dropdown-center .alr-dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    animation: alrFadeInDownCenter .18s ease forwards;
}

.alr-dropdown:hover .alr-dropdown-menu {
    display: block;
}

.alr-dropdown-item {
    display: flex;
    align-items: center;
    padding: .65rem 1.1rem;
    color: var(--alr-text);
    font-size: .875rem;
    white-space: nowrap;
    transition: background var(--alr-transition), color var(--alr-transition);
}

    .alr-dropdown-item:hover {
        background: rgba(18, 58, 90, .07);
        color: var(--alr-primary-mid);
    }

@keyframes alrFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alrFadeInDownCenter {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón hamburguesa */
.alr-hamburger {
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(18, 58, 90, .12);
    color: var(--alr-primary);
    border-radius: 8px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background var(--alr-transition), color var(--alr-transition);
}

    .alr-hamburger:hover {
        background: var(--alr-primary);
        color: #fff;
    }

/*#region ACCOUNT */

#background-login {
    background-image: url(../images/general/BackgroundAccount.svg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    margin: 0;
    padding: 0;
}

/*#endregion ACCOUNT*/

/* =====================================================
   SIDEBAR (Menú lateral)
   ===================================================== */

/* Overlay */
.alr-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1045;
    backdrop-filter: blur(3px);
    animation: fadeIn .2s ease;
}

    .alr-sidebar-overlay.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Sidebar panel */
.alr-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--alr-sidebar-w);
    background: var(--alr-primary);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform var(--alr-transition);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(11, 29, 51, .35);
}

    .alr-sidebar.open {
        transform: translateX(0);
    }

/* Cabecera sidebar – fondo claro para contrastar con el menú oscuro */
.alr-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    background: var(--alr-light);
    /* #d7dde2 – tono claro */
    border-bottom: 2px solid var(--alr-primary);
    /* línea divisora */
}

.alr-sidebar-logo img {
    height: 44px;
    width: auto;
    filter: none;
    /* logo a colores naturales sobre fondo claro */
    transition: opacity var(--alr-transition);
}

.alr-sidebar-logo:hover img {
    opacity: .80;
}

.alr-sidebar-close {
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(18, 58, 90, .12);
    /* fondo sutil oscuro sobre header claro */
    color: var(--alr-primary);
    /* ícono en azul corporativo */
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--alr-transition), color var(--alr-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .alr-sidebar-close:hover {
        background: var(--alr-primary);
        color: var(--alr-light);
    }

/* Navegación sidebar */
.alr-sidebar-nav {
    flex: 1 1 0%;
    padding: .75rem 0;
}

.alr-sidebar-menu {
    margin: 0;
    padding: 0;
}

.alr-sidebar-item {
    position: relative;
}

.alr-sidebar-link {
    display: flex;
    align-items: center;
    padding: .75rem 1.25rem;
    color: rgba(215, 221, 226, .85);
    font-size: .9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background var(--alr-transition), color var(--alr-transition), border-color var(--alr-transition);
    text-decoration: none;
}

    .alr-sidebar-link:hover,
    .alr-sidebar-link.active {
        color: #fff;
        background: var(--alr-primary-mid);
        border-left-color: var(--alr-light);
    }

.alr-sub-arrow {
    font-size: .7rem;
    transition: transform var(--alr-transition);
}

.alr-sidebar-toggle-sub[aria-expanded="true"] .alr-sub-arrow {
    transform: rotate(180deg);
}

/* Submenú colapsable */
.alr-submenu {
    background: rgba(11, 29, 51, .35);
    margin: 0;
    padding: .25rem 0;
}

.alr-submenu-link {
    display: flex;
    align-items: center;
    padding: .6rem 1.25rem .6rem 2.5rem;
    color: rgba(215, 221, 226, .70);
    font-size: .85rem;
    transition: color var(--alr-transition), background var(--alr-transition);
    text-decoration: none;
}

.alr-submenu-nested {
    background: rgba(11, 29, 51, .2);
}

.alr-submenu-nested .alr-submenu-link {
    padding-left: 3.5rem;
    font-size: .8rem;
}

.alr-dropdown-submenu-label {
    padding: .55rem 1.1rem .25rem;
    color: var(--alr-muted);
    font-size: .75rem;
    font-weight: 600;
}

.alr-dropdown-submenu-item {
    padding-left: 2rem;
    font-size: .82rem;
}

.alr-price-list-wrapper {
    width: 100%;
}

.alr-price-list-table {
    --bs-table-bg: transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.alr-price-list-heading {
    padding: .9rem 1rem;
    color: var(--alr-primary-mid);
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--alr-primary-mid);
}

.alr-price-category-cell {
    padding: .75rem 0 .35rem;
    border-bottom: 1px solid var(--alr-border);
}

.alr-price-category-item {
    display: block;
}

.alr-price-category-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: var(--alr-deep);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
}

.alr-price-category-toggle:hover,
.alr-price-category-toggle:focus-visible {
    color: var(--alr-primary);
}

.alr-price-category-arrow {
    font-size: .8rem;
    transition: transform .2s ease;
}

.alr-price-category-toggle[aria-expanded="true"] .alr-price-category-arrow {
    transform: rotate(180deg);
}

.alr-price-category-table {
    --bs-table-bg: transparent;
    width: 100%;
}

.alr-price-category-item .table-responsive {
    width: 100%;
}

.alr-price-category-item > .collapse {
    width: auto;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-top: .65rem;
}

.alr-price-row > * {
    padding-top: .85rem;
    padding-bottom: .85rem;
    background: rgba(58, 92, 154, .06);
}

.alr-discount-row > * {
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.alr-discount-icon {
    color: #d97904;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .alr-price-list-wrapper {
        width: 100%;
    }

    .alr-price-list-heading {
        padding: .75rem .5rem;
        font-size: 1rem;
    }

    .alr-price-category-toggle {
        font-size: 1rem;
        padding-right: .6rem;
        padding-left: .6rem;
    }

    .alr-price-category-item > .collapse {
        margin-right: .6rem;
        margin-left: .6rem;
    }
}

    .alr-submenu-link:hover {
        color: var(--alr-light);
        background: var(--alr-primary-mid);
        background: var(--alr-primary-mid);
    }

/* =====================================================
   ÁREA CENTRAL DE CONTENIDO
   ===================================================== */
.main {
    margin-top: var(--alr-header-h);
    min-height: calc(100vh - var(--alr-header-h));
    padding: .5rem 1rem 1rem 1rem;
}

.section {
    /* No alteramos la clase; simplemente hereda el flujo */
}

/* =====================================================
   FOOTER
   ===================================================== */
/* ===== FOOTER – tono claro ===== */
.alr-footer {
    background: var(--alr-bg);
    color: var(--alr-primary);
    padding: 0 0 0;
    border-top: 3px solid var(--alr-accent);
    font-size: .875rem;
}

.alr-footer-advertising {
    width: 100%;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
    color: var(--alr-deep);
    background: linear-gradient(180deg, #f4f7f9 0%, #edf3f6 100%);
}

.alr-footer-advertising-heading {
    margin: 0 auto 1rem;
    text-align: center;
}

.alr-footer-advertising-heading p {
    margin: 0;
    color: var(--alr-text-muted);
}

.alr-footer-ad-card {
    display: block;
    width: 100%;
    overflow: hidden;
    color: var(--alr-primary);
    background: #fff;
    border: 1px solid var(--alr-border);
    border-radius: 12px;
    box-shadow: var(--alr-shadow-sm);
}

.alr-footer-ad-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.42 / 1;
    object-fit: contain;
    background: #fff;
    transition: transform .45s ease, filter .45s ease;
}

.alr-footer-ad-card-link {
    text-decoration: none;
}

.alr-footer-ad-card-link:hover,
.alr-footer-ad-card-link:focus-visible {
    color: var(--alr-primary);
    outline: 3px solid var(--alr-accent);
    outline-offset: 3px;
}

.alr-footer-ad-card-link:hover img,
.alr-footer-ad-card-link:focus-visible img {
    transform: scale(1.035);
    filter: saturate(1.12);
}

.alr-footer-ad-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 2.5rem;
    padding: .55rem .9rem;
    color: var(--alr-primary);
    background: #fff;
    font-size: .88rem;
    font-weight: 700;
    transition: color var(--alr-transition), background var(--alr-transition);
}

.alr-footer-ad-card-link:hover .alr-footer-ad-caption,
.alr-footer-ad-card-link:focus-visible .alr-footer-ad-caption {
    color: var(--alr-primary-mid);
    background: #f4f9fb;
}

.alr-footer > .alr-footer-main {
    padding-top: clamp(2rem, 4vw, 2.75rem);
    padding-bottom: .5rem;
    background: #fff;
}

/* Columna brand */
.alr-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

@media (min-width: 768px) {
    .alr-footer-brand {
        align-items: flex-start;
    }
}

.alr-footer-brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: opacity var(--alr-transition);
}

.alr-footer-brand-logo:hover img {
    opacity: .80;
}

.alr-footer-desc {
    color: var(--alr-muted);
    font-size: .85rem;
    max-width: 280px;
    line-height: 1.6;
    margin: 0;
}

/* Headings de columna */
.alr-footer-heading {
    color: var(--alr-primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--alr-accent);
    display: inline-block;
}

/* Contacto */
.alr-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .65rem;
    color: var(--alr-primary);
    font-size: .875rem;
}

    .alr-footer-contact li i {
        color: var(--alr-accent);
        margin-top: 3px;
        width: 16px;
        text-align: center;
        flex-shrink: 0;
    }

.alr-footer-contact a {
    color: var(--alr-primary);
    transition: color var(--alr-transition);
}

    .alr-footer-contact a:hover {
        color: var(--alr-primary-mid);
        text-decoration: underline;
    }

/* Redes sociales */
.alr-footer-social-heading {
    color: var(--alr-primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--alr-primary-mid);
    display: inline-block;
}

.alr-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .alr-social-links {
        justify-content: flex-start;
    }
}

.alr-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(18, 58, 90, .12);
    color: var(--alr-primary);
    font-size: .95rem;
    transition: background var(--alr-transition), color var(--alr-transition), transform var(--alr-transition);
    text-decoration: none;
    border: 1px solid rgba(18, 58, 90, .18);
}

    .alr-social-link:hover {
        background: var(--alr-primary);
        color: var(--alr-light);
        transform: translateY(-3px);
        border-color: var(--alr-primary);
    }

/* Línea de copyright */
.alr-footer-bottom {
    padding: 1.1rem 0 .9rem;
    margin-top: 1.5rem;
    font-size: .8rem;
    color: var(--alr-muted);
    text-align: center;
}

/* =====================================================
   BOTÓN BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--alr-primary-mid);
    color: var(--alr-light);
    font-size: .95rem;
    box-shadow: var(--alr-shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--alr-transition), visibility var(--alr-transition), transform var(--alr-transition);
    z-index: 1030;
    text-decoration: none;
}

.back-to-top-public {
    bottom: 6.5rem;
}

    .back-to-top.active {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: var(--alr-primary);
        color: #fff;
        transform: translateY(-3px);
    }

/* =====================================================
   CONTACTO FLOTANTE POR WHATSAPP
   ===================================================== */
.whatsapp-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1031;
    display: inline-flex;
    align-items: center;
    gap: 0;
    max-width: calc(100vw - 2rem);
    padding: .3rem .4rem .3rem .3rem;
    border: 1px solid rgba(3, 75, 106, .12);
    border-radius: 999px;
    background: var(--alr-surface);
    box-shadow: 0 6px 22px rgba(11, 29, 51, .2);
    transition: box-shadow var(--alr-transition);
}

.whatsapp-widget:hover {
    box-shadow: 0 9px 28px rgba(11, 29, 51, .25);
}

.whatsapp-float {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    padding: .35rem .8rem .35rem .35rem;
    border-radius: 999px;
    color: var(--alr-deep);
    transition: color var(--alr-transition);
}

.whatsapp-widget.is-collapsed .whatsapp-float {
    gap: 0;
    padding-right: .35rem;
}

.whatsapp-widget.is-collapsed .whatsapp-float-copy {
    display: none;
}

.whatsapp-toggle {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-height: 40px;
    padding: 0 0 0 .45rem;
    border: 0;
    border-left: 1px solid var(--alr-border);
    border-radius: 0 999px 999px 0;
    background: transparent;
    color: var(--alr-primary);
    cursor: pointer;
    transition: background var(--alr-transition), color var(--alr-transition);
}

.whatsapp-toggle:hover {
    background: var(--alr-bg-bluelight);
    color: var(--alr-primary-dark);
}

.whatsapp-toggle:focus-visible {
    outline: 3px solid var(--alr-accent);
    outline-offset: 3px;
}

.whatsapp-float:hover {
    color: var(--alr-deep);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--alr-accent);
    outline-offset: 3px;
}

.whatsapp-float-icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1f9d62;
    color: #fff;
    font-size: 1.8rem;
}

.whatsapp-float-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.whatsapp-float-copy strong {
    color: var(--alr-primary);
    font-size: .9rem;
    font-weight: 700;
}

.whatsapp-float-copy > span {
    color: var(--alr-muted);
    font-size: .8rem;
}

@media (max-width: 575.98px) {
    .whatsapp-widget {
        right: 1rem;
        bottom: 1rem;
        padding: .25rem .3rem .25rem .25rem;
    }

    .whatsapp-float {
        gap: .6rem;
        padding: .3rem .6rem .3rem .3rem;
    }

    .whatsapp-widget.is-collapsed .whatsapp-float {
        padding-right: .3rem;
    }

    .whatsapp-toggle {
        flex-basis: 32px;
        width: 32px;
        min-height: 38px;
        padding-left: .35rem;
    }

    .whatsapp-float-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 1.65rem;
    }

    .whatsapp-float-copy strong {
        font-size: .82rem;
    }

    .whatsapp-float-copy > span {
        font-size: .75rem;
    }
}

/*#region notificaciones */

[data-notify="container"] {
    border-width: 0px;
    font-size: 1rem;
}

    [data-notify="container"] > [data-notify="icon"] {
        float: left;
        letter-spacing: 10px;
        line-height: normal;
    }

    [data-notify="container"] > [data-notify="dismiss"] {
        color: #000000;
        opacity: .6;
        font-size: 21px;
        font-weight: bold;
        background-color: transparent;
        border: 0;
    }

        [data-notify="container"] > [data-notify="dismiss"]:hover,
        [data-notify="container"] > [data-notify="dismiss"]:focus {
            opacity: 1;
        }

    [data-notify="container"] > [data-notify="title"] {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }


    /*Success*/
    [data-notify="container"].alert-success {
        background-color: #00a65a;
        color: #fff;
    }

        [data-notify="container"].alert-success.alert {
            border-left: 15px solid #198754 !important;
        }

    /*Danger*/
    [data-notify="container"].alert-danger {
        background-color: #dd4b39;
        color: #fff;
    }

        [data-notify="container"].alert-danger.alert {
            border-left: 15px solid #bb2d3b !important;
        }

    /*Warning*/
    [data-notify="container"].alert-warning {
        background-color: #f39c12;
        color: #000000;
    }

        [data-notify="container"].alert-warning.alert {
            border-left: 15px solid #c87f0a !important;
        }

    /*Info*/
    [data-notify="container"].alert-info {
        background-color: #00c0ef;
        color: #d9eeee;
    }

        [data-notify="container"].alert-info.alert {
            border-left: 15px solid #269abc !important;
        }

/*#endregion Notify */

/* =====================================================
   DATATABLES (Semantic UI)
   ===================================================== */

/* Color de fondo del thead */
.ui.menu {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.ui.table {
    border-color: #99c0d2 !important;
}

.ui.celled.table > tbody > tr > td, .ui.celled.table > tbody > tr > th, .ui.celled.table > tfoot > tr > td, .ui.celled.table > tfoot > tr > th, .ui.celled.table > thead > tr > th, .ui.celled.table > tr > td, .ui.celled.table > tr > th {
    border-left-color: #99c0d2 !important;
}

.ui.table > thead > tr > th {
    padding: .65em .7em !important;
}

.ui.table > tbody > tr > td, .ui.table > tr > td {
    padding: .4em .7em !important;
}

table.ui.celled.table thead th {
    background-color: #ddeaf0 !important;
    color: #1f5a7a !important;
}

.ui.table > thead > tr > th {
    border-bottom-color: #99c0d2 !important;
}

.page-link:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.page-link {
    border: none !important;
}

.ui.pagination.menu .active.item {
    background-color: #ddeaf0 !important;
    color: #1f5a7a !important;
    border-color: #99c0d2 !important;
}

.ui.pagination.menu {
    border-color: #99c0d2 !important;
}

tr.shown {
    background-color: #f9f9f9; /* color más claro */
}

/*loader*/
.loader,
.loader:before,
.loader:after {
    background: #1f88c1;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

.loader {
    color: #1f88c1;
    text-indent: -9999em;
    margin: 88px auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

    .loader:before,
    .loader:after {
        position: absolute;
        top: 0;
        content: '';
    }

    .loader:before {
        left: -1.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .loader:after {
        left: 1.5em;
    }

@-webkit-keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}
/*loader end*/
/*#region Page title*/

.pagetitle {
}

    .pagetitle span {
        font-size: 18px;
        margin-bottom: 0;
        font-weight: 800;
        color: var(--alr-text-blue);
    }

        .pagetitle span i {
            color: var(--alr-text-blue);
        }
/*#endregion Page title*/

/*Pagina principal de la revista*/
.hero-section {
    border-bottom: 1px solid var(--alr-light);
}

.hero-grid {
    min-height: 286px;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 5rem;
    align-items: center;
    padding: 10px 0 20px;
}

.eyebrow, .section-kicker {
    display: block;
    color: var(--alr-text-blue);
    font-size: 20px;
    letter-spacing: .18em;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-copy h1 {
    font-size: 52px;
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
    margin: 0 0 24px;
    max-width: 760px;
}

    .hero-copy h1 span {
        color: var(--alr-text-blue);
    }

.hero-copy p {
    max-width: 590px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.75;
   /* margin-bottom: 28px;*/
}

/*.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}*/
/*
.btn-primary-custom {
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    border-radius: 999px;
    padding: 12px 19px;
    font-size: .84rem;
    font-weight: 700;
}

    .btn-primary-custom:hover {
        background: var(--blue-dark);
        color: #fff;
    }*/

/*.btn-link-custom {
    color: #333;
    font-size: .84rem;
    font-weight: 700;
    padding: 10px 0;
}

    .btn-link-custom span {
        color: var(--blue);
        margin-left: 6px;
    }*/

.hero-feature {
    display: flex;
    justify-content: flex-end;
}

.feature-cover {
    width: min(285px, 100%);
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 22px;
    background: linear-gradient(145deg, rgba(58,92,154,.92), rgba(41,69,116,.98)), repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.06) 15px 16px);
    box-shadow: 18px 22px 55px rgba(58,92,154,.22);
}

.feature-image-cover {
    padding: 0;
    background: #fff;
}

    .feature-image-cover::before {
        display: none;
    }

    .feature-image-cover > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.feature-cover::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    right: -75px;
    top: 65px;
}

.feature-label {
    position: absolute;
    transform: translateY(-24px);
    color: var(--alr-text-blue);
    font-size: 13px;
    letter-spacing: .14em;
    font-weight: 800;
}

.cover-top, .cover-brand {
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -.04em;
}

    .cover-top span, .cover-brand small {
        display: block;
        font-size: .42rem;
        letter-spacing: .23em;
    }

.cover-edition {
    margin-top: 55px;
    font-size: .6rem;
    letter-spacing: .14em;
    opacity: .8;
}

    .cover-edition strong {
        font-size: 2rem;
        letter-spacing: -.06em;
    }

.cover-title {
    position: absolute;
    left: 22px;
    bottom: 62px;
    font-size: 2rem;
    line-height: .98;
    font-weight: 300;
}

    .cover-title::first-line {
        font-weight: 800;
    }

.cover-bottom {
    position: absolute;
    bottom: 20px;
    left: 22px;
    font-size: .55rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .7;
}


.info-revista h1 {
    font-size: 52px;
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
    margin: 0 0 24px;
    max-width: 760px;
}

    .info-revista h1 span {
        color: var(--alr-text-blue);
    }

.feature-image-cover {
    overflow: hidden;
    border-radius: 18px;
}

    .feature-image-cover img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
    }

.feature-cover-link {
    display: block;
    cursor: pointer;
}

    .feature-cover-link:hover {
        transform: translateY(-4px);
        transition: transform .25s ease;
    }

/*magazine-layout*/
.section-revistas {
    background: #fff;
}

.magazine-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(250px, 3fr);
    gap: 28px;
    align-items: start;
}

.magazines-first-row {
    display: grid;
    grid-column: 1;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-template-rows: repeat(2, auto);
    gap: 28px 20px;
}

    .magazines-first-row + .ads-panel {
        grid-column: 2;
        grid-row: 1;
        height: 100%;
    }

.magazines-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 28px 20px;
}

.magazine-card {
    min-width: 0;
    border-radius: 12px;
}

.magazine-cover {
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.magazine-card:hover .magazine-cover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0,0,0,.14);
}

.magazine-card:hover .magazine-photo-cover > img {
    transform: scale(1.08);
}

.magazine-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.03), rgba(0,0,0,.15));
    pointer-events: none;
}

.magazine-photo-cover {
    padding: 18px;
    background: #222;
}

    .magazine-photo-cover > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transform: scale(1);
        transition: transform .5s ease;
    }

    .magazine-photo-cover > *:not(img):not(.magazine-photo-overlay) {
        z-index: 1;
    }

.magazine-cover::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 55%;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    left: -25%;
    bottom: -18%;
    transform: rotate(-15deg);
}

.magazine-info {
    padding: 13px 1px 0;
}

    .magazine-info > div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .magazine-info span {
        font-size: .82rem;
        font-weight: 800;
    }

    .magazine-info time {
        color: var(--gray);
        font-size: .72rem;
    }

/* =====================================================
   Anuncios carousel vertical
   ===================================================== */
.ads-panel {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--alr-primary);
    padding: 5px 25px;
    display: flex;
    flex-direction: column;
}

.ads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 4px;
}

.ads-panel h3 {
    font-size: 1.55rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -.04em;
}

/* Viewport del carousel: recorta los slides */
.ads-carousel {
    position: relative;
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
}

/* Cada slide ocupa toda el área del viewport */
.ad-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(42px);
    pointer-events: none;
}

.ad-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}



/* Slide de imagen: imagen ocupa todo el slide */
.ad-slide-image {
    /* Edge no soporta 'stretch' en justify-content para flexbox */
    justify-content: flex-start;
}

/* Cada bloque de imagen dentro del slide */
.ad-image {
    flex: 1 1 0%;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: stretch;
}

    .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        border-radius: 10px;
    }

.ad-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .ad-image-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }

/* Slide de texto CTA ("Tu empresa en AEROSOL") */
.ad-slide-cta {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ad-slide-cta h4 {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -.04em;
    font-weight: 800;
    margin: 0;
    color: #fff;
    opacity: .9;
}

/* Botones de navegacion — overlay en esquina inferior-derecha del carousel */
.ads-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 6px;
}

    .ads-controls button {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(255,255,255,.5);
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: #fff;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1rem;
        line-height: 1;
        transition: background .2s ease, transform .15s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,.35);
    }

        .ads-controls button:hover {
            background: rgba(0, 0, 0, 0.72);
            transform: scale(1.1);
        }

.magazine-card-link {
    display: block;
    color: inherit;
}

    .magazine-card-link:hover {
        color: inherit;
    }

    .magazine-card-link .read-link {
        display: inline-block;
        margin-top: 11px;
        font-size: .74rem;
        font-weight: 800;
        color: #333;
    }

    .magazine-card-link:hover .read-link {
        color: var(--alr-primary-dark);
    }

@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr .55fr;
        gap: 35px;
        padding: 32px 0 31px;
    }

    .magazine-layout {
        grid-template-columns: 1fr;
    }

    .magazines-first-row {
        grid-column: 1;
        grid-template-rows: none;
    }

    .magazines-first-row + .ads-panel,
    .ads-panel {
        grid-column: 1;
        grid-row: auto;
        min-height: 460px;
    }

    .magazines-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 767.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 27px 0 31px;
    }

    .hero-feature {
        justify-content: flex-start;
        padding-top: 20px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .magazine-layout {
        gap: 36px;
    }

    .magazines-first-row, .magazines-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 22px 14px;
    }

    /* Mobile: 1 imagen visible, altura proporcionada */
    .ads-panel {
        min-height: 320px;
    }

    .ad-slide-cta h4 {
        font-size: 1.55rem;
    }
}

@media (max-width: 430px) {
    .hero-copy h1 {
        font-size: 32px;
    }

    .magazines-first-row, .magazines-grid {
        grid-template-columns: 1fr 1fr;
    }

    .magazine-cover {
        padding: 13px;
    }
}






/*modals */
.modal-content {
    border: 1px solid #bbc7cc;
}

.modal-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #bbc7cc;
}

.modal-footer {
    padding: 0 0.75rem;
    border-top: 1px solid #bbc7cc;
}

.md-title {
    font-size: 15px;
    font-weight: 600;
}

.modal-header .btn-close {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/*Color de textos y fondos*/
.bg-bluelight {
    background-color: var(--alr-bg-bluelight);
}

.bg-blue {
    background-color: var(--alr-primary-mid);
}

.text-blue {
    color: var(--alr-bg-blue);
}

.text-light-alr {
    color: var(--alr-light);
}

.border-blue {
    border-color: #6aa4a9;
}

/*Controls gral*/
.btn-blue {
    color: var(--alr-light);
    background-color: var(--alr-primary-mid);
    border-color: var(--alr-primary-mid);
}

    .btn-blue:hover {
        color: var(--alr-light);
        background-color: var(--alr-primary);
        border-color: var(--alr-primary);
    }

    .btn-blue:focus {
        color: var(--alr-light);
        background-color: var(--alr-primary);
        border-color: var(--alr-primary);
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .btn-blue:active, .btn-blue.active {
        color: var(--alr-light);
        background-color: var(--alr-primary);
        border-color: var(--alr-primary);
    }

        .btn-blue:active:focus, .btn-blue.active:focus {
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

    .btn-blue:disabled, .btn-blue.disabled {
        color: var(--alr-light);
        background-color: var(--alr-primary-muted);
        border-color: var(--alr-primary-muted);
        cursor: not-allowed !important;
    }

/*boton outline*/
.btn-outline-blue {
    border-color: var(--alr-primary-mid);
    color: var(--alr-primary-mid);
}

    .btn-outline-blue:hover {
        background-color: var(--alr-primary-mid);
        border-color: var(--alr-primary-mid);
        color: var(--alr-light);
    }

    .btn-outline-blue:focus {
        background-color: var(--alr-primary);
        border-color: var(--alr-primary);
        color: var(--alr-light);
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .btn-outline-blue:active,
    .btn-outline-blue.active {
        background-color: var(--alr-primary);
        border-color: var(--alr-primary);
        color: var(--alr-light);
    }

        .btn-outline-blue:active:focus,
        .btn-outline-blue.active:focus {
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

    .btn-outline-blue:disabled, .btn-outline-blue.disabled {
        color: var(--alr-light);
        background-color: transparent;
    }

/*acordion*/
.accordion-button:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/*label formulario*/
.form-control-label {
    font-size: .875em;
    color: #4e4e4e;
}

/*textbox*/
.form-control,
.form-select {
    border-color: #99c0d2;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #6aa4a9;
        background-color: rgba(106, 164, 169, 0.06);
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .form-control.input-validation-error,
    .form-select.input-validation-error {
        border-color: #e74c3c !important;
    }

.btn-check:focus + .btn-success, .btn-success:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.btn-check:focus + .btn-danger, .btn-danger:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.btn-check:focus + .btn-secondary, .btn-secondary:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/*span validation*/
.validation-msg {
    color: #e74c3c;
    margin: 5px 0 0 0;
    font-size: 12px;
    font-weight: normal;
}

.validate-sumary ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

/*textbox de busqueda*/
.search-wrapper {
    position: relative;
}

.custom-search {
    height: 38px;
    border: 1px solid #99c0d2;
    border-radius: 19px;
    padding-right: 45px;
    padding-left: 15px;
    background-color: rgba(106, 164, 169, 0.06);
    font-size: 14px;
}

    .custom-search:focus {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: rgba(106, 164, 169, 0.06);
    }

.search-icon {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s ease;
}

    .search-icon:hover {
        background-color: #c0c0c0;
    }

    .search-icon i {
        font-size: 14px;
        color: #22a8d6;
    }

/*End Controls gral*/

/* =====================================================
   QUILL
   ===================================================== */
/* Contenedor del Editor */
#dvEditorPage {
    width: 100%;
    min-height: 520px;
    height: calc(100vh - 280px);
    border: none !important;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

    #dvEditorPage .ql-editor {
        font-family: Helvetica, Arial, sans-serif;
        font-size: 1rem;
        line-height: 1.7;
        color: var(--alr-text);
        padding: 1.5rem;
        flex: 1 1 auto;
        overflow-y: auto;
        border: 1px solid #ccc;
    }

        #dvEditorPage .ql-editor.ql-blank::before {
            font-style: italic;
            color: var(--alr-muted);
            left: 1.5rem;
            right: 1.5rem;
        }

        /* Tipografía y encabezados en el editor */
        #dvEditorPage .ql-editor h1 {
            font-size: 1.85rem;
            font-weight: 700;
            color: var(--alr-primary);
            margin: 0.5rem 0 0.5rem;
        }

        #dvEditorPage .ql-editor h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--alr-primary-mid);
            margin: 0.5rem 0 0.5rem;
        }

        #dvEditorPage .ql-editor h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--alr-deep);
            margin: 0.5rem 0 0.5rem;
        }

        #dvEditorPage .ql-editor h4 {
            margin: 0.5rem 0 0.5rem;
        }

        #dvEditorPage .ql-editor h5 {
            margin: 0.5rem 0 0.5rem;
        }

        #dvEditorPage .ql-editor h6 {
            margin: 0.5rem 0 0.5rem;
        }

        #dvEditorPage .ql-editor p {
            margin-bottom: 0.85rem;
        }

        #dvEditorPage .ql-editor blockquote {
            border-left: 4px solid var(--alr-accent);
            padding-left: 1rem;
            margin: 1rem 0;
            color: var(--alr-muted);
            font-style: italic;
        }

        #dvEditorPage .ql-editor pre {
            background: #0f172a;
            color: #e2e8f0;
            padding: 1rem;
            border-radius: 6px;
            font-size: 0.9rem;
            overflow-x: auto;
        }
        /* Imágenes incrustadas */
        #dvEditorPage .ql-editor img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1rem auto;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(11, 29, 51, 0.1);
            transition: transform 0.2s ease;
        }
        /* Tablas en Quill */
        #dvEditorPage .ql-editor table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.25rem 0;
            font-size: 0.95rem;
        }

            #dvEditorPage .ql-editor table td,
            #dvEditorPage .ql-editor table th {
                border: 1px solid #cbd5e1;
                padding: 8px 12px;
                min-width: 60px;
                vertical-align: top;
            }

            #dvEditorPage .ql-editor table th {
                background-color: #f1f5f9;
                font-weight: 600;
                color: var(--alr-primary-dark);
            }
/* Responsive adjustments */
@media (max-width: 768px) {
    #dvEditorPage {
        min-height: 400px;
        height: calc(100vh - 340px);
    }

        #dvEditorPage .ql-editor {
            padding: 1rem;
            font-size: 0.94rem;
        }

    .editor-action-bar {
        flex-direction: column;
        align-items: stretch;
    }

        .editor-action-bar .editor-actions {
            display: flex;
            justify-content: flex-end;
        }
}
/*start: tumbnails*/
/* Barra de miniaturas verticales (Izquierda) */
.thumbnails-vertical {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 12px;
    padding: 10px;
    max-height: 500px;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    /* Estilos para ocultar la barra de scroll (opcional) */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #9a969f transparent;
}

    .thumbnails-vertical::-webkit-scrollbar {
        width: 6px;
    }

    .thumbnails-vertical::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
/*personalizado*/
.thumbnail-article {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .thumbnail-article img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 4px;
        border-radius: 8px;
    }
/*end tumbnails*/

/* =====================================================
   DETALLE ARTÍCULOS – Cards
   ===================================================== */
.card-articulo {
    border: 1px solid var(--alr-border);
    border-radius: var(--alr-radius);
    overflow: hidden;
    transition: transform var(--alr-transition), box-shadow var(--alr-transition);
}

    .card-articulo:hover {
        transform: translateY(-4px);
        box-shadow: var(--alr-shadow-md);
    }

/* Wrapper de imagen con altura fija */
.card-articulo-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f4f7;
}

    .card-articulo-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.card-articulo:hover .card-articulo-img-wrapper img {
    transform: scale(1.05);
}

/* Título del artículo */
.card-articulo-titulo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--alr-primary);
    line-height: 1.35;
    margin-bottom: .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Resumen con truncado */
.card-articulo-resumen-wrapper {
    position: relative;
}

.card-articulo-resumen {
    font-size: .85rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .35rem;
}

/* Puntos suspensivos interactivos */
.card-articulo-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--alr-primary);
    font-size: .85rem;
    border-radius: 4px;
    transition: background var(--alr-transition), color var(--alr-transition);
}

    .card-articulo-tooltip:hover {
        background: var(--alr-bg-bluelight);
        color: var(--alr-primary);
    }

/* Tooltip enriquecido */
.card-articulo-custom-tooltip .tooltip-inner {
    background-color: var(--alr-deep);
    color: #fff;
    font-size: .8rem;
    line-height: 1.5;
    max-width: 300px;
    text-align: left;
    padding: .6rem .85rem;
    border-radius: 8px;
    box-shadow: var(--alr-shadow-md);
}

.card-articulo-custom-tooltip .tooltip-arrow::before {
    border-top-color: var(--alr-deep);
}

/* Footer del card */
.card-articulo .card-footer {
    padding: .65rem 1rem;
}

    .card-articulo .card-footer small {
        font-size: .78rem;
        font-style: italic;
    }

/* =====================================================
   Quill HTML Viewer (Detalles Artículo)
   ===================================================== */
#dvHtmlViewer.ql-container.ql-snow {
    border: none;
    font-family: inherit;
    font-size: 1rem;
    height: auto;
}

    #dvHtmlViewer.ql-container.ql-snow .ql-editor {
        padding: 0;
        min-height: auto;
        height: auto;
        overflow-y: visible;
        font-family: inherit;
        line-height: 1.8;
        color: var(--alr-text);
    }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor.ql-blank::before {
            left: 0;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor p {
            margin-bottom: 1.15rem;
            font-size: 1rem;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor h1,
        #dvHtmlViewer.ql-container.ql-snow .ql-editor h2,
        #dvHtmlViewer.ql-container.ql-snow .ql-editor h3,
        #dvHtmlViewer.ql-container.ql-snow .ql-editor h4,
        #dvHtmlViewer.ql-container.ql-snow .ql-editor h5,
        #dvHtmlViewer.ql-container.ql-snow .ql-editor h6 {
            color: var(--alr-primary);
            margin-bottom: 0.85rem;
            font-weight: 700;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor h1 {
            font-size: 1.85rem;
            border-bottom: 1px solid var(--alr-accent);
            padding-bottom: 0.4rem;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor h2 {
            font-size: 1.5rem;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor h3 {
            font-size: 1.25rem;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor h4 {
            font-size: 1.1rem;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1.25rem auto;
            border-radius: var(--alr-radius);
            box-shadow: var(--alr-shadow-sm);
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor blockquote {
            border-left: 4px solid var(--alr-accent);
            padding-left: 1rem;
            font-style: italic;
            color: var(--alr-muted);
            margin: 1.25rem 0;
        }

        #dvHtmlViewer.ql-container.ql-snow .ql-editor table {
            width: 100%;
            margin-bottom: 1rem;
            border-collapse: collapse;
        }

            #dvHtmlViewer.ql-container.ql-snow .ql-editor table td,
            #dvHtmlViewer.ql-container.ql-snow .ql-editor table th {
                border: 1px solid var(--alr-border);
                padding: 0.5rem 0.75rem;
            }

/* =====================================================
   Admon Socios
   ===================================================== */
.img-socios {
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    width: 100px;
    height: 64px;
}

.container-croppie {
    height: 90%;
    background-color: #f8f9fa;
    border: 1px dashed #585a5b;
    padding: 10px;
    overflow: hidden;
}

.img-croppie {
    max-width: 100%;
    display: none;
}

/* =====================================================
   Eventos
   ===================================================== */
.alr-events-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.75rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, var(--alr-deep), var(--alr-primary) 68%, #257b8e);
    border-radius: 8px;
}

.alr-events-eyebrow {
    display: block;
    margin-bottom: .35rem;
    color: #a9e4e7;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.alr-events-intro h1 {
    margin: 0 0 .35rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.alr-events-intro p {
    color: rgba(255, 255, 255, .82);
}

.alr-events-intro-icon {
    flex: 0 0 auto;
    padding: 1rem;
    color: #a9e4e7;
    font-size: 2.25rem;
    transform: rotate(-10deg);
}

.alr-events-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 220px;
    color: var(--alr-muted);
}

.alr-events-grid > [class*="col-"] {
    display: flex;
}

.alr-event-card {
    width: 100%;
    overflow: hidden;
    background: var(--alr-surface);
    border: 1px solid var(--alr-border);
    border-radius: 8px;
    box-shadow: var(--alr-shadow-sm);
    transition: transform var(--alr-transition), box-shadow var(--alr-transition);
    animation: alrEventEnter .45s ease both;
}

.alr-events-grid > [class*="col-"]:nth-child(2) .alr-event-card {
    animation-delay: .06s;
}

.alr-events-grid > [class*="col-"]:nth-child(3) .alr-event-card {
    animation-delay: .12s;
}

.alr-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--alr-shadow-md);
}

.alr-event-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dce9ec;
}

.alr-event-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.alr-event-card:hover .alr-event-media > img {
    transform: scale(1.04);
}

.alr-event-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    height: 100%;
    color: var(--alr-primary);
    background: linear-gradient(135deg, #d7edf0, #f2f6ef);
}

.alr-event-image-placeholder i {
    font-size: 2.25rem;
}

.alr-event-image-placeholder span {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.alr-event-year {
    position: absolute;
    top: .85rem;
    right: .85rem;
    padding: .3rem .65rem;
    color: #fff;
    background: rgba(11, 29, 51, .78);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
}

.alr-event-date {
    position: absolute;
    bottom: .85rem;
    left: .85rem;
    display: grid;
    justify-items: center;
    min-width: 58px;
    padding: .4rem .55rem;
    color: var(--alr-deep);
    background: #fff;
    border-left: 3px solid #e9a13a;
    box-shadow: 0 3px 12px rgba(11, 29, 51, .2);
}

.alr-event-date-day {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.05;
}

.alr-event-date-month {
    color: var(--alr-muted);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.alr-event-content {
    padding: 1.15rem 1.25rem 1.3rem;
}

.alr-event-daterange {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    margin-bottom: .6rem;
    color: var(--alr-primary);
    font-size: .8rem;
    font-weight: 600;
}

.alr-event-daterange i {
    margin-right: .15rem;
}

.alr-event-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .55rem;
    color: var(--alr-deep);
    font-size: 1.15rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.alr-event-description {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.9em;
    margin-bottom: 1rem;
    color: var(--alr-text-muted);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.alr-event-description-muted {
    font-style: italic;
}

.alr-event-details {
    display: grid;
    gap: .6rem;
    padding-top: .85rem;
    border-top: 1px solid var(--alr-border);
}

.alr-event-detail {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--alr-text);
    overflow-wrap: anywhere;
}

.alr-event-detail i {
    width: 1rem;
    margin-top: .2rem;
    color: var(--alr-primary-muted);
    text-align: center;
}

.alr-events-empty {
    padding: 3rem 1rem;
    color: var(--alr-muted);
    text-align: center;
    background: #f5f8f9;
    border: 1px dashed var(--alr-border);
    border-radius: 8px;
}

.alr-events-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: .75rem;
    color: var(--alr-primary);
    background: #e5f4fb;
    border-radius: 50%;
    font-size: 1.4rem;
}

.alr-events-empty h2 {
    color: var(--alr-deep);
    font-size: 1.15rem;
}

@keyframes alrEventEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .alr-event-card,
    .alr-event-media > img {
        animation: none;
        transition: none;
    }
}

/* =====================================================
   Admon Publicidad
   ===================================================== */
.img-anuncio {
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    width: 115px;
    height: 150px;
}

/* =====================================================
   Listado Eventos
   ===================================================== */

.evento-card {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
}

.evento-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================================
   Especificaciones técnicas
   ===================================================== */
.alr-specs-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, var(--alr-deep), var(--alr-primary) 70%, #287f78);
    border-radius: 8px;
}

.alr-specs-intro h1 {
    margin: 0 0 .35rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.alr-specs-intro p {
    color: rgba(255, 255, 255, .84);
}

/* Contacto */
.alr-contact-page {
    width: 100%;
}

.alr-contact-intro {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    background: linear-gradient(115deg, var(--alr-deep), var(--alr-primary) 72%, #287f78);
    border-radius: var(--alr-radius);
}

.alr-contact-intro-icon,
.alr-contact-section-icon,
.alr-contact-info-icon,
.alr-contact-person-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.alr-contact-intro-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 1rem;
    font-size: 1.5rem;
}

.alr-contact-eyebrow {
    margin: 0 0 .3rem;
    color: #b8e9f4;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.alr-contact-intro h1 {
    margin: 0 0 .35rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.alr-contact-intro p:last-child {
    color: rgba(255, 255, 255, .86);
}

.alr-contact-section {
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: #fff;
    border: 1px solid var(--alr-border);
    border-radius: var(--alr-radius);
    box-shadow: var(--alr-shadow-sm);
}

.alr-contact-section-heading {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.25rem;
}

.alr-contact-section-icon {
    width: 2.75rem;
    height: 2.75rem;
    color: var(--alr-primary);
    background: var(--alr-bg-bluelight);
    border-radius: .8rem;
    font-size: 1.1rem;
}

.alr-contact-section-heading h2,
.alr-contact-info h2 {
    margin: 0 0 .25rem;
    color: var(--alr-deep);
    font-size: 1.2rem;
}

.alr-contact-section-heading p,
.alr-contact-info-description {
    color: var(--alr-text-muted);
    font-size: .9rem;
}

.alr-contact-person {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    height: 100%;
    min-height: 112px;
    padding: 1rem;
    background: #f8fbfd;
    border: 1px solid var(--alr-border);
    border-radius: .75rem;
    transition: border-color var(--alr-transition), box-shadow var(--alr-transition), transform var(--alr-transition);
}

.alr-contact-person:hover {
    transform: translateY(-2px);
    border-color: rgba(3, 75, 106, .3);
    box-shadow: var(--alr-shadow-sm);
}

.alr-contact-person-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--alr-primary);
    background: #e8f3f7;
    border-radius: 50%;
}

.alr-contact-person h3 {
    margin: .1rem 0 .15rem;
    color: var(--alr-deep);
    font-size: 1rem;
}

.alr-contact-role {
    margin: 0 0 .35rem;
    color: var(--alr-text-muted);
    font-size: .85rem;
}

.alr-contact-person a,
.alr-contact-phone-list a {
    color: var(--alr-primary);
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.alr-contact-person a:hover,
.alr-contact-phone-list a:hover {
    color: var(--alr-primary-mid);
    text-decoration: underline;
}

.alr-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    min-height: 190px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: #fff;
    border: 1px solid var(--alr-border);
    border-radius: var(--alr-radius);
    box-shadow: var(--alr-shadow-sm);
}

.alr-contact-info-icon {
    width: 2.8rem;
    height: 2.8rem;
    color: #fff;
    background: var(--alr-primary);
    border-radius: .85rem;
    font-size: 1.1rem;
}

.alr-contact-info-description {
    margin: .35rem 0 .9rem;
}

.alr-contact-phone-list {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alr-contact-phone-list a {
    font-weight: 600;
}

.alr-contact-info address {
    color: var(--alr-text);
    font-size: .95rem;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .alr-contact-intro {
        align-items: flex-start;
    }

    .alr-contact-intro-icon {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.2rem;
    }

    .alr-contact-info {
        min-height: 0;
    }
}

.alr-specs-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 200px;
    color: var(--alr-muted);
}

.alr-specs-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 .75rem;
}

.alr-specs-heading h2 {
    margin: 0;
    color: var(--alr-deep);
    font-size: 1.15rem;
}

.alr-specs-count {
    color: var(--alr-muted);
    font-size: .82rem;
}

.alr-specs-list {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alr-spec-item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: var(--alr-surface);
    border: 1px solid var(--alr-border);
    border-left: 4px solid #47a99a;
    border-radius: 6px;
    box-shadow: var(--alr-shadow-sm);
    animation: alrSpecEnter .4s ease both;
}

.alr-spec-item:nth-child(2) {
    animation-delay: .06s;
}

.alr-spec-item:nth-child(3) {
    animation-delay: .12s;
}

.alr-spec-order {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--alr-primary);
    background: #e5f4f1;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 800;
}

.alr-spec-copy {
    min-width: 0;
}

.alr-spec-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: .35rem;
}

.alr-spec-title-row h3 {
    margin: 0;
    color: var(--alr-deep);
    font-size: 1.2rem;
    line-height: 1.4;
}

.alr-spec-title-row {
    margin-bottom: .85rem;
}

.alr-spec-copy > p {
    color: var(--alr-text-muted);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.alr-spec-value-editor.ql-container.ql-snow {
    height: auto;
    border: 0;
    background: transparent;
    color: var(--alr-text-muted);
    font-family: inherit;
    font-size: .945rem;
}

.alr-spec-value-editor.ql-container.ql-snow .ql-editor {
    min-height: auto;
    height: auto;
    padding: 0;
    overflow-y: visible;
    color: var(--alr-text-muted);
    font-family: inherit;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.alr-spec-value-editor.ql-container.ql-snow .ql-editor p {
    margin-bottom: .75rem;
}

.alr-spec-value-editor.ql-container.ql-snow .ql-editor h1,
.alr-spec-value-editor.ql-container.ql-snow .ql-editor h2,
.alr-spec-value-editor.ql-container.ql-snow .ql-editor h3,
.alr-spec-value-editor.ql-container.ql-snow .ql-editor h4,
.alr-spec-value-editor.ql-container.ql-snow .ql-editor h5,
.alr-spec-value-editor.ql-container.ql-snow .ql-editor h6 {
    margin-bottom: .65rem;
    color: var(--alr-primary);
    font-weight: 700;
}

.alr-spec-value-editor.ql-container.ql-snow .ql-editor img {
    max-width: 100%;
    height: auto;
}

.alr-spec-value-editor.ql-container.ql-snow .ql-editor table {
    width: 100%;
    margin-bottom: .75rem;
    border-collapse: collapse;
}

.alr-spec-value-editor.ql-container.ql-snow .ql-editor table td,
.alr-spec-value-editor.ql-container.ql-snow .ql-editor table th {
    padding: .4rem .6rem;
    border: 1px solid var(--alr-border);
}

.alr-spec-meta {
    display: inline-block;
    margin-top: .65rem;
    color: var(--alr-muted);
}

.alr-specs-empty {
    padding: 2.75rem 1rem;
    color: var(--alr-muted);
    text-align: center;
    background: #f5f8f9;
    border: 1px dashed var(--alr-border);
    border-radius: 8px;
}

.alr-specs-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: .75rem;
    color: var(--alr-primary);
    background: #e5f4f1;
    border-radius: 50%;
    font-size: 1.3rem;
}

.alr-specs-empty h2 {
    color: var(--alr-deep);
    font-size: 1.1rem;
}

/* =====================================================
   Acerca de Aerosol la Revista
   ===================================================== */
.alr-about-hero {
    position: relative;
    display: flex;
    min-height: 19rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(118deg, var(--alr-deep) 0%, var(--alr-primary) 62%, #287f78 100%);
    border-radius: 12px;
    box-shadow: var(--alr-shadow-md);
}

.alr-about-hero::before,
.alr-about-hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.alr-about-hero::before {
    top: -13rem;
    right: -6rem;
    width: 34rem;
    height: 34rem;
}

.alr-about-hero::after {
    top: -9rem;
    right: -2rem;
    width: 26rem;
    height: 26rem;
}

.alr-about-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 54rem;
}

.alr-about-eyebrow,
.alr-about-kicker {
    display: block;
    margin-bottom: .65rem;
    color: #72d1c0;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.alr-about-hero h1 {
    max-width: 45rem;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
}

.alr-about-lead {
    max-width: 48rem;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.alr-about-hero-mark {
    position: absolute;
    right: 9%;
    bottom: 2.4rem;
    display: grid;
    width: clamp(10rem, 20vw, 17rem);
    height: clamp(10rem, 20vw, 17rem);
    place-items: center;
    color: rgba(255, 255, 255, .12);
    font-size: clamp(7rem, 15vw, 12rem);
    font-weight: 900;
    letter-spacing: -.1em;
    line-height: 1;
    user-select: none;
}

.alr-about-hero-mark i {
    position: absolute;
    right: 8%;
    bottom: 10%;
    color: rgba(255, 255, 255, .65);
    font-size: 2rem;
}

.alr-about-issue-badge {
    position: absolute;
    z-index: 2;
    right: clamp(1rem, 4vw, 3rem);
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    color: var(--alr-deep);
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--alr-shadow-md);
}

.alr-about-issue-badge strong {
    color: var(--alr-primary);
    font-size: 2rem;
    line-height: 1;
}

.alr-about-issue-badge span {
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.25;
}

.alr-about-content {
    width: 100%;
}

.alr-about-section {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: #fff;
    border: 1px solid var(--alr-border);
    border-radius: 10px;
    box-shadow: var(--alr-shadow-sm);
}

.alr-about-section-icon,
.alr-about-card-icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    color: var(--alr-primary);
    background: #e5f4f1;
    border-radius: 10px;
    font-size: 1.35rem;
}

.alr-about-section h2,
.alr-about-card h2 {
    margin: 0 0 .8rem;
    color: var(--alr-deep);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.alr-about-section p,
.alr-about-card p {
    margin-bottom: 0;
    color: var(--alr-text-muted);
    line-height: 1.85;
}

.alr-about-section .alr-about-kicker,
.alr-about-card .alr-about-kicker {
    color: var(--alr-primary-mid);
}

.alr-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.alr-about-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid var(--alr-border);
    border-radius: 10px;
    box-shadow: var(--alr-shadow-sm);
    transition: transform var(--alr-transition), box-shadow var(--alr-transition);
}

.alr-about-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--alr-shadow-md);
}

.alr-about-card-icon {
    margin-bottom: 1.2rem;
}

.alr-about-card-wide {
    grid-column: 1 / -1;
}

.alr-about-closing {
    position: relative;
    margin: 1.25rem 0 2rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, var(--alr-primary), #287f78);
    border-radius: 10px;
}

.alr-about-closing > i {
    display: block;
    margin-bottom: .7rem;
    color: rgba(255, 255, 255, .65);
    font-size: 1.5rem;
}

.alr-about-closing p {
    max-width: 60rem;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    font-weight: 600;
    line-height: 1.75;
}

@media (max-width: 767.98px) {
    .alr-about-hero {
        min-height: 22rem;
        padding-bottom: 6.5rem;
    }

    .alr-about-hero-mark {
        right: 1rem;
        bottom: 4rem;
        opacity: .55;
    }

    .alr-about-issue-badge {
        right: 1.25rem;
        bottom: 1rem;
    }

    .alr-about-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .alr-about-grid {
        grid-template-columns: 1fr;
    }

    .alr-about-card-wide {
        grid-column: auto;
    }
}

@keyframes alrSpecEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .alr-spec-item {
        animation: none;
    }
}

#dvEditorValor .ql-editor {
    min-height: 55vh;
}

#dvEditorValor .ql-editor table {
    border-collapse: collapse;
}

#mdEditorValor .modal-dialog {
    max-width: min(96vw, 1440px);
}

#mdEditorValor .modal-content {
    min-height: calc(100vh - 2rem);
}

/* =====================================================
   Admon Issuu Revista
   ===================================================== */
.img-cover {
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}