[data-theme="navidad"] .site-header {
    background: rgba(247, 243, 233, 0.82);
    box-shadow: inset 0 -1px 0 rgba(197, 155, 39, 0.32);
}

[data-theme="navidad"] .site-header.is-scrolled {
    background: rgba(247, 243, 233, 0.96);
    border-bottom-color: rgba(20, 90, 67, 0.12);
}

[data-theme="navidad"] .site-header::before,
[data-theme="navidad"] .site-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--gold);
    opacity: 0.5;
    pointer-events: none;
    transform: translateY(-50%);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

[data-theme="navidad"] .site-header::before {
    left: 0.7rem;
}

[data-theme="navidad"] .site-header::after {
    right: 0.7rem;
    background: var(--season-pine);
    opacity: 0.4;
}

[data-theme="navidad"] .hero {
    background: linear-gradient(118deg, var(--season-ivory) 0 50%, #0c375f 50.1% 100%);
}

[data-theme="navidad"] .hero--navidad::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        url("../img/personaje/fondo-hero-navidad-2026-izquierda-sup.png?v=20261103q"),
        url("../img/personaje/fondo-hero-navidad-2026-izquierda-inf.png?v=20261103q");
    background-repeat: no-repeat;
    background-position: left -0.2rem top -0.15rem, left -0.15rem bottom 3.1rem;
    background-size: min(28rem, 34vw) auto, min(10rem, 11.5vw) auto;
}

[data-theme="navidad"] .hero--navidad::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        118deg,
        transparent 0 49.65%,
        rgba(197, 155, 39, 0.78) 49.65%,
        rgba(197, 155, 39, 0.78) 50.35%,
        transparent 50.35%
    );
}

[data-theme="navidad"] .hero--navidad .hero__glow {
    display: none;
}

