/* =============================================================
   GNCI Homepage Christmas Theme (December 1 - December 31)
   Heritage academic palette: Evergreen, Warm Gold & Crimson
   Purely decorative (pointer-events: none) and excluded from
   Content Editor previews.
   ============================================================= */

.christmas-theme {
    --xmas-pine-deep: #073320;
    --xmas-pine: #0f4c31;
    --xmas-pine-mid: #1f6b47;
    --xmas-pine-light: #5a9c74;
    --xmas-crimson-deep: #7f1d1d;
    --xmas-crimson: #b3312d;
    --xmas-crimson-bright: #d94b43;
    --xmas-crimson-soft: #f0c9c2;
    --xmas-gold: #eaba3b;
    --xmas-gold-light: #f6df98;
    --xmas-gold-pale: #fff6dc;
    --xmas-cream: #faf4e6;
    --christmas-ribbon: repeating-linear-gradient(
        125deg,
        var(--xmas-crimson) 0 9px,
        var(--xmas-gold-pale) 9px 14px,
        var(--xmas-pine-mid) 14px 23px,
        var(--xmas-gold-light) 23px 27px
    );
    --xmas-holly-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 36'%3E%3Cpath d='M32 20 C24 10 11 10 4 17 C9 19 10 23 7 27 C15 26 22 28 29 22 Z' fill='%231f6b47' stroke='%23073320' stroke-width='1.4'/%3E%3Cpath d='M32 20 C40 10 53 10 60 17 C55 19 54 23 57 27 C49 26 42 28 35 22 Z' fill='%2316593a' stroke='%23073320' stroke-width='1.4'/%3E%3Cpath d='M10 18 L28 20 M54 18 L36 20' stroke='%23f6df98' stroke-width='1' stroke-opacity='.55'/%3E%3Ccircle cx='32' cy='15' r='4.2' fill='%23d94b43' stroke='%237f1d1d' stroke-width='1'/%3E%3Ccircle cx='27.5' cy='21' r='4' fill='%23b3312d' stroke='%237f1d1d' stroke-width='1'/%3E%3Ccircle cx='36.5' cy='21' r='4' fill='%23b3312d' stroke='%237f1d1d' stroke-width='1'/%3E%3Ccircle cx='30.8' cy='13.6' r='1.1' fill='%23fff6dc'/%3E%3Ccircle cx='26.4' cy='19.8' r='1' fill='%23fff6dc'/%3E%3Ccircle cx='35.4' cy='19.8' r='1' fill='%23fff6dc'/%3E%3C/svg%3E");
    --xmas-parol-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 118'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='45%25' r='55%25'%3E%3Cstop offset='0%25' stop-color='%23fffbe6'/%3E%3Cstop offset='48%25' stop-color='%23f6df98'/%3E%3Cstop offset='100%25' stop-color='%23d89c24'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cline x1='40' y1='0' x2='40' y2='14' stroke='%23f6df98' stroke-width='2'/%3E%3Cpath d='M25 76 C22 92 17 104 14 114 L22 108 L26 116 C28 103 30 91 31 78 Z' fill='%23d94b43' opacity='.9'/%3E%3Cpath d='M55 76 C58 92 63 104 66 114 L58 108 L54 116 C52 103 50 91 49 78 Z' fill='%23d94b43' opacity='.9'/%3E%3Cpath d='M36 78 C36 95 35 106 34 116 L40 110 L46 116 C45 106 44 95 44 78 Z' fill='%23eaba3b' opacity='.92'/%3E%3Ccircle cx='40' cy='48' r='31' fill='none' stroke='%23f6df98' stroke-width='2.6'/%3E%3Ccircle cx='40' cy='48' r='26.5' fill='rgba(127,29,29,0.28)' stroke='%23eaba3b' stroke-width='1' stroke-dasharray='3 3'/%3E%3Cpolygon points='40,16 48,37 70,38 52,51 58,73 40,60 22,73 28,51 10,38 32,37' fill='url(%23g)' stroke='%237f1d1d' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpolygon points='40,26 45,40 59,41 48,49 52,63 40,55 28,63 32,49 21,41 35,40' fill='%23b3312d' opacity='.88'/%3E%3Ccircle cx='40' cy='47' r='6.5' fill='%23fffbe6'/%3E%3C/svg%3E");
    --xmas-lights-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 44'%3E%3Cpath d='M0 6 Q60 28 120 8 Q180 28 240 6' fill='none' stroke='%230c3b24' stroke-width='3'/%3E%3Cpath d='M0 6 Q60 28 120 8 Q180 28 240 6' fill='none' stroke='%23f6df98' stroke-width='1' stroke-opacity='.55'/%3E%3Cg%3E%3Ccircle cx='30' cy='19' r='7' fill='%23f6df98' fill-opacity='.34'/%3E%3Ccircle cx='30' cy='19' r='3.6' fill='%23fff6dc'/%3E%3Ccircle cx='60' cy='24' r='7.5' fill='%23d94b43' fill-opacity='.36'/%3E%3Ccircle cx='60' cy='24' r='3.8' fill='%23ff7a70'/%3E%3Ccircle cx='90' cy='18' r='7' fill='%23eaba3b' fill-opacity='.36'/%3E%3Ccircle cx='90' cy='18' r='3.6' fill='%23ffe699'/%3E%3Ccircle cx='120' cy='13' r='7' fill='%235a9c74' fill-opacity='.36'/%3E%3Ccircle cx='120' cy='13' r='3.5' fill='%239ee6b8'/%3E%3Ccircle cx='150' cy='19' r='7' fill='%23f6df98' fill-opacity='.34'/%3E%3Ccircle cx='150' cy='19' r='3.6' fill='%23fff6dc'/%3E%3Ccircle cx='180' cy='24' r='7.5' fill='%23d94b43' fill-opacity='.36'/%3E%3Ccircle cx='180' cy='24' r='3.8' fill='%23ff7a70'/%3E%3Ccircle cx='210' cy='18' r='7' fill='%23eaba3b' fill-opacity='.36'/%3E%3Ccircle cx='210' cy='18' r='3.6' fill='%23ffe699'/%3E%3C/g%3E%3C/svg%3E");
}

