/* Copied verbatim from the live includes/top_locations_section.php */
/* =========================================
   TOP CAR RENTAL LOCATIONS
========================================= */

.ach-locations {
    padding: 68px 0 74px;
    background: linear-gradient(
        180deg,
        #f6f9fe 0%,
        #ffffff 100%
    );
    border-top: 1px solid #e8eef6;
    color: #102943;
}

.ach-locations .ach-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.ach-locations .ach-eyebrow {
    display: block;
    color: #1769d4;
    font-size: .78rem;
    letter-spacing: .10em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ach-locations h2 {
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.035em;
    margin: 0 0 10px;
    color: #102943;
}

.ach-locations .ach-sub {
    color: #61728a;
    font-size: .99rem;
    line-height: 1.55;
    margin: 0;
    max-width: 540px;
}

/* Search */

.ach-locations .ach-search {
    flex: 0 1 405px;
    min-width: 255px;
    position: relative;
}

.ach-locations .ach-search label {
    font-size: .78rem;
    font-weight: 750;
    color: #435872;
    display: block;
    margin-bottom: 7px;
}

.ach-locations .ach-search-wrap {
    position: relative;
}

.ach-locations .ach-search-wrap svg {
    position: absolute;
    top: 50%;
    left: 17px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #637792;
}

.ach-locations .ach-search input {
    display: block;
    width: 100%;
    height: 49px;
    padding: 0 16px 0 48px;
    border: 1px solid #d4e0f0;
    border-radius: 13px;
    color: #17304c;
    background: #fff;
    box-shadow: 0 3px 15px rgba(14,50,93,.035);
    outline: none;
    font: inherit;
    font-size: .94rem;
    transition: border-color .18s, box-shadow .18s;
}

.ach-locations .ach-search input:focus {
    border-color: #2273e0;
    box-shadow: 0 0 0 3px rgba(34,115,224,.12);
}

.ach-locations .ach-search input::placeholder {
    color: #8b99aa;
}

.ach-locations .ach-search-hint {
    margin: 7px 0 0;
    color: #758398;
    font-size: .76rem;
}

/* Cards */

.ach-locations .ach-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e3eaf4;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 7px 22px rgba(11,42,82,.045);
    transition:
        transform .2s,
        border-color .2s,
        box-shadow .2s;
}

.ach-locations .ach-card:hover {
    transform: translateY(-3px);
    border-color: #bcd4f5;
    box-shadow: 0 13px 30px rgba(11,42,82,.11);
}

.ach-locations .ach-cover {
    position: relative;
    height: 162px;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg,#084d8f,#1590c9);
    text-decoration: none;
}

.ach-locations .ach-cover:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 34%,
        rgba(4,23,42,.83) 100%
    );
}

.ach-locations .ach-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.ach-locations .ach-card:hover .ach-cover img {
    transform: scale(1.045);
}

.ach-locations .ach-cover-title {
    position: absolute;
    left: 19px;
    bottom: 17px;
    right: 40px;
    color: #fff;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.ach-locations .ach-cover-arrow {
    position: absolute;
    bottom: 16px;
    right: 17px;
    color: #fff;
    z-index: 1;
    font-size: 1.15rem;
}

.ach-locations .ach-body {
    padding: 15px 18px 17px;
}

.ach-locations .ach-small-title {
    font-size: .72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #7b8ba0;
    margin-bottom: 6px;
}

.ach-locations .ach-pickup {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    color: #155ec5;
    text-decoration: none;
    font-size: .88rem;
    line-height: 1.25;
    border-bottom: 1px solid #edf1f7;
}

.ach-locations .ach-pickup:last-child {
    border-bottom: 0;
}

.ach-locations .ach-dot {
    width: 6px;
    height: 6px;
    background: #87ade5;
    border-radius: 50%;
    flex: none;
}

.ach-locations .ach-link-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ach-locations .ach-pickup:hover {
    color: #0b438b;
}

.ach-locations details summary {
    list-style: none;
    cursor: pointer;
    color: #1769d4;
    font-size: .84rem;
    font-weight: 700;
    padding: 11px 0 2px;
}

.ach-locations details summary::-webkit-details-marker {
    display: none;
}

.ach-locations details summary:after {
    content: ' ↓';
}

.ach-locations details[open] summary:after {
    content: ' ↑';
}

