/**
 * WaterJet location detail pages (/location/*)
 */
html body.wj-ui.request-is-location-detail .bc_detail_location {
    background: #f8fafc;
    overflow-x: clip;
}

html body.wj-ui.request-is-location-detail .bc_detail_location .bc_banner,
html body.wj-ui.request-is-location-detail .bc_detail_location .wj-location-hero {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: none !important;
    min-height: clamp(260px, 38vw, 460px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

html body.wj-ui.request-is-location-detail .wj-location-hero__inner {
    position: relative;
    z-index: 2;
    min-height: clamp(260px, 38vw, 460px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 32px 15px 40px;
}

html body.wj-ui.request-is-location-detail .wj-location-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

html body.wj-ui.request-is-location-detail .wj-location-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    max-width: 900px;
}

html body.wj-ui.request-is-location-detail .bc_content {
    margin-top: -28px;
    position: relative;
    z-index: 3;
    padding-bottom: 48px;
}

html body.wj-ui.request-is-location-detail .bc_content > .container {
    max-width: 1200px;
}

html body.wj-ui.request-is-location-detail .title-location {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

html body.wj-ui.request-is-location-detail .bc_content .container > .row.py-5 {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    padding: 2rem 1.5rem !important;
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
}

html body.wj-ui.request-is-location-detail .g-thumbnail {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
    margin: 0 !important;
}

html body.wj-ui.request-is-location-detail .g-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

html body.wj-ui.request-is-location-detail .g-overview .description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #374151;
}

html body.wj-ui.request-is-location-detail .g-overview .description strong {
    color: #111827;
}

html body.wj-ui.request-is-location-detail .g-location-module {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem !important;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.5rem;
    border: none !important;
}

html body.wj-ui.request-is-location-detail .wj-location-routes {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.5rem;
}

html body.wj-ui.request-is-location-detail .wj-location-routes__title {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

html body.wj-ui.request-is-location-detail .wj-location-routes__sub {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: #6b7280;
}

html body.wj-ui.request-is-location-detail .wj-location-routes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

html body.wj-ui.request-is-location-detail .wj-location-routes__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

html body.wj-ui.request-is-location-detail .wj-location-routes__card:hover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateY(-1px);
}

html body.wj-ui.request-is-location-detail .wj-location-routes__from,
html body.wj-ui.request-is-location-detail .wj-location-routes__to {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

html body.wj-ui.request-is-location-detail .wj-location-routes__arrow {
    flex-shrink: 0;
    color: #2563eb;
    font-size: 0.85rem;
}

html body.wj-ui.request-is-location-detail .wj-location-map-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
    padding-top: 0.5rem;
}

html body.wj-ui.request-is-location-detail .wj-location-map-wrap {
    margin-bottom: 1.5rem;
}

html body.wj-ui.request-is-location-detail .wj-location-map-wrap .location-map {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

html body.wj-ui.request-is-location-detail .g-location-module h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

html body.wj-ui.request-is-location-detail .location-module-nav .nav-link,
html body.wj-ui.request-is-location-detail .location-module-nav a {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

html body.wj-ui.request-is-location-detail .location-module-nav .active,
html body.wj-ui.request-is-location-detail .location-module-nav a.active {
    background: #2563eb !important;
    color: #fff !important;
}

html body.wj-ui.request-is-location-detail #map_content {
    border-radius: 24px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

html body.wj-ui.request-is-location-detail .bc_detail_location h3.py-5 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
}

html body.wj-ui.request-is-location-detail .btn-search {
    border-radius: 14px;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
    html body.wj-ui.request-is-location-detail .bc_detail_location .bc_banner,
    html body.wj-ui.request-is-location-detail .bc_detail_location .wj-location-hero {
        min-height: 240px !important;
    }

    html body.wj-ui.request-is-location-detail .wj-location-hero__inner {
        min-height: 240px;
        padding: 24px 14px 28px;
    }

    html body.wj-ui.request-is-location-detail .wj-location-hero__title {
        font-size: 1.85rem;
    }

    html body.wj-ui.request-is-location-detail .bc_content {
        margin-top: -18px;
        padding-left: 0;
        padding-right: 0;
    }

    html body.wj-ui.request-is-location-detail .bc_content > .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    html body.wj-ui.request-is-location-detail .bc_content .container > .row.py-5 {
        padding: 1.25rem 1rem !important;
        border-radius: 20px;
    }

    html body.wj-ui.request-is-location-detail .g-location-module {
        padding: 1.25rem 1rem !important;
        border-radius: 20px;
    }

    html body.wj-ui.request-is-location-detail .wj-location-routes {
        padding: 1.25rem 1rem;
        border-radius: 20px;
    }

    html body.wj-ui.request-is-location-detail .wj-location-routes__grid {
        grid-template-columns: 1fr;
    }

    html body.wj-ui.request-is-location-detail #map_content {
        min-height: 280px;
        border-radius: 20px;
    }

    html body.wj-ui.request-is-location-detail .g-location,
    html body.wj-ui.request-is-location-detail .location-map {
        padding-left: 14px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
    }
}