/* Hide decorative DOM hooks outside December */
.home-christmas-lights,
.home-christmas-trees,
.home-christmas-greeting {
    display: none;
}

/* =============================================================
   HERO SLIDESHOW: 3-LAYER SNOWFALL, STRING LIGHTS, PAROL,
   HANGING BAUBLES, GARLAND, TREES & WRAPPED GIFT BOXES
   ============================================================= */

/* Light, sparse 6-point crystalline snowflakes framing the hero while keeping center text clear. */
.christmas-theme .hero-slideshow::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background-image:
        /* Foreground sparse 6-point crystalline snowflakes (420x420 tile) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(78 96) scale(.82)' stroke-width='1.4' opacity='.85'%3E%3Cpath d='M0-13V13M-11.3-6.5L11.3 6.5M-11.3 6.5L11.3-6.5M-3-9.5L0-6.5L3-9.5M-3 9.5L0 6.5L3 9.5M-9.5-2.2L-5.6-3.2L-6.8-7.1M9.5 2.2L5.6 3.2L6.8 7.1M-9.5 2.2L-5.6 3.2L-6.8 7.1M9.5-2.2L5.6-3.2L6.8-7.1'/%3E%3Ccircle r='1.8' fill='%23fff6dc' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(312 288) scale(.66) rotate(22)' stroke-width='1.5' opacity='.78'%3E%3Cpath d='M0-12V12M-10.4-6L10.4 6M-10.4 6L10.4-6M-2.8-8.6L0-5.8L2.8-8.6M-2.8 8.6L0 5.8L2.8 8.6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        /* Mid-layer delicate small snowflakes (360x360 tile) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke='%23fff8e8' stroke-linecap='round' stroke-width='1.3'%3E%3Cg transform='translate(64 248) scale(.52) rotate(14)' opacity='.68'%3E%3Cpath d='M0-12V12M-10.4-6L10.4 6M-10.4 6L10.4-6M-2.8-8.5L0-5.8L2.8-8.5M-2.8 8.5L0 5.8L2.8 8.5'/%3E%3C/g%3E%3Cg transform='translate(244 82) scale(.45) rotate(28)' opacity='.62'%3E%3Cpath d='M0-11V11M-9.5-5.5L9.5 5.5M-9.5 5.5L9.5-5.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        /* Subtle distant snow dust (260x260 tile) */
        radial-gradient(circle at 52px 64px, rgba(255, 255, 255, 0.52) 1.3px, transparent 2.6px),
        radial-gradient(circle at 194px 178px, rgba(255, 246, 220, 0.45) 1.2px, transparent 2.4px);
    background-size:
        420px 420px,
        360px 360px,
        260px 260px, 260px 260px;
    opacity: 0.62;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 16%, transparent 28% 72%, rgba(0, 0, 0, 0.6) 84%, #000 100%);
            mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 16%, transparent 28% 72%, rgba(0, 0, 0, 0.6) 84%, #000 100%);
    animation: gncXmasSnowfall 32s linear infinite;
}

