/* ==========================================================================
   LaVie Resort & Casino Manila - "Sleigh the LaVie Way" Stylesheet
   ========================================================================== */

:root {
    --lavie-crimson-deep: #5A0810;
    --lavie-crimson-main: #8C0D18;
    --lavie-crimson-bright: #B81422;
    --lavie-pine-dark: #07190E;
    --lavie-gold-light: #FFF3B0;
    --lavie-gold-mid: #D4AF37;
    --lavie-gold-dark: #9A7117;
    --lavie-ribbon-orange: #F58220;
    --lavie-ribbon-red: #EE3124;
    --lavie-ribbon-yellow: #FFC72C;
    --lavie-ribbon-green: #00A651;
    --lavie-ribbon-blue: #0095DA;
    --font-display: 'Cinzel Decorative', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shared timing so the Sleigh ALWAYS stays ahead of the curtain pull */
    --pull-duration: 2.3s;
    --pull-easing: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Global box-sizing safeguard for this template */
.lavie-christmas-wrapper,
.lavie-christmas-wrapper *,
.lavie-christmas-wrapper *::before,
.lavie-christmas-wrapper *::after,
.sleigh-curtain-overlay,
.sleigh-curtain-overlay * {
    box-sizing: border-box;
}

/* Ensure any theme footer is hidden on this template if get_footer() is ever re-enabled */
.page-template-page-lavie-sleigh footer,
.page-template-page-lavie-sleigh .site-footer,
.page-template-page-lavie-sleigh #colophon {
    display: none !important;
}

/* Strictly hide SVG sprite defs so no rogue icons appear in top-left */
#lavie-svg-defs {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* --------------------------------------------------------------------------
   MAIN WRAPPER & AMBIENT SNOW
   -------------------------------------------------------------------------- */
.lavie-christmas-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: radial-gradient(circle at 75% 15%, var(--lavie-crimson-bright) 0%, var(--lavie-crimson-main) 45%, var(--lavie-crimson-deep) 85%, var(--lavie-pine-dark) 100%);
    color: #FFFFFF;
    font-family: var(--font-sans);
    overflow-x: hidden;
    padding-bottom: 5rem;
}

.lavie-snow-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.lavie-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   SLEIGH PAGE-PULL INTRO OVERLAY (Synchronized so Sleigh leads the pull)
   -------------------------------------------------------------------------- */
.sleigh-curtain-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: all;
    overflow: hidden;
}

.sleigh-curtain-overlay.is-hidden {
    display: none !important;
    pointer-events: none !important;
}

/* Velvet Curtain Panel that gets pulled from Left (0%) to Right (100%) */
.curtain-panel {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #07190E 0%, #5A0810 45%, #8C0D18 100%);
    transform: translate3d(0%, 0, 0);
    will-change: transform;
    box-shadow: -18px 0 45px rgba(0, 0, 0, 0.75);
}

/* 5-Color LaVie Ribbon attached to the left leading edge of the curtain */
.curtain-ribbon-edge {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 14px;
    display: flex;
    flex-direction: column;
}

.curtain-ribbon-edge span {
    flex: 1;
    width: 100%;
}

/* Sleigh Rig: Positioned right IN FRONT of the curtain's left edge (left: 0) */
.sleigh-puller-rig {
    position: absolute;
    top: 50%;
    left: 0;
    width: 410px;
    height: 68px;
    transform: translate3d(0, -50%, 0);
    will-change: transform;
    z-index: 3;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.65));
}

.sleigh-puller-svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: sleighGallopBob 0.45s ease-in-out infinite alternate;
}

@keyframes sleighGallopBob {
    0%   { transform: translateY(-4px) rotate(-1.5deg); }
    100% { transform: translateY(4px) rotate(1.5deg); }
}

.sleigh-curtain-overlay.is-pulling .curtain-panel {
    transition: transform var(--pull-duration) var(--pull-easing);
    transform: translate3d(100vw, 0, 0);
}

