/* Explorer 2.19 — verified category layout and mobile usability fixes. DEV / staging only. */
html {scroll-padding-top:96px}
/* The nested original category grid must span the three parent columns. */
.x219-category-page .x24-card-grid > .tour-grid {grid-column:1/-1;min-width:0}
.x219-category-page .tour-grid {gap:20px}
.x219-category-page .tour-card {min-width:0}
.x219-category-page .tour-body p {font-size:13px;line-height:1.7}
.x219-mobile-copy .tour-body p{font-size:13px;line-height:1.7}
.x219-category-page .tour-body h3 {font-size:clamp(21px,1.8vw,24px);line-height:1.2}
.x219-category-page .tour-footer {font-size:12px}
.x219-category-page .x216-price-channel{font-size:11px}
.x219-category-discovery {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;border-block:1px solid #dfebe7;padding:20px 0;margin:8px 0 26px}
.x219-category-controls {display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%}
.x219-category-controls button {font:750 13px/1.25 system-ui,sans-serif;border:1px solid #cbdad5;background:#fff;color:#193f50;border-radius:40px;min-height:44px;padding:11px 17px;cursor:pointer}
.x219-category-controls button[aria-pressed=true] {background:#0b354a;border-color:#0b354a;color:white}
.x219-category-controls button:hover,.x219-category-controls button:focus-visible{outline:2px solid #dfb657;outline-offset:2px}
.x219-category-count {color:#415f68;font:650 13px/1.5 system-ui,sans-serif}
.x219-category-no-match {padding:28px;border:1px dashed #b6c8c6;background:#f5f8f4;border-radius:16px;margin:8px 0 20px}
.x219-category-no-match[hidden]{display:none!important}
.x219-category-no-match h3 {margin:0 0 8px;font:28px/1.2 Georgia,serif;color:#163c50}
.x219-category-no-match p{max-width:560px;color:#4c6672;font-size:14px;line-height:1.75}
.x219-inline-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
.x219-inline-actions a {display:inline-flex;align-items:center;justify-content:center;border:1px solid #abc3c4;background:#fff;color:#164557;min-height:44px;border-radius:40px;padding:12px 17px;text-decoration:none;font:750 13px/1.25 system-ui,sans-serif}
.x219-inline-actions a:first-child{background:#f3c75e;color:#153744;border-color:#f3c75e}
.x219-inline-actions a:focus-visible{outline:3px solid #caa145;outline-offset:2px}
.x219-lead-page #request-proposal {scroll-margin-top:102px}
.x219-group-quick {background:#f8f4ea;border-bottom:1px solid #e6e1d5;padding:14px 0}
.x219-group-quick .container {display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.x219-group-quick p{color:#466474;font-size:13px;margin:0;line-height:1.55}
.x219-group-quick a{background:#f5c65c;display:inline-flex;align-items:center;justify-content:center;color:#17384a;text-decoration:none;padding:11px 17px;min-height:44px;border-radius:30px;font-size:13px;font-weight:800}
.x219-group-quick a:focus-visible{outline:3px solid #123e51;outline-offset:2px}
@media(max-width:850px){.x219-category-page .tour-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.x219-category-page .tour-body p{font-size:13px}.x219-category-page .tour-body{min-height:unset}.x219-category-page .tour-image{height:180px}}
@media(max-width:600px){.x219-category-page .tour-grid{grid-template-columns:1fr;gap:15px}.x219-category-page .tour-image{height:205px}.x219-category-page .tour-body{min-height:0;padding:18px}.x219-category-page .tour-body p{font-size:14px;line-height:1.65}.x219-category-page .tour-body h3{font-size:23px}.x219-category-page .x24-hero{min-height:395px}.x219-category-page .x24-hero-body{padding-top:83px;padding-bottom:48px}.x219-category-page .x24-hero h1{font-size:clamp(42px,9vw,58px)}.x219-category-discovery{align-items:start;padding:12px 0 18px;margin-bottom:21px}.x219-category-controls{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px;scrollbar-width:thin;width:100%}.x219-category-controls button{flex:none}.x219-category-count{width:100%}.x219-group-quick .container{align-items:start}.x219-group-quick a{width:100%}}
@media(max-width:520px){.x219-mobile-copy .tour-body p{font-size:13px;line-height:1.6}.x219-mobile-copy .tour-footer{font-size:11px}.x219-mobile-copy .tour-body h3{font-size:20px}.x219-catalogue .tour-grid{grid-template-columns:1fr}.x219-catalogue .tour-image{height:205px}.x219-catalogue .tour-body{min-height:0}}
@media(max-width:350px){.x219-category-page .x24-hero h1{font-size:40px}.x219-category-page .tour-body h3{font-size:21px}}
@media(prefers-reduced-motion:reduce){.x219-category-page .tour-card *{scroll-behavior:auto}}

/* Explorer 2.19 Nightlife preview-only integration | existing tokens retained */
.x219-nightlife-status{margin-top:10px;font-size:12px;font-weight:750;color:var(--muted);line-height:1.5}
.x219-nightlife-disclaimer{margin-top:22px;color:var(--muted);font-size:12px;line-height:1.65;max-width:1000px}
.x219-nightlife-card .tour-footer{cursor:default}
.x219-nightlife-card .tour-image img{object-position:center}
@media(max-width:600px){.x219-nightlife-disclaimer{font-size:12px}.x219-nightlife-card .tour-body p{font-size:14px}}

/* Work 08: prevent price panel min-content overflow on small phones. */
@media(max-width:780px){.x216-price-flex{grid-template-columns:minmax(0,1fr)}.x216-price-flex>*{min-width:0}.x216-price-action .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}}

/* Narrow-phone long heading fit, including fallback serif metrics. */
@media(max-width:350px){.x219-category-page .section-head h2{font-size:36px;line-height:1.12}}

/* Outdoor referrals use the same Explorer product-card presentation; all filters must hide nonmatching cards. */
.x219-catalogue #catalogueGrid > .tour-card[hidden]{display:none!important}
.x219-catalogue .x219-referral-card .x216-price-amount{font-size:16px;line-height:1.35}
.x219-catalogue .x219-referral-card .x216-price-row{overflow-wrap:anywhere}
.x219-catalogue .x219-referral-card a:focus-visible{outline:3px solid #caa145;outline-offset:3px}
