/* Shared single-row header. Hidden navigation remains measurable before collapse. */
header.wp-block-template-part:has(.vg-site-header), .vg-header-shell { position:sticky!important; top:0; z-index:80; margin-top:0!important; background:#fff; }
.admin-bar header.wp-block-template-part:has(.vg-site-header), .admin-bar .vg-header-shell { top:var(--wp-admin--admin-bar--height,32px); }
.vg-site-header { background:#fff; border-bottom:1px solid #e3e7ed; color:#18222d; width:100%; box-sizing:border-box; }
.vg-site-header.is-scrolled { box-shadow:0 3px 16px #172b4512; }
.vg-site-header-row { display:flex!important; flex-wrap:nowrap!important; align-items:center; gap:24px; max-width:1240px; min-height:76px; margin:auto; padding:0 24px; box-sizing:border-box; }
.vg-brand { display:block; flex:0 0 160px; width:160px; height:45px; overflow:hidden; }
.vg-brand img { display:block; width:160px; height:45px; max-width:none; object-fit:cover; object-position:center; }
.vg-header-links { display:flex; gap:24px; align-items:center; margin-left:auto; flex-shrink:0; white-space:nowrap; }
.vg-header-links a, .vg-menu-modal nav > a:not(.vg-header-plan) { color:inherit; text-decoration:none; font-weight:500; }
.vg-header-links a:hover, .vg-menu-modal nav > a:hover { color:#315ba8; }
.vg-header-tools { display:flex; flex-wrap:nowrap; gap:6px; flex-shrink:0; align-items:center; }
.vg-header-icon { display:inline-flex; flex:0 0 44px; align-items:center; justify-content:center; position:relative; width:44px; height:44px; padding:0; border:0; background:transparent; border-radius:50%; color:#18222d; cursor:pointer; }
.vg-header-icon:hover { background:#edf2fa; }
.vg-header-desktop-plan { flex-shrink:0; white-space:nowrap; }
.vg-header-plan { display:inline-flex; justify-content:center; align-items:center; min-height:44px; padding:.55rem 1.1rem; border-radius:10px; background:#315ba8; color:#fff!important; text-decoration:none; font-size:.9375rem; font-weight:600; box-sizing:border-box; white-space:nowrap; }
.vg-header-plan:hover { background:#244985; }
.vg-header-tools .vg-open-menu { display:none; }
.vg-site-header.is-collapsed .vg-header-links, .vg-site-header.is-collapsed .vg-header-desktop-plan { position:fixed; left:-10000px; top:0; visibility:hidden; width:max-content; margin:0; }
.vg-site-header.is-collapsed .vg-header-tools { margin-left:auto; }
.vg-site-header.is-collapsed .vg-open-menu { display:inline-flex; }
.vg-cart-count { position:absolute; top:0; right:0; border-radius:20px; background:#ed6e19; color:#fff; font:600 11px/18px sans-serif; min-width:18px; padding:0 2px; }
.vg-site-header [hidden], .vg-save-tour-wrap [hidden] { display:none!important; }
.vg-header-dialog { box-sizing:border-box; position:fixed; inset:12vh auto auto 50%; transform:translateX(-50%); width:min(900px,calc(100% - 32px)); max-width:none; max-height:82dvh; margin:0; padding:24px; border:0; border-radius:16px; background:#fff; color:#18222d; box-shadow:0 16px 60px #11274140; }
.vg-header-dialog:not([open]) { display:none; }
.vg-header-dialog::backdrop { background:#10203880; }
.vg-modal-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; }
.vg-modal-heading h2 { margin:0; font-family:inherit; font-size:1.25rem; }
.vg-modal-close { display:flex; justify-content:center; align-items:center; width:44px; height:44px; flex:0 0 44px; font:inherit; font-size:1.65rem; border:0; background:#f0f3f8; border-radius:50%; color:#18222d; cursor:pointer; }
.vg-search-modal { overflow:visible; }
.vg-menu-modal, .vg-cart-modal { width:min(520px,calc(100% - 32px)); overflow-y:auto; }
.vg-menu-modal nav { display:flex; flex-direction:column; gap:8px; }
.vg-menu-modal nav > a { padding:12px; }
.vg-menu-modal .vg-header-plan { margin-top:16px; }
.vg-cart-list { padding:0; list-style:none; margin:16px 0; }
.vg-cart-list li { display:flex; gap:12px; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid #e2e7ee; }
.vg-cart-list a { color:#315ba8; }
.vg-cart-list button { padding:8px; min-height:44px; border:0; background:none; color:#315ba8; text-decoration:underline; cursor:pointer; }
.vg-cart-note { font-size:.875rem; color:#526075; }
.vg-save-tour { display:inline-flex; gap:8px; align-items:center; min-height:44px; padding:.6rem 1rem; font:inherit; font-size:.9375rem; border:1px solid #315ba8; border-radius:24px; color:#315ba8; background:#fff; cursor:pointer; }
.vg-save-tour[aria-pressed=true] { background:#edf2fa; }
.vg-save-status { display:block; font-size:.875rem; margin-top:6px; }
.vg-catalog-destinations { display:flex; flex-wrap:wrap; gap:10px; padding:8px 0; }
.vg-catalog-destinations a { padding:10px 16px; border:1px solid #d8dfe9; border-radius:24px; font-size:.9375rem; color:#315ba8; background:#fff; text-decoration:none; }
.vg-catalog-destinations a[aria-current=page] { background:#315ba8; color:#fff; border-color:#315ba8; }
.vg-site-header :is(a,button):focus-visible, .vg-save-tour:focus-visible { outline:2px solid #315ba8; outline-offset:3px; }
html.vg-header-modal-open { overflow:hidden; }
html { scroll-padding-top:calc(var(--vg-header-h,76px) + 48px); }
@media(max-width:600px) {
 .vg-site-header-row { min-height:64px; gap:12px; padding:0 16px; }
 .vg-brand { flex-basis:120px; width:120px; height:36px; }
 .vg-brand img { width:120px; height:36px; }
 .vg-header-tools { gap:2px; }
 .vg-header-dialog { inset:0; transform:none; width:100%; height:100dvh; max-height:100dvh; border-radius:0; padding:16px; overflow-y:auto; }
 .vg-search-modal .vg-filter-panel { position:static!important; max-height:none!important; }
 .vg-catalog-destinations { flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; padding-bottom:12px; }
 .admin-bar header.wp-block-template-part:has(.vg-site-header), .admin-bar .vg-header-shell { top:0; }
}
@media(prefers-reduced-motion:no-preference) { .vg-header-icon { transition:background .15s; } }

@media(min-width:601px) { .vg-search-modal .vg-filter-panel { max-height:calc(100dvh - 290px); overflow-y:auto; } }

/* 0.34.1: one search dialog that grows with its inline filter fields. */
.vg-search-modal { overflow-x:hidden; overflow-y:auto; }
.vg-search-modal form.vivago-tour-search.vg-search-compact { padding:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
.vg-search-modal form.vg-search-compact .vg-filter-panel { position:static; grid-column:1/-1; grid-row:2; padding:1.25rem 0 0; margin-top:.5rem; border:0; border-top:1px solid #e1e5eb; border-radius:0; box-shadow:none; background:transparent; max-height:none; overflow:visible; }
form.vg-search-compact .vg-filter-panel[hidden] { display:none!important; }
.vg-search-modal form.vg-search-compact .vg-filter-chips { grid-row:3; }
.vg-tour-destinations { margin-bottom:4rem!important; }
.vg-tour-destinations > h2 { margin:.75rem 0 1.5rem; font-size:clamp(1.8rem,3.5vw,2.75rem); }
.vg-tour-destinations .vg-destination-body h3 { font-size:1.25rem; margin:0 0 .75rem; }
.vg-tour-destinations .vg-destination-body h3 a { color:inherit; text-decoration:none; }
@media(max-width:600px) {
 .vg-search-modal form.vg-search-compact .vg-filter-panel { grid-row:3; }
 .vg-search-modal form.vg-search-compact .vg-filter-chips { grid-row:4; }
 .vg-tour-destinations { margin-bottom:2.5rem!important; }
}

/* One native link covers the complete discovery card, including its empty space. */
.vg-destination-card > a.vg-destination-card-link { display:flex; flex:1; flex-direction:column; min-width:0; color:inherit; text-decoration:none; cursor:pointer; }
.vg-destination-card-link .vg-destination-body { flex:1; }
.vg-destination-card-link:is(:hover,:focus-visible) :is(h2,h3) { color:#315ba8; }
.vg-destination-card-link:focus-visible { outline:3px solid #315ba8; outline-offset:-3px; border-radius:11px; }

/* Compact destination tiles: text stays visible on the photograph. */
.vg-destination-grid.vg-destination-grid--overlay { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.vg-destination-grid--overlay .vg-destination-card { position:relative; height:280px; border:0; background:#142938; }
.vg-destination-grid--overlay .vg-destination-card > a.vg-destination-card-link { position:relative; display:block; width:100%; height:100%; flex:1; color:#fff; }
.vg-destination-grid--overlay .vg-destination-image { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; }
.vg-destination-grid--overlay .vg-destination-image img { width:100%; height:100%; object-fit:cover; }
.vg-destination-grid--overlay .vg-destination-card-link::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,16,28,.03) 20%,rgba(5,16,28,.45) 50%,rgba(5,16,28,.94) 100%); pointer-events:none; }
.vg-destination-grid--overlay .vg-destination-card .vg-destination-body { position:absolute; left:0; right:0; bottom:0; z-index:1; padding:22px; text-shadow:0 1px 3px #0008; }
.vg-destination-grid--overlay .vg-destination-card .vg-destination-body :is(h2,h3) { margin:0 0 8px; color:#fff; font-size:32px!important; line-height:1.15; font-weight:700; }
.vg-destination-grid--overlay .vg-destination-body p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:0; color:#fff; font-size:15px; line-height:1.5; }
.vg-destination-grid--overlay .vg-destination-card-link:is(:hover,:focus-visible) :is(h2,h3) { color:#fff; }
.vg-destination-grid--overlay .vg-destination-card-link:focus-visible { outline:3px solid #fff; outline-offset:-5px; }
@media(max-width:1023px) {
 .vg-destination-grid.vg-destination-grid--overlay { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .vg-destination-grid--overlay .vg-destination-card { height:260px; }
 .vg-destination-grid--overlay .vg-destination-card .vg-destination-body :is(h2,h3) { font-size:30px!important; }
}
@media(max-width:639px) {
 .vg-destination-grid.vg-destination-grid--overlay { grid-template-columns:1fr; }
 .vg-destination-grid--overlay .vg-destination-card { height:230px; }
 .vg-destination-grid--overlay .vg-destination-card .vg-destination-body { padding:20px; }
 .vg-destination-grid--overlay .vg-destination-card .vg-destination-body :is(h2,h3) { font-size:28px!important; }
}
