.hotel-directory {
    color: #263238;
    padding-bottom: 72px;
    padding-top: 22px;
}

.hotel-directory a {
    color: #8f171c;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.hotel-directory a:focus-visible {
    outline: 3px solid #f5a623;
    outline-offset: 3px;
}

.hotel-directory__visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.hotel-directory__breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 8px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.hotel-directory__breadcrumbs li:not(:last-child)::after {
    color: #90a4ae;
    content: "/";
    margin-left: 8px;
}

.hotel-directory__header {
    align-items: center;
    background: linear-gradient(135deg, #fff4f1, #fff 70%);
    border-left: 5px solid #a61920;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    min-height: 150px;
    padding: 28px 32px;
}

.hotel-directory__header h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    margin: 4px 0 10px;
}

.hotel-directory__header p:last-child {
    font-size: 17px;
    margin-bottom: 0;
}

.hotel-directory__count {
    align-items: center;
    background: #a61920;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 82px;
    font-size: 24px;
    font-weight: 700;
    height: 82px;
    justify-content: center;
    margin-left: 24px;
}

.hotel-directory__eyebrow {
    color: #a61920;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    margin: 0;
    text-transform: uppercase;
}

.hotel-directory__search {
    background: #f3f7f9;
    border: 1px solid #dfe8ec;
    border-radius: 8px;
    margin: 0 0 42px;
    padding: 24px;
}

.hotel-directory__search-heading {
    margin-bottom: 18px;
}

.hotel-directory__search-heading h2 {
    font-size: 25px;
    margin: 4px 0 6px;
}

.hotel-directory__search-heading p:last-child {
    margin: 0;
}

.hotel-directory__search-form {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(190px, 1.5fr) repeat(4, minmax(125px, 1fr)) auto;
}

.hotel-directory__search-field {
    min-width: 0;
}

.hotel-directory__search-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hotel-directory__search-field input,
.hotel-directory__search-field select {
    background: #fff;
    border: 1px solid #aebdc4;
    border-radius: 4px;
    color: #263238;
    height: 46px;
    padding: 8px 10px;
    width: 100%;
}

.hotel-directory__search-field input[readonly] {
    background: #f8fafb;
}

.hotel-directory__search-field--destination > a {
    align-items: center;
    display: inline-flex;
    font-size: 12px;
    min-height: 28px;
    padding: 4px 0;
}

.hotel-directory__search-form > button {
    background: #a61920;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    height: 46px;
    padding: 0 18px;
    white-space: nowrap;
}

.hotel-directory__search-form > button:focus-visible {
    outline: 3px solid #f5a623;
    outline-offset: 3px;
}

.hotel-directory__search-form > button:disabled {
    cursor: wait;
    opacity: .7;
}

.hotel-directory__search-message {
    color: #8f171c;
    font-weight: 700;
    grid-column: 1 / -1;
    margin: 0;
    min-height: 20px;
}

.hotel-directory__featured,
.hotel-directory__hotels,
.hotel-directory__zones {
    margin-top: 46px;
}

.hotel-directory__section-heading {
    align-items: end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hotel-directory__section-heading h2 {
    font-size: 28px;
    line-height: 1.25;
    margin: 4px 0 0;
}

.hotel-directory__section-heading > span {
    color: #526a75;
    flex: 0 0 auto;
}

.hotel-directory__featured-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hotel-directory__featured-card,
.hotel-directory__hotel-card,
.hotel-directory__zone-card {
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 8px;
    overflow: hidden;
}

.hotel-directory__featured-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hotel-directory__featured-photo,
.hotel-directory__hotel-photo {
    background: #eef2f4;
    display: block;
    overflow: hidden;
}

.hotel-directory__featured-photo {
    aspect-ratio: 18 / 11;
}

.hotel-directory__featured-photo img,
.hotel-directory__hotel-photo img {
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
    width: 100%;
}

.hotel-directory__featured-card:hover img,
.hotel-directory__hotel-card:hover img {
    transform: scale(1.02);
}

.hotel-directory__photo-placeholder {
    align-items: center;
    color: #526a75;
    display: flex;
    font-weight: 700;
    height: 100%;
    justify-content: center;
    min-height: 180px;
}

.hotel-directory__featured-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.hotel-directory__featured-content h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 6px;
}

