/* Guest heading details use the selected accent; content tone never replaces the visitor's palette. */
.guest-section-heading {
 --section-accent:var(--studio-color-accent);display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px;min-width:0;
}
.guest-section-heading__label {
 display:flex;align-items:center;gap:12px;position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;
 width:235px;min-height:54px;max-width:100%;padding:7px 10px;border:1px solid color-mix(in srgb,var(--section-accent) 22%,var(--studio-color-border));
 border-radius:18px 18px 8px 18px;background:linear-gradient(115deg,color-mix(in srgb,var(--section-accent) 13%,var(--studio-color-surface)),color-mix(in srgb,var(--studio-color-canvas) 65%,var(--studio-color-surface)));
 box-shadow:inset 0 1px 0 color-mix(in srgb,var(--section-accent) 15%,transparent),0 8px 24px #00000008;
}
[dir=ltr] .guest-section-heading__label {border-radius:18px 18px 18px 8px}
.guest-section-heading__label::after {content:'';position:absolute;inset-inline-start:52px;bottom:0;width:64px;height:2px;border-radius:4px;background:linear-gradient(90deg,var(--section-accent),transparent)}
.guest-section-heading__label>div {min-width:0;flex:0 1 auto}
.guest-section-heading .guest-section-heading__label h2 {margin:1px 0 0!important;font-size:16px!important;line-height:1.45!important;font-weight:800;color:var(--studio-color-text);overflow-wrap:anywhere}
.guest-section-heading__eyebrow {display:block;font-size:8.5px;line-height:1.4;letter-spacing:.035em;font-weight:700;text-align:start;color:var(--studio-color-text-muted);overflow-wrap:anywhere}
.guest-section-heading__icon {position:relative;display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;border:1px solid color-mix(in srgb,var(--section-accent) 34%,transparent);color:var(--section-accent);background:color-mix(in srgb,var(--section-accent) 11%,var(--studio-color-canvas));box-shadow:0 0 20px color-mix(in srgb,var(--section-accent) 9%,transparent)}
.guest-section-heading__icon svg {width:17px;height:17px}
.guest-section-heading__spark {position:absolute;inset-inline-end:9px;bottom:9px;font-size:10px;color:var(--section-accent);opacity:.7}
.guest-section-heading__controls {display:flex;gap:8px;flex-shrink:0}
.guest-section-heading__controls button {display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--studio-color-border);background:var(--studio-color-surface);color:var(--section-accent);border-radius:14px;font-size:21px;cursor:pointer;transition:background .2s,border-color .2s}
.guest-section-heading__controls button:hover {background:color-mix(in srgb,var(--section-accent) 12%,var(--studio-color-surface));border-color:var(--section-accent)}
.guest-section-heading button:focus-visible {outline:2px solid var(--section-accent);outline-offset:3px}
body.studio-theme [data-guest-landing] :is(.builder-memberships__container,.studio-exact-latest) {box-sizing:border-box;width:100%;max-width:1600px;margin-inline:auto;padding-inline:clamp(16px,4vw,60px)}
.guest-membership-description {color:var(--studio-color-text-muted);font-size:14px;line-height:1.8;margin:0 0 24px}
@media(max-width:820px) {
 .guest-section-heading__label {width:auto;max-width:100%;padding:0;border:0;background:none;box-shadow:none;border-radius:0}
 .guest-section-heading .guest-section-heading__label h2{font-size:20px!important;white-space:normal;overflow:visible}
 .guest-section-heading__eyebrow{font-size:10px;line-height:1.5}
 .guest-section-heading__label::after,.guest-section-heading__spark{display:none}
}
@media(max-width:480px) {
 /* Let the label shrink beside the controls while keeping both touch targets intact. */
 .guest-section-heading {gap:8px;flex-wrap:nowrap;margin-bottom:22px}.guest-section-heading__label {min-width:0;width:auto;max-width:100%;min-height:50px;padding:0;gap:9px;border-radius:0}
 [dir=ltr] .guest-section-heading__label {border-radius:16px 16px 16px 7px}
 .guest-section-heading .guest-section-heading__label h2 {font-size:20px!important}
 .guest-section-heading__icon {width:29px;height:29px;flex-basis:29px;border-radius:9px}.guest-section-heading__icon svg {width:16px;height:16px}
 .guest-section-heading__eyebrow {font-size:10px}.guest-section-heading__controls {gap:4px}.guest-section-heading__label::after {inset-inline-start:45px;width:54px}
}
@media(prefers-reduced-motion:reduce) {.guest-section-heading__controls button {transition:none}}

/* The first catalogue section needs breathing room below the guest hero. */
body.studio-theme [data-guest-landing] .studio-exact-latest {margin-top:56px}
@media(max-width:820px){body.studio-theme [data-guest-landing] .studio-exact-latest {margin-top:40px}}
@media(max-width:480px){body.studio-theme [data-guest-landing] .studio-exact-latest {margin-top:30px}}

.story-wave-heading .guest-section-heading__label h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
