.home-page-content {
    overflow: hidden;
    padding-bottom: 2rem;
    background:
        radial-gradient(circle at 8% 8%, rgba(var(--lb-site-color-rgb), 0.12), transparent 24rem),
        #f7f8f6;
}

.home-page-content > * {
    width: min(calc(100% - 2rem), 1024px);
    margin-inline: auto;
}

.home-page-content > .lb-home {
    width: 100%;
    max-width: none;
}

.home-page-content > .edit_link {
    position: static;
    margin-block: 1rem;
}

.lb-home {
    --lb-home-color: var(--lb-site-color, #1565c0);
    --lb-home-color-rgb: var(--lb-site-color-rgb, 21, 101, 192);
    --lb-home-ink: #17211c;
    --lb-home-muted: #53615a;
    --lb-home-surface: #fff;
    --lb-home-soft: #f1f4f1;
    color: var(--lb-home-ink);
}

.editor-styles-wrapper .lb-home--rooms {
    --lb-home-color: #1565c0;
    --lb-home-color-rgb: 21, 101, 192;
}

.editor-styles-wrapper .lb-home--cars {
    --lb-home-color: #e53935;
    --lb-home-color-rgb: 229, 57, 53;
}

.editor-styles-wrapper .lb-home--flights {
    --lb-home-color: #2196f3;
    --lb-home-color-rgb: 33, 150, 243;
}

.editor-styles-wrapper .lb-home--golf {
    --lb-home-color: #689f38;
    --lb-home-color-rgb: 104, 159, 56;
}

.editor-styles-wrapper .lb-home--holidays {
    --lb-home-color: #f57c00;
    --lb-home-color-rgb: 245, 124, 0;
}

.editor-styles-wrapper .lb-home--restaurants {
    --lb-home-color: #f9a825;
    --lb-home-color-rgb: 249, 168, 37;
}

.editor-styles-wrapper .lb-home--tables {
    --lb-home-color: #ad1457;
    --lb-home-color-rgb: 173, 20, 87;
}

.editor-styles-wrapper .lb-home--tickets {
    --lb-home-color: #90a4ae;
    --lb-home-color-rgb: 144, 164, 174;
}

.lb-home :where(h2, h3) {
    margin-top: 0;
}

.lb-home :where(h2, h3) {
    color: var(--lb-home-ink);
}

.lb-home h2 {
    max-width: 30ch;
    margin-bottom: 1rem;
    font-size: clamp(1.7rem, 4vw, 2.55rem);
    font-weight: var(--letsbook-ui-heading-weight, 900);
    line-height: 1.05;
}

.lb-home h3 {
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
    line-height: 1.15;
}

.lb-home-kicker {
    margin-top: 0;
    margin-bottom: 0.55rem;
    color: var(--lb-home-color);
    font-size: 0.78rem;
    font-weight: var(--letsbook-ui-bold-weight, 700);
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.lb-home-hero {
    position: relative;
    padding: clamp(2.5rem, 7vw, 6rem) max(1rem, calc((100vw - 1024px) / 2));
    background:
        radial-gradient(circle at 82% 18%, rgba(var(--lb-home-color-rgb), 0.22), transparent 20rem),
        linear-gradient(135deg, #fff 0%, #edf1ed 100%);
}

.lb-home-hero::before {
    position: absolute;
    inset: 1.5rem auto auto max(1rem, calc((100vw - 1024px) / 2));
    width: 4rem;
    border-top: 0.4rem solid var(--lb-home-color);
    content: "";
}

.lb-home-hero__columns {
    max-width: 1024px;
    margin: 0 auto;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.lb-home-hero__copy {
    max-width: 39rem;
    margin-top: 0;
    color: var(--lb-home-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.55;
}

.lb-home-actions {
    margin-top: 1.4rem;
}

.lb-home-actions .wp-block-button__link {
    display: inline-block;
    padding: 0.7rem 1.1rem;
    border: 2px solid var(--lb-home-color);
    border-radius: 999px;
    background: var(--lb-home-color);
    color: var(--lb-on-site-color, #fff);
    font-weight: 700;
    text-decoration: none;
}

.lb-home-actions .wp-block-button__link:hover,
.lb-home-actions .wp-block-button__link:focus-visible {
    filter: brightness(0.9);
    text-decoration: none;
}

.lb-home-hero__image img {
    width: 100%;
    min-height: 20rem;
    max-height: 30rem;
    object-fit: cover;
    border-radius: 45% 45% 8% 45%;
    box-shadow: 1.2rem 1.2rem 0 rgba(var(--lb-home-color-rgb), 0.2);
}

.lb-home-section {
    padding: clamp(2.75rem, 7vw, 5rem) max(1rem, calc((100vw - 1024px) / 2));
}

.lb-home-tool {
    max-width: 1024px;
    margin: 0 auto;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-top: 0.35rem solid var(--lb-home-color);
    border-radius: 0.85rem;
    background: var(--lb-home-surface);
    box-shadow: 0 1rem 2.5rem rgba(23, 33, 28, 0.09);
}

.lb-home-tool + .lb-home-tool {
    margin-top: 2rem;
}

.lb-home-tool > p {
    max-width: 48rem;
    margin-top: 0;
    color: var(--lb-home-muted);
    font-size: 1.05rem;
}

.lb-home-tool > .wp-block-shortcode {
    margin-top: 1.5rem;
}

.lb-home-benefits {
    background:
        linear-gradient(rgba(var(--lb-home-color-rgb), 0.06), rgba(var(--lb-home-color-rgb), 0.06)),
        var(--lb-home-soft);
}

.lb-home-benefits > :where(.lb-home-kicker, h2, .lb-home-feature-grid) {
    max-width: 1024px;
    margin-inline: auto;
}

.lb-home-benefits > h2 {
    text-align: center;
}

.lb-home-feature-grid {
    gap: 1rem;
    margin-top: 1.5rem;
}

.lb-home-feature-card {
    height: 100%;
    padding: 1.25rem;
    border-inline-start: 0.3rem solid var(--lb-home-color);
    background: rgba(255, 255, 255, 0.78);
}

.lb-home-feature-card p {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--lb-home-muted);
}

.lb-home-future {
    position: relative;
    width: min(calc(100% - 2rem), 1024px);
    max-width: 1024px;
    margin: clamp(2.75rem, 7vw, 5rem) auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    overflow: hidden;
    border-radius: 1rem;
    background: var(--lb-home-ink);
    color: #fff;
}

.lb-home-future::after {
    position: absolute;
    inset: auto -4rem -6rem auto;
    width: 14rem;
    aspect-ratio: 1;
    border: 2rem solid rgba(var(--lb-home-color-rgb), 0.45);
    border-radius: 50%;
    content: "";
}

.lb-home-future > * {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.lb-home-future h2 {
    color: #fff;
}

.lb-home-future p:not(.lb-home-kicker) {
    margin-top: 0;
    color: #dce3df;
    font-size: 1.05rem;
}

/*
 * Gutenberg already constrains the editing canvas to the theme content width.
 * Avoid applying the front-end viewport gutter a second time inside the editor.
 */
.editor-styles-wrapper .lb-home {
    width: 100%;
    max-width: none;
}

.editor-styles-wrapper .lb-home-hero,
.editor-styles-wrapper .lb-home-section {
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.editor-styles-wrapper .lb-home-hero::before {
    left: clamp(1rem, 3vw, 2rem);
}

.editor-styles-wrapper .lb-home-hero__columns,
.editor-styles-wrapper .lb-home-tool,
.editor-styles-wrapper .lb-home-future {
    width: 100%;
    max-width: none;
}

.editor-styles-wrapper .lb-home .wp-block-columns,
.editor-styles-wrapper .lb-home .wp-block-column {
    min-width: 0;
}

@media (max-width: 781px) {
    .lb-home-hero::before {
        top: 1rem;
    }

    .lb-home-hero__image {
        margin-top: 1rem;
    }

    .lb-home-hero__image img {
        min-height: 15rem;
        border-radius: 2rem 2rem 0.5rem 2rem;
        box-shadow: 0.65rem 0.65rem 0 rgba(var(--lb-home-color-rgb), 0.2);
    }

}

@media (prefers-reduced-motion: reduce) {
    .lb-home-actions .wp-block-button__link {
        transition: none;
    }
}
