/* Sondos Camp | Shared layout and spacing correction v122 | 2026-11-15.
   Purpose: remove the legacy 1180px planner cap; preserve the 1400px site grid;
   reproduce the owner-approved white rounded planner surface, with responsive gutters. */

:root {
    --sc-container: 1400px;
    --sc-page-gutter: clamp(18px, 3vw, 40px);
    --sc-content-pad: clamp(18px, 2.2vw, 34px);
    --sc-section-rhythm: clamp(28px, 4vw, 56px);
    --sc-card-inset: clamp(20px, 2.25vw, 32px);
    --sc-planner-card-pad: clamp(16px, 2vw, 28px);
}

/* Containers always retain room between content and the viewport. */
body .shell {
    box-sizing: border-box;
    max-width: 1400px;
}
body main.inner-page .shell.inner-content {
    width: min(var(--sc-container), calc(100% - 2 * var(--sc-page-gutter)));
    max-width: var(--sc-container);
    padding: clamp(36px, 4.5vw, 68px) var(--sc-content-pad) 56px;
    margin-inline: auto;
    box-sizing: border-box;
    min-width: 0;
}
body main.inner-page .inner-content > :is(.wp-block-group, .wp-block-columns, .wp-block-image, .wp-block-buttons, .scub-day-use, .sc-stay-section-wrap) {
    max-width: 100%;
    box-sizing: border-box;
}
body main.inner-page .inner-content > p {
    margin-block: 0 clamp(22px, 3vw, 38px);
}
body main.inner-page .inner-content > p + .sc-editorial-section {
    margin-top: clamp(16px, 2vw, 28px);
}
body main.inner-page .inner-content .sc-editorial-section {
    width: 100%;
    margin-block: clamp(20px, 3vw, 36px);
    padding-block: clamp(14px, 2.4vw, 34px);
    min-width: 0;
}
body main.inner-page .inner-content .sc-editorial-section > .wp-block-group__inner-container {
    min-width: 0;
}
body main.inner-page .inner-content .sc-content-split {
    column-gap: clamp(24px, 4vw, 64px);
    row-gap: clamp(22px, 3vw, 40px);
}
body main.inner-page .inner-content .sc-content-split > .wp-block-column,
body main.inner-page .inner-content .sc-content-split figure,
body main.inner-page .inner-content .sc-content-split img {
    min-width: 0;
    max-width: 100%;
}
body main.inner-page .inner-content .sc-card-grid {
    gap: clamp(18px, 2.4vw, 30px);
    align-items: stretch;
}
body main.inner-page .inner-content .sc-info-card {
    padding: var(--sc-card-inset);
    overflow-wrap: break-word;
    min-width: 0;
}
body main.inner-page .inner-content .sc-info-card h3 {
    margin: 0 0 12px;
    line-height: 1.35;
}
body main.inner-page .inner-content .sc-info-card p {
    margin: 0;
    line-height: 1.7;
}
body main.inner-page .inner-content .sc-highlight {
    padding: clamp(24px, 3.5vw, 48px);
    margin-block: var(--sc-section-rhythm);
}
body main.inner-page .inner-content .sc-notice {
    margin-block: clamp(22px, 3vw, 36px);
    padding: clamp(17px, 2vw, 24px);
}
body main.inner-page .inner-content :is(.sc-button-row, .wp-block-buttons) {
    gap: clamp(10px, 1.5vw, 18px);
}

/* Guest planner: remove BOTH the plugin's 1180px cap and the page's v118 override.
   A higher-specificity scoped selector defeats the older inline !important rule. */
