/* =========================================
 * LOCATION PAGE HERO & CONTENT STYLES (Final)
 * ======================================= */

/* --- 1. HERO CONTAINER & LAYOUT --- */
.loc-hero-container {
    width: 100%;
    max-width: 900px;
    padding: 0 20px!important;
    position: relative;
    z-index: 10;
    text-align: left !important;
    margin: 0;
    
    /* Flexbox for stacking Rating -> H1 -> Button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    
    /* Desktop Height */
    min-height: 600px;
}

/* --- 2. HERO ELEMENTS --- */

/* Trustpilot Rating */
.loc-hero-rating { 
    display: flex; 
    justify-content: flex-start !important; 
    margin-bottom: 5px !important; 
    width: 100%;
}

/* H1 Typography (Desktop Base) */
.loc-hero-h1 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
    font-size: 64px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* The Pink Underline (Only under Laundry Pickup) */
.loc-underline {
    text-decoration: underline !important;
    text-decoration-color: #ff4f81 !important;
    text-decoration-thickness: 5px !important;
    text-underline-offset: 1px !important;
}

/* City Color */
.loc-city-color {
    color: #7d8dff;
}

/* The Gold CTA Button (Desktop Base) */
.loc-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffcc66;
    color: #000000;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
    margin-top: 15px;
    
    /* No Animations */
    transition: none !important;
    transform: none !important;
}

.loc-btn-gold:hover, 
.loc-btn-gold:focus, 
.loc-btn-gold:active {
    background-color: #ffcc66 !important;
    color: #000000 !important;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4) !important;
}

/* The Arrow Icon */
.loc-arrow-icon {
    margin-left: 8px;
    transform: rotate(90deg);
}

/* --- 3. WIDGET OVERLAP (The Connector) --- */
.loc-widget-overlap {
    margin-top: -80px !important; 
    position: relative;
    z-index: 99;
    padding: 0 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .loc-widget-overlap {
        margin-top: -100px !important;
    }
}

/* --- 4. CONTENT SECTION (H2 Heading) --- */

/* H2 Wrapper */
.loc-h2-wrapper {
    text-align: center;
    padding-top: 50px; 
    padding-bottom: 30px;
}

/* H2 Typography */
h2.loc-seo-h2 {
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 800 !important;
    color: #333333 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
}

