/*
Theme Name: The Jewel
Author: BizAssist
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-jewel
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@400;700&display=swap');

:root {
    --color-gold: #AD8B3A;
    --color-dark: #1a1a1a;
    --color-white: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--color-dark);
    overflow-x: hidden;
}

/* --- Header --- */
.site-header-wrapper {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100% !important;
    z-index: 1000;
    background: #000000 !important;
    padding: 0 3rem;
    /* Adjusted for fixed height */
    height: 92px !important;
    overflow: visible !important;
    /* Reduced from 3rem to move it 'a little above' */
    box-sizing: border-box;
    transition: all 0.4s ease;
    /* Smooth transition for background and padding */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Admin Bar Overlap Fix */
body.admin-bar .site-header-wrapper {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header-wrapper {
        top: 46px !important;
    }
}

/* Scrolled State: Solid Background */
.site-header-wrapper.scrolled {
    background: #000000 !important;
    /* Force black for visibility */
    padding: 1.5rem 3rem;
    /* Back to 1.5rem for better height/centering */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle definition */
}

.site-header-wrapper a,
.site-header-wrapper p,
.site-header-wrapper .wp-block-navigation-item__content {
    color: var(--color-white) !important;
    text-decoration: none;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
}

/* --- Hero --- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    margin-top: 0;
    overflow: hidden;
}

.hero-section .wp-block-cover__image-background {
    object-position: center center !important;
}

.hero-content-overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 1200px;
    z-index: 10;
}

/* --- Buttons --- */
.wp-block-button__link {
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-solid .wp-block-button__link {
    background-color: var(--color-gold) !important;
    color: white !important;
    border: 1px solid var(--color-gold) !important;
}

.btn-red .wp-block-button__link {
    background-color: #A6192E !important;
    /* Taj Red-ish */
    color: white !important;
    border: none !important;
    width: 100%;
    text-align: center;
    display: block;
    padding: 1rem !important;
}

.btn-outline .wp-block-button__link {
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important;
}

/* --- Curated Collections (Grid) --- */
.curated-collections-section {
    padding: 5rem 2rem;
    background: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
}

.curated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.curated-card {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.curated-card:hover {
    transform: translateY(-5px);
}

.curated-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.curated-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-villa {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: var(--color-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    border-radius: 2px;
}

.curated-card-content {
    padding: 1.5rem;
    text-align: left;
}

.curated-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.curated-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0.5rem 0;
    font-weight: 700;
    color: var(--color-dark);
}

.curated-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.curated-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
}

/* --- Explore More (Slider) --- */
.explore-more-section {
    padding: 5rem 0;
    /* Full width bg */
    background: #ffffff;
    position: relative;
    /* Anchor for arrows */
}

.explore-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.explore-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    color: #333;
    font-weight: 400;
}

.explore-title span {
    display: block;
    margin-left: 2rem;
    font-style: italic;
}

.explore-desc {
    max-width: 400px;
    color: #666;
    line-height: 1.6;
}

.explore-slider-container {
    padding-left: max(2rem, calc((100vw - 1400px) / 2));
    /* Start align with content but scroll off */
    overflow-x: auto;
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.explore-slider-container::-webkit-scrollbar {
    display: none;
}

.explore-card {
    flex: 0 0 400px;
    height: 500px;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
    /* For image zoom if needed later, or cleaner box */
}

.explore-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* Subtle image zoom on hover */
}

/* --- Footer --- */
/* --- Footer --- */
/* --- Footer --- */
.site-footer {
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 6rem 3rem;
    /* Bigger padding for desktop */
    font-family: var(--font-body);
    margin-top: 0;
    border-top: 1px solid #333;
    /* Darker separation */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* Better distribution */
    gap: 4rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    /* White Brand */
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #ffffff !important;
    /* White Links */
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-gold) !important;
}

.footer-links .footer-column:last-child {
    margin-top: 0;
}

.explore-card-overlay {
    position: absolute;
    bottom: 2rem;
    /* Floating inside */
    left: 10%;
    right: 1.5rem;
    background: white;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth hover effect */
}

/* Hover Effect: Lift the white box */
.explore-card:hover .explore-card-overlay {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.explore-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: #333;
    text-transform: uppercase;
}

