.home-destinations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
    margin: 24px 0;
}
.home-destination { min-width: 0; }
.home-refined .home-destination-main {
    display: block;
    color: #222;
    text-decoration: none;
    border-radius: 12px;
}
.home-destination-main img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 12px;
}
.home-refined .home-destination-main h3 {
    margin: 14px 0 4px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.3px;
}
.home-refined .home-destination-count {
    margin: 0;
    color: #6a6a6a;
    font-size: 14px;
    line-height: 20px;
}
.home-destination-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.home-destination-tags li { margin: 0; padding: 0; }
.home-refined .home-destination-tags a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    color: #444;
    background: #fff;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
}
.home-destination-tags span { color: #767676; }
.home-refined .home-destination-main:hover h3 { text-decoration: underline; }
.home-refined .home-destination-tags a:hover { background: #f7f7f7; border-color: #b0b0b0; }
.home-destination a:focus-visible { outline: 2px solid #222; outline-offset: 4px; }
@media (max-width: 767px) {
    .home-destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 20px; }
    .home-refined .home-destination-main h3 { margin-top: 10px; font-size: 17px; }
    .home-refined .home-destination-count { font-size: 12px; line-height: 18px; }
    .home-destination-main img { border-radius: 10px; }
    .home-destination-tags { gap: 6px; margin-top: 10px; }
    .home-refined .home-destination-tags a { padding: 5px 8px; }
}

/* Keep destination navigation compact, with a persistent title and close button. */
.home-refined.modal-open .navbar { z-index: 1030; }
.home-destinations-modal .modal-dialog {
    width: calc(100% - 48px);
    max-width: 840px;
    margin: 32px auto;
}
.home-destinations-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 64px rgba(0, 0, 0, .2);
}
.home-destinations-modal .modal-header {
    flex: 0 0 auto;
    position: relative;
    padding: 28px 32px 24px;
    border-bottom: 1px solid #ebebeb;
    text-align: left;
}
.home-destinations-modal .modal-title {
    margin: 0;
    padding-right: 48px;
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -.5px;
}
.home-destinations-modal .modal-header p {
    margin: 6px 48px 0 0;
    color: #717171;
    font-size: 14px;
    line-height: 22px;
}
.home-destinations-modal .close {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    background: #f7f7f7;
    color: #222;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
    opacity: 1;
}
.home-destinations-modal .close:hover { background: #eee; opacity: 1; }
.home-destinations-modal .modal-body {
    min-height: 0;
    padding: 8px 32px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.destination-regions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
}
.destination-region {
    min-width: 0;
    padding: 24px 0;
    border-bottom: 1px solid #ebebeb;
}
.destination-region:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
.home-destinations-modal .destination-region h3 {
    margin: 0 0 12px;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
}
.destination-region-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 8px;
    margin: 0 -8px;
    padding: 0;
    list-style: none;
}
.destination-region-links li { min-width: 0; }
.home-destinations-modal .destination-region-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 8px;
    border-radius: 8px;
    color: #484848;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.home-destinations-modal .destination-region-links a:hover {
    background: #f7f7f7;
    color: #222;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.home-destinations-modal a:focus-visible,
.home-destinations-modal button:focus-visible { outline: 2px solid #222; outline-offset: 2px; }
@media (max-width: 767px) {
    .home-destinations-modal .modal-dialog { width: calc(100% - 24px); margin: 12px auto; }
    .home-destinations-modal .modal-content {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 16px;
    }
    .home-destinations-modal .modal-header { padding: 24px 24px 20px; }
    .home-destinations-modal .modal-title { font-size: 22px; line-height: 30px; }
    .home-destinations-modal .close { top: 17px; right: 16px; }
    .home-destinations-modal .modal-header p { margin-right: 0; }
    .home-destinations-modal .modal-body { padding: 0 24px 24px; }
    .destination-regions { grid-template-columns: minmax(0, 1fr); }
    .destination-region { padding: 20px 0; }
    .destination-region:nth-last-child(2) { border-bottom: 1px solid #ebebeb; padding-bottom: 20px; }
}
