/*
 Theme Name:    Colibri Child
 Version:       1.1.3
*/

/* ======================================================
    00000: THE DEFINITIVE FOUNDATION (COLIBRI NATIVE)
   ====================================================== */

/* 00100: BRAND PALETTE & FUNCTIONAL VARIABLES */
:root {
    --lp-brass: #a8905d;      
    --lp-logo-red: #be1828;   

    --lp-dark-1: #1a1a1a;     
    --lp-dark-2: #0f0f0f;     
    --lp-light-1: #f7f4ef;    
    --lp-light-2: #f3ecea;    
    --lp-light-3: #efe0da;    
    --lp-black-sub: #1a1a1a;  
    --lp-white-sub: #fcfcfd;  
    
    --lp-glow: rgba(168, 144, 93, 0.35);
    --lp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 00200: BASE STRUCTURAL RESET */
.lp-no-test .s-content {
    position: relative;
    overflow: hidden;
    transition: var(--lp-transition);
}

/* 00300: WHITE BRICK GLOBAL FOUNDATION (REMOVED) */
html.colibri-wp-theme .h-section-inner {
    background-image: none !important; 
    background-color: var(--lp-light-1) !important; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
}
/* ======================================================
    01000: SITE-WIDE ENGINE & JEWELRY (COMPLETE)
   ====================================================== */

/* 01100: GRID UNLOCK (Z-INDEX & FLEX) */
.h-column, .h-column__inner, .h-column__content {
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 01200: THE UNIVERSAL HORIZON (TOP BORDER JEWELRY) */
.c-list::before, .lp-magazine_article::before {
    content: "";
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--lp-brass) 20%, 
        #e5d5b0 50%, 
        var(--lp-brass) 80%, 
        transparent 100%);
    z-index: 20;
}

/* 01210: HORIZON SILENCE FOR FIRST ELEMENTS */
section div:first-child > .c-list::before,
section div:first-child > .lp-magazine_article::before {
    display: none;
}

/* 01300: IMAGE FRAME ENGINE */
.c-list__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    border-radius: 0 0 12px 12px !important; 
}

/* 01310: MAGAZINE IMAGE RADIUS */
.lp-magazine_article img {
    border-radius: 0 0 12px 12px !important;
}

/* 01400: GLOBAL TYPOGRAPHY (H3, H5, MAG-ALT) */
h3 {
    font-size: 2.2rem !important; 
    font-weight: 700;
    line-height: 1.2;
}
.lp-mag-h-alt {
    color: var(--lp-brass) !important;
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    text-transform: none !important;
    /* Change this to inline */
    display: inline !important; 
}
h5 {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    color: var(--lp-brass) !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
}

/* 01500: THE PLAYFAIR DROP-CAP HOOK */
.lp-dropcap::first-letter {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: var(--lp-brass) !important;
    float: left;
    font-size: 4.2rem;
    line-height: 0.8;
    padding: 8px 12px 4px 0;
}

/* ======================================================
    10000: THE CARD COMPONENT ENGINE
   ====================================================== */

/* 10100: BASE CARD FRAME */
.c-list {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    margin-top: 0; 
    padding: 30px 25px;
    border-radius: 0 0 20px 20px;
    transition: var(--lp-transition);
}

/* 10700: CORE TEXT REFINEMENT (3D BRASS & LIGHT BLUE) */

/* TITLE: SHINY 3D METALLIC BRASS */
.lp-no-test .c-list--core_descriptions .c-list__title {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #8a6d3b 0%, #a8905d 25%, #f3e5ab 50%, #a8905d 75%, #8a6d3b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    /* 3D Extrusion Effect */
    text-shadow: 0px 1px 0px #000, 0px 2px 0px #7a5d2b, 0px 3px 1px rgba(0,0,0,0.5) !important;
}

