/* Listing-only palette; the detail pages and contact band keep their own styles. */

.restaurant-list-section {
    --dining-ivory: #fff6e6;
    --dining-gold: #edca8b;
    --dining-muted: #ced9e8;
    background: #102e54 url(/Design/img/CatyHotel/hoi-nghi.png) repeat;
    background-size: auto;
    background-position: center;
    color: var(--dining-ivory);
    padding: 76px 0 80px;
}

.restaurant-list-section:before {
    content: none;
}

.restaurant-section-heading {
    display: block;
    margin: 0 auto 48px;
    text-align: center;
}


/* Global site styles also target the semantic header element. */

.restaurant-list-section header {
    background: transparent;
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    z-index: auto;
    box-shadow: none;
}

.restaurant-section-heading>div:first-child {
    max-width: 764px;
    margin: 0 auto;
}

.restaurant-list-section .restaurant-eyebrow {
    color: var(--dining-gold);
    justify-content: center;
    font-size: 12px;
    line-height: 1.6;
}

.restaurant-section-heading h1 {
    color: var(--dining-ivory);
    font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 400;
    line-height: 1.3;
    margin: 15px 0 22px;
}

.restaurant-section-heading h1:after {
    background: var(--dining-gold);
    content: '';
    display: block;
    height: 2px;
    width: 56px;
    margin: 22px auto 0;
}

.restaurant-section-heading p,
.restaurant-flavours__heading p {
    color: var(--dining-muted);
    font-size: 15px;
    line-height: 1.85;
    text-align: center;
    margin: 0;
}

.restaurant-list-section .restaurant-categories {
    justify-content: center;
}

.restaurant-list-section .restaurant-category-link {
    background: transparent;
    border-color: rgba(237, 202, 139, .4);
    color: var(--dining-ivory);
}

.restaurant-list-section .restaurant-category-link:hover,
.restaurant-list-section .restaurant-category-link.is-active {
    background: var(--dining-gold);
    border-color: var(--dining-gold);
    color: #102e54;
}

.restaurant-list-section .restaurant-grid {
    gap: 44px 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.restaurant-list-section .restaurant-card,
.restaurant-list-section .restaurant-card:hover {
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
}

.restaurant-list-section .restaurant-card__image {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
}

.restaurant-list-section .restaurant-card__number {
    background: var(--dining-gold);
    color: #102e54;
    border-radius: 0 0 12px 0;
}

.restaurant-list-section .restaurant-card__body {
    padding: 20px 0 0;
    text-align: center;
}

.restaurant-list-section .restaurant-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.5;
}

.restaurant-list-section .restaurant-card h3 a {
    color: var(--dining-ivory);
    min-height: 0;
}

.restaurant-list-section .restaurant-card p {
    color: var(--dining-muted);
    min-height: 0;
    margin-bottom: 18px;
    padding: 0 17px;
}

.restaurant-list-section .restaurant-card__link,
.restaurant-list-section .restaurant-card__link i,
.restaurant-list-section .restaurant-card h3 a:hover {
    color: var(--dining-gold);
}

.restaurant-list-section a:focus-visible {
    outline: 2px solid var(--dining-gold);
    outline-offset: 4px;
}

.restaurant-list-section .restaurant-card:focus-within .restaurant-card__explore {
    opacity: 1;
    transform: none;
}

.restaurant-list-section .restaurant-pagination {
    margin-top: 0;
}

.restaurant-list-section .restaurant-pagination>* {
    margin-top: 40px;
}

.restaurant-flavours {
    border-top: 1px solid rgba(237, 202, 139, .25);
    margin-top: 60px;
    padding-top: 48px;
}

.restaurant-flavours__heading {
    max-width: 660px;
    margin: 0 auto 32px;
    text-align: center;
}

.restaurant-flavours__heading h2 {
    color: var(--dining-ivory);
    font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 400;
    line-height: 1.4;
    margin: 12px 0;
}

.restaurant-flavours__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.restaurant-flavour {
    background: rgba(22, 56, 94, .78);
    border: 1px solid rgba(237, 202, 139, .28);
    border-radius: 16px;
    padding: 26px 10px 24px;
    text-align: center;
    min-width: 0;
}

.restaurant-flavour__icon {
    align-items: center;
    background: #f5dfb7;
    border-radius: 50%;
    color: #18395e;
    display: inline-flex;
    font-size: 25px;
    height: 64px;
    justify-content: center;
    width: 64px;
    margin-bottom: 18px;
}

.restaurant-flavour h3 {
    color: var(--dining-ivory);
    font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 8px;
}

.restaurant-flavour p {
    color: var(--dining-muted);
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}


