/* ============================================
   HOTEL GROUP — Shared Styles
   ============================================ */

/* ---------- Show Page: Hotel Group Card ---------- */
.hotel-group-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    border: 1px solid #f0ece6;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hotel-group-card:hover {
    box-shadow: 0 14px 34px rgba(249, 122, 0, 0.16);
    transform: translateY(-3px);
}

.hotel-group-card__cover {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f1ed;
}

.hotel-group-card__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-group-card:hover .hotel-group-card__cover img {
    transform: scale(1.05);
}

.hotel-group-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.85rem 1rem 1rem;
}

.hotel-group-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #232323;
    text-decoration: none;
    line-height: 1.5;
}

.hotel-group-card__title:hover {
    color: var(--cl-primary);
    text-decoration: none;
}

.hotel-group-card__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: #f5a623;
}

.hotel-group-card__address {
    margin: 0;
    font-size: 0.78rem;
    color: #8a8a8a;
    line-height: 1.6;
}

.hotel-group-card__more {
    margin-top: 0.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--cl-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.hotel-group-card__more:hover {
    text-decoration: none;
    color: var(--cl-primary);
    gap: 0.55rem;
    transition: gap 0.2s ease;
}

/* ---------- Index Page: Section ---------- */
.section-page-hotel-group {
    color: rgb(69, 69, 69);
}

.hotel-section {
    width: min(100% - 80px, 1400px);
    margin: 20px auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header h1,
.section-header .main-title {
    font-size: 21px;
    font-weight: 700;
}

/* ---------- Index Page: Card ---------- */
.card-group-hotels {
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.card-group-hotels img {
    border-radius: 12px;
    object-fit: contain;
}

.hotel-image {
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    order: 2;
}

.hotel-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 1.2rem 1rem;
}

.hotel-heading {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 5px;
}

.hotel-heading h2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    white-space: nowrap;
}

.hotel-heading p {
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.8;
}

.hotel-cities {
    margin-top: 7px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--primary-10);
    color: var(--primary-50);
    font-size: 11px;
    font-weight: bold;
}

.hotel-link {
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-top: auto;
    color: #304354;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hotel-link svg {
    width: 15px;
    height: 15px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1050px) {
    .hotel-image {
        width: 240px;
        min-width: 240px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
    .hotel-section {
        width: calc(100% - 24px);
        margin: 14px auto;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .section-header h1,
    .section-header .main-title {
        font-size: 18px;
    }

    .hotel-image {
        width: 125px;
        min-width: 125px;
        height: 128px;
    }

    .hotel-content {
        padding: 10px;
    }

    .hotel-heading h2 {
        max-width: 150px;
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
    }

    .hotel-cities {
        margin-top: 5px;
        padding: 2px 7px;
        font-size: 9px;
    }

    .hotel-link {
        font-size: 10px;
    }
}