/* BODY: LIGHT BLUE ON DARK (#add8e6) */
.lp-no-test .c-list--core_descriptions .c-list__body,
.lp-no-test .c-list--core_descriptions .c-list__body p,
.lp-no-test .c-list--core_descriptions .c-list__body span {
    color: #add8e6 !important; 
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* SUBTITLE: WHITE SUB */
.lp-no-test .c-list--core_descriptions .c-list__subtitle {
    color: var(--lp-white-sub) !important; /* lp_white_sub */
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

/* 10710: THE ULTIMATE TARGET ICON */
.lp-no-test .c-list--core_descriptions .c-list__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 76px !important;
    height: 76px !important;
    
    /* 1. THE RED OUTER RING */
    border: 3px solid #be1828 !important; 
    border-radius: 50% !important; 
    
    /* 2. THE WHITE LAYER (lp_white_sub) */
    background-color: var(--lp-white-sub) !important; 
    
    /* 3. THE BLACK INNER CIRCLE (Inset Shadow technique) */
    /* This creates a 50px solid black circle inside the white */
    box-shadow: inset 0 0 0 50px #1a1a1a, 0 4px 15px rgba(0, 0, 0, 0.6) !important;
    
    /* 4. THE RED ICON ON TOP */
    color: #be1828 !important;
    font-size: 2rem !important;
    
    margin: 18px auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Ensure no Colibri lines break the circles */
.lp-no-test .c-list--core_descriptions .c-list__icon::before,
.lp-no-test .c-list--core_descriptions .c-list__icon::after {
    display: none !important;
}

/* 10750: IMAGE CARD CLEANUP (THE PILL FIX) */
.lp-no-test .c-list--has-media .c-list__title,
.lp-no-test .c-list--has-media .c-list__icon {
    display: none !important;
}

/* SUBTITLE: TIGHT PILL FOR MEDIA CARDS */
.lp-no-test .c-list--has-media .c-list__subtitle {
    display: table !important;         /* Shrinks to text width */
    width: auto !important;
    margin: 10px auto 0 auto !important; 
    background-color: var(--lp-logo-red) !important; 
    color: var(--lp-white-sub) !important;
    padding: 2px 12px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}


/* 10752: NIGHTLIFE TEXT CARD SEAL */
.lp-no-test .c-list--nightlife .c-list--no-media .c-list__icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 4px solid #a8905d !important; 
    color: #a8905d !important;             
    background: #000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem !important;
    margin: 0 auto 20px auto !important;
    position: relative;
    z-index: 10;
}

.lp-no-test .c-list--nightlife .c-list--no-media .c-list__title {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    font-size: 2.85rem !important;
    font-weight: 800 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.1 !important;
    background: linear-gradient(135deg, #a8905d 0%, #f3e5ab 50%, #8a6d3b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* 10753: NIGHTLIFE IMAGE CARD STEALTH */
.lp-no-test .c-list--nightlife .c-list--has-media .c-list__title {
    font-size: 0 !important;        
    visibility: hidden !important;  
    margin: 0 !important;
}

.lp-no-test .c-list--nightlife .c-list--has-media .c-list__icon {
    width: 38px !important; 
    height: 38px !important;
    border-radius: 50% !important;
    border: 2px solid #a8905d !important; 
    color: #a8905d !important;
    background: rgba(0,0,0,0.7) !important;
    margin: -45px auto 10px auto !important; 
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}

/* 10760: THE FALLBACK (REMOVAL OF RED SUBTITLE BOXES) */

/* 1. RESET ALL NO-MEDIA SUBTITLES */
.lp-no-test .c-list--no-media .c-list__subtitle {
    display: block !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 12px 0 0 0 !important;
    color: var(--lp-white-sub) !important;
    line-height: 1.4 !important;
    text-align: center !important; /* Added to fix alignment */
}

/* 10770: REFINED LINK COLORS FOR DARK CARDS */
.lp-no-test .c-list--core_descriptions a,
.lp-no-test .c-list--nightlife a {
    color: #d4af37 !important; /* Lighter Metallic Brass */
    text-decoration: underline;
    transition: var(--lp-transition);
}

.lp-no-test .c-list--core_descriptions a:hover,
.lp-no-test .c-list--nightlife a:hover {
    color: #f3e5ab !important; 
    text-shadow: 0 0 8px rgba(168, 144, 93, 0.6);
}

/* 10800: ACADEMIC (LIGHT VIGNETTE REFINED) */
.lp-no-test .c-list--class_events .c-list {
    background: radial-gradient(circle, #ffffff 0%, #e0e0e0 100%) !important;
    color: var(--lp-black-sub) !important;
    border: 1px solid #ccc !important;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.05) !important;
    text-align: center !important;
    padding: 18px !important;
}

/* 10810: ACADEMIC ICON REFINEMENT (BRASS SQUARES + SHADOW) */
.lp-no-test .c-list--class_events .c-list__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 65px !important; 
    height: 65px !important;
    background: var(--lp-white-sub) !important;
    color: #a8905d !important; 
    border: 2px solid #a8905d !important;
    border-radius: 6px !important;
    margin: 0 auto 20px auto !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    position: relative !important;
}

.lp-no-test .c-list--class_events .c-list__icon i {
    font-size: 2.1rem !important;
    color: #a8905d !important;
}

.lp-no-test .c-list--class_events .c-list__icon::before,
.lp-no-test .c-list--class_events .c-list__icon::after {
    display: none !important;
    content: none !important;
}

/* 10820: ACADEMIC SHARED TYPOGRAPHY */
.lp-no-test .c-list--class_events .c-list__title {
    display: inline-block !important; 
    line-height: 1.1;
    font-family: 'Georgia', serif !important;
    font-size: 1.55rem !important; 
    font-weight: 800 !important;
    background: linear-gradient(to right, #3d1f12 0%, #5a3020 20%, #3d1f12 40%, #6d3d2a 60%, #3d1f12 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(1px 1px 0px rgba(255,255,255,0.7)) drop-shadow(2px 4px 4px rgba(0,0,0,0.3)) !important;
    text-transform: uppercase;
    margin-bottom: 5px !important;
}

/* 10825: ACADEMIC SUBTITLE (FALLBACK - NO BACKGROUND) */
.lp-no-test .c-list--class_events .c-list__subtitle {
    display: block !important;
    background: none !important;
    padding: 0 !important;
    margin-top: 5px !important;
    color: var(--lp-logo-red) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important; 
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 0.9rem !important; 
}

/* 10840: ACADEMIC BODY TEXT */
.lp-no-test .c-list--class_events .c-list__body {
    color: var(--lp-black-sub) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    max-width: 90%;
    margin: 0 auto !important;
}

/* 10900: INTERACTION ENGINE (LIFT & SHINE) */
.c-list { transition: var(--lp-transition) !important; }

.c-list:hover {
    z-index: 50;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -15px var(--lp-glow) !important;
}

.c-list:hover::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--lp-brass) 20%, 
        #ffffff 50%, 
        var(--lp-brass) 80%, 
        transparent 100%) !important;
    height: 3px !important;
}

/* ======================================================
    20000: THE CONTENT & MAGAZINE ENGINE (ADJUSTED)
   ====================================================== */

/* 20100: STRUCTURAL FRAME (UPDATED FOR STACKING) */
/* Target any article inside the background wrapper */
[data-background] article {
    position: relative !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important; 
    border-radius: 0 0 24px 24px !important;
    /* Essential: Height auto allows the footer and stage to push height */
    height: auto !important;
}

/* 20200: ACADEMIC LOOK (UPDATED FOR STAGE BUFFER) */
[data-background="light"] .c-scroll__viewport { 
    background: var(--lp-white-sub) !important; 
    padding: 50px 27px 0 27px !important; /* Bottom padding 0 to hand off to Stage */
    color: #333 !important;
    /* Establishes global left justification for paragraphs, lists, and headers */
    text-align: left !important;
    position: relative !important;
}

/* Surgically re-centering the main heading */
[data-background="light"] h3 { 
    text-align: center !important; 
    width: 100% !important; 
}

/* Sub-headers remain left-justified per the viewport rule */
[data-background="light"] h5 { 
    text-align: left !important;
    font-size: 1em !important;
    font-weight: 300 !important;
    color: var(--lp-brass) !important; 
    text-transform: uppercase !important; 
    letter-spacing: 1.5px !important; 
    width: 100% !important;
}
/* 20250: THE PLAYFAIR DROP-CAP HOOK */
/* Targets the first paragraph within the s-content wrapper */
.s-content p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: var(--lp-brass) !important;
    float: left !important;
    font-size: 4.2rem !important;
    line-height: 0.8 !important;
    padding: 8px 12px 4px 0 !important;
    text-transform: uppercase !important;
    /* Ensures the letter is treated as a block for the float */
    display: block !important;
}