.sleigh-curtain-overlay.is-pulling .sleigh-puller-rig {
    transition: transform var(--pull-duration) var(--pull-easing);
    transform: translate3d(calc(100vw + 60px), -50%, 0);
}

.skip-sleigh-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.65);
    color: var(--lavie-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.skip-sleigh-btn:hover {
    background: rgba(212, 175, 55, 0.25);
}

/* --------------------------------------------------------------------------
   HEADER BANNER SLOT (Clean container for your uploaded banner image)
   -------------------------------------------------------------------------- */
.lavie-hero-banner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.lavie-hero-picture,
.lavie-hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Blank Placeholder Box when $hero_banner_desktop is empty */
.lavie-hero-placeholder {
    width: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, rgba(7, 25, 14, 0.85) 0%, rgba(90, 8, 16, 0.85) 100%);
    border-bottom: 2px dashed rgba(212, 175, 55, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.25rem;
}

.placeholder-inner {
    max-width: 560px;
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
}

.placeholder-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--lavie-gold-light), var(--lavie-gold-mid));
    color: #2A0408;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.placeholder-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: break-word;
}

.placeholder-inner code {
    color: var(--lavie-gold-light);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Section Quick Jump Bar */
.lavie-section-nav {
    background: rgba(42, 4, 8, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.lavie-nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: all 0.25s ease;
    cursor: pointer;
}

.lavie-nav-pill:hover {
    background: linear-gradient(135deg, var(--lavie-gold-light), var(--lavie-gold-mid));
    color: #2A0408;
    border-color: transparent;
    transform: translateY(-1px);
}

.lavie-replay-pill {
    color: var(--lavie-gold-light);
    border-style: dashed;
}

/* --------------------------------------------------------------------------
   SECTIONS & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.lavie-section {
    padding: 4.5rem 0 1rem;
}

.lavie-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--lavie-gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
}

.section-title-gold {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.85rem;
    background: linear-gradient(180deg, #FFF5C0 0%, #E5C158 50%, #B38728 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.section-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   CARDS (Strict Uniform Height & Width System)
   -------------------------------------------------------------------------- */
.lavie-card {
    background: rgba(32, 4, 8, 0.68);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-top: 4px solid var(--ribbon-accent, var(--lavie-gold-mid));
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lavie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    border-color: rgba(212, 175, 55, 0.65);
}

/* 1. Promotions & 3. Blogs Grids: Locked 3-Column Equal Width & Equal Row Height */
.lavie-promotions-grid,
.lavie-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr; /* Forces all rows in the grid to have identical height */
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

.promo-card,
.blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Media Containers: Locked 440x555 Portrait Ratio */
.card-media-wrap,
.blog-media-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 440 / 555;
    flex-shrink: 0;
    overflow: hidden;
    background: #140204;
}

.card-media-wrap img,
.blog-media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.promo-card:hover .card-media-wrap img,
.blog-card:hover .blog-media-link img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--ribbon-accent, var(--lavie-ribbon-red));
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Card Body & Uniform Text Clamping */
.card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.card-meta,
.blog-meta {
    font-size: 0.82rem;
    line-height: 1.4;
    min-height: calc(1.4em * 1);
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--lavie-gold-light);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    overflow: hidden;
}

.blog-meta {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
}

/* Uniform 2-Line Title Slot across Promo & Blog Cards */
.promo-card .card-title,
.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: calc(1.35em * 2); /* Always reserves 2 lines so descriptions align */
    margin: 0 0 0.75rem;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: #FFFFFF;
    line-height: 1.35;
}

.card-title a {
    color: inherit;
    text-decoration: none;
}

/* Uniform 3-Line Description Slot across Promo & Blog Cards */
.promo-card .card-desc,
.blog-card .card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.94rem;
    line-height: 1.65;
    min-height: calc(1.65em * 3); /* Always reserves 3 lines so footers align */
    margin: 0 0 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.card-footer {
    margin-top: auto; /* Pins footer to the bottom edge of the card */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--lavie-gold-light);
    flex: 1 1 auto;
}