@keyframes gncXmasSnowfall {
    from {
        background-position:
            0 0,
            0 0,
            0 0, 0 0;
    }
    to {
        background-position:
            420px 840px,
            -360px 720px,
            0 520px, 0 520px;
    }
}

/* Top twinkling fairy-light garland, Filipino Parol stars & hanging baubles */
.christmas-theme .home-christmas-lights {
    display: block;
    position: absolute;
    inset: 0 0 auto;
    height: 160px;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.christmas-theme .home-christmas-lights::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 44px;
    background-image: var(--xmas-lights-svg);
    background-size: 240px 44px;
    background-repeat: repeat-x;
    filter: drop-shadow(0 3px 8px rgba(246, 223, 152, 0.4));
    animation: gncXmasLightsTwinkle 3.8s ease-in-out infinite;
}

@keyframes gncXmasLightsTwinkle {
    0%, 100% { filter: drop-shadow(0 2px 6px rgba(246, 223, 152, 0.35)) brightness(1); }
    50% { filter: drop-shadow(0 4px 12px rgba(246, 223, 152, 0.72)) brightness(1.18); }
}

.christmas-theme .xmas-parol {
    position: absolute;
    top: 10px;
    width: clamp(50px, 6vw, 76px);
    aspect-ratio: 80 / 118;
    background: var(--xmas-parol-svg) center top / contain no-repeat;
    transform-origin: top center;
    filter: drop-shadow(0 0 12px rgba(246, 223, 152, 0.55));
    animation: gncXmasSway 6.2s ease-in-out infinite;
}

.christmas-theme .xmas-parol-left {
    left: clamp(14px, 3vw, 44px);
}

.christmas-theme .xmas-parol-right {
    right: clamp(14px, 3vw, 44px);
    animation-delay: -2.8s;
}

.christmas-theme .xmas-bauble {
    position: absolute;
    top: 12px;
    width: 24px;
    transform-origin: top center;
    animation: gncXmasSway 5.4s ease-in-out infinite;
}

.christmas-theme .xmas-bauble::before {
    content: "";
    display: block;
    width: 1.5px;
    height: var(--bauble-cord, 46px);
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(246, 223, 152, 0.65), var(--xmas-gold-light));
}