.hotel-directory__featured-content .hotel-directory__details {
    margin-top: auto;
}

.hotel-directory__hotel-list {
    display: grid;
    gap: 18px;
}

.hotel-directory__hotel-card {
    display: grid;
    grid-template-columns: minmax(230px, 330px) 1fr;
}

.hotel-directory__hotel-photo {
    min-height: 220px;
}

.hotel-directory__hotel-content {
    padding: 22px 24px;
}

.hotel-directory__hotel-content h3 {
    font-size: 23px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.hotel-directory__hotel-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 8px;
}

.hotel-directory__category,
.hotel-directory__rating,
.hotel-directory__location,
.hotel-directory__address {
    margin: 4px 0;
}

.hotel-directory__category {
    color: #a85100;
    letter-spacing: 2px;
}

.hotel-directory__rating strong {
    background: #26734d;
    border-radius: 4px;
    color: #fff;
    padding: 3px 6px;
}

.hotel-directory__rating span,
.hotel-directory__address {
    color: #526a75;
}

.hotel-directory__description {
    line-height: 1.55;
    margin: 12px 0;
}

.hotel-directory__facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 14px 0;
    padding: 0;
}

.hotel-directory__facilities li {
    background: #f3f6f7;
    border-radius: 16px;
    color: #455a64;
    font-size: 12px;
    padding: 5px 9px;
}

.hotel-directory__details {
    display: inline-block;
    font-weight: 700;
    margin-top: 8px;
}

.hotel-directory__details::after {
    content: " →";
}

.hotel-directory__pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.hotel-directory__pagination ol {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hotel-directory__page {
    align-items: center;
    border: 1px solid #cfd8dc;
    border-radius: 5px;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    padding: 0 10px;
    text-decoration: none;
}

.hotel-directory__page--current {
    background: #a61920;
    border-color: #a61920;
    color: #fff;
    font-weight: 700;
}

.hotel-directory__page-gap {
    align-items: center;
    display: inline-flex;
    height: 42px;
    padding: 0 4px;
}

.hotel-directory__zone-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.hotel-directory__zone-card {
    padding: 20px;
}

.hotel-directory__zone-card h3 {
    font-size: 20px;
    margin: 0 0 4px;
}

.hotel-directory__zone-card > p {
    color: #526a75;
}

.hotel-directory__zone-card ul {
    border-top: 1px solid #e6ecef;
    list-style: none;
    margin: 14px 0 0;
    padding: 10px 0 0;
}

.hotel-directory__zone-card li {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 7px 0;
}

.hotel-directory__zone-card li span {
    color: #526a75;
}

@media (max-width: 991px) {
    .hotel-directory__search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hotel-directory__search-field--destination,
    .hotel-directory__search-form > button {
        grid-column: 1 / -1;
    }

    .hotel-directory__featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hotel-directory {
        padding-top: 14px;
    }

    .hotel-directory__header {
        align-items: flex-start;
        min-height: 0;
        padding: 22px;
    }

    .hotel-directory__count {
        display: none;
    }

    .hotel-directory__search {
        padding: 18px;
    }

    .hotel-directory__search-form {
        grid-template-columns: 1fr;
    }

    .hotel-directory__search-field,
    .hotel-directory__search-field--destination,
    .hotel-directory__search-form > button {
        grid-column: auto;
    }

    .hotel-directory__section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .hotel-directory__featured-grid,
    .hotel-directory__hotel-card {
        grid-template-columns: 1fr;
    }

    .hotel-directory__featured-grid {
        gap: 14px;
    }

    .hotel-directory__hotel-photo {
        aspect-ratio: 18 / 11;
        min-height: 0;
    }

    .hotel-directory__hotel-content {
        padding: 18px;
    }

    .hotel-directory__pagination {
        align-items: stretch;
    }

    .hotel-directory__page--direction {
        flex: 1 1 42%;
    }

    .hotel-directory__pagination ol {
        justify-content: center;
        order: 2;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hotel-directory__featured-photo img,
    .hotel-directory__hotel-photo img {
        transition: none;
    }
}
