/* * UI Component: Dark Theme Centered Info Card (WP-Native Alignment)
 * Refactored for strictly vertical, centered layout without iframe/map.
 * Optimized for layout recalculation performance (Flexbox replacing Grid).
 */

/* 1. Outer Wrapper */
.wp-block-group .hotelSection2 {
    background-color: var(--site-bg-color); 
    font-family: var(--font-primary);
    padding-top: var(--hotel-section-large-gap);
    padding-bottom: 0px; 
    box-sizing: border-box;
    margin-bottom: 160px;
    margin-top: -160px;
}

/* 2. Inner Wrapper - The Dark Card (Refactored to Flexbox Column) */
.hotelSection2 > .wp-block-group {
    background-color: var(--hotel-section-background);
    border-radius: var(--hotel-section-corner-radius);
    padding: var(--hotel-section-padding);
    box-sizing: border-box;
    
    display: flex !important; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--hotel-section-large-gap);
}

/* 3. Typography & Positioning */
.hotelSection2 .hotel-section-header {
    font-size: var(--h1-font-size);
    line-height: var(--h1-line-height);
    font-weight: var(--h1-font-weight);
    color: var(--h1-text-color);
    text-transform: var(--h1-text-transform);
    letter-spacing: var(--h1-letter-spacing);
    margin: 0 0 1rem 0;
    line-height: 1.1;
    transition: font-size 0.3s ease-in-out; 
    width: 100%;
}

/* Inner Flex Container - Stacked Vertically */
.hotelSection2 .is-content-justification-space-between {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 3rem; 
    width: 100%;
}

/* Info Boxes Reset & Centered Structure */
.hotelSection2 .Single-info-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 100%;
    text-align: center !important;
}

.hotelSection2 .Single-info-box-header {
    font-size: var(--h3-font-size);
    color: var(--contact-text-muted);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: font-size 0.3s ease-in-out;
}

.hotelSection2 .Single-info-box-desc {
    font-size: var(--p-font-size) !important;
    line-height: var(--p-line-heght);
    color: var(--p-text-color);
    margin: 0 0 0.25rem 0; 
    transition: font-size 0.3s ease-in-out;
}

/* Button Positioning */
.hotelSection2 .wp-block-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem; 
}

/* ==========================================================================
   Hotel Section 2 Mobile Layout Override (Resolutions <= 1190px)
   ========================================================================== */
@media (max-width: 800px){
    .wp-block-group .hotelSection2 {
        margin-top: -60px !important;
    }
}
@media (max-width: 1190px) {
    
    .hotelSection2 {
        padding: 30px 0;
        overflow-x: hidden; 
    }

    .hotelSection2 > .wp-block-group {
        gap: 40px;
        padding: 50px 20px; 
        border-radius: 30px; 
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
        max-width: 100%;
    }

    .hotelSection2 .is-content-justification-space-between {
        gap: 30px;
    }

    .hotelSection2 .is-content-justification-space-between > .Single-info-box {
        align-items: center !important;
        align-self: center !important;
        margin-left: auto !important; 
        margin-right: auto !important; 
    }

    .hotelSection2 .hotel-section-header {
        font-size: var(--mobile-scaled-h1-font-size) !important;
        hyphens: auto;
        margin-bottom: 0; 
    }

    .hotelSection2 .Single-info-box-header {
        font-size: var(--mobile-h3-font-size);
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hotelSection2 .Single-info-box-desc {
        font-size: var(--p-mobile-font-size) !important;
    }
}