/* Pink Underline for City Name */
.loc-city-underline {
    color: #000000;
    text-decoration: underline;
    text-decoration-color: #ff4f81;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

/* --- 5. TEXT CARD STYLING (White Card) --- */
.loc-body-text {
    max-width: 700px;
    margin: 0 auto 60px auto;
    text-align: center;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    font-size: 18px; 
    line-height: 1.7;
    color: #555555;
}

/* Bold Text Color */
.loc-body-text strong {
    color: #000000;
    font-weight: 700;
}

/* --- 10. TOP HOTELS SECTION --- */

.loc-hotels-wrapper {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

/* --- HEADER STYLES --- */
.loc-hotels-header {
    margin-bottom: 40px;
    padding: 0 20px;
}

/* Badge (Top 10) */
.loc-badge {
    display: inline-block;
    background-color: #ffcc66;
    color: #000;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* H2 Heading */
.loc-hotels-h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* Intro Text */
.loc-hotels-intro {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- HOTEL CARD STYLES --- */
.loc-hotels-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.loc-hotel-card {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: left;
    min-height: 160px;
    align-items: stretch;
}

/* Left Image (Desktop: 33%) */
.loc-card-image {
    width: 33%;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    flex-shrink: 0;
}

/* Right Content */
.loc-card-content {
    flex-grow: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hotel Name */
.loc-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    margin: 0 0 8px 0;
}

/* Instructions */
.loc-card-info {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

/* CTA Link (Salmon Underline) */
.loc-card-cta {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    width: fit-content;
    text-decoration: none !important; 
    border-bottom: 2px solid #ff4f81; 
    padding-bottom: 1px !important;
    line-height: 1;
}
/* ---  MAP SECTION --- */

.bl-map-wrapper {
    width: 100%;
    max-width: 520px; /* Matches the map width */
    margin: 0 auto 60px auto; /* Centered with bottom spacing */
    text-align: center;
    padding: 0 20px;
}

.bl-map-heading {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
}

/* Your Map Container Style */
.bl-map-embed {
    width: 100%;
    max-width: 520px;
    margin: 0 auto; /* Ensures it centers if wrapper is larger */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    background: #fff;
    
    /* Mobile Height */
    height: 220px;
}

/* Slightly taller on larger screens */
@media (min-width: 480px) {
    .bl-map-embed { height: 260px; }
}

@media (min-width: 768px) {
    .bl-map-embed { height: 280px; }
}

.bl-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
 * MOBILE SPECIFIC OVERRIDES
 * ========================================= */

@media (max-width: 767px) {
    /* --- RESET ENTRY CONTENT PADDING --- */
    body:not(.home) .ast-container,
    body:not(.home) .entry-content,
    body:not(.home) .site-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    /* --- HERO ASPECT RATIO (Exclude Homepage) --- */
    body:not(.home) .wp-block-cover {
        aspect-ratio: 1 / 1 !important;
        min-height: auto !important;
        height: auto !important;
        max-height: 100vw !important;
    }
    
    body:not(.home) .loc-hero-container {
        aspect-ratio: 1 / 1 !important;
        min-height: auto !important;
        height: auto !important;
    }

    /* --- Reset WordPress Block Padding --- */
    body:not(.home) .wp-block-group:not(.loc-widget-overlap),
    body:not(.home) .wp-block-group__inner-container,
    body:not(.home) [class*="wp-container"]:not(.loc-widget-overlap),
    body:not(.home) [class*="is-layout"]:not(.loc-widget-overlap) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* --- TIME SLOTS WIDGET --- */
    body:not(.home) .loc-widget-overlap {
        margin-top: -70px !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
        padding: 0 !important;
    }

    /* --- 1. HERO SECTION: 20px left only --- */
    .loc-hero-container {
        padding: 0 0 0 20px !important;
    }

    /* --- 2. INTRODUCTION SECTION: 5px left/right --- */
    .loc-body-text {
        max-width: none;
        margin: 0 5px 40px 5px !important;
        padding: 30px 20px;
        font-size: 15px;
        line-height: 1.5;
    }

    /* --- 3. BOOKING FORM: 5px left/right --- */
    #schedule-laundry-pickup,
    .gform_wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* --- 4. PRICES SECTION: 0px padding (full width) --- */
    #prices {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Prices heading gets 10px left padding */
    .bl-prices-heading {
        padding-left: 10px !important;
        padding-right: 0 !important;
    }

    /* --- 5. H2 WRAPPER: 5px left/right --- */
    .loc-h2-wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* --- 6. HOTELS SECTION: 5px left/right --- */
    .loc-hotels-header {
        padding: 0 5px !important;
    }
    
    .loc-hotels-list {
        gap: 15px;
        padding: 0 5px !important;
    }

    /* --- 7. MAP: 5px left/right --- */
    .bl-map-wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .bl-map-embed iframe {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        border: 0;
    }

    /* --- HERO ELEMENTS --- */
    .loc-btn-gold {
        font-size: 12px !important;
        padding: 8px 20px !important;
        margin-top: 10px !important;
    }
    
    .loc-arrow-icon {
        width: 14px !important;
        height: 13px !important;
        margin-left: 6px !important;
    }
    
    .loc-hero-h1 {
        font-size: 28px !important;
    }

    /* --- TEXT CARD PARAGRAPHS --- */
    .loc-body-text br {
        display: none;
    }
    
    .loc-body-text p {
        margin-bottom: 12px;
    }
    
    .loc-body-text p:last-child {
        margin-bottom: 0;
    }

   /* --- HOTEL CARDS --- */
@media (max-width: 767px) {
    .loc-hotel-card {
        min-height: auto;
        flex-direction: row !important;
        align-items: stretch; /* Changed from center */
    }
    .loc-card-image {
        width: 90px !important;
        min-width: 90px;
        height: auto !important; /* Remove fixed height */
        min-height: 110px; /* Minimum for short text cards */
        border-right: 1px solid #f0f0f0;
        object-fit: cover;
    }
    .loc-card-content {
        width: calc(100% - 90px);
        padding: 12px 15px !important;
    }
    .loc-card-title {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    .loc-card-info {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    .loc-card-cta {
        font-size: 12px !important;
    }
}