.explore-card-link {
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.explore-card-link:hover {
    text-decoration: underline;
}

/* Slider Arrows */
.explore-arrow {
    position: absolute;
    top: 60%;
    /* Center vertically relative to slider roughly? Or just below header */
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 50%;
    color: #333;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.explore-arrow:hover {
    background: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
}

.explore-arrow.prev {
    left: 1rem;
}

.explore-arrow.next {
    right: 1rem;
}

/* Mobile adjustments for arrows */
@media screen and (max-width: 768px) {
    .explore-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: auto;
        bottom: 280px;
        /* Aligned with ~middle of 500px card */
    }
}

/* --- Responsive Design System --- */

/* Tablet & Smaller Laptops (1024px) */
@media screen and (max-width: 1024px) {
    .site-header-wrapper {
        padding: 1rem 2rem;
    }

    .hero-content-overlay h1 {
        font-size: 3rem;
    }

    .curated-collections-section,
    .explore-more-section {
        padding: 4rem 2rem;
    }
}

/* Mobile Devices (768px) */
@media screen and (max-width: 768px) {

    /* Global Typography & Safety */
    :root {
        --mobile-padding: 1.5rem;
        /* Exact height requested for transparency/overlay calcs */
        --bottom-bar-height: 49.53px;
    }

    body {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        /* Ensure fixed bottom bar never hides content */
        padding-bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom) + 16px);
    }

    /* --- Mobile Header --- */
    /* 1. Dimensions: 390 (100%) x 70 px initially */
    .site-header-wrapper {
        width: 100% !important;
        height: 70px !important;
        /* Initial Height */
        padding: 0 1.5rem !important;

        /* Transparent on hero section */
        background: transparent !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0;

        z-index: 9999 !important;
        transition: background-color 0.3s ease, height 0.3s ease;
    }

    /* Scrolled State: 390 (100%) x 61 px */
    .site-header-wrapper.scrolled {
        height: 61px !important;
        background: #000000 !important;
        /* Solid Black */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    /* Reset Styles for Groups inside Wrapper */
    .site-header-wrapper>.wp-block-group {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    /* Logo Group */
    .site-header-wrapper>.wp-block-group:first-child {
        flex-grow: 1;
        justify-content: flex-start !important;
    }

    /* Logo */
    .site-logo {
        font-size: 1.25rem !important;
        margin: 0 !important;
        z-index: 10002;
    }

    /* --- Hamburger & Login Group --- */
    /* We assume the structure is: 
       Group 1: Logo + Nav (Nav is typically in group 1 or parallel)
       Group 2: Login + Button 
    */

    /* Navigation (The Hamburger) */
    /* Position it absolutely to the RIGHT */
    .wp-block-navigation {
        position: absolute !important;
        right: 1.5rem;
        /* Match padding */
        top: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        transform: none !important;
        z-index: 10003;
        margin: 0 !important;
    }

    /* Hamburger Icon Color */
    .wp-block-navigation__responsive-container-open {
        color: #ffffff !important;
        background: transparent !important;
    }

    /* Open Menu Drawer */
    .wp-block-navigation__responsive-container.is-menu-open {
        top: 0 !important;
        padding-top: 80px;
        /* Below header */
        background-color: #ffffff !important;
        z-index: 10000;
    }

    /* Lock background scroll when responsive modal is open (WP adds modal-open classes) */
    html:has(.wp-block-navigation__responsive-container.has-modal-open.is-menu-open),
    body:has(.wp-block-navigation__responsive-container.has-modal-open.is-menu-open) {
        overflow: hidden !important;
        height: 100% !important;
        overscroll-behavior: none;
        touch-action: none;
    }

    /* Login Text ("Login / Join") */
    /* This snippet targets the paragraph in the second group */
    .site-header-wrapper>.wp-block-group:nth-child(2) {
        position: absolute;
        right: 4.5rem;
        /* Left of hamburger (approx 48px + space) */
        top: 50%;
        transform: translateY(-50%);
        z-index: 10002;
    }

    .wp-block-group>p[style*="cursor:pointer"] {
        display: block !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        color: #000000 !important;
        margin: 0 !important;
        white-space: nowrap;
    }

    /* Hide "Book a Stay" Button */
    .wp-block-buttons {
        display: none !important;
    }

    /* Hide Desktop Menu Items List (if they appear inline before hamburger) */
    .wp-block-navigation__container {
        display: none;
        /* Hide inline links, only show hamburger button */
    }

    .wp-block-navigation__responsive-container .wp-block-navigation__container {
        display: block;
        /* Show inside drawer */
    }


    /* --- Hero Section --- */
    .hero-section {
        min-height: 100svh;
    }

    .hero-content-overlay {
        bottom: 24%;
    }

    .hero-content-overlay h1 {
        font-size: clamp(2rem, 8vw, 2.75rem) !important;
        margin-bottom: 0 !important;
    }

    /* Hide Search Wrapper on Mobile */
    .hero-search-wrapper {
        display: none !important;
    }


    /* --- Listings (Compact / Shorter) --- */
    .curated-collections-section {
        padding: 2rem 1rem;
    }

    .curated-grid {
        /* Two columns per user implicit request for "shorter" vertical scroll */
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .curated-card-image {
        height: 110px;
        /* Reduced specific height */
    }

    .badge-villa {
        font-size: 0.5rem;
        padding: 0.2rem 0.6rem;
    }

    .curated-card-content {
        padding: 0.75rem 0.5rem;
    }

    .curated-title {
        font-size: 0.8rem;
    }

    .curated-price {
        font-size: 0.75rem;
    }

    /* Explore Section Compact */
    .explore-more-section {
        padding: 3rem 1rem;
    }

    .explore-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .explore-title {
        font-size: 2rem;
        /* resize for mobile */
    }

    .explore-title span {
        margin-left: 1rem;
    }

    .explore-desc {
        max-width: 100%;
        font-size: 0.95rem;
    }


    /* --- Bottom Sticky Bar --- */
    /* Dimensions: Height 49.53px */
    .mobile-bottom-bar {
        height: 49.53px !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 99999;
        /* Max z-index */
        display: flex;
        align-items: stretch;
        /* Stretch children to full height */
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: content-box;
        /* Height + padding */
    }

    .mobile-action-btn {
        flex: 1;
        border: none;
        background: white;
        color: var(--color-dark);
        font-family: var(--font-heading);
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        border-right: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        /* Let flex center it */
    }

    .mobile-action-btn:last-child {
        border-right: none;
    }

    .mobile-action-btn.primary {
        background: var(--color-gold);
        color: white;
    }

    /* Mobile search overlay removed: Explore now navigates to /#property */

    /* Footer padding */
    .site-footer {
        padding-bottom: calc(4rem + 50px);
    }



    /* Footer padding */
    /* Footer padding (Mobile Overrides will be handled in media query) */

    /* --- Hamburger Menu Overrides --- */
    /* Force proper styling for the opened menu */
    .wp-block-navigation__responsive-container.is-menu-open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        /* Ensure it stretches right */
        bottom: 0 !important;
        /* Ensure it stretches bottom */
        width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        background-color: #000000 !important;
        /* Back to Black */
        z-index: 100000 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        /* create context for pseudo elements */
        transform: none !important;
    }

    /* Pseudo-Header: Logo */
    /* Pseudo-Header: Logo - Removed (duplicate/consolidated below) */

    /* Pseudo-Header: Login Link (Visual only) */
    .wp-block-navigation__responsive-container.is-menu-open::after {
        content: "Login / Join";
        /* Matched Case */
        position: fixed;
        top: 0;
        right: 0;
        height: 70px;
        display: flex;
        align-items: center;
        padding-right: 72px;
        /* Adjusted: 80px - 8px shift = 72px */
        font-family: 'Outfit', sans-serif;
        /* Correct font */
        font-size: 0.75rem;
        font-weight: 600;
        /* Correct weight */
        letter-spacing: 1px;
        /* Correct spacing */
        color: #ffffff;
        z-index: 100005;
        pointer-events: none;
    }

    /* CRITICAL FIX: The inner dialog that WP sometimes constraints */
    .wp-block-navigation__responsive-dialog {
        width: 100vw !important;
        /* Force Viewport Width */
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        right: auto !important;
        /* Prevent right-anchoring truncation */
    }

    /* Inner Wrapper for Menu Items */
    .wp-block-navigation__responsive-container-content {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
        /* Verified: Clear header (90px) + spacing */
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    /* Target the actual list container - NUCLEAR FIX */
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
        position: absolute !important;
        top: 130px !important;
        left: 24px !important;
        width: calc(100% - 48px) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 100007 !important;
    }

    /* Navigation Link Items */
    .wp-block-navigation__responsive-container .wp-block-navigation-item {
        width: 100%;
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        /* White border */
        padding-bottom: 0;
        margin: 0 !important;
    }

    .wp-block-navigation__responsive-container .wp-block-navigation-item:last-child {
        border-bottom: none !important;
    }

    /* Link Text */
    .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
        color: #ffffff !important;
        /* White Text */
        font-family: var(--font-heading) !important;
        font-size: 1.25rem !important;
        text-transform: uppercase !important;
        font-weight: 600;
        text-decoration: none;
        display: block;
        padding: 1.5rem 0 !important;
        /* Remove horizontal padding to align left */
        width: 100%;
        text-align: left !important;
        /* Force left align */
        box-sizing: border-box !important;
    }

    /* Close Button - Fixed Top Right */
    .wp-block-navigation__responsive-container-close {
        position: fixed !important;
        top: 23px !important;
        /* Match Hamburger: 23px */
        right: 24px !important;
        background: transparent !important;
        color: #ffffff !important;
        border: none !important;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100006 !important;
        padding: 0 !important;
    }

    /* Ensure the icon specifically is white/visible */
    .wp-block-navigation__responsive-container-close svg {
        fill: #ffffff !important;
        width: 24px;
        height: 24px;
    }

    /* Submenus handling - if any */
    .wp-block-navigation__submenu-icon {
        color: #000000 !important;
    }
}