html body main.inner-page .shell.inner-content .scub-guest-flow {
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 52px) !important;
    padding: var(--sc-planner-card-pad) !important;
    background: #fff !important;
    border: 1px solid #e2e8e3 !important;
    border-radius: clamp(15px, 1.8vw, 22px) !important;
    box-shadow: 0 8px 32px rgb(18 57 54 / 8%) !important;
    box-sizing: border-box;
    min-width: 0;
}
/* The original reference has a legible ivory notice and white text on the green banner. */
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-hero p {
    color: #f3fbf7 !important;
    opacity: 1 !important;
    line-height: 1.65 !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-hero .scub-guest-kicker {
    color: #f6dfb4 !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-summary h2 {
    color: #164b3e !important;
    font-size: clamp(22px, 2.15vw, 29px) !important;
    line-height: 1.22 !important;
    margin-bottom: 20px !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-choice {
    border-radius: 13px !important;
    overflow: hidden;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-choice-copy strong {
    color: #173e35 !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-choices + .scub-guest-feedback {
    margin-top: 16px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-hero {
    padding: clamp(24px, 3.4vw, 46px) !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-progress {
    margin-block: clamp(20px, 2.8vw, 32px) !important;
    gap: clamp(8px, 1.2vw, 16px) !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-progress li {
    padding: clamp(10px, 1.3vw, 17px) !important;
    min-width: 0;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-layout {
    grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr) !important;
    gap: clamp(22px, 3vw, 42px) !important;
    align-items: start;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-body {
    min-width: 0;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-choices {
    gap: clamp(14px, 2vw, 24px) !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-choice-copy {
    padding: clamp(17px, 2vw, 24px) !important;
    gap: 7px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-fields {
    gap: clamp(16px, 2.5vw, 28px);
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-review {
    gap: clamp(12px, 1.8vw, 20px) !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-review > div {
    padding: clamp(16px, 1.8vw, 24px) !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-summary {
    padding: clamp(22px, 2.6vw, 34px) !important;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-notice {
    padding: clamp(16px, 1.7vw, 23px) !important;
}

/* Day-use card surfaces use the same interior rhythm. */
body main.inner-page .inner-content .scub-day-use {
    width: 100%;
    max-width: 100%;
    margin-block: var(--sc-section-rhythm);
    padding: clamp(22px, 3vw, 42px);
    box-sizing: border-box;
}
body main.inner-page .inner-content .scub-day-use-grid {
    gap: clamp(20px, 3vw, 38px);
}
body main.inner-page .inner-content .scub-day-use-quote {
    padding: clamp(20px, 2.2vw, 30px);
}

/* Home booking controls and accommodation cards gain sensible internal room. */
body .booking-strip.shell {
    width: min(1400px, calc(100% - 2 * var(--sc-page-gutter)));
    max-width: 1400px;
    padding: clamp(20px, 2.2vw, 32px);
}
body .booking-strip .booking-fields {
    gap: clamp(12px, 1.6vw, 22px);
}
body .booking-strip .booking-fields label {
    padding-inline-end: clamp(12px, 1.6vw, 20px);
    min-width: 0;
}
body .booking-strip .booking-note {
    margin-top: 16px;
    line-height: 1.6;
}
body .sc-stay-tile__details,
body .sc-stay-tile__body {
    padding: clamp(17px, 1.8vw, 25px);
}
body .site-footer .footer-top {
    gap: clamp(24px, 3vw, 46px);
}

@media (max-width: 900px) {
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: clamp(22px, 3vw, 34px) !important;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-summary {
        position: static !important;
    }
}
@media (max-width: 680px) {
    :root {
        --sc-page-gutter: 18px;
        --sc-content-pad: 12px;
        --sc-section-rhythm: 28px;
    }
    body main.inner-page .shell.inner-content {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow {
        padding: 15px !important;
        border-radius: 16px !important;
    }
    body main.inner-page .inner-content .sc-editorial-section {
        margin-block: 18px;
        padding-block: 16px;
    }
    body main.inner-page .inner-content .sc-card-grid {
        gap: 16px;
    }
    body main.inner-page .inner-content .sc-info-card {
        padding: 20px;
    }
    body main.inner-page .inner-content .sc-highlight {
        padding: 22px;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-hero {
        padding: 24px 20px !important;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-progress li {
        padding: 9px 7px !important;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-choices {
        gap: 15px !important;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-choice-copy {
        padding: 17px !important;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-summary {
        padding: 22px !important;
    }
    body .booking-strip.shell {
        padding: 18px;
    }
    body .booking-strip .booking-fields label {
        padding: 9px 12px;
    }
    body .sc-stay-tile__details,
    body .sc-stay-tile__body {
        padding: 17px;
    }
}
@media (max-width: 420px) {
    :root {
        --sc-page-gutter: 16px;
        --sc-content-pad: 10px;
    }
    body main.inner-page .shell.inner-content {
        padding-top: 28px;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow {
        padding: 12px !important;
        border-radius: 14px !important;
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-progress strong {
        font-size: 10px !important;
    }
    body .scub-day-use-quote p:not(.scub-day-use-helper) {
        align-items: flex-start;
    }
}

/* Staff-facing layouts and general editorial containers: protect narrow viewports. */
body main.inner-page .inner-content :is(.sc-editorial-section, .sc-card-grid, .scub-day-use, .sc-stay-section-wrap) {
    min-width: 0;
}
body main.inner-page .inner-content :is(.wp-block-columns, .wp-block-column, .wp-block-group, .sc-info-card) {
    max-width: 100%;
    box-sizing: border-box;
}
body .site-footer .footer-top > * {
    min-width: 0;
}
body .booking-strip .booking-fields input,
body .booking-strip .booking-fields select {
    min-width: 0;
    max-width: 100%;
}

/* Consolidated former page-local planner overrides (previous v118 HTML block). */
html body .scub-guest-flow,
html body .scub-guest-flow * {
    box-sizing: border-box;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-hero h1 {
    font-size: clamp(29px, 3.5vw, 43px);
    line-height: 1.13;
    margin: 9px 0 11px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-section-head {
    margin-bottom: 18px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-section-head h2 {
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.17;
    margin: 4px 0 10px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-section-head p {
    font-size: 15px;
    line-height: 1.6;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-review > div {
    border-radius: 12px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-review dt {
    font-size: 13px;
    line-height: 1.5;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-summary p {
    margin: 0 0 12px;
    padding: 0 0 12px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-summary > div {
    font-size: 13px;
    line-height: 1.6;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-whatsapp {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    margin: 0 0 12px;
    text-align: center;
    font-size: 15px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-actions {
    align-items: center;
    margin-top: 20px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-actions button {
    min-height: 46px;
    padding: 10px 20px;
    font-size: 15px;
}
html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-feedback:empty {
    display: none;
}
body.page-id-11467 .wa__btn_popup,
body.page-id-11467 .wa__popup_chat_box {
    display: none !important;
}
@media (max-width: 600px) {
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-review {
        grid-template-columns: minmax(0, 1fr);
    }
    html body main.inner-page .shell.inner-content .scub-guest-flow .scub-guest-actions button {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Eight owner-approved room families: generous card rhythm on all viewports. */
body main.inner-page .inner-content .sc-room-families {
    padding-block: clamp(25px, 3vw, 44px);
}
body main.inner-page .inner-content .sc-room-families > h2 {
    margin-bottom: clamp(14px, 2vw, 22px);
}
body main.inner-page .inner-content .sc-room-families > p {
    max-width: 85ch;
    margin-block: 0 clamp(24px, 3vw, 36px);
}
body main.inner-page .inner-content .sc-room-families > .sc-card-grid {
    margin-block: clamp(20px, 2.6vw, 32px);
    gap: clamp(18px, 2.4vw, 30px);
}
body main.inner-page .inner-content .sc-room-family-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(11px, 1.2vw, 15px);
    padding: clamp(22px, 2.5vw, 34px);
    border: 1px solid #e1e8e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgb(14 65 64 / 6%);
}
body main.inner-page .inner-content .sc-room-family-card .sc-room-family-card__eyebrow {
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .04em;
    line-height: 1.4;
    color: #376a64;
}
body main.inner-page .inner-content .sc-room-family-card h3 {
    font-size: clamp(1.25rem, 1.9vw, 1.6rem);
    line-height: 1.25;
    margin: 0;
}
body main.inner-page .inner-content .sc-room-family-card h3 a {
    text-decoration: none;
    color: #123f4a;
}
body main.inner-page .inner-content .sc-room-family-card h3 a:hover,
body main.inner-page .inner-content .sc-room-family-card h3 a:focus-visible {
    text-decoration: underline;
    text-underline-offset: .18em;
}
body main.inner-page .inner-content .sc-room-family-card p {
    margin: 0;
    line-height: 1.6;
}
body main.inner-page .inner-content .sc-room-family-card p:last-child {
    color: #47676c;
    font-size: .9rem;
}
@media (max-width: 680px) {
    body main.inner-page .inner-content .sc-room-families > .sc-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    body main.inner-page .inner-content .sc-room-family-card {
        padding: 22px;
        gap: 12px;
    }
}
