/* ACCOMMODATION PAGE */

/* ===============================
   TOP SUMMARY COLUMNS (SLEEPS / BEDROOMS / etc.)
================================ */
.accommodation-top-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
}

.accommodation-top-row-tight {
    margin-top: 1px;
    margin-bottom: 1px;
}

.accommodation-top-column {
    text-align: center;
    flex: 1;
    min-width: 0;
    max-width: 25%;
    padding: 2px;
    font-family: "benton-modern-display", serif;
    font-size: normal;
    white-space: normal;
    word-break: break-word;
}

/* Mobile: use a clean 4-column grid for the TOP summary only */
@media (max-width: 768px) {
    .accommodation-top-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        justify-content: initial; /* overrides space-around */
    }

    .accommodation-top-column {
        max-width: none;          /* remove the 25% cap */
        padding: 6px 4px;
        font-size: 12px;          /* tighten text */
        line-height: 1.15;
    }

    /* icons + numbers stay centered */
    .accommodation-top-column span {
        display: inline-block;
    }
}

/* Extra-small phones */
@media (max-width: 420px) {
    .accommodation-top-column {
        font-size: 11px;
    }
}

/* ===============================
   FEATURE ROWS (Property highlights, Kitchen, Bedrooms etc.)
   Goal:
   - rows with 3 items = 33/33/33
   - rows with 2 items = 50/50
   - "double" item = takes 2 shares (like 2 columns)
================================ */

/* Main Rows */
.accommodation-row {
    display: flex;
    flex-wrap: nowrap;           /* keep each row as a single line on desktop */
    gap: 12px;                   /* even spacing between items */
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

/* (If you still use this class anywhere) */
.accommodation-row-tight {
    margin-top: 1px;
    margin-bottom: 1px;
}

/* Standard item: evenly shares width with siblings */
.accommodation-column {
    flex: 1 1 0;                 /* KEY: equal widths across row */
    max-width: none;             /* remove old 25% cap */
    min-width: 0;                /* prevents overflow forcing squish */
    padding: 0 4px;
    text-align: left;
    box-sizing: border-box;
}

/* Double item: takes 2 shares of the row */
.accommodation-column-double {
    flex: 2 1 0;                 /* 2x width compared to a normal item */
    max-width: none;
    min-width: 0;
    padding: 0 4px;
    text-align: left;
    box-sizing: border-box;
}

/* Mobile: allow feature rows to wrap/stack neatly */
@media (max-width: 768px) {
    .accommodation-row {
        flex-wrap: wrap;         /* allow stacking */
    }

    .accommodation-column,
    .accommodation-column-double {
        flex: 1 1 100%;          /* stack each item full width */
        max-width: 100%;
    }
}

/* ===============================
   IMAGE SECTION (if used elsewhere on the page)
================================ */
.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.images img {
    width: 45%;
    height: auto;
    object-fit: cover;
    box-shadow: #171717;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
                0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
