body {
    height: 100vh;
    height: 100dvh;
    background-color: #f7e9d6;
}
section:has( > .split-half) {
    height: 100%;
}
.split-half {
    width: 100%;
    height: 100%;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 1em;
}
.split-half > :nth-child(1) {
    display: none;
}
.split-half > :nth-child(2) {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 0;
    height: calc(100dvh);
}
.split-half > :nth-child(2):has(> header + main + footer) {
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
    "header"
    "main"
    "footer";
}
.split-half > :nth-child(2):has(> header + main) {
    grid-template-rows: auto 1fr;
    grid-template-areas:
    "header"
    "main";
}
.split-half > :nth-child(2):has(> main + footer) {
    grid-template-rows: 1fr auto;
    grid-template-areas:
    "main"
    "footer";
}
.split-half > :nth-child(2):has(footer) {

}
.split-half > :nth-child(2) > header,
.split-half > :nth-child(2) > main,
.split-half > :nth-child(2) > footer {
    padding: 1em;
    border-radius: calc(var(--border-radius) / 2);
}
.split-half > :nth-child(2) > header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.split-half > :nth-child(2) > main {
    border-radius: 0;
}
.split-half > :nth-child(2) > footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}





.split-half > :nth-child(2) > header {
    grid-area: header;
}
.split-half > :nth-child(2) > main {
    grid-area: main;
    --color: #3838380f;
    flex-grow: 1;
    overflow: clip auto;
}
.split-half > :nth-child(2) > main.no-scroll {
    overflow: clip;
}
.split-half > :nth-child(2) > main:has(~ header) {
    border-top: 1px solid var(--color);
    padding-top: 1em;
}
.split-half > :nth-child(2) > main:has(+ footer) {
    border-bottom: 1px solid var(--color);
    padding-bottom: 1em;
}
.split-half > :nth-child(2) > footer {
    grid-area: footer;
}
.split-half > :nth-child(2) > footer:has(> :not(form)) {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
section.booking.component .options > div {
    flex-grow: 1;
    /*min-width: calc(50% - .5em);*/
}

.split-half .middle {
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: center;
}

@media (min-width: 768px) {
    .split-half {
        grid-template-columns: 1fr 1fr;
    }
    .split-half > :nth-child(1) {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: auto;
    }
    .split-half > :nth-child(2) {
        padding: 1em;
    }
    .split-half > :nth-child(2) > header,
    .split-half > :nth-child(2) > main,
    .split-half > :nth-child(2) > footer {
        background-color: white;
    }
}