/* 20300: NIGHTLIFE LOOK (UPDATED FOR COLOR VARIABLES) */
[data-background="dark"] .c-scroll__viewport { 
    background: var(--lp-black-sub) !important; 
    padding: 50px 50px 0 50px !important; /* Bottom padding 0 */
    color: var(--lp-white-sub) !important;
    text-align: left !important;
    position: relative !important;
}

[data-background="dark"] h3 { 
    text-align: center !important; 
    width: 100% !important; 
}

/* 20400: THE ICON RAIL (Updated for Nested SVGs) */
/* Light Mode Rail */
[data-background="light"] ul.wp-block-list { padding-left: 36px !important; list-style: none !important; }
[data-background="light"] li { position: relative !important; margin-bottom: 15px !important; }
[data-background="light"] .wp-rich-text-font-awesome-icon {
    position: absolute !important; 
    left: -31px !important; 
    top: 5px !important;
    color: var(--lp-brass) !important;
}

/* Dark Mode Rail (Ringed Icons) */
[data-background="dark"] ul.wp-block-list { padding-left: 70px !important; list-style: none !important; }
[data-background="dark"] li { position: relative !important; margin-bottom: 20px !important; }
[data-background="dark"] .wp-rich-text-font-awesome-icon {
    position: absolute !important; 
    left: -55px !important; 
    top: -2px !important;
    width: 32px !important; 
    height: 32px !important; 
    border: 1px solid #a8905d !important; 
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure SVGs inherit the gold color */
[data-background] .wp-rich-text-font-awesome-icon svg {
    fill: currentColor !important;
    width: 14px !important;
    height: 14px !important;
}


/* ======================================================
    BLOCK 20500: THE 83px ANIMATED JEWELRY STAGE
    Elevation: 83px | Clickable: Yes | FX: Sparkle
   ====================================================== */

/* 1. THE STAGE (Structural Bridge) */
.c-scroll .c-scroll__indicator {
    position: relative !important; 
    width: 100% !important;
    height: 103px !important;       
    margin-top: -83px !important;  
    z-index: 100 !important;
    
    /* CLICKABLE LOGIC */
    pointer-events: auto !important; 
    cursor: pointer !important;
    
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important; 
    
    opacity: 0;
    transform: translateY(15px) !important;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 2. LIGHT MODE STAGE (lp_white_sup: #fcfcfd) */
[data-background="light"] .c-scroll .c-scroll__indicator {
    background: linear-gradient(
        to bottom,
        rgba(252, 252, 253, 0) 0%,      
        rgba(252, 252, 253, 0.75) 50%,
        rgba(252, 252, 253, 1) 100%
    ) !important;
}

/* 3. DARK MODE STAGE (lp_black_sup: #1a1a1a) */
[data-background="dark"] .c-scroll .c-scroll__indicator {
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0) 0%,
        rgba(26, 26, 26, 0.75) 50%,
        rgba(26, 26, 26, 1) 100%
    ) !important;
}

/* 4. THE JUMBO DOUBLE CHEVRON (SPARKLE & PULSE) */
.c-scroll .c-scroll__indicator::after {
    content: "\f103" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    color: var(--lp-brass) !important;
    font-size: 32px !important;
    position: relative !important;
    top: 45px !important; 
    animation: lp-chevron-sparkle 3s ease-in-out infinite !important;
    transition: transform 1.2s ease !important;
    transform: translateY(5px);
}

/* 5. VISIBILITY TRIGGER */
.fade-active .c-scroll__indicator {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.fade-active .c-scroll__indicator::after {
    transform: translateY(0);
}

/* 6. NO-FOOTER SAFETY */
article:not(:has(.c-scroll__footer)) .c-scroll .c-scroll__indicator {
    margin-top: -83px !important;
    height: 83px !important;
}

/* 7. VIEWPORT CLEANUP */
.c-scroll__viewport {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    padding-bottom: 83px !important; 
}

div.c-scroll__viewport.fade-scroll-container[style] {
    background-image: none !important;
}

/* --- THE ENGINE ROOM: JEWELRY ANIMATION --- */
@keyframes lp-chevron-sparkle {
    0%, 100% {
        transform: translateY(0);
        color: var(--lp-brass);
        text-shadow: none;
    }
    50% {
        transform: translateY(6px);
        color: #f3e5ab !important; 
        text-shadow: 0 0 15px rgba(168, 144, 93, 0.6);
    }
}

/* 20600: THE DYNAMIC FOOTER (VERTICAL BOTTOM JUSTIFICATION) */
.c-scroll__footer {
    position: relative !important;
    width: 100% !important;
    padding: 0 20px 20px 20px !important;
    text-align: center !important;
    order: 3 !important; 
    height: auto !important;
    min-height: 60px !important; 
    display: flex !important;
    flex-direction: column !important;
    /* This pins the links to the very bottom of the card */
    justify-content: flex-end !important; 
    align-items: center !important;
}

/* Standard blue links */
.c-scroll__footer a {
    color: #0000EE !important;
    text-decoration: underline !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    display: block !important;
    margin-top: 5px !important;
}

.c-scroll__footer a:visited {
    color: #551A8B !important;
}


/* ======================================================
    20700: DEVICE FRAMING (FIXED RAILS)
   ====================================================== */

/* --- DESKTOP: MINIMALIST --- */
@media (min-width: 992px) {
    .c-scroll__viewport.fade-scroll-container {
        padding: 0 0 25px 0 !important; /* Zero top/sides */
    }
}

/* --- MOBILE: HIGH-VISIBILITY TOUCH RAILS --- */
@media (max-width: 991px) {
    .c-scroll__viewport.fade-scroll-container {
        /* Force the content to stay 12px away from the edge */
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 15px !important;
        padding-bottom: 30px !important;
        
        /* THE RAILS: Bright brass line to show users where to touch */
        border-left: 2px solid rgba(168, 144, 93, 0.4) !important; 
        border-right: 2px solid rgba(168, 144, 93, 0.4) !important;
        
        /* Subtle glow to make the rail look like a separate 'track' */
        box-shadow: inset 10px 0 8px -10px rgba(168, 144, 93, 0.3), 
                    inset -10px 0 8px -10px rgba(168, 144, 93, 0.3) !important;
    }

    /* Move the text slightly more to ensure it doesn't touch the rails */
    .c-scroll__body {
        padding: 0 5px !important;
    }
}

/* 99999: THE FINAL OVERRIDE (FORCE DARK #1a1a1a) 
.lp-no-test .c-list--core_descriptions,
.lp-no-test .c-list--core_descriptions .c-list,
.lp-no-test .c-list--core_descriptions .h-column__content,
.lp-no-test .c-list--core_descriptions .h-column__inner {
    background-color: #1a1a1a !important;
    background-image: none !important;
    background: #1a1a1a !important;
}
*/