
/**
 * Sai Travel — Featured Hotel Section
 *
 * Responsive, full-width accommodation preview.
 */

/* ==========================================
   1. SECTION
========================================== */

.sai-featured-hotel {
    width: 100%;
    margin: 0 !important;
    background: #F4F7F7;
}

.sai-featured-hotel__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;

    width: 100% !important;
    max-width: none !important;

    margin: 0 auto !important;

    padding:
        clamp(64px, 8vw, 112px)
        var(--sai-page-gutter, 5.5vw);

    gap: clamp(32px, 5vw, 88px);
}

/* ==========================================
   2. HOTEL IMAGE
========================================== */

.sai-featured-hotel__media {
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;

    margin: 0 !important;

    overflow: hidden;
    border-radius: 20px;

    background: #DDE9E8;
}

.sai-featured-hotel__image {
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.sai-featured-hotel__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Image placeholder */

.sai-featured-hotel__placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    margin: 0 !important;

    background: linear-gradient(
        135deg,
        #DDEBE9,
        #BAD5D1
    );
}

.sai-featured-hotel__placeholder p {
    color: #426A72;
    font-size: 1.2rem;
    font-weight: 650;
    letter-spacing: 0.15em;
}

/* ==========================================
   3. CONTENT
========================================== */

.sai-featured-hotel__content {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    min-width: 0;

    margin: 0 !important;
}

.sai-featured-hotel__content > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sai-featured-hotel__eyebrow {
    margin-bottom: 20px;

    color: #647780;

    font-size: 0.82rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sai-featured-hotel__title {
    max-width: 700px;

    margin-top: 0;
    margin-bottom: 24px;

    color: #172A33;

    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
    font-weight: 650;

    letter-spacing: -0.05em;
    line-height: 1.12;
}

.sai-featured-hotel__description {
    max-width: 540px;

    margin-bottom: 32px;

    color: #647780;

    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.75;
}

/* ==========================================
   4. BUTTON
========================================== */

.sai-featured-hotel__actions {
    margin-top: 0 !important;
}

.sai-featured-hotel__button
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 26px;

    border-radius: 8px;

    background: #173C49;
    color: #FFFFFF;

    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 600;

    text-decoration: none;

    transition: background-color 0.2s ease;
}

.sai-featured-hotel__button
.wp-block-button__link:hover {
    background: #285968;
    color: #FFFFFF;
}

/* ==========================================
   5. TABLET AND MOBILE
========================================== */

@media (max-width: 900px) {

    .sai-featured-hotel__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sai-featured-hotel__media {
        aspect-ratio: 16 / 10;
    }

    .sai-featured-hotel__title {
        font-size: clamp(2.2rem, 6vw, 3.6rem);
    }
}

@media (max-width: 600px) {

    .sai-featured-hotel__inner {
        padding: 64px 20px;
        gap: 32px;
    }

    .sai-featured-hotel__media {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .sai-featured-hotel__title {
        font-size: clamp(2.1rem, 8vw, 3rem);
    }

    .sai-featured-hotel__description {
        font-size: 1rem;
    }

    .sai-featured-hotel__button
    .wp-block-button__link {
        padding: 14px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sai-featured-hotel__button
    .wp-block-button__link {
        transition: none;
    }
}
