/* V13: restrained affiliate modules, isolated from the existing editorial design. */
.bh-affiliates{margin:28px 0;padding:26px;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--ink);scroll-margin-top:140px}
.bh-affiliates h2{font-size:clamp(1.35rem,2.1vw,1.9rem);line-height:1.22;margin:8px 0 14px;letter-spacing:-.025em}
.bh-disclosure{font-size:.89rem;line-height:1.6;color:var(--muted);padding:12px 14px;background:var(--soft);border-radius:12px;margin:0 0 20px}
.bh-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bh-provider{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid var(--line);border-radius:17px;background:var(--bg);overflow-wrap:anywhere}
.bh-provider-category{font-size:.82rem;line-height:1.4;color:var(--muted);font-weight:700}
.bh-provider h3{font-size:1.2rem;line-height:1.3;margin:8px 0 10px;color:var(--ink)}
.bh-provider p{font-size:.94rem;line-height:1.6;margin:0 0 18px;color:var(--muted)}
.bh-provider .btn{margin-top:auto;line-height:1.35;font-size:.94rem;min-height:46px;border-radius:12px;text-align:center;text-wrap:balance;box-shadow:none}
.bh-provider .btn:focus-visible,.bh-more:focus-visible,.bh-cookie-settings:focus-visible{outline:3px solid var(--brand2);outline-offset:4px}
.bh-generic{font-size:.85rem;color:var(--muted);line-height:1.55;margin:18px 0 14px}
.bh-more{font-weight:800;display:inline-block;line-height:1.5}
.bh-affiliates-compact{padding:20px;margin-top:20px}
.bh-affiliates-compact .bh-provider-grid{grid-template-columns:1fr}
.bh-affiliates-compact .bh-provider{padding:15px}
.bh-affiliates-compact h2{font-size:1.35rem}
.bh-affiliates-compact .bh-disclosure{font-size:.8rem;padding:10px}
.bh-cookie-settings{appearance:none;background:transparent;border:0;padding:0;color:inherit;font:inherit;text-align:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.bh-stay-link{margin-top:26px}
.bh-plan-hero .hero-visual{max-height:360px}
.bh-plan-hero .hero-visual img{height:360px;min-height:0}
.bh-planner>.grid.two{margin-top:28px}
@media(max-width:980px){.bh-affiliates-compact .bh-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.bh-affiliates{padding:18px;margin:22px 0}.bh-provider-grid,.bh-affiliates-compact .bh-provider-grid{grid-template-columns:1fr}.bh-provider{padding:17px}.bh-plan-hero .hero-visual,.bh-plan-hero .hero-visual img{height:235px;min-height:0}}
@media(prefers-color-scheme:dark){.bh-affiliates .kicker,.bh-more{color:#9cdec1}.bh-disclosure{background:var(--soft)}.bh-provider{background:var(--bg)}}
@media(prefers-reduced-motion:reduce){.bh-provider .btn:hover{transform:none}}

/* Keep the keyboard skip link accessible without creating a 999px RTL overflow. */
.skip:not(:focus){left:0;top:0;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* V14: four provider cards use a balanced layout; destination cards retain RTL support. */
.bh-affiliates[data-has-getyourguide="true"]:not(.bh-affiliates-compact) .bh-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:620px){.bh-affiliates[data-has-getyourguide="true"]:not(.bh-affiliates-compact) .bh-provider-grid{grid-template-columns:1fr}}