/* --- Extra Small Screens (e.g. iPhone SE, Fold) --- */
@media screen and (max-width: 374px) {
    .curated-grid {
        grid-template-columns: 1fr !important;
        /* Single column */
        gap: 1.5rem !important;
    }

    .section-title {
        text-align: center !important;
        /* Center Align Title */
    }

    .curated-card-image {
        height: 180px !important;
    }

    .site-header-wrapper>.wp-block-group:nth-child(2) {
        right: 4rem;
    }

    .wp-block-group>p[style*="cursor:pointer"] {
        font-size: 0.65rem !important;
    }
}

/* Align Curated Collections on standard mobile */
@media screen and (max-width: 768px) {
    .section-title {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }

    .curated-grid {
        justify-content: center;
        /* Padding adjustments if needed */
    }
}

/* --- Responsive Design System --- */

/* Tablet & Smaller Laptops (1024px) */
@media screen and (max-width: 1024px) {
    .site-header-wrapper {
        padding: 1rem 2rem;
    }

    .hero-content-overlay h1 {
        font-size: 3rem;
    }

    .curated-collections-section,
    .explore-more-section {
        padding: 4rem 2rem;
    }
}

/* Fix for bug where mobile elements show on desktop */
@media screen and (min-width: 769px) {

    .mobile-bottom-bar,
    .mobile-search-overlay {
        display: none !important;
    }
}