.christmas-theme .xmas-bauble::after {
    content: "";
    display: block;
    width: var(--bauble-size, 22px);
    height: var(--bauble-size, 22px);
    margin: -1px auto 0;
    border-radius: 50%;
    border: 1.5px solid rgba(246, 223, 152, 0.85);
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.85) 0 14%, transparent 32%),
        radial-gradient(circle at 55% 60%, var(--bauble-hi, #e25750) 0, var(--bauble-main, #b3312d) 62%, var(--bauble-deep, #6b1515) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 10px var(--bauble-glow, rgba(217, 75, 67, 0.35));
}

.christmas-theme .xmas-bauble-1 {
    left: clamp(78px, 11vw, 150px);
    --bauble-cord: 42px;
    --bauble-size: 22px;
    animation-delay: -0.9s;
}

.christmas-theme .xmas-bauble-2 {
    left: clamp(120px, 18vw, 235px);
    --bauble-cord: 64px;
    --bauble-size: 18px;
    --bauble-hi: #fff3c2;
    --bauble-main: #eaba3b;
    --bauble-deep: #9b6e12;
    --bauble-glow: rgba(234, 186, 59, 0.45);
    animation-duration: 6.4s;
    animation-delay: -2.1s;
}

.christmas-theme .xmas-bauble-3 {
    right: clamp(120px, 18vw, 235px);
    --bauble-cord: 64px;
    --bauble-size: 18px;
    --bauble-hi: #66b889;
    --bauble-main: #1f6b47;
    --bauble-deep: #093621;
    --bauble-glow: rgba(90, 156, 116, 0.4);
    animation-duration: 6.1s;
    animation-delay: -1.4s;
}

.christmas-theme .xmas-bauble-4 {
    right: clamp(78px, 11vw, 150px);
    --bauble-cord: 42px;
    --bauble-size: 22px;
    animation-delay: -3.2s;
}

@keyframes gncXmasSway {
    0%, 100% { transform: rotate(-2.5deg); }
    50% { transform: rotate(2.5deg); }
}

/* Sculpted evergreen garland with warm glowing fairy lights & jewel ornaments at the hero base. */
.christmas-theme .hero-slideshow::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38px;
    z-index: 3;
    pointer-events: none;
    background:
        /* Specular glints on baubles */
        radial-gradient(circle at 22px 15px, var(--xmas-gold-pale) 1.1px, transparent 2.2px),
        radial-gradient(circle at 114px 19px, var(--xmas-gold-pale) 1.1px, transparent 2.2px),
        /* Warm glowing fairy bulbs */
        radial-gradient(circle at 46px 11px, #fff7d6 2px, rgba(234, 186, 59, 0.7) 4.5px, transparent 8px),
        radial-gradient(circle at 90px 10px, #fff7d6 2px, rgba(234, 186, 59, 0.65) 4.5px, transparent 8px),
        radial-gradient(circle at 136px 12px, #fff7d6 2px, rgba(234, 186, 59, 0.7) 4.5px, transparent 8px),
        /* Jewel ornaments: ruby crimson, brushed gold, emerald */
        radial-gradient(circle at 24px 19px, #d64540 0 2px, var(--xmas-crimson) 2px 6.5px, var(--xmas-gold-light) 7.5px, transparent 8.5px),
        radial-gradient(circle at 68px 15px, #fff3c4 0 1.5px, var(--xmas-gold) 1.5px 4.8px, #b68420 5.5px, transparent 6.5px),
        radial-gradient(circle at 116px 22px, #68b084 0 2px, var(--xmas-pine-mid) 2px 6.5px, var(--xmas-gold-light) 7.5px, transparent 8.5px),
        /* Gold hanger cords */
        linear-gradient(90deg, transparent 23px, var(--xmas-gold-light) 23px 24.5px, transparent 24.5px),
        linear-gradient(90deg, transparent 67px, var(--xmas-gold-light) 67px 68.5px, transparent 68.5px),
        linear-gradient(90deg, transparent 115px, var(--xmas-gold-light) 115px 116.5px, transparent 116.5px),
        /* Pine needle texture & deep forest base */
        repeating-linear-gradient(135deg, rgba(90, 156, 116, 0.22) 0 4px, transparent 4px 10px),
        linear-gradient(180deg, var(--xmas-pine) 0%, var(--xmas-pine-deep) 100%);
    border-top: 2px solid var(--xmas-gold-light);
    box-shadow: 0 -6px 18px rgba(7, 51, 32, 0.42), inset 0 2px 0 rgba(255, 246, 220, 0.35);
    background-size:
        152px 38px, 152px 38px,
        152px 38px, 152px 38px, 152px 38px,
        152px 38px, 152px 38px, 152px 38px,
        152px 12px, 152px 9px, 152px 15px,
        100% 38px, 100% 38px;
    background-repeat: repeat-x;
    animation: gncXmasTwinkle 4.5s ease-in-out infinite;
}

@keyframes gncXmasTwinkle {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.09); }
}

/* Framed corner Christmas trees + wrapped gift boxes above the garland. */
.christmas-theme .home-christmas-trees {
    display: flex;
    position: absolute;
    inset: auto clamp(14px, 4vw, 56px) 38px;
    z-index: 3;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.christmas-theme .xmas-tree-cluster {
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.christmas-theme .xmas-tree {
    position: relative;
    display: block;
    width: clamp(54px, 9.5vw, 128px);
    aspect-ratio: 4 / 5;
    filter: drop-shadow(0 4px 10px rgba(4, 24, 15, 0.55));
}

.christmas-theme .xmas-tree::before,
.christmas-theme .xmas-tree::after {
    content: "";
    position: absolute;
}

.christmas-theme .xmas-tree::before {
    inset: 11% 0 0;
    background:
        /* Warm glowing ornaments + pearl highlights */
        radial-gradient(circle at 50% 25%, var(--xmas-gold-pale) 2%, var(--xmas-gold-light) 3.6%, transparent 5.5%),
        radial-gradient(circle at 38% 49%, #ff9b95 1.5%, var(--xmas-crimson-bright) 3.8%, transparent 5.5%),
        radial-gradient(circle at 63% 57%, var(--xmas-gold-pale) 2%, var(--xmas-gold) 4%, transparent 6%),
        radial-gradient(circle at 28% 76%, var(--xmas-gold-pale) 1.8%, var(--xmas-gold-light) 3.6%, transparent 5.5%),
        radial-gradient(circle at 51% 71%, #ff9b95 1.5%, var(--xmas-crimson-bright) 3.6%, transparent 5.2%),
        radial-gradient(circle at 73% 79%, var(--xmas-gold-pale) 2%, var(--xmas-gold) 4%, transparent 6%),
        /* Delicate diagonal gold tinsel glint */
        linear-gradient(168deg, transparent 36%, rgba(246, 223, 152, 0.34) 37.5% 39.5%, transparent 41%,
            transparent 60%, rgba(246, 223, 152, 0.3) 61.5% 63.5%, transparent 65%),
        /* Layered pine foliage shading */
        linear-gradient(155deg, #6ab286 0%, #276e4b 44%, #0b3a25 90%);
    clip-path: polygon(
        50% 0,
        73% 32%, 62% 32%,
        86% 60%, 73% 60%,
        100% 90%, 58% 90%,
        58% 100%, 42% 100%, 42% 90%,
        0 90%, 27% 60%, 14% 60%,
        38% 32%, 27% 32%
    );
}

/* Luminous golden Bethlehem star topper. */
.christmas-theme .xmas-tree::after {
    inset: 0 auto auto 39%;
    width: 22%;
    aspect-ratio: 1;
    background: radial-gradient(circle at 50% 45%, #fffef2 0%, #ffe59e 58%, #eaba3b 100%);
    clip-path: polygon(50% 0, 62% 35%, 100% 38%, 72% 62%, 80% 100%, 50% 78%, 20% 100%, 28% 62%, 0 38%, 38% 35%);
    filter: drop-shadow(0 0 6px rgba(255, 229, 158, 0.85));
    animation: gncXmasStarGlow 3.6s ease-in-out infinite;
}

/* Wrapped Christmas Gift Boxes */
.christmas-theme .xmas-gift {
    position: relative;
    display: block;
    font-style: normal;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 4px 10px rgba(4, 24, 15, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

.christmas-theme .xmas-gift::before,
.christmas-theme .xmas-gift::after {
    content: "";
    position: absolute;
    top: -6px;
    width: 9px;
    height: 6px;
    border: 2px solid var(--gift-ribbon, var(--xmas-gold-light));
    border-radius: 6px 6px 0 6px;
}

.christmas-theme .xmas-gift::before {
    right: 50%;
    transform: rotate(12deg);
}

.christmas-theme .xmas-gift::after {
    left: 50%;
    border-radius: 6px 6px 6px 0;
    transform: rotate(-12deg);
}

.christmas-theme .xmas-gift-red {
    width: clamp(22px, 3vw, 34px);
    height: clamp(20px, 2.8vw, 30px);
    --gift-ribbon: var(--xmas-gold-light);
    background:
        linear-gradient(90deg, transparent 41%, var(--xmas-gold-light) 41% 59%, transparent 59%),
        linear-gradient(180deg, transparent 38%, var(--xmas-gold-light) 38% 54%, transparent 54%),
        linear-gradient(145deg, #d94b43 0%, #9b2220 100%);
    border-top: 4px solid #c93933;
}

.christmas-theme .xmas-gift-gold {
    width: clamp(18px, 2.4vw, 26px);
    height: clamp(16px, 2.2vw, 23px);
    --gift-ribbon: var(--xmas-crimson);
    background:
        linear-gradient(90deg, transparent 40%, var(--xmas-crimson) 40% 60%, transparent 60%),
        linear-gradient(180deg, transparent 36%, var(--xmas-crimson) 36% 54%, transparent 54%),
        linear-gradient(145deg, #f6df98 0%, #d49e26 100%);
    border-top: 3px solid #f7e3a4;
}

.christmas-theme .xmas-gift-pine {
    width: clamp(20px, 2.5vw, 28px);
    height: clamp(17px, 2.3vw, 24px);
    --gift-ribbon: var(--xmas-gold-light);
    background:
        linear-gradient(90deg, transparent 40%, var(--xmas-gold-light) 40% 60%, transparent 60%),
        linear-gradient(180deg, transparent 36%, var(--xmas-gold-light) 36% 54%, transparent 54%),
        linear-gradient(145deg, #2b8055 0%, #0d452a 100%);
    border-top: 3px solid #359163;
}

@keyframes gncXmasStarGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 229, 158, 0.72)); }
    50% { filter: drop-shadow(0 0 11px rgba(255, 240, 185, 0.98)); }
}

/* =============================================================
   SEASON'S GREETINGS RIBBON BAR (BELOW HERO)
   ============================================================= */

.christmas-theme .home-christmas-greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 20px;
    text-align: center;
    background:
        radial-gradient(ellipse 55% 180% at 50% 50%, rgba(234, 186, 59, 0.2), transparent 68%),
        linear-gradient(90deg, #062a1a 0%, #0f4c31 20%, #7f1d1d 50%, #0f4c31 80%, #062a1a 100%);
    border-top: 1px solid rgba(246, 223, 152, 0.55);
    border-bottom: 2px solid var(--xmas-gold);
    box-shadow: 0 4px 14px rgba(7, 51, 32, 0.22);
    pointer-events: none;
}

.christmas-theme .xmas-greeting-text {
    color: var(--xmas-gold-pale);
    font-size: clamp(0.76rem, 1.15vw, 0.92rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(4, 24, 15, 0.55);
}

.christmas-theme .xmas-holly {
    display: inline-block;
    flex-shrink: 0;
    width: 34px;
    height: 20px;
    background: var(--xmas-holly-svg) center / contain no-repeat;
    filter: drop-shadow(0 1px 3px rgba(4, 24, 15, 0.4));
}

/* Festive scroll progress bar, hero active indicator & back-to-top */
.christmas-theme .gnc-scroll-progress {
    background: linear-gradient(90deg, var(--xmas-crimson), var(--xmas-gold), var(--xmas-pine-mid));
}

.christmas-theme .hero-dots span.active {
    background-color: var(--xmas-gold-light);
    box-shadow: 0 0 0 2px rgba(179, 49, 45, 0.7), 0 0 10px rgba(246, 223, 152, 0.75);
}

.christmas-theme .gnc-backtop {
    border: 2px solid var(--xmas-gold-light);
    box-shadow: 0 6px 18px rgba(127, 29, 29, 0.35), 0 0 0 2px rgba(179, 49, 45, 0.45);
}

/* =============================================================
   NAVBAR & FOOTER HOLIDAY TRIM & FAIRY LIGHTS (HOMEPAGE ONLY)
   ============================================================= */

.christmas-theme .gnc-navbar {
    box-shadow: 0 2px 0 var(--xmas-gold-light), 0 5px 0 var(--xmas-crimson-deep);
}

.christmas-theme .gnc-footer {
    position: relative;
    border-top: 4px solid var(--xmas-crimson-deep);
    box-shadow: inset 0 2px 0 var(--xmas-gold-light);
}

.christmas-theme .gnc-footer::before {
    content: "";
    position: absolute;
    inset: 2px 0 auto;
    height: 32px;
    pointer-events: none;
    background-image: var(--xmas-lights-svg);
    background-size: 210px 32px;
    background-repeat: repeat-x;
    opacity: 0.85;
    animation: gncXmasLightsTwinkle 4.4s ease-in-out infinite;
}

/* =============================================================
   PILLARS BANNER: CHAMPAGNE GOLD & CRIMSON RIBBON TRIM
   ============================================================= */

.christmas-theme .gnc-pillars {
    border-top-color: var(--xmas-crimson-deep);
    border-bottom-color: var(--xmas-crimson-deep);
    background:
        radial-gradient(ellipse 65% 150% at 50% 50%, rgba(255, 248, 220, 0.72), transparent 72%),
        repeating-linear-gradient(135deg, rgba(179, 49, 45, 0.06) 0 3px, transparent 3px 15px),
        linear-gradient(180deg, #f3dc98 0%, #eaba3b 52%, #e0ab2b 100%);
    box-shadow:
        inset 0 3px 0 rgba(255, 246, 220, 0.55),
        inset 0 -3px 0 rgba(255, 246, 220, 0.45);
}

.christmas-theme .gnc-pillars .pillar-badge,
.christmas-theme .gnc-pillars .pillar-badge.fides-bg,
.christmas-theme .gnc-pillars .pillar-badge.scientia-bg,
.christmas-theme .gnc-pillars .pillar-badge.patria-bg {
    box-shadow:
        0 0 0 3px var(--xmas-crimson-deep),
        0 0 0 7px rgba(255, 246, 220, 0.65),
        0 10px 18px rgba(7, 51, 32, 0.24);
}

.christmas-theme .gnc-pillars .pillar-word::after {
    background: var(--xmas-crimson);
    box-shadow: 0 0 0 3px rgba(255, 246, 220, 0.55);
}

/* =============================================================
   SECTION HEADINGS: ARCHED EVERGREEN SWAG & FESTIVE RIBBON
   ============================================================= */

/* An arched evergreen bough with golden berries and three specular ornaments. */
.christmas-theme :is(
    .gnc-news-head,
    .gnc-cal-head,
    .gnc-prog-head,
    .gnc-campus-map .gnc-programs-header
)::before {
    content: "";
    display: block;
    flex: none;
    width: min(100%, 204px);
    height: 42px;
    margin: 0 auto 0.7rem;
    pointer-events: none;
    filter: drop-shadow(0 2px 3px rgba(7, 51, 32, 0.16));
    background:
        /* Specular highlights on hanging baubles */
        radial-gradient(circle at 24.5% 63%, var(--xmas-gold-pale) 1px, transparent 2px),
        radial-gradient(circle at 49% 77%, var(--xmas-gold-pale) 1.2px, transparent 2.4px),
        radial-gradient(circle at 73.5% 63%, var(--xmas-gold-pale) 1px, transparent 2px),
        /* Three hanging ornaments */
        radial-gradient(circle at 26% 67%, var(--xmas-crimson-bright) 0 1.8px, var(--xmas-crimson) 2px 4.6px, var(--xmas-gold-light) 5.6px, transparent 6.5px),
        radial-gradient(circle at 50% 81%, #fff4c9 0 1.8px, var(--xmas-gold) 2px 5.6px, var(--xmas-gold-pale) 6.6px, transparent 7.6px),
        radial-gradient(circle at 74% 67%, var(--xmas-crimson-bright) 0 1.8px, var(--xmas-crimson) 2px 4.6px, var(--xmas-gold-light) 5.6px, transparent 6.5px),
        /* Center holly berry cluster */
        radial-gradient(circle at 48% 18%, var(--xmas-crimson) 2px, transparent 2.8px),
        radial-gradient(circle at 52% 18%, var(--xmas-crimson) 2px, transparent 2.8px),
        radial-gradient(circle at 50% 13%, var(--xmas-crimson-bright) 2px, transparent 2.8px),
        /* Gold hanging cords */
        linear-gradient(#c89a39, #c89a39) 26% 56% / 1.5px 14px no-repeat,
        linear-gradient(#c89a39, #c89a39) 50% 63% / 1.5px 19px no-repeat,
        linear-gradient(#c89a39, #c89a39) 74% 56% / 1.5px 14px no-repeat,
        /* Arched gold-rimmed evergreen swag */
        radial-gradient(ellipse 58% 48% at 50% -8%, transparent 84%, var(--xmas-gold-light) 88%, var(--xmas-pine-mid) 93%, transparent 100%),
        repeating-linear-gradient(135deg, #12452f 0 5px, var(--xmas-pine-light) 5px 8px, #1e5e3f 8px 12px) center top / 100% 12px no-repeat;
}

.christmas-theme .gnc-news-heading::after,
.christmas-theme .gnc-prog-heading::after,
.christmas-theme .gnc-president-title::after {
    background: var(--christmas-ribbon);
}

/* =============================================================
   NEWS & ANNOUNCEMENTS SECTION: FESTIVE PINNED SHOWCASE & CARDS
   ============================================================= */

.christmas-theme .gnc-pin {
    position: relative;
}

.christmas-theme .gnc-pin::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 36px;
    z-index: 6;
    pointer-events: none;
    background: var(--xmas-holly-svg) center / contain no-repeat;
    filter: drop-shadow(0 3px 5px rgba(7, 51, 32, 0.35));
}

.christmas-theme .gnc-news :is(.gnc-feed-card, .gnc-news-card) {
    border-top: 3px solid var(--xmas-gold);
}

/* =============================================================
   CALENDAR SECTION: SNOW-DUSTED BACKDROP & HOLIDAY TRIM
   ============================================================= */

.christmas-theme .gnc-cal-sec {
    border-top-color: var(--xmas-crimson-deep);
    background-color: #fbf8f2;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(234, 186, 59, 0.12) 0 4px, transparent 5px),
        radial-gradient(circle at 88% 24%, rgba(179, 49, 45, 0.08) 0 3.5px, transparent 4.5px),
        radial-gradient(circle at 76% 82%, rgba(31, 107, 71, 0.09) 0 4px, transparent 5px);
}

.christmas-theme .gnc-cal-heading span {
    background: linear-gradient(transparent 64%, var(--xmas-crimson-soft) 64%);
}

.christmas-theme .gnc-cal-sec :is(.gnc-cal-card, .gnc-upcoming-card) {
    outline: 1px solid #b8ccb9;
    box-shadow: 0 10px 26px rgba(7, 51, 32, 0.07), inset 0 3px 0 var(--xmas-gold-light);
}

.christmas-theme .gnc-cal-sec .gnc-cal-today,
.christmas-theme .gnc-cal-sec .gnc-cal-hasevent.gnc-cal-today {
    box-shadow: inset 0 0 0 2px var(--xmas-crimson);
    background: #fff9ec;
}

/* =============================================================
   ACADEMIC PROGRAMS SECTION: FESTIVE HOVER ACCENT
   ============================================================= */

.christmas-theme .gnc-programs .gnc-prog-btn:hover {
    background: var(--xmas-crimson);
    border-color: var(--xmas-crimson);
    color: #ffffff;
}

/* =============================================================
   PRESIDENT'S MESSAGE SECTION: CANDLELIGHT GLOW & HOLLY ACCENT
   ============================================================= */

.christmas-theme .gnc-president {
    background:
        var(--christmas-ribbon) top / 100% 4px no-repeat,
        radial-gradient(ellipse 70% 80% at 15% 20%, rgba(246, 223, 152, 0.34), transparent 65%),
        radial-gradient(ellipse 55% 60% at 88% 82%, rgba(179, 49, 45, 0.07), transparent 65%),
        linear-gradient(125deg, #f8efe0 0%, #fffcf5 55%, #f5efe6 100%);
}

.christmas-theme .gnc-president-card {
    position: relative;
    outline: 2px solid #c89a39;
    outline-offset: 5px;
    box-shadow: 0 14px 32px rgba(7, 51, 32, 0.14);
}

.christmas-theme .gnc-president-card::after {
    content: "";
    position: absolute;
    top: -16px;
    right: -14px;
    width: 64px;
    height: 36px;
    z-index: 4;
    pointer-events: none;
    background: var(--xmas-holly-svg) center / contain no-repeat;
    transform: rotate(16deg);
    filter: drop-shadow(0 3px 5px rgba(7, 51, 32, 0.3));
}

/* =============================================================
   CAMPUS MAP SECTION
   ============================================================= */

.christmas-theme .gnc-campus-map {
    background:
        var(--christmas-ribbon) top / 100% 5px no-repeat,
        linear-gradient(180deg, #f7f2ea 0%, #f3ece2 100%);
}

.christmas-theme .gnc-campus-map .gnc-map-frame {
    box-shadow: 0 14px 30px rgba(7, 51, 32, 0.12);
}

/* =============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================= */

@media (max-width: 991.98px) {
    .christmas-theme .xmas-bauble-2,
    .christmas-theme .xmas-bauble-3 {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .christmas-theme .xmas-bauble-1,
    .christmas-theme .xmas-bauble-4 {
        --bauble-cord: 28px;
        --bauble-size: 16px;
    }

    .christmas-theme .xmas-gift:nth-child(2) {
        display: none;
    }

    .christmas-theme .home-christmas-greeting {
        gap: 8px;
        padding: 9px 14px;
    }

    .christmas-theme .xmas-holly {
        width: 24px;
        height: 15px;
    }
}

@media (max-width: 575.98px) {
    .christmas-theme .xmas-bauble {
        display: none;
    }

    .christmas-theme .xmas-parol {
        width: 44px;
    }

    .christmas-theme .home-christmas-trees .xmas-tree-right {
        margin-inline-end: 58px;
    }

    .christmas-theme .xmas-gift {
        display: none;
    }
}

/* =============================================================
   REDUCED MOTION SUPPORT
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
    .christmas-theme .hero-slideshow::before,
    .christmas-theme .hero-slideshow::after,
    .christmas-theme .home-christmas-lights::before,
    .christmas-theme .xmas-parol,
    .christmas-theme .xmas-bauble,
    .christmas-theme .xmas-tree::after,
    .christmas-theme .gnc-footer::before {
        animation: none;
    }
}