/* 2. Events Rows (Desktop: Uniform 4-col horizontal row | Mobile: Stacked single column) */
.lavie-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-row-card {
    display: grid;
    grid-template-columns: 125px 140px 1fr auto;
    align-items: center;
    gap: 1.75rem;
    padding: 1.35rem 1.75rem;
    min-height: 205px; /* Uniform minimum height for all desktop event rows */
    border-top-width: 1px;
    border-left: 5px solid var(--ribbon-accent, var(--lavie-gold-mid));
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 14px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    min-height: 110px;
    height: 100%;
}

.event-day {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.05;
    color: var(--lavie-gold-light);
}

.event-day.is-range {
    font-size: 1.35rem;
}

.event-month {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #FFFFFF;
    margin-top: 0.25rem;
}

.event-date-divider {
    width: 65%;
    height: 1px;
    background: rgba(212, 175, 55, 0.35);
    margin: 0.45rem 0;
}

.event-secondary-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.event-secondary-date .sec-day {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lavie-gold-light);
}

.event-secondary-date .sec-month {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
}

.event-thumb {
    width: 140px;
    aspect-ratio: 440 / 555;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #140204;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-info {
    min-width: 0;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.event-category {
    background: rgba(255, 255, 255, 0.12);
    color: var(--lavie-gold-light);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-weight: 600;
}

.event-info .card-desc {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Category Tag & Read More Link */
.blog-category-tag {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(10, 20, 12, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--lavie-gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--lavie-gold-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   BUTTONS (Strictly single-line)
   -------------------------------------------------------------------------- */
.lavie-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF3B0 0%, #D4AF37 55%, #9A7117 100%);
    color: #2A0408;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lavie-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    color: #2A0408;
}

.lavie-btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--lavie-gold-light);
    border: 1px solid var(--lavie-gold-mid);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.lavie-btn-outline-gold:hover {
    background: var(--lavie-gold-mid);
    color: #2A0408;
}

/* --------------------------------------------------------------------------
   TABLET & MOBILE RESPONSIVENESS
   -------------------------------------------------------------------------- */

/* Tablet (769px – 1024px): 2-Column Equal Grid for Cards & Compact Event Row */
@media (max-width: 1024px) and (min-width: 769px) {
    .lavie-promotions-grid,
    .lavie-blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-row-card {
        grid-template-columns: 110px 120px 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .event-thumb {
        width: 120px;
    }

    .event-action {
        grid-column: 3 / 4;
        justify-self: start;
        margin-top: 0.25rem;
    }
}

/* Mobile (<= 768px): Centered Single-Column Uniform Layout */
@media (max-width: 768px) {
    .lavie-container {
        padding: 0 1rem;
    }

    .lavie-section {
        padding: 3.25rem 0 0.5rem;
    }

    .lavie-section-header {
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 0.94rem;
    }

    /* Sticky Nav Pills: Clean 2x2 grid on mobile */
    .lavie-section-nav {
        padding: 0.7rem 0;
    }

    .nav-pills-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .lavie-nav-pill {
        width: 100%;
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }

    /* Promotions & Blogs: Centered 1-Column Track with Identical Width & Height */
    .lavie-promotions-grid,
    .lavie-blogs-grid {
        grid-template-columns: minmax(0, 440px);
        justify-content: center;
        grid-auto-rows: 1fr;
    }

    .promo-card,
    .blog-card {
        width: 100%;
        max-width: 440px;
        margin-inline: auto;
    }

    /* Events Section: Centered Single-Column Card matching Promo/Blog Width */
    .lavie-events-list {
        align-items: center;
    }

    .event-row-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 440px;
        margin-inline: auto;
        min-height: auto;
        gap: 1.1rem;
        padding: 1.25rem;
        border-left-width: 1px;
        border-top: 4px solid var(--ribbon-accent, var(--lavie-gold-mid));
    }

    /* Horizontal Date Header Strip at the top of the mobile event card */
    .event-date-badge {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        min-height: auto;
        height: auto;
        padding: 0.65rem 1rem;
        width: 100%;
    }

    .event-day,
    .event-day.is-range {
        font-size: 1.25rem;
        line-height: 1;
    }

    .event-month {
        margin-top: 0;
        font-size: 0.85rem;
    }

    .event-date-divider {
        width: 1px;
        height: 18px;
        margin: 0 0.35rem;
    }

    .event-secondary-date {
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
    }

    .event-secondary-date .sec-day {
        font-size: 1.15rem;
        line-height: 1;
    }

    .event-secondary-date .sec-month {
        font-size: 0.8rem;
    }

    /* Show the 440x555 Event Artwork cleanly in single column */
    .event-thumb {
        display: block;
        width: 100%;
        aspect-ratio: 440 / 555;
        border-radius: 12px;
    }

    .event-tags {
        gap: 0.45rem 0.65rem;
        font-size: 0.8rem;
    }

    .event-action {
        width: 100%;
        margin-top: 0.25rem;
    }

    .event-action .lavie-btn-outline-gold {
        width: 100%;
    }

    /* Promotions & Blogs Card Footers */
    .card-body {
        padding: 1.35rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 0.75rem;
    }

    .card-footer .lavie-btn-gold {
        width: 100%;
    }

    .blog-read-more {
        justify-content: center;
    }

    /* Sleigh Intro Scaling on Mobile */
    .sleigh-puller-rig {
        width: 240px;
        height: 40px;
    }

    .skip-sleigh-btn {
        bottom: 16px;
        right: 16px;
        padding: 0.45rem 0.95rem;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   PROMO CARD CHRISTMAS IMAGE OVERLAYS (Garland & Corner Wreath/Ornament)
   ========================================================================== */

/* Allow promo-card to hold a corner wreath while keeping rounded corners on the image */
.promo-card {
    position: relative;
    overflow: visible;
}

.promo-card .card-media-wrap {
    position: relative;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}

.promo-card .card-media-wrap img:not(.promo-top-garland) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.promo-card:hover .card-media-wrap img:not(.promo-top-garland) {
    transform: scale(1.06);
}

/* Only zoom the main promo photo on hover, NOT the garland overlay */
.promo-card .card-media-wrap img.promo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.promo-card:hover .card-media-wrap img.promo-main-img {
    transform: scale(1.06);
}

.promo-card .card-media-wrap img.promo-top-garland {
   position: absolute;
    top: -45px;
    right: -90px;
    width: 200px;
    height: auto;
    object-fit: contain;
    z-index: 6;
    pointer-events: none;
    transform: rotate(14deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-card:hover > img.promo-top-garland {
    transform: rotate(22deg) scale(1.08);
}

.promo-card img.promo-corner-deco {
    position: absolute;
    top: 0;
	left: 0;
    width: 150px;
    height: auto;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
    transform-origin: center center;
    transition: transform 0.35s ease;
}

.promo-card:hover img.promo-corner-deco {
    transform: rotate(8deg) scale(1.06);
}

/* Push the category badge down slightly if a top garland is present */
.promo-card .card-badge {
    top: 22px;
    z-index: 4;
}

.promo-card:hover .card-media-wrap img.promo-top-garland {
    transform: rotate(22deg) scale(1.08) !important;
}

/* Keep the category badge on the upper-left so it balances the wreath on the right */
.promo-card .card-badge {
    top: 14px;
    left: 14px;
    z-index: 4;
}

/* ==========================================================================
   EVENT CARD UPPER-RIGHT CIRCLE GARLAND OVERLAY
   ========================================================================== */

.event-row-card {
    position: relative;
    overflow: hidden;
}

.event-row-card img.event-top-garland {
    position: absolute;
    top: -45px;
    right: -90px;
    width: 200px;
    height: auto;
    object-fit: contain;
    z-index: 6;
    pointer-events: none;
    transform: rotate(14deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.event-row-card:hover img.event-top-garland {
    transform: rotate(22deg) scale(1.08) !important;
}

/* Ensure event text & CTA buttons sit cleanly above or clear of the corner garland */
.event-date-badge,
.event-thumb,
.event-info,
.event-action {
    position: relative;
    z-index: 2;
}