/* Mobile Footer Styling (Black) */
@media screen and (max-width: 768px) {
    .site-footer {
        background-color: #000000 !important;
        color: #ffffff !important;
        padding-top: 4rem !important;
        padding-bottom: calc(4rem + 50px) !important;
    }

    .site-footer .footer-links .footer-column {
        color: #ffffff !important;
    }

    /* Mobile Footer Image Size */
    .footer-brand-img img {
        width: 400px !important;
        height: 250px !important;
        object-fit: contain !important;
        max-width: 100% !important;
    }

    /* Mobile Header Logo Size (Nav Bar) */
    /* Mobile Header Logo Size (Nav Bar) */
    .site-logo img {
        width: 90px !important;
        height: 90px !important;
        object-fit: contain !important;
        /* Ensure it's not pulled up negatively */
        margin-top: 0 !important;
        position: relative !important;
        top: auto !important;
    }

    /* Mobile Menu Bar Logo (The slide-out menu header) */
    /* Mobile Menu Bar Logo (The slide-out menu header) */
    .wp-block-navigation__responsive-container.is-menu-open::before {
        content: "";
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100000;

        width: 100vw !important;
        height: 90px !important;

        background-color: #000000;
        background-image: url('assets/images/logo.png');
        background-repeat: no-repeat;

        /* Adjusted Position: Matched exactly to closed state (24px left, -10px top) */
        background-position: left 24px top -10px !important;
        background-size: 90px 90px !important;

        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* Adjust padding to clear the 90px header area */
    /* Handled in main rule above */

    /* --- Contact Us: vertical list + no truncated buttons on mobile --- */
    #contact .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    #contact .contact-grid-premium {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        overflow: visible;
    }

    #contact .contact-item {
        overflow: visible !important;
        align-items: stretch;
        padding: 2rem 1.25rem;
    }

    #contact .contact-item>a.cta-button.width-full,
    #contact .contact-item>a:last-child {
        display: block !important;
        align-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #contact,
    #contact .contact-wrapper-premium {
        overflow: visible;
    }
}