/* Two stacked photos: the original remains underneath as a loading fallback. */

.restaurant-list-section .restaurant-card__image img {
    display: block;
    transform: scale(1);
    transition: opacity .65s ease, transform .85s cubic-bezier(.22, .61, .36, 1);
}

.restaurant-list-section .restaurant-card__photo--alternate {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.restaurant-list-section .restaurant-card__image:focus-visible {
    outline-offset: -4px;
}

.restaurant-list-section .restaurant-card__link {
    position: relative;
    min-height: 44px;
    transition: color .3s ease;
}

.restaurant-list-section .restaurant-card__link:after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s ease;
}

.restaurant-list-section .restaurant-card h3 a {
    transition: color .3s ease;
}

.restaurant-list-section .restaurant-card__link i {
    transition: transform .35s ease, color .3s ease;
}

.restaurant-flavour {
    transition: transform .4s cubic-bezier(.22, .61, .36, 1), background .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.restaurant-flavour__icon {
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), background .35s ease, box-shadow .35s ease;
}

.restaurant-flavour h3 {
    transition: color .3s ease;
}

.restaurant-list-section .restaurant-card__link:focus-visible {
    color: var(--dining-ivory);
}

.restaurant-list-section .restaurant-card__link:focus-visible:after {
    transform: scaleX(1);
}


/* Keyboard navigation gets the same alternate view without trapping a touch tap. */

.restaurant-list-section .restaurant-card.has-alternate-image:has(:focus-visible) .restaurant-card__photo--alternate {
    opacity: 1;
    transform: scale(1.035);
}

@media (hover: hover) and (pointer: fine) {
    .restaurant-list-section .restaurant-card:hover .restaurant-card__photo {
        transform: scale(1.035);
    }
    .restaurant-list-section .restaurant-card.has-alternate-image:hover .restaurant-card__photo--alternate {
        opacity: 1;
    }
    .restaurant-list-section .restaurant-card__link:hover {
        color: var(--dining-ivory);
    }
    .restaurant-list-section .restaurant-card__link:hover:after {
        transform: scaleX(1);
    }
    .restaurant-list-section .restaurant-card__link:hover i {
        color: var(--dining-ivory);
        transform: translateX(5px);
    }
    .restaurant-flavour:hover {
        transform: translateY(-6px);
        background: rgba(36, 73, 116, .92);
        border-color: rgba(237, 202, 139, .75);
        box-shadow: 0 14px 28px rgba(3, 17, 35, .22);
    }
    .restaurant-flavour:hover .restaurant-flavour__icon {
        transform: translateY(-3px) rotate(-7deg) scale(1.06);
        background: #ffe9bf;
        box-shadow: 0 0 0 7px rgba(237, 202, 139, .08);
    }
    .restaurant-flavour:hover h3 {
        color: var(--dining-gold);
    }
}

@media (hover: none),
(pointer: coarse) {
    .restaurant-list-section .restaurant-card__explore {
        opacity: 1;
        transform: none;
    }
    .restaurant-list-section .restaurant-card__link:active {
        color: var(--dining-ivory);
    }
    .restaurant-list-section .restaurant-card__link:active:after {
        transform: scaleX(1);
    }
    .restaurant-flavour:active {
        background: rgba(36, 73, 116, .92);
        border-color: var(--dining-gold);
    }
}

@media (max-width: 1024px) {
    .restaurant-flavours__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .restaurant-list-section {
        padding: 42px 0 48px;
    }
    .restaurant-section-heading {
        margin-bottom: 32px;
    }
    .restaurant-section-heading h1 {
        font-size: 25px;
    }
    .restaurant-list-section .restaurant-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .restaurant-section-heading p,
    .restaurant-flavours__heading p {
        text-align: justify;
    }
    .restaurant-list-section .restaurant-card h3 {
        font-size: 21px;
    }
    .restaurant-list-section .restaurant-card__body {
        padding-top: 16px;
    }
    .restaurant-flavours {
        margin-top: 40px;
        padding-top: 32px;
    }
    .restaurant-flavours__heading h2 {
        font-size: 21px;
    }
    .restaurant-flavours__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .restaurant-flavour {
        padding: 22px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .restaurant-list-section *,
    .restaurant-list-section *:before,
    .restaurant-list-section *:after {
        transition: none !important;
        animation: none !important;
    }
    .restaurant-list-section .restaurant-card .restaurant-card__photo,
    .restaurant-list-section .restaurant-flavour,
    .restaurant-list-section .restaurant-flavour__icon,
    .restaurant-list-section .restaurant-card__link i {
        transform: none !important;
    }
}