.jhbp-shell {
    width: min(calc(100% - 2rem), 1180px);
    margin: clamp(5rem, 10vw, 9rem) auto;
    display: grid;
    gap: clamp(1.8rem, 5vw, 4rem);
}

.jhbp-header {
    max-width: 48rem;
}

.jhbp-eyebrow {
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: currentColor;
    opacity: 0.68;
}

.jhbp-header h1 {
    margin: 0;
    font-family: var(--jh-heading-font, Georgia, "Times New Roman", serif);
    font-size: clamp(2.4rem, 8vw, 5.4rem);
    line-height: 0.98;
    text-transform: uppercase;
}

.jhbp-header p:not(.jhbp-eyebrow) {
    margin: 1.4rem 0 0;
    max-width: 40rem;
    color: color-mix(in srgb, currentColor 72%, transparent);
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
}

.jhbp-card {
    width: 100%;
    padding: clamp(1.1rem, 3vw, 2.4rem);
    background: color-mix(in srgb, var(--jh-paper, #faf8f2) 90%, #fff);
    border: 1px solid color-mix(in srgb, var(--jh-ink, #11110f) 12%, transparent);
    box-shadow: 0 1.8rem 4rem rgba(17, 17, 15, 0.08);
    overflow-x: auto;
}

.jhbp-card :where(input, select, button, textarea) {
    max-width: 100%;
}

.jhbp-card--iframe {
    padding: 0;
    overflow: hidden;
}

.jhbp-wubook-iframe {
    width: 100%;
    display: block;
    border: 0;
    background: #fff;
}

.jhbp-card--wubook-widget {
    display: grid;
    gap: 1rem;
}

.jhbp-wubook-widget {
    min-height: 88px;
}

.jhbp-wubook-open {
    justify-self: start;
    border: 1px solid var(--jhbp-wubook-button-bg, var(--jh-ink, #11110f));
    background: var(--jhbp-wubook-button-bg, var(--jh-ink, #11110f));
    color: var(--jhbp-wubook-button-text, var(--jh-paper, #faf8f2));
    min-height: 48px;
    padding: 0 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 700px) {
    .jhbp-shell {
        width: min(calc(100% - 1rem), 100%);
        margin-block: 4.5rem;
    }

    .jhbp-card {
        padding: 1rem;
    }
}
