/* AirportCarHub V2 — All car rental locations directory (/locations). Copied from the live locations.php. */
/* ==========================================
   AIRPORTCARHUB ALL LOCATIONS DIRECTORY
========================================== */

.ach-directory {
    background: linear-gradient(
        180deg,
        #f5f9ff 0%,
        #ffffff 42%
    );
    padding: 60px 0 75px;
    color: #102943;
}

.ach-directory .ach-kicker {
    color: #1769d4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ach-directory h1 {
    color: #102943;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.15;
    margin: 10px 0 12px;
}

.ach-directory .ach-intro {
    color: #61728a;
    font-size: 15px;
    line-height: 1.7;
    max-width: 680px;
}

.ach-directory .ach-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 27px;
}

.ach-directory .ach-stat {
    border: 1px solid #dce8f8;
    background: #fff;
    border-radius: 9px;
    padding: 9px 14px;
    font-size: 13px;
    color: #59708b;
}

.ach-directory .ach-stat strong {
    color: #1769d4;
    font-weight: 800;
}

/* Search */

.ach-directory .ach-search-box {
    background: #fff;
    border: 1px solid #d8e5f6;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 7px 24px rgba(20,60,110,.045);
    margin-bottom: 22px;
}

.ach-directory .ach-search-label {
    display: block;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 9px;
    color: #38536e;
}

.ach-directory .ach-search-input {
    width: 100%;
    min-height: 51px;
    border: 1px solid #d4e0f0;
    border-radius: 11px;
    padding: 0 17px;
    outline: none;
    color: #102943;
    font-size: 15px;
}

.ach-directory .ach-search-input:focus {
    border-color: #1769d4;
    box-shadow: 0 0 0 3px rgba(23,105,212,.11);
}

.ach-directory .ach-search-note {
    color: #72839a;
    font-size: 12px;
    margin: 8px 0 0;
}

/* Alphabet */

.ach-directory .ach-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 22px 0;
}

.ach-directory .ach-letter {
    border: 1px solid #d9e5f4;
    background: #fff;
    border-radius: 8px;
    min-width: 37px;
    height: 37px;
    padding: 0 9px;
    color: #43617f;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.ach-directory .ach-letter:hover,
.ach-directory .ach-letter.active {
    background: #1769d4;
    color: #fff;
    border-color: #1769d4;
}

.ach-directory .ach-letter:disabled {
    opacity: .3;
    cursor: not-allowed;
}

/* Country cards */

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

.ach-directory .ach-country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(11,42,82,.10);
}

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

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

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

.ach-directory .ach-country-card:hover img {
    transform: scale(1.045);
}

.ach-directory .ach-country-name {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 17px;
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.ach-directory .ach-card-body {
    padding: 17px 18px;
}

.ach-directory .ach-card-stats {
    color: #77899d;
    font-size: 12px;
    margin-bottom: 12px;
}

.ach-directory .ach-pickup-heading {
    color: #8190a2;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 800;
    margin-bottom: 7px;
}

.ach-directory .ach-pickup-link {
    display: block;
    color: #1769d4;
    text-decoration: none;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f7;
    overflow-wrap: anywhere;
}

.ach-directory .ach-pickup-link:hover {
    color: #0c4c9d;
}

.ach-directory .ach-pickup-link::before {
    content: "•";
    color: #88b0e8;
    margin-inline-end: 8px;
}

.ach-directory .ach-more summary {
    list-style: none;
    color: #1769d4;
    font-size: 13px;
    font-weight: 750;
    padding-top: 13px;
    cursor: pointer;
}

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

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

.ach-directory .ach-card-footer:hover {
    background: #f5f9ff;
}

.ach-directory .ach-country-item[hidden],
.ach-directory .ach-search-results[hidden],
.ach-directory .ach-country-grid[hidden],
.ach-directory #achDirectoryEmpty[hidden] {
    display: none !important;
}

/* Search results */

.ach-directory .ach-search-results {
    border: 1px solid #dce7f5;
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 24px;
}

.ach-directory .ach-result-row {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 13px 17px;
    border-bottom: 1px solid #edf1f7;
    text-decoration: none;
    color: #18344f;
}

.ach-directory .ach-result-row:hover {
    background: #f1f7ff;
}

.ach-directory .ach-result-type {
    background: #eaf2ff;
    color: #1769d4;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 8px;
    min-width: 70px;
    text-align: center;
}

.ach-directory .ach-result-title {
    font-size: 14px;
    font-weight: 750;
}

.ach-directory .ach-result-detail {
    font-size: 12px;
    color: #73869b;
}

/* Bottom banner */

.ach-directory .ach-explore-banner {
    margin-top: 35px;
    background: #eaf3ff;
    border: 1px solid #d5e6fa;
    border-radius: 15px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ach-directory .ach-explore-banner h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 5px;
    color: #102943;
}

.ach-directory .ach-explore-banner p {
    font-size: 13px;
    color: #587493;
    margin: 0;
}

.ach-directory .ach-explore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 20px;
    background: #1469df;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    border-radius: 10px;
    white-space: nowrap;
}

.ach-directory .ach-explore-button:hover {
    background: #0958c4;
    color: #fff;
}

@media(max-width:575.98px) {
    .ach-directory {
        padding: 42px 0 55px;
    }

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

    .ach-directory .ach-explore-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .ach-directory .ach-explore-button {
        width: 100%;
    }
}

/* V2 additions */
.ach-directory .ach-result-row:last-child { border-bottom: 0; }
.ach-directory .ach-status { padding: 18px; color: #73869b; font-size: 14px; }
.ach-rtl .ach-directory .ach-result-row,
.ach-rtl .ach-directory .ach-explore-banner { text-align: right; }