[data-theme="navidad"] .hero--navidad .hero__scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0c375f;
    -webkit-mask-image: linear-gradient(118deg, transparent 0 50%, #000 50.2%);
    mask-image: linear-gradient(118deg, transparent 0 50%, #000 50.2%);
}

[data-theme="navidad"] .hero--navidad .hero__scene::before,
[data-theme="navidad"] .hero--navidad .hero__scene::after {
    content: "";
    position: absolute;
    right: 5%;
    top: 9%;
    width: min(34rem, 40vw);
    aspect-ratio: 1;
    border: 1px solid rgba(237, 220, 170, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

[data-theme="navidad"] .hero--navidad .hero__scene::after {
    right: 9%;
    top: 15%;
    width: min(26rem, 31vw);
    border-color: rgba(237, 220, 170, 0.09);
}

[data-theme="navidad"] .hero--navidad .hero__scene img {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
    width: auto;
    height: auto;
    max-width: min(37.5rem, 42%);
    max-height: 100%;
    background: transparent;
}

[data-theme="navidad"] .hero--navidad .hero__copy {
    z-index: 3;
    padding-top: 0.6rem;
}

[data-theme="navidad"] .hero__eyebrow i {
    background: linear-gradient(90deg, var(--gold), var(--season-pine));
}

[data-theme="navidad"] .hero__orbit {
    border-color: rgba(197, 155, 39, 0.32);
}

[data-theme="navidad"] .hero__orbit::after {
    border-color: rgba(20, 90, 67, 0.22);
}

[data-theme="navidad"] .hero__signals li {
    border-color: rgba(197, 155, 39, 0.28);
}

[data-theme="navidad"] .hero__ridge {
    fill: #efe8d8;
    z-index: 3;
}

[data-theme="navidad"] .hero__festive {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

[data-theme="navidad"] .hero__grid,
[data-theme="navidad"] .hero__stage {
    position: relative;
    z-index: 2;
}

[data-theme="navidad"] .hero--navidad .hero__ambassador {
    z-index: 3;
    overflow: visible;
    background: transparent;
}

[data-theme="navidad"] .hero--navidad .hero__ambassador img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(36rem, 74vh);
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
    filter: drop-shadow(0 18px 28px rgba(6, 30, 57, 0.34));
}

[data-theme="navidad"] .hero__star {
    position: absolute;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--gold);
    opacity: 0.42;
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

[data-theme="navidad"] .hero__star:nth-child(1) { right: 8%; top: 14%; }
[data-theme="navidad"] .hero__star:nth-child(2) { right: 18%; top: 28%; width: 0.38rem; height: 0.38rem; opacity: 0.28; }
[data-theme="navidad"] .hero__star:nth-child(3) { right: 6%; bottom: 22%; width: 0.46rem; height: 0.46rem; background: var(--season-snow); opacity: 0.22; }

[data-theme="navidad"] .hero__light {
    position: absolute;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: radial-gradient(circle, #f4e3a8 0%, rgba(197, 155, 39, 0.15) 70%, transparent 100%);
    opacity: 0.7;
}

[data-theme="navidad"] .hero__light:nth-child(4) { right: 12%; top: 42%; }
[data-theme="navidad"] .hero__light:nth-child(5) { right: 22%; top: 16%; }
[data-theme="navidad"] .hero__light:nth-child(6) { right: 4%; top: 58%; }

[data-theme="navidad"] .hero__pine {
    position: absolute;
    width: 4.2rem;
    height: 5.4rem;
    background: var(--season-pine);
    opacity: 0.18;
    clip-path: polygon(50% 0, 78% 38%, 64% 38%, 92% 68%, 70% 68%, 100% 100%, 0 100%, 30% 68%, 8% 68%, 36% 38%, 22% 38%);
}

[data-theme="navidad"] .hero__pine--br {
    right: 1.2%;
    bottom: 8%;
}

[data-theme="navidad"] .hero__pine--tr {
    right: 3%;
    top: 6%;
    width: 2.6rem;
    height: 3.2rem;
    opacity: 0.12;
}

@media (min-width: 960px) {
    [data-theme="navidad"] .hero--navidad .hero__grid {
        padding-top: 4.8rem;
        padding-bottom: 7rem;
    }

    [data-theme="navidad"] .hero--navidad .hero__stage {
        align-content: center;
        justify-items: center;
        padding: 1.4rem 0 3.6rem;
        overflow: visible;
    }

    [data-theme="navidad"] .hero--navidad .hero__ambassador {
        width: min(29rem, 44vw);
        max-height: min(36rem, 74vh);
    }
}

[data-theme="navidad"] .campus__kicker::before,
[data-theme="navidad"] .oferta__kicker::before,
[data-theme="navidad"] .digital__kicker::before,
[data-theme="navidad"] .claustro__kicker::before,
[data-theme="navidad"] .vincula__kicker::before,
[data-theme="navidad"] .pub__kicker::before,
[data-theme="navidad"] .pubs__kicker::before,
[data-theme="navidad"] .vida__kicker::before,
[data-theme="navidad"] .radio__kicker::before,
[data-theme="navidad"] .cierre__kicker::before,
[data-theme="navidad"] .contacto__kicker::before,
[data-theme="navidad"] .programa__kicker::before,
[data-theme="navidad"] .posdoc__kicker::before,
[data-theme="navidad"] .cp-hero__kicker::before,
[data-theme="navidad"] .vp-hero__kicker::before,
[data-theme="navidad"] .va-hero__kicker::before {
    background: linear-gradient(90deg, var(--gold), var(--season-pine));
}

[data-theme="navidad"] .campus,
[data-theme="navidad"] .pub,
[data-theme="navidad"] .pubs,
[data-theme="navidad"] .radio,
[data-theme="navidad"] .cierre,
[data-theme="navidad"] .contacto,
[data-theme="navidad"] .aviso,
[data-theme="navidad"] .claustro-page,
[data-theme="navidad"] .vinculacion-page,
[data-theme="navidad"] .vida-page,
[data-theme="navidad"] .programa,
[data-theme="navidad"] .posdoc {
    background: var(--season-ivory);
}

[data-theme="navidad"] .radio__brand img {
    filter: none;
    background: transparent;
}

[data-theme="navidad"] .campus__index,
[data-theme="navidad"] .claustro__group,
[data-theme="navidad"] .node__mark,
[data-theme="navidad"] .pub-feature__type,
[data-theme="navidad"] .pubs-card__type {
    color: var(--season-pine);
}

[data-theme="navidad"] .space__node {
    background: var(--gold-bright);
}

[data-theme="navidad"] .digital__bridge::before,
[data-theme="navidad"] .digital__bridge::after {
    background: linear-gradient(var(--gold), rgba(20, 90, 67, 0.08));
}

[data-theme="navidad"] .site-footer {
    box-shadow: inset 0 1px 0 rgba(197, 155, 39, 0.38);
}

[data-theme="navidad"] .programa-hero,
[data-theme="navidad"] .posdoc-hero,
[data-theme="navidad"] .cp-hero,
[data-theme="navidad"] .vp-hero,
[data-theme="navidad"] .va-hero {
    position: relative;
}

[data-theme="navidad"] .programa-hero::after,
[data-theme="navidad"] .posdoc-hero::after,
[data-theme="navidad"] .cp-hero::after,
[data-theme="navidad"] .vp-hero::after,
[data-theme="navidad"] .va-hero::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 1.15rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--gold);
    opacity: 0.45;
    pointer-events: none;
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

[data-theme="navidad"] .season-note {
    background: var(--season-ivory);
    color: var(--navy-ink);
}

[data-theme="navidad"] .season-note__wrap {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.6rem 1.15rem 1.75rem;
}

[data-theme="navidad"] .season-note__mark {
    margin: 0 0 0.35rem;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.02em;
}

[data-theme="navidad"] .season-note__line {
    margin: 0;
    max-width: 34rem;
    color: var(--muted);
    font-size: 0.92rem;
}

[data-theme="navidad"] .season-note__ornament {
    position: absolute;
    right: 1.4rem;
    top: 50%;
    width: 4.2rem;
    height: 1.4rem;
    transform: translateY(-50%);
    pointer-events: none;
}

[data-theme="navidad"] .season-note__ornament i {
    position: absolute;
    background: var(--gold);
    opacity: 0.28;
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

[data-theme="navidad"] .season-note__ornament i:nth-child(1) {
    left: 0;
    top: 0.28rem;
    width: 0.7rem;
    height: 0.7rem;
}

[data-theme="navidad"] .season-note__ornament i:nth-child(2) {
    left: 1.45rem;
    top: 0.12rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--season-pine);
    opacity: 0.22;
}

[data-theme="navidad"] .season-note__ornament i:nth-child(3) {
    right: 0.15rem;
    top: 0.38rem;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--season-red);
    opacity: 0.2;
}

@media (min-width: 760px) {
    [data-theme="navidad"] .season-note__wrap {
        padding: 1.85rem 1.4rem 2rem;
    }
}

@media (max-width: 1100px) {
    [data-theme="navidad"] .site-header::before,
    [data-theme="navidad"] .site-header::after {
        display: none;
    }
}

@media (max-width: 1024px) {
    [data-theme="navidad"] .hero__pine--tr,
    [data-theme="navidad"] .hero__star:nth-child(2),
    [data-theme="navidad"] .hero__light:nth-child(6) {
        display: none;
    }

    [data-theme="navidad"] .hero--navidad::before {
        background-image: url("../img/personaje/fondo-hero-navidad-2026-izquierda-sup.png?v=20261103q");
        background-size: min(22rem, 32vw) auto;
        background-position: left -0.15rem top -0.1rem;
    }
}

@media (max-width: 959px) {
    [data-theme="navidad"] .hero {
        background: linear-gradient(180deg, var(--season-ivory) 0 62%, #0c375f 62% 100%);
    }

    [data-theme="navidad"] .hero--navidad::before {
        background-image: url("../img/personaje/fondo-hero-navidad-2026-izquierda-sup.png?v=20261103q");
        background-size: min(14rem, 52vw) auto;
        background-position: left top;
    }

    [data-theme="navidad"] .hero--navidad .hero__grid {
        padding-top: 4.4rem;
    }

    [data-theme="navidad"] .hero--navidad::after {
        background: linear-gradient(
            180deg,
            transparent 0 61.6%,
            rgba(197, 155, 39, 0.7) 61.6%,
            rgba(197, 155, 39, 0.7) 62.4%,
            transparent 62.4%
        );
    }

    [data-theme="navidad"] .hero--navidad .hero__scene {
        -webkit-mask-image: linear-gradient(180deg, transparent 0 62%, #000 62.3%);
        mask-image: linear-gradient(180deg, transparent 0 62%, #000 62.3%);
    }

    [data-theme="navidad"] .hero--navidad .hero__scene::before,
    [data-theme="navidad"] .hero--navidad .hero__scene::after {
        top: auto;
        bottom: 6%;
        right: 8%;
        width: min(16rem, 58vw);
        opacity: 0.55;
    }

    [data-theme="navidad"] .hero--navidad .hero__scene::after {
        bottom: 12%;
        right: 16%;
        width: min(11rem, 42vw);
    }

    [data-theme="navidad"] .hero--navidad .hero__scene img {
        top: auto;
        right: 0;
        bottom: 0;
        left: auto;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        background: transparent;
    }

    [data-theme="navidad"] .hero--navidad .hero__stage {
        padding: 0.5rem 0 0.35rem;
        overflow: visible;
    }

    [data-theme="navidad"] .hero--navidad .hero__ambassador {
        width: min(15.5rem, 62vw);
        max-height: 19.5rem;
    }

    [data-theme="navidad"] .hero--navidad .hero__ambassador img {
        max-height: 19.5rem;
    }
}

@media (max-width: 480px) {
    [data-theme="navidad"] .hero {
        background: linear-gradient(180deg, var(--season-ivory) 0 70%, #0c375f 70% 100%);
    }

    [data-theme="navidad"] .hero--navidad::before {
        background-image: url("../img/personaje/fondo-hero-navidad-2026-izquierda-sup.png?v=20261103q");
        background-size: min(11.5rem, 70vw) auto;
        background-position: left top;
    }

    [data-theme="navidad"] .hero--navidad::after {
        background: linear-gradient(
            180deg,
            transparent 0 69.6%,
            rgba(197, 155, 39, 0.7) 69.6%,
            rgba(197, 155, 39, 0.7) 70.4%,
            transparent 70.4%
        );
    }

    [data-theme="navidad"] .hero--navidad .hero__scene {
        -webkit-mask-image: linear-gradient(180deg, transparent 0 70%, #000 70.3%);
        mask-image: linear-gradient(180deg, transparent 0 70%, #000 70.3%);
    }

    [data-theme="navidad"] .hero--navidad .hero__grid {
        padding-top: 3.5rem;
    }

    [data-theme="navidad"] .hero--navidad .hero__ambassador {
        width: min(13.4rem, 72vw);
        max-height: 16.8rem;
    }

    [data-theme="navidad"] .hero--navidad .hero__ambassador img {
        max-height: 16.8rem;
    }
}

@media (max-width: 767px) {
    [data-theme="navidad"] .hero__festive,
    [data-theme="navidad"] .season-note__ornament,
    [data-theme="navidad"] .programa-hero::after,
    [data-theme="navidad"] .posdoc-hero::after,
    [data-theme="navidad"] .cp-hero::after,
    [data-theme="navidad"] .vp-hero::after,
    [data-theme="navidad"] .va-hero::after {
        display: none;
    }
}