.ach-locations .ach-card-footer {
    display: block;
    border-top: 1px solid #edf1f7;
    padding: 13px 18px 14px;
    font-weight: 750;
    color: #1769d4;
    font-size: .88rem;
    text-decoration: none;
}

.ach-locations .ach-card-footer:hover {
    background: #f5f9ff;
    color: #0d4eaa;
}

/* Search results */

.ach-locations .ach-results {
    margin: 12px 0 25px;
    background: #fff;
    border: 1px solid #dde8f6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(7,42,90,.06);
}

.ach-locations .ach-results[hidden],
.ach-locations .ach-cards[hidden] {
    display: none !important;
}

.ach-locations .ach-status {
    padding: 13px 18px;
    font-size: .84rem;
    color: #64758d;
    background: #f9fbfe;
    border-bottom: 1px solid #e9eef6;
}

.ach-locations .ach-result {
    padding: 12px 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: #142f4b;
    border-bottom: 1px solid #edf1f7;
}

.ach-locations .ach-result:last-child {
    border-bottom: 0;
}

.ach-locations .ach-result:hover,
.ach-locations .ach-result:focus {
    background: #f0f6ff;
    color: #0f62cf;
}

.ach-locations .ach-type {
    display: inline-block;
    min-width: 75px;
    text-align: center;
    background: #eaf2ff;
    color: #1c65c7;
    border-radius: 7px;
    padding: 5px 7px;
    font-size: .72rem;
    font-weight: 750;
    flex: none;
}

.ach-locations .ach-type.city {
    background: #e9f7ef;
    color: #16814c;
}

.ach-locations .ach-type.location {
    background: #fff3e5;
    color: #a55b0a;
}

.ach-locations .ach-result-label {
    display: block;
    font-weight: 700;
    font-size: .92rem;
    line-height: 1.3;
}

.ach-locations .ach-result-sub {
    display: block;
    color: #667b92;
    font-size: .78rem;
    margin-top: 2px;
}

.ach-locations .ach-empty {
    padding: 25px 18px;
    color: #667b92;
}

/* Bottom button */

.ach-locations .ach-bottom {
    text-align: center;
    margin-top: 30px;
}

.ach-locations .ach-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 27px;
    border-radius: 11px;
    background: #1769d4;
    color: #fff;
    text-decoration: none;
    font-size: .94rem;
    font-weight: 750;
    box-shadow: 0 6px 18px rgba(23,105,212,.18);
}

.ach-locations .ach-all-btn:hover {
    background: #0b59c0;
    color: #fff;
}


/* ==========================================
   EXPLORE ALL LOCATIONS BANNER
========================================== */

.ach-locations .ach-bottom {
    margin-top: 32px;
    text-align: left;
}

.ach-locations .ach-explore-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    padding: 20px 22px;

    background: #eaf3ff;
    border: 1px solid #d5e6fa;
    border-radius: 15px;
}

.ach-locations .ach-explore-content h3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    color: #102943;
    margin: 0 0 5px;
}

.ach-locations .ach-explore-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #587493;
    margin: 0;
}

.ach-locations .ach-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex-shrink: 0;
    min-height: 45px;
    padding: 0 19px;

    background: #1469df;
    color: #ffffff;

    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;

    border-radius: 10px;
    transition: background .2s ease,
                transform .2s ease;
}

.ach-locations .ach-explore-btn:hover {
    background: #0958c4;
    color: #ffffff;
    transform: translateY(-2px);
}

.ach-locations .ach-explore-btn span {
    font-size: 17px;
    font-weight: 400;
}

/* Mobile */

@media (max-width: 575.98px) {

    .ach-locations .ach-explore-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }

    .ach-locations .ach-explore-content h3 {
        font-size: 16px;
    }

    .ach-locations .ach-explore-content p {
        font-size: 13px;
    }

    .ach-locations .ach-explore-btn {
        width: 100%;
        min-height: 46px;
    }
}


@media(max-width:767.98px) {
    .ach-locations {
        padding: 44px 0 50px;
    }

    .ach-locations .ach-head {
        gap: 20px;
    }

    .ach-locations .ach-search {
        flex-basis: 100%;
        min-width: 0;
    }

    .ach-locations .ach-cover {
        height: 190px;
    }

    .ach-locations .ach-bottom {
        margin-top: 24px;
    }
}
