@charset "UTF-8";
/* Moved verbatim from src/MenteArgentina/FrontEndBundle/Resources/views/Programa/programasMenuMega.html.twig (SEO on-site 29/10): cached between pages, same cascade position. */
    .ma-programs-mega-menu {
        min-width: 980px;
        max-width: calc(100vw - 40px);
        padding: 0;
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 20px;
        box-shadow: 0 22px 60px rgba(2, 6, 23, 0.18);
        overflow: hidden;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1060;
    }

    /*
     * Position polish:
     * Bootstrap anchors dropdown menus to the trigger.
     * Since this is a premium mega panel, we center it within the header layout.
     */
    /*
     * Position polish (override global dropdown animation rules in layout.html.twig).
     * IMPORTANT: Those global rules target `.dropdown-menu` with `!important`, including
     * top/left/transform (translateY). We override them with higher-specificity selectors.
     */
    .dropdown-menu.ma-programs-mega-menu {
        left: 50% !important;
        right: auto !important;
        top: calc(100% + 10px) !important;
        margin-top: 0 !important;
        transform: translateY(-10px) translateX(-50%) !important;
    }

    .dropdown-menu.show.ma-programs-mega-menu {
        transform: translateY(0) translateX(-50%) !important;
    }

    .ma-programs-mega-inner {
        display: grid;
        grid-template-columns: 260px 1fr 340px;
        gap: 0;
        min-height: 420px;
    }

    .ma-mega-zone1 {
        padding: 18px 16px;
        border-right: 1px solid rgba(148, 163, 184, 0.18);
        background: linear-gradient(180deg, rgba(241, 245, 249, 0.75) 0%, rgba(255,255,255,0.9) 100%);
    }

    .ma-mega-zone1-title {
        font-size: 12px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(71, 85, 105, 0.95);
        font-weight: 700;
        margin: 4px 2px 12px;
    }

    .ma-mega-family-btn {
        width: 100%;
        text-align: left;
        border: 1px solid transparent;
        background: transparent;
        color: #475569;
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 14px;
        font-weight: 600;
        transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
        cursor: pointer;
        outline: none;
    }

    .ma-mega-family-btn:hover {
        background: rgba(0, 100, 147, 0.08);
        border-color: rgba(0, 100, 147, 0.16);
        color: #0a7fb1;
        transform: translateX(1px);
    }

    .ma-mega-family-btn.is-active {
        background: rgba(0, 100, 147, 0.10);
        border-color: rgba(0, 100, 147, 0.24);
        color: #006493;
    }

    .ma-mega-family-btn:focus-visible {
        border-color: rgba(0, 100, 147, 0.45);
        box-shadow: 0 0 0 4px rgba(0, 100, 147, 0.14);
    }

    .ma-mega-zone2, .ma-mega-zone3 {
        padding: 18px 18px;
    }

    .ma-mega-zone2 {
        border-right: 1px solid rgba(148, 163, 184, 0.12);
        background: #fff;
    }

    .ma-mega-zone2-panel {
        display: none;
    }

    .ma-mega-zone2-panel.is-active {
        display: block;
    }

    .ma-programs-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding-top: 2px;
    }

    .ma-program-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        width: 100%;
        border-radius: 12px;
        color: #334155;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        position: relative;
        transition: background-color .18s ease, color .18s ease, border-color .18s ease;
    }

    /* Sleek hover arrow indicator (lives with the text) */
    .ma-program-link::after {
        content: "→";
        opacity: 0;
        transform: translateX(-4px);
        transition: all .18s ease;
        font-weight: 600;
        color: #0a7fb1;
        pointer-events: none;
    }

    .ma-program-link:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .ma-program-link:hover {
        background: rgba(0, 154, 210, 0.10);
        color: #0a7fb1;
    }

    .ma-mega-zone3-panel {
        display: none;
    }

    .ma-mega-zone3-panel.is-active {
        display: block;
    }

    .ma-zone3-kicker {
        font-size: 12px;
        letter-spacing: .10em;
        text-transform: uppercase;
        color: rgba(71, 85, 105, 0.95);
        font-weight: 700;
        margin-bottom: 8px;
    }

    .ma-zone3-title {
        font-size: 18px;
        font-weight: 900;
        color: #0f172a;
        margin: 0 0 8px;
        letter-spacing: -0.02em;
    }

    .ma-zone3-desc {
        color: #475569;
        font-size: 13.5px;
        line-height: 1.45;
        margin: 0 0 12px;
    }

    .ma-zone3-highlights {
        margin: 0 0 16px;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .ma-zone3-highlights li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        color: #334155;
        font-size: 13.5px;
        font-weight: 600;
    }

    .ma-zone3-dot {
        width: 9px;
        height: 9px;
        border-radius: 999px;
        margin-top: 4px;
        background: rgba(0, 100, 147, 0.45);
        flex: 0 0 auto;
    }

    .ma-zone3-ctas {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .ma-cta-primary, .ma-cta-secondary {
        text-decoration: none;
        border-radius: 14px;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
    }

    .ma-cta-primary {
        background: linear-gradient(135deg, #006493 0%, #0a7fb1 100%);
        color: #fff;
        box-shadow: 0 12px 28px rgba(0, 100, 147, 0.22);
        border: 1px solid rgba(0, 100, 147, 0.2);
    }

    .ma-cta-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 36px rgba(0, 100, 147, 0.30);
        color: #fff;
    }

    .ma-cta-secondary {
        background: rgba(15, 23, 42, 0.04);
        border: 1px solid rgba(15, 23, 42, 0.10);
        color: #0f172a;
    }

    .ma-cta-secondary:hover {
        transform: translateY(-1px);
        border-color: rgba(0, 100, 147, 0.22);
        background: rgba(0, 100, 147, 0.08);
        color: #006493;
    }

    /* Responsive: keep desktop-only feel; still prevent overflow */
    @media (max-width: 1100px) {
        .ma-programs-mega-inner { grid-template-columns: 240px 1fr 300px; }
        .ma-programs-mega-menu { min-width: 920px; }
    }
    @media (max-width: 980px) {
        .ma-programs-mega-menu { min-width: 0; }
        .ma-programs-mega-inner { grid-template-columns: 1fr; }
        .ma-mega-zone2, .ma-mega-zone3, .ma-mega-zone1 { border-right: none; }
        .ma-mega-zone3-panel.is-active, .ma-mega-zone2-panel.is-active { display:block; }
    }
