/* Victor's look (5 Nov 2026): the design of his Paris tours page, carried to every page of both sites. Sharod's
   decisions: Victor's palette; our fonts (Libre Caslon Text, Work Sans); yellow only on booking buttons; boxed cards,
   four across on a computer; the arch logo stays; the Table the same blue and yellow; swipe rows on phones for groups of
   photo cards (js/tec.js). Then "push these all to live as they are completed": it goes live page type by page type.
   Reference: his file, docs/victor-handoffs/2026-11-02-TEC1-Paris-Tours-Activities-MASTER-LOCK-9-buttons-checked.html.

   Every page loads this file after look.css and before phone.css (page() in gen-pages.py; on WordPress the theme
   enqueues it for every page, like tokens.css, so no page's exported stylesheet list or fingerprint changes). It changes
   how pages look, never what they say: titles, headings, copy, links and the order of sections are the page's own.

   The first part is what every page shares: the palette (our tokens remapped to his values, so the component sheets need
   no new colors; the light blue Sky palette is still in tokens.css), type roles, buttons, grounds, header, breadcrumb,
   photo header, closing band, questions, footer and the phone booking bar. Then one part per page type, each scoped by
   its body class (tpl-home, tpl-cityguide flagship, ...), through :where() where a scope was added afterwards, so the
   rules kept the specificity they were written with. */

/* ---------- swipe rows on phones (js/tec.js adds .tec-row and the cue line) ---------- */
.tec-swipe{display:none}
@media(max-width:700px){
  .tec-row{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(80%,320px);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);margin-inline:calc(-1 * var(--gutter));padding:7px var(--gutter) 10px;scrollbar-width:none;align-items:start}
  .tec-row::-webkit-scrollbar{display:none}
  .tec-row>*{scroll-snap-align:start;min-width:0}
  .tec-swipe{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
  .tec-swipe[hidden]{display:none}
  .tec-swipe-hint{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-sm);font-weight:600;color:var(--graphite)}
  .tec-swipe-hint svg{width:22px;height:22px;flex:none;color:var(--forest)}
  .tec-swipe-btns{display:flex;gap:8px}
  .tec-swipe-btns button{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--field-line);background:var(--white);color:var(--navy);cursor:pointer}
  .tec-swipe-btns button:disabled{opacity:.4;cursor:default}
  .tec-swipe-btns button:focus-visible{outline:var(--focus);outline-offset:2px}
}

/* ---------- 1. the palette: his values, behind our token names ----------
   --forest is our action blue, so it becomes his blue; the gold is gone (--brass is blue now, --gold-2 the pale blue his
   hero eyebrows use on dark); the sky and sand grounds become his soft and cream. The component sheets keep reading
   tokens, so nothing else needs a new color. :root[data-palette] also beats tokens.css's [data-palette="sky"] block. */
:root,:root[data-palette]{
  --tec-blue:#0B4EA2; --tec-blue-dark:#083A79; --tec-navy:#0B2F5B; --tec-navy-deep:#072441;
  --tec-yellow:#FFD229; --tec-yellow-hover:#FFDC4D; --tec-yellow-active:#F5C400; --tec-yellow-edge:#E4B813; --tec-on-yellow:#101820;
  --tec-ink:#18283A; --tec-body:#4F5B66; --tec-muted:#627080; --tec-card-text:#5A6774;
  --tec-cream:#F7F6F1; --tec-soft:#F5F8FB; --tec-dark:#101820;
  --tec-line:#DDE4EA; --tec-card-line:#E1E5E8; --tec-rule:#E4E4DE;
  --tec-radius:16px; --tec-btn-radius:9px;
  --tec-card-shadow:0 5px 18px rgba(27,48,72,.08);
  --tec-card-shadow-hover:0 10px 26px rgba(27,48,72,.12);

  --forest:var(--tec-blue);  --forest-2:var(--tec-blue-dark);  --forest-press:var(--tec-navy-deep);
  --navy:var(--tec-navy);
  --brass:var(--tec-blue);   --gold-2:#B9D9FF;
  --sky-1:var(--tec-soft);   --sky-2:#E8EFF8;   --sky-3:#C9D7E6;
  --stone:#E8EEF4;           --card:#F8FAFC;    --terracotta:var(--tec-cream);  --olive:#EDF3F8;  --linen:var(--tec-soft);
  --ink:var(--tec-ink);      --graphite:var(--tec-body);   --pewter:var(--tec-muted);
  --moss:var(--tec-line);    --card-line:var(--tec-card-line);  --hair:#E7EBEF;  --blue-line:#D4E0EB;
  --line:#D9E3ED;            --line-strong:#BFCFE0;
  --clay:var(--tec-blue);    /* the section labels were terracotta; his are blue */
  --sand:var(--tec-soft);    --sand-2:#E8EFF8;  --sand-line:#E1E8EF;  --pewter-on-sand:#566575;
  --veil-end:rgba(7,36,65,.55);  --glow:rgba(11,78,162,.16);
  /* his sizes, on our faces: h1 as on the tours page we already built (a touch under his 70 for Caslon), h2 his */
  --fs-h1:clamp(40px,5vw,62px);
  --fs-h2:clamp(30px,3.6vw,43px);
}

/* ---------- 2. type roles ---------- */
h2{font-size:var(--fs-h2);line-height:1.1;letter-spacing:-.03em}
h1{letter-spacing:-.02em}
/* section labels: his small blue capitals (pale blue on a dark ground, through --gold-2 in look.css) */
.eyebrow{font-size:var(--fs-xs);font-weight:600;letter-spacing:.12em;color:var(--tec-blue)}
.guide-top .kicker{color:var(--tec-blue);font-weight:600;letter-spacing:.12em}
.sec .head .sub{color:var(--tec-muted)}
.lede{color:var(--tec-body)}

/* ---------- 3. buttons ----------
   His main button is 9px rounded and 46px tall; the secondary is white with blue text and a blue edge. Yellow is for
   booking only (Sharod's decision 3): a link or button that sends the traveler to a partner. Everything else is blue on a
   light ground and white on navy. The yellow rule has an id's worth of specificity (:not(#tec)) so the dark-ground rules in
   look.css and the bar rules in look.css can't turn it back. */
body .pill{border-radius:var(--tec-btn-radius);min-height:46px;padding:11px 20px;font:600 var(--fs-sm)/1.3 var(--sans);letter-spacing:0}
body .pill.fill{background:var(--tec-blue);border-color:var(--tec-blue);color:var(--white)}
@media(hover:hover){body .pill.fill:hover{background:var(--tec-blue-dark);border-color:var(--tec-blue-dark)}}
body .pill:is(.ghost.dark,.white,.holo){background:var(--white);color:var(--tec-blue);border:1px solid var(--tec-blue);box-shadow:none}
@media(hover:hover){body .pill:is(.ghost.dark,.white,.holo):hover{background:#EFF6FF;border-color:var(--tec-blue);color:var(--tec-blue-dark);transform:none;box-shadow:none}}
body .pill:is(.ghost.dark,.white,.holo):active{background:#E3EEFB}
/* "Explore all ...": his View all, a white pill with a blue edge and room at the sides */
.hmore .pill{border-radius:var(--r-pill);padding-inline:24px;box-shadow:0 2px 10px rgba(11,78,162,.05)}
/* the header's button on the right, on The Euro Table only since 29 Nov 2026 ("The Euro Concierge"; the Concierge's
   Find your city went): secondary, no gradient */
header.site .navr .pill{min-height:40px;padding:8px 16px}

/* booking yellow */
:is(a.pill[rel~="sponsored"],a.pill[data-partner],a.go[data-hotel],.hhotels a.go[rel~="sponsored"],
    .search-card .pill.go,.hotel-search button.pill,.fl-search button.pill.fill,.trip-bar button.go):not(#tec){
  background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);color:var(--tec-on-yellow);box-shadow:none;border-radius:var(--tec-btn-radius);text-decoration:none}
@media(hover:hover){:is(a.pill[rel~="sponsored"],a.pill[data-partner],a.go[data-hotel],.hhotels a.go[rel~="sponsored"],
    .search-card .pill.go,.hotel-search button.pill,.fl-search button.pill.fill,.trip-bar button.go):not(#tec):hover{background:var(--tec-yellow-hover);border-color:var(--tec-yellow-edge);color:var(--tec-on-yellow);text-decoration:none}}
:is(a.pill[rel~="sponsored"],a.pill[data-partner],a.go[data-hotel],.hhotels a.go[rel~="sponsored"],
    .search-card .pill.go,.hotel-search button.pill,.fl-search button.pill.fill,.trip-bar button.go):not(#tec):active{background:var(--tec-yellow-active)}
/* a hotel card's "View Hotel & Availability" is a full-width button under the text */
.hhotels a.go[data-hotel]:not(#tec){display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin-top:12px;padding:11px 18px;font:600 var(--fs-sm)/1.3 var(--sans)}
/* in the phone booking bar the partner link is a button too, beside the blue in-page one. look.css makes it a block
   (for the ellipsis on a long label) and the padding above and below is 0 here, so a line as tall as the button centers
   its label (batch 2 review, 5 Nov 2026: it sat at the top) */
.bk-bar a.pill:is([rel~="sponsored"],[data-partner]):not(#tec){padding:0 16px;min-height:44px;line-height:42px;white-space:nowrap}

/* ---------- 4. grounds: his white and cream bands, a 1px rule at each edge ----------
   look.css tinted some sections by meaning: light blue for booking and practical sections, sand for warnings and asides.
   The meaning stays, in his palette: cream for the first, his soft blue-white for the second. A section inside the page's
   one .wrap runs its ground edge to edge with a spread shadow, as before, and its rule with a border-image that reaches
   as far (neither adds scroll width). */
:is(.tpl-cityguide.flagship #stay,.tpl-cityguide.flagship #facts,.tpl-cityguide.flagship #faq,.tpl-foodguide:not(.tpl-country) #areas,.tpl-foodguide.tpl-country #regions,.tpl-flagship #stays,.tpl-flagship #plan){
  background:var(--tec-cream);box-shadow:0 0 0 100vmax var(--tec-cream);clip-path:inset(0 -100vmax);
  border:solid var(--tec-rule);border-width:1px 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0/0 100vmax}
:is(.tpl-cityguide.flagship #skip,.tpl-foodguide #customs,.tpl-flagship #regions,.tpl-tours main .wrap>section.sec:nth-of-type(even):not(#passes):not(#faq):not(#more)){
  background:var(--tec-soft);box-shadow:0 0 0 100vmax var(--tec-soft);clip-path:inset(0 -100vmax);
  border:solid var(--tec-rule);border-width:1px 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0/0 100vmax}
/* a section with no top padding (.tight) right after a ground gets its space back */
.tpl-cityguide.flagship #faq+.sec.tight{padding-top:56px}
@media(max-width:700px){.tpl-cityguide.flagship #faq+.sec.tight{padding-top:32px}}
/* boxes on a tinted ground stay white, with his card edge */
:is(.tpl-cityguide.flagship #stay,.tpl-cityguide.flagship #facts,.tpl-flagship #stays,.tpl-flagship #plan) :is(.fact,.answer){background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius)}

/* ---------- 5. the header: no ticker, white at 98% over a blur, his links ---------- */
.marquee{display:none}
header.site{background:var(--white);border-bottom:1px solid var(--tec-line)}
.navl{gap:26px;font-size:13px;font-weight:600;color:#34475A}
/* the Concierge header has no button on the right since 29 Nov 2026 (Find your city went): the menu sits at the right,
   across from the lockup, so the bar isn't left-heavy; the Table's header keeps its button and its layout */
header.site .bar:not(:has(.navr))>.navl{justify-content:flex-end}
.navl a:hover,.navl a:focus-visible,.navl a[aria-current]{color:var(--tec-blue)}
/* the phone menu row under the header (kept, Sharod: his Menu dropdown isn't wanted) */
.mnav{background:var(--white);border-bottom:1px solid var(--tec-line)}
.mnav a{font-weight:600;color:#34475A}
.mnav a>span[aria-hidden]{margin-left:.3em}   /* Where to Eat's arrow: the link is a flex box, which drops the space before it */

/* ---------- 6. the breadcrumb: 12px, no tracking, white over a photo ---------- */
.crumbs{font-size:var(--fs-xs);letter-spacing:0}
.g-hero .crumbs,.g-hero .crumbs span{color:rgba(255,255,255,.82)}
.g-hero .crumbs a{color:var(--white)}

/* ---------- 7. the photo header: his left-to-right veil, the breadcrumb inside, shorter ---------- */
.g-hero{min-height:clamp(260px,32vh,330px);padding:0;align-items:stretch;background:var(--tec-navy)}
.g-hero-in{display:flex;flex-direction:column;padding-top:18px;padding-bottom:28px}
.g-hero .crumbs{margin:0 0 auto;padding:0 0 22px}
.g-hero .kicker{margin-top:0;color:var(--gold-2);font-weight:600;letter-spacing:.12em}
.g-hero h1{margin-top:8px;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.g-hero-img{filter:none}
.g-hero .veil{background:linear-gradient(90deg,rgba(5,25,48,.94) 0%,rgba(5,25,48,.78) 44%,rgba(5,25,48,.48) 72%,rgba(5,25,48,.62) 100%)}
.g-hero .crumbs,.g-hero .kicker{text-shadow:none}
.g-hero a:focus-visible{box-shadow:none}
/* phones: phone.css gives the header 40px above and below; his is content height with a 13px top */
@media(max-width:700px){body .g-hero{min-height:240px;padding:0}body .g-hero-in{padding-top:14px;padding-bottom:22px}}

/* ---------- 8. forms: his rectangles with 10px corners, not pills ---------- */
.hotel-search .f input,.hotel-search .f select,.fl-fields input,.fl-fields select,.fl-exp select,.fl-occ .val,.search-card .f input,.search-card .f select,.dest-search input,.dir-search input,.finder input,.finder select{
  border-radius:var(--r-input)}
.hotel-search .f>label,.hotel-search .f>.lbl,.fl-fields>.f>label,.fl-occ .lbl,.search-card .f>label{padding-left:2px}
/* the narrow selects (adults, children, rooms) keep room for their value */
.hotel-search .f.sm select{padding-left:12px;padding-right:28px}
/* the search panels: his wrapper, 15px corners and a deep shadow on the dark hero; a plain card edge on white */
.search-card{border:1px solid rgba(255,255,255,.55);border-radius:15px;box-shadow:0 16px 38px rgba(0,0,0,.22)}
.hotel-search,.fl-search{border:1px solid var(--tec-card-line);border-radius:15px;box-shadow:var(--tec-card-shadow)}
/* the tabs above the home search: his filter buttons, the chosen one blue */
.search-card .tabs{gap:6px;border-bottom:0;margin:0 0 6px}
.search-card .tabs button{border:1px solid #DCE4EC;border-radius:10px;background:#F8FAFC;color:#183049;padding:10px 14px;margin:0}
.search-card .tabs button[aria-selected="true"]{background:var(--tec-blue);border-color:var(--tec-blue);color:var(--white)}
@media(hover:hover){.search-card .tabs button[aria-selected="false"]:hover{border-color:var(--tec-blue);color:var(--tec-blue)}}

/* ---------- 9. the in-page menu (his guide nav): blue pills, the chosen one filled ---------- */
/* solid white: at 98% the text scrolling under it showed through on a phone's sharp screen (batch 2 review) */
.subnav{background:var(--white);border-bottom:1px solid var(--tec-line)}
.subnav .wrap{gap:8px}
.subnav a{background:#F7FAFD;border:1px solid #C9D7E6;color:var(--tec-blue);font-weight:600;padding:9px 13px}
.subnav a:hover{background:#EDF5FF;border-color:#C9D7E6;color:var(--tec-blue)}
.subnav a.on{background:var(--tec-blue);border-color:var(--tec-blue);color:var(--white)}

/* ---------- 10. boxed cards: white, a 1px edge, 16px corners, his shadow, a 2px lift on hover ----------
   The cards that are already boxes (home's cities, kinds and countries); the others take the same box in their page
   type's part below, from these tokens: --tec-radius, --tec-card-line, --tec-card-shadow, --tec-card-shadow-hover. */
.hc,.hkinds li,.hctry{border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);background:var(--white);
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.hc:hover,.hkinds li:hover,.hctry:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}}

/* ---------- 11. questions: his cards, two columns, a navy plus that turns blue and quarter-turns open ---------- */
.faq{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;align-items:start}
.faq details,.faq details:first-child{border:1px solid #DCE3E9;border-radius:14px;background:var(--white);overflow:hidden;overflow-anchor:none;box-shadow:0 3px 12px rgba(25,48,72,.045);
  transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.faq details:hover{border-color:#C6D4E2;box-shadow:0 6px 18px rgba(25,48,72,.07)}}
.faq details[open]{border-color:#B9CAE0;box-shadow:0 8px 22px rgba(25,48,72,.08)}
.faq summary{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:14px;padding:18px;min-height:72px;font:600 var(--fs-md)/1.35 var(--sans);color:#22364A}
.faq summary:focus-visible{outline-offset:-3px}
.faq summary::after{content:"+";display:grid;place-items:center;justify-self:end;width:28px;height:28px;border-radius:50%;background:var(--tec-navy);color:var(--white);
  font:600 18px/1 var(--sans);-webkit-mask:none;mask:none;transform:none;transition:transform var(--dur-med) var(--ease-out),background-color var(--dur-fast)}
.faq details[open] summary::after{transform:rotate(45deg);background:var(--tec-blue)}
.faq details p{padding:0 18px 18px;font-size:var(--fs-sm);line-height:1.6;color:#5D6B78;max-width:none}
@media(max-width:1040px){.faq{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.faq summary::after{transition:none}}
/* his heading row: the title over a rule */
#faq .head{padding-bottom:22px;margin-bottom:28px;border-bottom:1px solid #D9E0E6}
@media(max-width:700px){#faq .head{padding-bottom:18px;margin-bottom:20px}.faq summary{padding:15px 14px;min-height:68px}.faq details p{padding:0 14px 16px}}

/* ---------- 12. the "Good to know" band: navy, his light-blue label ---------- */
.sx-know .k{letter-spacing:.12em;font-weight:600}

/* ---------- 13. the deep bands: no scalloped edges ---------- */
.band{background:var(--tec-navy);margin:0;padding:64px 0}
.band::before,.band::after{display:none}
.band h2{font-size:clamp(29px,3.4vw,39px)}
@media(max-width:700px){.band{padding:36px 0}}
.band .lede{color:#DCE7F2}
.dest-cta{background:var(--tec-navy);box-shadow:none;border-radius:var(--tec-radius)}

/* ---------- 14. the closing band: his slim navy final call, the words left and the buttons right ----------
   .sec.plan on the city guides (inside the page's one .wrap) and on the homepage (a full-width section holding a .wrap). */
.sec.plan{background:var(--tec-navy);color:var(--white);text-align:left;padding-top:28px;padding-bottom:28px;border:0;border-radius:0}
.flagship .sec.plan{background:var(--tec-navy);padding:28px 0;margin-bottom:48px;border-radius:0;box-shadow:0 0 0 100vmax var(--tec-navy);clip-path:inset(0 -100vmax -1px)}
.band+.sec.plan{background:var(--tec-navy-deep)}
.flagship .sec.plan,.sec.plan>.wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:36px;align-items:center}
:is(.flagship .sec.plan,.sec.plan>.wrap)>h2{grid-column:1;grid-row:1;margin:0 0 6px;font-size:clamp(25px,3vw,34px);color:var(--white)}
:is(.flagship .sec.plan,.sec.plan>.wrap)>.lede{grid-column:1;grid-row:2;margin:0;max-width:560px;font-size:var(--fs-md);color:#DCE7F2}
:is(.flagship .sec.plan,.sec.plan>.wrap)>.plan-go{grid-column:2;grid-row:1/span 2;margin:0;justify-content:flex-end}
.sec.plan .wrap{text-align:left}
.sec.plan .pill.fill{background:var(--white);border-color:var(--white);color:var(--tec-navy)}
@media(hover:hover){.sec.plan .pill.fill:hover{background:#EFF6FF;border-color:#EFF6FF;color:var(--tec-navy)}}
.sec.plan .pill.ghost{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,.7)}
@media(hover:hover){.sec.plan .pill.ghost:hover{background:rgba(255,255,255,.12);color:var(--white);border-color:var(--white)}}
.sec.plan :is(a,button):focus-visible{outline-color:var(--white)}
@media(max-width:1100px){
  .flagship .sec.plan,.sec.plan>.wrap{grid-template-columns:minmax(0,1fr)}
  :is(.flagship .sec.plan,.sec.plan>.wrap)>.plan-go{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:18px;max-width:none}
}
@media(max-width:700px){
  .sec.plan .plan-go{flex-direction:column;align-items:stretch}
  .sec.plan .plan-go .pill{justify-content:center;text-align:center;white-space:normal}
}

/* ---------- 15. the footer: his dark ground, white headings, pale links ---------- */
.farm{background:var(--tec-dark);color:#B9C2CA;margin-top:0;padding:48px 0 0}
.farm::before{display:none}
.farm .cols{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px}
.farm h5,.farm .fh{font:600 var(--fs-sm)/1.4 var(--sans);letter-spacing:0;text-transform:none;color:var(--white);margin-bottom:11px}
.farm li{font-size:13px;margin-bottom:0}
.farm li a{display:block;padding:6px 0}
.farm a{color:#B9C2CA}
.farm a:hover,.farm a:focus-visible{color:var(--white);text-decoration:underline;text-underline-offset:4px}
.farm a:focus-visible,footer.site a:focus-visible{outline:2px solid var(--white);outline-offset:3px}
footer.site{background:var(--tec-dark);color:#919CA6}
footer.site a:hover{color:var(--white)}
.farm+footer.site{padding:20px 0 24px}
.farm+footer.site .wrap{position:relative;border-top:0;padding-top:17px}
.farm+footer.site .wrap::before{content:"";position:absolute;top:0;left:var(--gutter);right:var(--gutter);height:1px;background:#2D3741}
.fbot{color:#919CA6;font-size:var(--fs-xs)}
.fbot a{color:#C9D2DA}
@media(max-width:820px){.farm .cols{grid-template-columns:1fr 1fr}}

/* ---------- 16. the phone booking bar: his edge and lift; blue for an in-page jump, yellow (above) for a partner ---------- */
@media(max-width:700px){
  .bk-bar{border-top:1px solid var(--tec-line);box-shadow:0 -8px 24px rgba(20,43,69,.10)}
  .bk-bar .pill.fill{border-radius:var(--tec-btn-radius)}
}

/* ---------- 17. ornaments out: the arcade frieze, the gold reading bar becomes blue ---------- */
.frieze,.hero-band::after,.table-hero::after{display:none}
.read-progress{background:var(--tec-blue)}

/* ==================== the homepage (body.tpl-home) ====================
   The video hero with its search, the city, kind, country and hotel cards, the book-ahead rows and the trust band.
   Every rule is scoped to the homepage through :where(.tpl-home), added when this part moved here from its own preview
   sheet, so no rule's specificity changed. Cards are his experience card: white, a 1px edge, 16px corners, his shadow,
   a 16:10 photo, the text padded 16px and the card's one action at the bottom. Yellow stays on the booking links. */

/* ---------- the grounds: cream and white bands, a 1px rule at each cream edge ---------- */
:where(.tpl-home) #stays,:where(.tpl-home) #things-to-do,:where(.tpl-home) #hotels{background:var(--tec-cream);border-block:1px solid var(--tec-rule)}
:where(.tpl-home) #stay-types,:where(.tpl-home) #by-country,:where(.tpl-home) #book-ahead{background:var(--white)}
:where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead){padding-top:64px;padding-bottom:64px}
@media(max-width:700px){:where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead){padding-top:32px;padding-bottom:32px}}

/* the section head: his heading row, the title on the left and its intro on the right, over a rule */
:where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .head{display:block;margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
:where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .head>div{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:10px 44px;align-items:end}
:where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .head h2{margin:0;text-wrap:balance}
:where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .head .sub{margin:0;max-width:52ch;font-size:var(--fs-md);line-height:1.55;color:var(--tec-muted)}
@media(max-width:1040px){
  :where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .head>div{grid-template-columns:minmax(0,1fr)}
  :where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .head .sub{max-width:62ch}
}
@media(max-width:700px){
  :where(.tpl-home) :is(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .head{margin-bottom:18px;padding-bottom:16px}
}
:where(.tpl-home) :where(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) :is(.hguide,.hnote){color:var(--tec-muted)}
:where(.tpl-home) :where(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .hguide{font-size:var(--fs-md)}

/* ---------- 1. the hero: the video under his left-to-right veil, the search as his white wrapper ---------- */
:where(.tpl-home) .hero-band{padding:60px 0 68px;min-height:clamp(500px,70vh,640px)}
:where(.tpl-home) .hero-band .veil{background:linear-gradient(90deg,rgba(5,25,48,.94) 0%,rgba(5,25,48,.78) 44%,rgba(5,25,48,.42) 72%,rgba(5,25,48,.36) 100%)}
:where(.tpl-home) .hero-copy{max-width:980px}
:where(.tpl-home) .hero-copy h1{max-width:none;margin-top:0;line-height:1.05;letter-spacing:-.02em}
:where(.tpl-home) .hero-copy .lede{margin-top:16px;max-width:820px;font-size:clamp(16px,1.6vw,20px);line-height:1.55;color:var(--white)}
:where(.tpl-home) .hero-band .credit{color:rgba(255,255,255,.82)}
@media(max-width:700px){
  :where(.tpl-home) .hero-band{padding:30px 0 52px;min-height:0}
  :where(.tpl-home) .hero-band .veil{background:linear-gradient(90deg,rgba(5,25,48,.9) 0%,rgba(5,25,48,.76) 100%)}
  :where(.tpl-home) .hero-copy h1{font-size:40px}
  :where(.tpl-home) .hero-copy .lede{margin-top:12px;font-size:var(--fs-md)}
}

/* the search wrapper: white, 15px corners, his deep shadow; the fields in rows (stays: where and dates, then guests and the
   button; tours: where, what and the button) instead of one tall column */
:where(.tpl-home) :where(.hero-band) .search-card{margin-top:24px;padding:14px 16px 16px;gap:12px;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:row dense;align-items:end;max-width:980px}
:where(.tpl-home) :where(.hero-band) .search-card .tabs{margin:0}
:where(.tpl-home) :where(.hero-band) .search-card .tabs button{min-height:44px;padding:9px 16px;font-size:13px;font-weight:600;letter-spacing:0}
:where(.tpl-home) :where(.hero-band) .search-card .f label,:where(.tpl-home) :where(.hero-band) .search-card .ages .lbl{font-size:var(--fs-xs);font-weight:600;letter-spacing:.06em;color:var(--tec-muted);margin-bottom:5px}
:where(.tpl-home) :where(.hero-band) .search-card .f input,:where(.tpl-home) :where(.hero-band) .search-card .f select{min-height:52px;font-size:var(--fs-md)}
:where(.tpl-home) :where(.hero-band) .search-card .f input:focus,:where(.tpl-home) :where(.hero-band) .search-card .f select:focus{border-color:var(--tec-blue);box-shadow:0 0 0 3px rgba(11,78,162,.22)}
:where(.tpl-home) :where(.hero-band) .search-card .panel .f{grid-column:span 3}
:where(.tpl-home) :where(.hero-band) .search-card .panel .f:has(select){grid-column:span 2}
:where(.tpl-home) :where(.hero-band) .search-card .panel .f.wide{grid-column:span 6}
:where(.tpl-home) :where(.hero-band) .search-card .panel .f.ages{grid-column:1/-1}
:where(.tpl-home) :where(.hero-band) .search-card .panel[data-panel="activities"] .f.wide{grid-column:span 5}
:where(.tpl-home) :where(.hero-band) .search-card .panel[data-panel="activities"] .f.wide:last-child{grid-column:span 4}
/* the submit hands off to Booking.com or Viator: yellow (tec.css); here only its size and place */
:where(.tpl-home) :where(.hero-band) .search-card>.pill.go{grid-column:span 6;min-height:52px;padding:12px 22px;border-radius:var(--r-input);font-size:15px;font-weight:600}
:where(.tpl-home) :where(.hero-band) .search-card:has(.panel[data-panel="activities"]:not([hidden]))>.pill.go{grid-column:span 3}
:where(.tpl-home) :where(.hero-band) .search-card .handoff,:where(.tpl-home) :where(.hero-band) .search-card .hint,:where(.tpl-home) :where(.hero-band) .search-card .form-err,:where(.tpl-home) :where(.hero-band) .search-card .cat-chip{grid-column:1/-1}
:where(.tpl-home) :where(.hero-band) .search-card .handoff{color:var(--tec-muted)}
:where(.tpl-home) :where(.hero-band) .search-card .hint{color:var(--tec-muted)}
:where(.tpl-home) :where(.hero-band) .search-card .cat-chip{background:var(--tec-soft);border:1px solid var(--tec-card-line);border-radius:var(--r-input)}
@media(max-width:700px){
  :where(.tpl-home) :where(.hero-band) .search-card{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:12px 14px 14px;margin-top:20px}
  :where(.tpl-home) :where(.hero-band) .search-card .tabs{display:grid;grid-template-columns:1fr 1fr}
  :where(.tpl-home) :where(.hero-band) .search-card .tabs button{justify-content:center;padding:9px 8px}
  :where(.tpl-home) :where(.hero-band) .search-card .panel .f{grid-column:span 3}
  :where(.tpl-home) :where(.hero-band) .search-card .panel .f:has(select){grid-column:span 2}
  :where(.tpl-home) :where(.hero-band) .search-card .panel .f.wide,:where(.tpl-home) :where(.hero-band) .search-card .panel[data-panel="activities"] .f.wide,:where(.tpl-home) :where(.hero-band) .search-card .panel[data-panel="activities"] .f.wide:last-child{grid-column:1/-1}
  :where(.tpl-home) :where(.hero-band) .search-card>.pill.go,:where(.tpl-home) :where(.hero-band) .search-card:has(.panel[data-panel="activities"]:not([hidden]))>.pill.go{grid-column:1/-1}
  :where(.tpl-home) :where(.hero-band) .search-card .f label{letter-spacing:.03em}
  :where(.tpl-home) :where(.hero-band) .search-card .f select{padding-left:12px;padding-right:26px}
}
@media(max-width:359px){:where(.tpl-home) :where(.hero-band) .search-card .panel .f:not(.wide):not(:has(select)){grid-column:1/-1}}

/* ---------- 2. the cards: his experience card ----------
   One box for the four families (cities, kinds, countries, hotels); the corners, edge and shadow come from the tokens. */
:where(.tpl-home) :where(#hotels) .hhotels li{border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);background:var(--white);overflow:hidden;
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  :where(.tpl-home) :where(#hotels) .hhotels li:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  :where(.tpl-home) :is(.hc,.hkinds li,.hctry,:where(#hotels) .hhotels li) img{transition:transform .35s var(--ease-out)}
  :where(.tpl-home) :is(.hc,.hkinds li,.hctry,:where(#hotels) .hhotels li):hover img{transform:scale(1.018)}
}
/* the photo: full width on top, 16:10 */
:where(.tpl-home) :is(#stays .hc,#stay-types .hkinds li,#things-to-do .hkinds li,#by-country .hctry,#hotels .hhotels li) :is(img){display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0;border-radius:0}
/* the title: his card title, Work Sans, ink */
:where(.tpl-home) :is(#stays .hc,#stay-types .hkinds li,#things-to-do .hkinds li,#by-country .hctry,#hotels .hhotels li) h3{
  font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink);padding:14px 16px 0;margin:0}
/* the description: 14px (his 13) in his card gray */
:where(.tpl-home) :is(#stays .hc,#stay-types .hkinds li,#things-to-do .hkinds li,#by-country .hctry,#hotels .hhotels li) p{
  font-size:var(--fs-sm);line-height:1.5;color:var(--tec-card-text);padding:0 16px;margin:6px 0 0}
:where(.tpl-home) :is(#stays .hc,#hotels .hhotels li) p b{color:var(--tec-ink)}
:where(.tpl-home) #stays .hc:hover h3{color:var(--tec-ink)}
/* the card's one action, his secondary button: white, blue text, a blue edge, at the bottom. The arrow sits at the right
   edge, so a label that wraps keeps it, and the label stays centered. */
:where(.tpl-home) :is(#stays .hc .go,#stay-types .hkinds .go,#things-to-do .hkinds .go,#by-country .hctry .go){
  position:relative;display:flex;align-items:center;justify-content:center;width:auto;min-height:46px;margin:auto 16px 16px;padding:11px 38px;text-align:center;text-wrap:balance;
  background:var(--white);color:var(--tec-blue);border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);
  font:600 var(--fs-sm)/1.3 var(--sans);text-decoration:none;cursor:pointer;
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
:where(.tpl-home) :is(#stays .hc .go,#stay-types .hkinds .go,#things-to-do .hkinds .go,#by-country .hctry .go)::after{content:"\2192";position:absolute;right:15px;top:50%;transform:translateY(-50%);font-weight:400}
@media(hover:hover){
  :where(.tpl-home) #stays .hc:hover .go,:where(.tpl-home) :is(#stay-types .hkinds .go,#things-to-do .hkinds .go,#by-country .hctry .go):hover{background:#EFF6FF;color:var(--tec-blue-dark)}
}
:where(.tpl-home) :is(#stay-types .hkinds .go,#things-to-do .hkinds .go):active{background:#E3EEFB}
/* the stay and tour kinds hand off to Booking.com or Viator once a city is chosen, so they take the booking yellow
   (Sharod, 5 Nov 2026: "Do 1") */
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .go:not(#tec){background:var(--tec-yellow);border-color:var(--tec-yellow-edge);color:var(--tec-on-yellow)}
@media(hover:hover){:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .go:not(#tec):hover{background:var(--tec-yellow-hover);color:var(--tec-on-yellow)}}
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .go:not(#tec):active{background:var(--tec-yellow-active)}
/* room above the button: the last line of text keeps 14px below it */
:where(.tpl-home) :is(#stays .hc p,#stay-types .hkinds li>p:not(.rule),#things-to-do .hkinds li>p:not(.rule),#hotels .hhotels .best){margin-bottom:14px}

/* ---------- 3. the cities (#stays): four across, two on a tablet ---------- */
:where(.tpl-home) #stays .hcities{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
:where(.tpl-home) #stays .hc{display:flex;flex-direction:column;padding-bottom:0}
@media(max-width:1040px){:where(.tpl-home) #stays .hcities{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 4. the stay types and the things to do (.hkinds): four across, two on a tablet, stacked on a phone ---------- */
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds,:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds.two{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds li{display:flex;flex-direction:column}
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds.two img{height:auto}
/* the note under a button (what the filter does): small, muted, inside the card */
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds li{padding-bottom:6px}
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .go{margin-bottom:10px}
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .rule{margin:0;padding:0 16px 10px;font-size:var(--fs-xs);line-height:1.45;color:var(--tec-muted)}
:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .rule a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1040px){:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds,:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds,:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds.two{grid-template-columns:minmax(0,1fr);gap:14px}}
:where(.tpl-home) :where(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .hmore{margin-top:30px}
:where(.tpl-home) :where(#stays,#stay-types,#things-to-do,#by-country,#hotels,#book-ahead) .hguide{margin-top:20px}

/* ---------- 5. the countries (#by-country): three cards, so three across ---------- */
:where(.tpl-home) #by-country .hctries{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
:where(.tpl-home) #by-country .hctry{display:flex;flex-direction:column}
:where(.tpl-home) #by-country .hctry>div{display:flex;flex:1;flex-direction:column;padding:0}
:where(.tpl-home) #by-country .hctry .pop{margin-top:10px;margin-bottom:14px}
:where(.tpl-home) #by-country .hctry .pop span{color:var(--tec-muted)}
:where(.tpl-home) #by-country .hctry .pop a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(max-width:1040px){:where(.tpl-home) #by-country .hctries{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:700px){:where(.tpl-home) #by-country .hctries{gap:12px}}

/* ---------- 6. the hotels (#hotels): his card with the booking button, yellow (tec.css), under the text ---------- */
:where(.tpl-home) #hotels .hhotels{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
:where(.tpl-home) #hotels .hhotels li{display:flex;flex-direction:column}
:where(.tpl-home) #hotels .hhotels .meta{padding:0 16px;margin:6px 0 0;font:600 var(--fs-xs)/1.4 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:var(--tec-blue)}
/* "Best for" as his "Confirm" line: a rule above, a touch heavier than the text */
:where(.tpl-home) #hotels .hhotels .best{margin:14px 16px 0;padding:12px 0 0;border-top:1px solid #EDF0F2;color:var(--tec-ink);font-weight:500}
:where(.tpl-home) #hotels .hhotels .best b{font-weight:600}
:where(.tpl-home) #hotels .hhotels a.go[data-hotel]{margin:auto 16px 16px;width:auto}
:where(.tpl-home) #hotels .hhotels .best+a.go[data-hotel]{margin-top:14px}
/* the photo label: his white tag at the top left (the caption names what a photo shows when it is not the hotel itself) */
:where(.tpl-home) #hotels .hhotels figure,:where(.tpl-home) #book-ahead .hbook figure{margin:0;position:relative}
:where(.tpl-home) #hotels .hhotels figcaption,:where(.tpl-home) #book-ahead .hbook figcaption{top:10px;left:10px;bottom:auto;max-width:calc(100% - 20px);padding:5px 9px;border-radius:5px;
  background:rgba(255,255,255,.94);color:var(--tec-ink);font:600 var(--fs-xs)/1.3 var(--sans)}
@media(max-width:1040px){:where(.tpl-home) #hotels .hhotels{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ---------- 7. what to book ahead (#book-ahead): his library rows, a thumbnail, the title, the teaser and the links ---------- */
:where(.tpl-home) #book-ahead .hbook{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
:where(.tpl-home) #book-ahead .hbook li{grid-template-columns:112px minmax(0,1fr);gap:17px;align-items:center;padding:10px;border:1px solid #E1E6EA;border-radius:12px;background:var(--white);
  box-shadow:0 3px 12px rgba(25,45,65,.045);transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
@media(hover:hover){:where(.tpl-home) #book-ahead .hbook li:hover{border-color:#C8D4DF;box-shadow:0 6px 18px rgba(25,45,65,.08)}}
:where(.tpl-home) #book-ahead .hbook figure img{width:112px;height:78px;border-radius:9px;object-fit:cover}
:where(.tpl-home) #book-ahead .hbook figcaption{top:5px;left:5px;max-width:calc(100% - 10px);padding:2px 6px}
:where(.tpl-home) #book-ahead .hbook h3{font:600 var(--fs-md)/1.28 var(--sans);letter-spacing:0;color:var(--tec-ink)}
:where(.tpl-home) #book-ahead .hbook p{margin-top:4px;font-size:var(--fs-sm);line-height:1.45;color:var(--tec-body)}
:where(.tpl-home) #book-ahead .hbook li a{margin-top:6px;color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
:where(.tpl-home) #book-ahead .hbook .bkl{display:block;margin:0}
:where(.tpl-home) #book-ahead .hnote{margin-top:18px;font-size:var(--fs-sm)}
@media(max-width:900px){:where(.tpl-home) #book-ahead .hbook{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
  /* thumbnails stay at the phone size set on 24 Oct (77 x 58) */
  :where(.tpl-home) #book-ahead .hbook li{grid-template-columns:77px minmax(0,1fr);gap:12px;padding:9px;align-items:start}
  :where(.tpl-home) #book-ahead .hbook figure img{width:77px;height:58px;border-radius:7px}
}

/* ---------- 8. the trust band: navy, the four points as translucent boxes with a check ---------- */
:where(.tpl-home) .band:where(:has(.ben)) .grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center}
:where(.tpl-home) .band:where(:has(.ben)) .trust-links a{text-decoration-color:var(--gold-2)}
:where(.tpl-home) :where(.band) .ben{gap:14px}
:where(.tpl-home) :where(.band) .ben .b{position:relative;align-items:flex-start;gap:14px;padding:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:14px}
:where(.tpl-home) :where(.band) .ben .b::before{content:"";flex:none;width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);
  background:rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8'/%3E%3C/svg%3E") center/18px 18px no-repeat}
:where(.tpl-home) :where(.band) .ben h3{font:600 var(--fs-md)/1.3 var(--sans);color:var(--white);margin-bottom:4px}
:where(.tpl-home) :where(.band) .ben p{color:#DCE7F2}
@media(max-width:900px){:where(.tpl-home) .band:where(:has(.ben)) .grid{grid-template-columns:minmax(0,1fr);gap:28px}}
@media(max-width:700px){:where(.tpl-home) :where(.band) .ben{gap:10px}:where(.tpl-home) :where(.band) .ben .b{padding:14px}}

/* ---------- 9. the closing band (#plan): the shared band in tec.css; the home's button back to the search is white on navy,
   the other a white outline ---------- */
:where(.tpl-home) #plan .pill.fill{background:var(--white);border-color:var(--white);color:var(--tec-navy)}
:where(.tpl-home) #plan .pill.ghost{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,.7)}
@media(hover:hover){
  :where(.tpl-home) #plan .pill.fill:hover{background:#EFF6FF;border-color:#EFF6FF;color:var(--tec-navy)}
  :where(.tpl-home) #plan .pill.ghost:hover{background:rgba(255,255,255,.12);border-color:var(--white);color:var(--white)}
}

/* ---------- 10. phones: the groups in js/tec.js swipe; cards in them stretch to one height, button at the foot ---------- */
@media(max-width:700px){
  /* without the script: one column. With it (.tec-row, css/tec.css): one row that scrolls sideways */
  :where(.tpl-home) :is(#stays .hcities,#by-country .hctries,#hotels .hhotels){grid-template-columns:minmax(0,1fr);gap:12px}
  :where(.tpl-home) :is(#stays .hcities,#by-country .hctries,#hotels .hhotels).tec-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(80%,300px);align-items:stretch}
  :where(.tpl-home) #stays .hc,:where(.tpl-home) #hotels .hhotels li,:where(.tpl-home) #by-country .hctry{height:100%}
  :where(.tpl-home) :is(#stays .hc,#stay-types .hkinds li,#things-to-do .hkinds li,#by-country .hctry,#hotels .hhotels li) h3{padding:12px 14px 0}
  :where(.tpl-home) :is(#stays .hc,#stay-types .hkinds li,#things-to-do .hkinds li,#by-country .hctry,#hotels .hhotels li) p{padding:0 14px}
  :where(.tpl-home) #hotels .hhotels .meta{padding:0 14px}
  :where(.tpl-home) #hotels .hhotels .best{margin:12px 14px 0}
  :where(.tpl-home) :is(#stays .hc .go,#by-country .hctry .go,#hotels .hhotels a.go[data-hotel]){margin-left:14px;margin-right:14px;margin-bottom:14px}
  :where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .go{margin-left:14px;margin-right:14px}
  :where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .rule{padding:0 14px 10px}
  :where(.tpl-home) #by-country .hctry>div{padding:0}
}

/* ---------- 11. a computer: the card's button lines up across a row (subgrid), where the browser has it ---------- */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    :where(.tpl-home) #stays .hcities,:where(.tpl-home) #hotels .hhotels,:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds{row-gap:0}
    :where(.tpl-home) #stays .hc{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;margin-bottom:18px}
    :where(.tpl-home) #hotels .hhotels li{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0;margin-bottom:18px}
    :where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds li{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;margin-bottom:18px}
    :where(.tpl-home) #stays .hcities,:where(.tpl-home) #hotels .hhotels,:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds{margin-bottom:-18px}
    :where(.tpl-home) #stays .hc .go,:where(.tpl-home) #hotels .hhotels a.go[data-hotel],:where(.tpl-home) :is(#stay-types,#things-to-do) .hkinds .go{align-self:stretch}
    /* an auto top margin would stop the stretch that gives every button in a row one height */
    :where(.tpl-home) :is(#stays .hc .go,#stay-types .hkinds .go,#things-to-do .hkinds .go){margin-top:0}
  }
}

/* ==================== the city guides (body.tpl-cityguide.flagship) ====================
   The search box and the at-a-glance boxes under the title; the cards (where to stay, things to do, day trips) as his
   boxed experience cards, four across on a computer and two on a tablet; "More Places to Explore" as his library rows;
   the book-ahead list and "What to Skip" as his numbered cards; the Plan smarter, When to go, Key facts, Getting around
   and itinerary blocks as boxes; the sources as chips; the closing links as his cross-sell rows. The "Find hotels in
   <area>" links only jump to the search on the page, so they are his secondary button. Written for Paris; every city
   guide is the same template. */

:root{
  --tc-hover:#EFF6FF;                       /* his secondary button's hover, and the chip rows' */
  --tc-ring:rgba(11,78,162,.12);            /* the 3px ring round a numbered circle */
  --tc-row-shadow:0 3px 12px rgba(25,45,65,.045);   /* his library row and decision card */
  --tc-card-pad:16px;
}

/* ---------- the head's link ("The full guide to ...", "2, 3 and 4 day itineraries", "Airport transfers ..."): his secondary button ---------- */
.tpl-cityguide.flagship main a.more{display:inline-block;min-height:44px;padding:11px 18px;margin-top:0;
  background:var(--white);border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);color:var(--tec-blue);
  font:600 var(--fs-sm)/1.3 var(--sans);text-align:center;text-decoration:none;white-space:normal;
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
.tpl-cityguide.flagship main a.more::after{content:"\2192";content:"\2192" / "";margin-left:8px;font-weight:400}
@media(hover:hover){.tpl-cityguide.flagship main a.more:hover{background:var(--tc-hover);color:var(--tec-blue-dark)}}
.tpl-cityguide.flagship :is(.book,.around) a.more{margin-top:18px}

/* the section heads: room for the cards under them (the cards lost their hairline) */
.tpl-cityguide.flagship .sec .head{margin-bottom:26px}

/* ---------- 1. under the title: the lede, the hotel search, the at-a-glance boxes ---------- */
.tpl-cityguide.flagship .guide-intro{max-width:none;padding-top:32px}
.tpl-cityguide.flagship .guide-intro .lede{max-width:68ch;font-size:var(--fs-lg);line-height:1.55;color:var(--tec-body)}
/* his search wrapper: white, 15px corners, 54px fields and a 54px yellow button (it hands off to Booking.com) */
.tpl-cityguide.flagship .hotel-search{max-width:none;padding:24px 26px;background:var(--white)}
.tpl-cityguide.flagship .hs-head h2{font-size:var(--fs-2xl);line-height:1.15;letter-spacing:-.02em}
.tpl-cityguide.flagship .hs-head p{color:var(--tec-muted)}
.tpl-cityguide.flagship .hotel-search :is(.f>label,.f>.lbl){font-weight:600;letter-spacing:.06em;color:var(--tec-ink)}
.tpl-cityguide.flagship .hotel-search .hs-fields .f:not(.ages) :is(input,select){min-height:54px;padding-top:0;padding-bottom:0}
.tpl-cityguide.flagship .hotel-search .hs-fields button.pill{min-height:54px;padding:0 26px;border-radius:10px;font:600 var(--fs-md)/1.3 var(--sans)}
/* a tablet (701 to 1000px): guide.css keeps one row of six fields, too narrow for a date or a guest count. The same
   layout as phone.css gives a phone: area on a row, the dates side by side, the party on one row, the button full width. */
@media(min-width:701px) and (max-width:1000px){
  .tpl-cityguide.flagship .guide-intro .hs-fields{grid-template-columns:repeat(6,minmax(0,1fr))}
  .tpl-cityguide.flagship .guide-intro .hs-fields .f:first-child,.tpl-cityguide.flagship .guide-intro .hs-fields button,.tpl-cityguide.flagship .guide-intro .hs-fields .f.ages{grid-column:1/-1}
  .tpl-cityguide.flagship .guide-intro .hs-fields .f:nth-child(2),.tpl-cityguide.flagship .guide-intro .hs-fields .f:nth-child(3){grid-column:span 3}
  .tpl-cityguide.flagship .guide-intro .hs-fields .f.sm{grid-column:span 2}
}

/* the at-a-glance boxes (his decision cards, without the numbers) and the key facts: white boxes with his edge */
.tpl-cityguide.flagship .answer.glance{margin-top:34px}
.tpl-cityguide.flagship .answer.glance h2{margin-bottom:16px;font:400 var(--fs-2xl)/1.15 var(--serif);letter-spacing:-.02em;text-transform:none;color:var(--navy)}
.tpl-cityguide.flagship :is(.answer.glance,#facts) .facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:0;border:0}
.tpl-cityguide.flagship .fact{padding:18px 20px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-cityguide.flagship .fact b{font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-cityguide.flagship .fact p{margin-top:8px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-body)}
.tpl-cityguide.flagship #facts .facts-eat{margin-top:20px}

/* ---------- 2. the boxed cards: where to stay, things to do, day trips ----------
   White, his 1px edge, 16px corners, his shadow, the photo full width on top at 16:10, a 2px lift on hover. */
.tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips){list-style:none;display:grid;gap:18px;margin-top:0}
.tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips)>li{position:relative;display:flex;flex-direction:column;gap:0;
  padding:0;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tec-card-shadow);overflow:hidden;min-width:0;
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
.tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips)>li:first-child{border-top:1px solid var(--tec-card-line);padding-top:0}
.tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips)>li>.pic{display:block;width:100%;height:auto;aspect-ratio:16/10;margin:0;border-radius:0;object-fit:cover;
  transition:transform var(--dur-slow) var(--ease-hover)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips)>li:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips)>li:hover>.pic{transform:scale(1.018)}
}

/* four across on a computer, two on a tablet (a day-trip card takes as many as there are, up to four) */
@media(min-width:701px){
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do)){grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-cityguide.flagship #trips .g-trips{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
}
@media(min-width:1041px){
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do)){grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ---------- 2a. where to stay: an area card ---------- */
.tpl-cityguide.flagship #stay .g-areas>li>:not(.pic){margin-left:var(--tc-card-pad);margin-right:var(--tc-card-pad)}
.tpl-cityguide.flagship #stay .g-areas>li>h3{margin-top:var(--tc-card-pad);margin-bottom:0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-cityguide.flagship #stay .g-areas>li>.for{margin-top:6px;font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-cityguide.flagship #stay .g-areas>li>p:not(.for):not(.vs){margin-top:10px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
.tpl-cityguide.flagship #stay .g-areas>li>.vs{margin-top:12px;padding:9px 12px;border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;background:var(--tec-soft);
  font-size:var(--fs-sm);line-height:1.5;color:var(--tec-ink)}
/* the links: the full-guide link and "Where to eat in" are text links; "Find hotels in <area>" is a secondary button, since it jumps to the search above */
.tpl-cityguide.flagship #stay .g-areas>li>a.hs-link{display:block;text-wrap:pretty;margin-top:2px;padding:6px 0;font:600 var(--fs-sm)/1.35 var(--sans);color:var(--tec-blue)}
.tpl-cityguide.flagship #stay .g-areas>li>a.more-area{margin-top:auto;padding-top:14px}
.tpl-cityguide.flagship #stay .g-areas>li>a.hs-link[data-area]{min-height:46px;margin-top:8px;padding:12px 14px;background:var(--white);
  border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);text-align:center;transition:background-color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-cityguide.flagship #stay .g-areas>li>a.hs-link[data-area]:hover{background:var(--tc-hover);color:var(--tec-blue-dark)}}
.tpl-cityguide.flagship #stay .g-areas.pics>li{padding-bottom:var(--tc-card-pad)}
/* the map: a white box on the cream ground, still 820px at most */
.tpl-cityguide.flagship #stay .city-map{margin:32px auto 0;padding:16px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tec-card-shadow)}
.tpl-cityguide.flagship #stay .map figcaption{color:var(--tec-muted)}

/* ---------- 2b. things to do: an experience card ---------- */
.tpl-cityguide.flagship #do .g-todo:not(.more-do)>li::before{content:counter(t,decimal-leading-zero);position:absolute;left:10px;top:10px;z-index:1;padding:3px 9px;border-radius:5px;
  background:rgba(255,255,255,.94);color:var(--tec-blue);font:600 var(--fs-xs)/1.4 var(--sans);letter-spacing:.04em}
.tpl-cityguide.flagship #do .g-todo>li>.tx{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;padding:var(--tc-card-pad)}
.tpl-cityguide.flagship #do .g-todo>li>.tx h3{margin:0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-cityguide.flagship #do .g-todo>li>.tx p{margin:8px 0 0;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
/* "Free, with an optional timed slot online": his chip */
.tpl-cityguide.flagship #do .g-todo>li>.tx .ahead{align-self:flex-start;margin:10px 0 0;padding:5px 11px;border:1px solid var(--tec-line);border-radius:14px;background:var(--tec-soft);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.02em;text-transform:none;color:var(--tec-ink)}
/* the links sit at the foot of the card: the first one takes the spare height, so the buttons line up along a row */
.tpl-cityguide.flagship #do .g-todo>li>.tx>p:last-of-type{margin-bottom:14px}
.tpl-cityguide.flagship #do .g-todo>li>.tx>a:is(.off,.hs-link){display:block;width:fit-content;max-width:100%;margin-top:0;padding:6px 0;
  font:600 var(--fs-sm)/1.35 var(--sans);color:var(--tec-blue)}
.tpl-cityguide.flagship #do .g-todo>li>.tx>a.hs-link{margin-top:2px}
.tpl-cityguide.flagship #do .g-todo>li>.tx>a.hs-link::after{content:"\00a0\2192";content:"\00a0\2192" / ""}
.tpl-cityguide.flagship #do .g-todo>li>.tx>a:first-of-type{margin-top:auto}
/* the visitor-guide link goes above the Viator button, so the yellow button is the card's last line and sits at the same
   height in every card of a row (a card with no guide link used to end on it, one with a guide link ended on the link) */
.tpl-cityguide.flagship #do .g-todo:not(.more-do)>li>.tx>a.hs-link{order:1}
.tpl-cityguide.flagship #do .g-todo:not(.more-do)>li>.tx>a.off[rel~="sponsored"]{order:2}
/* the Viator link: yellow, full width, the card's main action */
.tpl-cityguide.flagship #do .g-todo>li>.tx>a.off[rel~="sponsored"]:not(#tec){display:block;width:100%;max-width:none;min-height:46px;margin-top:6px;padding:13px 14px;
  background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);border-radius:var(--tec-btn-radius);color:var(--tec-on-yellow);
  font:600 var(--fs-sm)/1.3 var(--sans);text-align:center;box-shadow:none}
.tpl-cityguide.flagship #do .g-todo>li>.tx>a.off[rel~="sponsored"]:not(#tec):first-of-type{margin-top:auto}
@media(hover:hover){.tpl-cityguide.flagship #do .g-todo>li>.tx>a.off[rel~="sponsored"]:not(#tec):hover{background:var(--tec-yellow-hover);border-color:var(--tec-yellow-edge);color:var(--tec-on-yellow);text-decoration:none}}
.tpl-cityguide.flagship #do .g-todo>li>.tx>a.off[rel~="sponsored"]:not(#tec):active{background:var(--tec-yellow-active)}

/* ---------- 2c. more places to explore: his library rows ---------- */
.tpl-cityguide.flagship #do .more-h{margin:48px 0 18px;padding-bottom:12px;border-bottom:1px solid var(--tec-line);font:400 var(--fs-2xl)/1.15 var(--serif);letter-spacing:-.02em;color:var(--navy)}
.tpl-cityguide.flagship #do .g-todo.more-do{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:0;counter-reset:none}
.tpl-cityguide.flagship #do .g-todo.more-do>li{position:static;display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:start;padding:12px;
  border:1px solid var(--tec-card-line);border-radius:12px;background:var(--white);box-shadow:var(--tc-row-shadow);
  transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
.tpl-cityguide.flagship #do .g-todo.more-do>li:first-child{border-top:1px solid var(--tec-card-line);padding-top:12px}
@media(hover:hover){.tpl-cityguide.flagship #do .g-todo.more-do>li:hover{border-color:#C8D4DF;box-shadow:0 6px 18px rgba(25,45,65,.07)}}
.tpl-cityguide.flagship #do .g-todo.more-do>li::before{content:none}
.tpl-cityguide.flagship #do .g-todo.more-do>li>.pic{width:104px;height:auto;aspect-ratio:4/3;margin:0;border-radius:9px}
.tpl-cityguide.flagship #do .g-todo.more-do>li>.tx{display:block;padding:0}
.tpl-cityguide.flagship #do .g-todo.more-do>li>.tx h3{font:600 var(--fs-md)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-cityguide.flagship #do .g-todo.more-do>li>.tx p{margin-top:6px;margin-bottom:0;color:var(--tec-body)}
.tpl-cityguide.flagship #do .g-todo.more-do>li>.tx>a.off[rel~="sponsored"]:not(#tec){display:inline-block;width:auto;min-height:40px;margin-top:10px;padding:10px 14px}
.tpl-cityguide.flagship #do .g-todo.more-do>li>.tx>a:first-of-type{margin-top:10px}
.tpl-cityguide.flagship #do .g-todo.more-do>li>.tx .ahead{display:inline-block}

/* ---------- 2d. day trips: a card, the whole card a link (the heading's), an arrow at the foot ---------- */
.tpl-cityguide.flagship #trips .g-trips>li>:not(.pic){margin-left:var(--tc-card-pad);margin-right:var(--tc-card-pad)}
.tpl-cityguide.flagship #trips .g-trips>li>h3{margin-top:var(--tc-card-pad);margin-bottom:0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-cityguide.flagship #trips .g-trips>li>h3 a{color:inherit;text-decoration:none}
.tpl-cityguide.flagship #trips .g-trips>li>h3 a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:var(--tec-radius)}
.tpl-cityguide.flagship #trips .g-trips>li>h3 a:focus-visible{outline:none}
.tpl-cityguide.flagship #trips .g-trips>li>h3 a:focus-visible::after{outline:3px solid var(--tec-blue);outline-offset:-3px}
@media(hover:hover){.tpl-cityguide.flagship #trips .g-trips>li:hover>h3 a{color:var(--tec-blue)}}
.tpl-cityguide.flagship #trips .g-trips>li>span{display:block;margin-top:8px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
.tpl-cityguide.flagship #trips .g-trips>li::after{content:"\2192";content:"\2192" / "";display:grid;place-items:center;align-self:flex-end;width:36px;height:36px;margin:14px var(--tc-card-pad) var(--tc-card-pad) auto;
  border:1px solid var(--tec-blue);border-radius:50%;color:var(--tec-blue);font:400 var(--fs-md)/1 var(--sans);margin-top:auto;
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
.tpl-cityguide.flagship #trips .g-trips>li>span{margin-bottom:14px}
@media(hover:hover){.tpl-cityguide.flagship #trips .g-trips>li:hover::after{background:var(--tec-blue);color:var(--white)}}

/* ---------- 3. what to book ahead: his numbered decision cards, the Viator link yellow ---------- */
.tpl-cityguide.flagship #book .book{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px;padding:0;border:0;align-items:start}
.tpl-cityguide.flagship #book .book ol{gap:12px}
.tpl-cityguide.flagship #book .book li{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,max-content);gap:6px 16px;align-items:start;padding:18px;
  border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tc-row-shadow)}
.tpl-cityguide.flagship #book .book li:first-child{border-top:1px solid var(--tec-card-line);padding-top:18px}
.tpl-cityguide.flagship #book .book li::before,.tpl-cityguide.flagship #skip .skip li::before{display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:50%;
  background:var(--tec-navy);color:var(--white);font:600 var(--fs-md)/1 var(--sans);letter-spacing:0;box-shadow:0 0 0 3px var(--tc-ring)}
.tpl-cityguide.flagship #book .book li b{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-cityguide.flagship #book .book li p{margin-top:6px;color:var(--tec-body)}
.tpl-cityguide.flagship #book .book .lead{max-width:15em;padding:6px 12px;border:1px solid var(--tec-line);border-radius:14px;background:var(--tec-soft);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.04em;text-align:left;color:var(--navy)}
.tpl-cityguide.flagship #book .bkl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:12px}
.tpl-cityguide.flagship #book .bkl a{display:inline-block;min-height:32px;padding:6px 0;color:var(--tec-blue)}
.tpl-cityguide.flagship #book .bkl a[rel~="sponsored"]:not(#tec){display:inline-block;min-height:40px;padding:10px 14px;background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);border-radius:var(--tec-btn-radius);
  color:var(--tec-on-yellow);font:600 var(--fs-sm)/1.3 var(--sans);text-decoration:none}
@media(hover:hover){.tpl-cityguide.flagship #book .bkl a[rel~="sponsored"]:not(#tec):hover{background:var(--tec-yellow-hover);border-color:var(--tec-yellow-edge);color:var(--tec-on-yellow);text-decoration:none}}

/* ---------- 4. what to skip: three numbered cards under the heading ---------- */
.tpl-cityguide.flagship #skip .skip{grid-template-columns:minmax(0,1fr);gap:24px}
.tpl-cityguide.flagship #skip .skip ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tpl-cityguide.flagship #skip .skip li{display:block;padding:22px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tc-row-shadow)}
.tpl-cityguide.flagship #skip .skip li:first-child{border-top:1px solid var(--tec-card-line);padding-top:22px}
.tpl-cityguide.flagship #skip .skip li::before{margin-bottom:14px;font-size:var(--fs-sm)}
.tpl-cityguide.flagship #skip .skip li b{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-cityguide.flagship #skip .skip li p{margin-top:8px;color:var(--tec-body)}

/* ---------- 5. plan smarter: five boxes (the fifth and fourth share the second row of a six-column grid) ---------- */
.tpl-cityguide.flagship #plan-more .minis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:14px}
.tpl-cityguide.flagship #plan-more .mini{padding:24px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-cityguide.flagship #plan-more .mini h2{font:400 var(--fs-xl)/1.2 var(--serif);letter-spacing:-.01em;color:var(--navy)}
.tpl-cityguide.flagship #plan-more .mini .short{margin-top:10px;font-size:var(--fs-md);font-weight:500;line-height:1.5;color:var(--tec-ink)}
.tpl-cityguide.flagship #plan-more .mini ul{margin:12px 0 0 18px}
.tpl-cityguide.flagship #plan-more .mini li{margin-top:6px;color:var(--tec-body)}
.tpl-cityguide.flagship #plan-more .mini li::marker{color:var(--tec-blue)}
@media(min-width:1041px){
  .tpl-cityguide.flagship #plan-more .minis{grid-template-columns:repeat(6,minmax(0,1fr))}
  .tpl-cityguide.flagship #plan-more .mini{grid-column:span 2}
  .tpl-cityguide.flagship #plan-more .minis:has(>.mini:nth-child(5):last-child)>.mini:nth-child(n+4){grid-column:span 3}
}

/* ---------- 6. when to go: the two paragraphs as two boxes ---------- */
.tpl-cityguide.flagship #when .g-when{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tpl-cityguide.flagship #when .g-when p{margin:0;padding:22px 24px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  box-shadow:var(--tc-row-shadow);font-size:var(--fs-md);line-height:1.6;color:var(--tec-body)}

/* ---------- 7. getting around: four small boxes beside the heading ---------- */
.tpl-cityguide.flagship #around .around{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px}
.tpl-cityguide.flagship #around .around ul{gap:14px}
.tpl-cityguide.flagship #around .around li{padding:20px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tc-row-shadow);line-height:1.55;color:var(--tec-body)}
.tpl-cityguide.flagship #around .around li b{margin-bottom:6px;font:600 var(--fs-md)/1.3 var(--sans);color:var(--navy)}

/* ---------- 8. the itinerary: a box a day, a blue rule across the top ---------- */
.tpl-cityguide.flagship #days .g-days{gap:18px}
.tpl-cityguide.flagship #days .g-days li{padding:22px 24px 24px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tc-row-shadow)}
.tpl-cityguide.flagship #days .g-days li::before{content:"";display:block;width:40px;height:4px;margin-bottom:14px;border-radius:4px;background:var(--tec-blue)}
.tpl-cityguide.flagship #days .g-days h3{font:400 var(--fs-xl)/1.2 var(--serif);letter-spacing:-.01em;color:var(--navy)}
.tpl-cityguide.flagship #days .g-days p{margin-top:8px;font-size:var(--fs-md);line-height:1.55;color:var(--tec-body)}

/* ---------- 9. sources: his credits as chips ---------- */
.tpl-cityguide.flagship #sources .srcs{display:flex;flex-wrap:wrap;gap:8px;columns:auto;list-style:none}
.tpl-cityguide.flagship #sources .srcs li{padding:0;font-size:var(--fs-sm)}
.tpl-cityguide.flagship #sources .srcs a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;background:var(--white);border:1px solid var(--tec-line);border-radius:var(--r-pill);
  color:var(--tec-blue);font-weight:600;text-decoration:none;transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-cityguide.flagship #sources .srcs a:hover{background:var(--tc-hover);border-color:var(--tec-blue)}}
.tpl-cityguide.flagship #sources .head .sub{max-width:62ch}

/* ---------- 10. explore more: his cross-sell, white rows with a blue name and an arrow ---------- */
.tpl-cityguide.flagship #more .more-cols{gap:28px 32px}
.tpl-cityguide.flagship #more .more-cols h3{margin-bottom:12px;font:400 var(--fs-xl)/1.2 var(--serif);letter-spacing:-.01em;color:var(--navy)}
.tpl-cityguide.flagship #more .more-cols a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:9px;padding:10px 14px;
  background:var(--white);border:1px solid var(--tec-card-line);border-radius:10px;color:var(--tec-blue);font:600 var(--fs-sm)/1.35 var(--sans);
  transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover)}
.tpl-cityguide.flagship #more .more-cols a::after{content:"\2192";content:"\2192" / "";flex:none;font-weight:400}
@media(hover:hover){.tpl-cityguide.flagship #more .more-cols a:hover{background:var(--tc-hover);border-color:var(--tec-blue)}}

/* ---------- tablet: two across for the cards (above), one column for the rest ---------- */
@media(max-width:1040px){
  .tpl-cityguide.flagship :is(.answer.glance,#facts) .facts,.tpl-cityguide.flagship #facts .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-cityguide.flagship #do .g-todo.more-do{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-cityguide.flagship #skip .skip ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  .tpl-cityguide.flagship #book .book,.tpl-cityguide.flagship #around .around{grid-template-columns:minmax(0,1fr);gap:22px}
  .tpl-cityguide.flagship #book .book li{grid-template-columns:42px minmax(0,1fr)}
  .tpl-cityguide.flagship #book .book .lead{grid-column:2;justify-self:start;max-width:none}
  .tpl-cityguide.flagship #around .around ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-cityguide.flagship #when .g-when{grid-template-columns:minmax(0,1fr)}
}

/* ---------- phones ----------
   The groups js/tec.js turns into swipe rows (#stay .g-areas, #do .g-todo.pics, #trips .g-trips) keep their one-row layout,
   which the guide's own rules (a 4-column .g-todo.pics, the thumbnail rows in phone.css) would otherwise undo; the rest stack. */
@media(max-width:700px){
  .tpl-cityguide.flagship .sec .head{margin-bottom:18px}
  .tpl-cityguide.flagship .guide-intro{padding-top:20px}
  .tpl-cityguide.flagship .hotel-search{padding:18px}
  .tpl-cityguide.flagship .hotel-search .hs-fields .f:not(.ages) :is(input,select){min-height:50px}
  .tpl-cityguide.flagship .hotel-search .hs-fields button.pill{min-height:50px}
  .tpl-cityguide.flagship .answer.glance{margin-top:26px}
  .tpl-cityguide.flagship :is(.answer.glance,#facts) .facts,.tpl-cityguide.flagship #facts .facts{grid-template-columns:minmax(0,1fr);gap:10px}
  .tpl-cityguide.flagship .fact{padding:14px 16px}

  /* the card groups, before the script has made them rows: one column */
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips){grid-template-columns:minmax(0,1fr);gap:14px}
  /* and as rows: one card a step (the same numbers as the row block in tec.css, which the 2- and 4-column rules above outrank) */
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips).tec-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(80%,320px);
    gap:12px;align-items:stretch;padding-top:7px;padding-bottom:14px}
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips)>li{box-shadow:0 3px 12px rgba(27,48,72,.08)}
  /* phone.css makes the area and day-trip cards thumbnail rows (88px beside the name): back to a photo on top, a fifth shorter */
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo:not(.more-do),#trips .g-trips)>li>.pic{width:100%;height:auto;grid-column:auto;grid-row:auto;aspect-ratio:5/3;margin:0}
  .tpl-cityguide.flagship #stay .g-areas>li>:is(h3,.for),.tpl-cityguide.flagship #trips .g-trips>li>:is(h3,span){grid-column:auto;align-self:auto}
  .tpl-cityguide.flagship #trips .g-trips>li{gap:0}

  /* more places: library rows with an 80px thumbnail (phone.css had 51px) */
  .tpl-cityguide.flagship #do .g-todo.more-do{grid-template-columns:minmax(0,1fr);gap:10px}
  .tpl-cityguide.flagship #do .g-todo.more-do>li{grid-template-columns:80px minmax(0,1fr);gap:14px;padding:10px}
  .tpl-cityguide.flagship #do .g-todo.more-do>li>.pic{width:80px;height:auto;aspect-ratio:80/62;border-radius:8px}
  .tpl-cityguide.flagship #do .more-h{margin:36px 0 14px;padding-bottom:10px}

  .tpl-cityguide.flagship #book .book{gap:18px}
  .tpl-cityguide.flagship #book .book li{padding:16px;gap:6px 14px}
  .tpl-cityguide.flagship #skip .skip ol,.tpl-cityguide.flagship #plan-more .minis,.tpl-cityguide.flagship #around .around ul{grid-template-columns:minmax(0,1fr)}
  .tpl-cityguide.flagship #skip .skip li{padding:18px}
  .tpl-cityguide.flagship #plan-more .mini{padding:20px}
  .tpl-cityguide.flagship #when .g-when p{padding:18px 18px}
  .tpl-cityguide.flagship #around .around li{padding:16px}
  .tpl-cityguide.flagship #days .g-days li{padding:18px 18px 20px}
  .tpl-cityguide.flagship #more .more-cols{gap:22px}
}
@media(prefers-reduced-motion:reduce){
  .tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo,#trips .g-trips)>li,.tpl-cityguide.flagship :is(#stay .g-areas,#do .g-todo,#trips .g-trips)>li>.pic{transition:none}
}

/* ==================== fixes from the screenshot review of every page type (5 Nov 2026) ====================
   Six Sonnet agents read phone and computer screenshots of one page of each type under the new look, and an Opus agent
   checked what they flagged. Most of these were older than the new look and only showed more under it. */

/* itineraries, transfers, day trips, neighborhood and sight pages: their links read as links, and the booking buttons
   keep room above and below */
.tpl-cityguide.tpl-more :is(.more-line a,.area-stays .acts a.off){color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-cityguide.tpl-more .g-when+.tt-go{margin-top:20px}
/* the airport transfers table shared a class with the Colosseum page's compare panel (catalog.css .compare), which
   framed it as a sticky panel with no cell padding; here it's a plain table that scrolls sideways on a phone */
.tpl-cityguide.tpl-more .scroll{overflow-x:auto}
.tpl-cityguide.tpl-more table.compare{position:static;width:100%;min-width:600px;padding:0;border:0;border-radius:0;box-shadow:none;border-collapse:collapse;font-size:var(--fs-sm)}
.tpl-cityguide.tpl-more table.compare::before{content:none}
.tpl-cityguide.tpl-more table.compare :is(th,td){text-align:left;vertical-align:top;padding:12px 16px 12px 0;border-top:1px solid var(--tec-line);line-height:1.5}
.tpl-cityguide.tpl-more table.compare thead th{border-top:0;white-space:nowrap}

/* country pages: a pale photo (Luxembourg's mist) under white text on a phone gets more veil (the tables' edge fades are
   in the country part below, now that the tables sit in white boxes) */
@media(max-width:700px){.tpl-country.tpl-flagship .fl-hero{box-shadow:inset 0 0 0 100vmax rgba(5,25,48,.35)}}

/* the Paris tours comparison library: base.css's 80px section padding also landed on each nested group */
.tpl-tours-flag .tf-group{padding-block:0}

/* the Table: the Rome guide's food-tour meta line runs the card's width; the food guides' last chips keep room above the note */
.tpl-guide.tpl-romefood .tour .facts{display:block}

/* both destinations pages: on a phone, with its photo hidden, a plan card's title keeps room under the top edge */
@media(max-width:700px){.tpl-dest .dest-plan article{padding-top:18px}}

/* the 404: buttons and city chips aren't underlined; the site map's h1 is sized like every other h1 */
.tpl-site .nf :is(.pill,.cluster a){text-decoration:none}
.tpl-site .sitemap>h1{font-size:var(--fs-h1);line-height:1.08}

/* ==================== the country pages (body.tpl-country.tpl-flagship) ====================
   Victor's France master on every country page (country_flagship() in gen-pages.py, 33 pages), in his look: the photo
   hero with his search wrapper; the city cards as his boxed experience cards, four across on a computer, two on a
   tablet and one swipe row on a phone (js/tec.js), with one city drawn as a single wide card; the "where should you go"
   answers as his numbered decision cards; the two tables in a white box; the experience, season, route and plan cards
   as boxes with his edge; the questions as his cards in two columns; the closing call as his slim navy band; the review
   note as a strip. Yellow stays on the two searches' buttons, which hand off to Booking.com and Viator (tec.css); every
   other button here stays in the page, so it is blue or white. Loaded after tec.css and before phone.css: every rule
   names the full scope, which also outranks phone.css's thumbnail rows for the city cards. */

.tpl-country.tpl-flagship{
  --tk-hover:#EFF6FF;                              /* his secondary button's hover */
  --tk-ring:rgba(11,78,162,.12);                   /* the 3px ring round a numbered circle */
  --tk-row-shadow:0 3px 12px rgba(25,45,65,.045);  /* his decision card and question card */
  --tk-pad:16px;
}

/* ---------- the section heads: his title, the intro under it in his muted gray, room above the cards ---------- */
.tpl-country.tpl-flagship main.fl .sec>h2{margin:0;text-wrap:balance}
.tpl-country.tpl-flagship .fl-intro{max-width:66ch;margin:10px 0 28px;font-size:var(--fs-md);line-height:1.6;color:var(--tec-muted)}
/* links inside running text read as links: underlined, not only blue */
.tpl-country.tpl-flagship main.fl .sec :is(article p,.fl-more,#stays>p) a:not(.pill){color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-country.tpl-flagship main.fl .sec :is(article p,.fl-more,#stays>p) a:not(.pill):hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
/* the two white sections in a row (the cities, then the answers) get his 1px rule between them, edge to edge */
.tpl-country.tpl-flagship #choose{border-top:1px solid var(--tec-rule);border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0 0/0 100vmax}

/* ---------- 1. the photo hero: his search wrapper over the photo, 54px fields and a 54px button ---------- */
.tpl-country.tpl-flagship .fl-hero h1{margin:8px 0 14px;max-width:18em;line-height:1.06;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.tpl-country.tpl-flagship .fl-hero .lede{max-width:62ch;font-size:var(--fs-lg);line-height:1.55;color:var(--white)}
.tpl-country.tpl-flagship .fl-search{padding:16px 18px 18px;border-radius:15px;background:var(--white)}
.tpl-country.tpl-flagship .fl-hero .fl-search{border:1px solid rgba(255,255,255,.55);box-shadow:0 16px 38px rgba(0,0,0,.22)}
.tpl-country.tpl-flagship .fl-form-h{margin-bottom:12px;font:600 var(--fs-md)/1.3 var(--sans);color:var(--tec-ink)}
.tpl-country.tpl-flagship .fl-search :is(.fl-fields>.f>label,.fl-occ .lbl){margin-bottom:5px;font:600 var(--fs-xs)/1.3 var(--sans);letter-spacing:.06em;color:var(--tec-muted)}
.tpl-country.tpl-flagship .fl-fields>.f>:is(input,select),.tpl-country.tpl-flagship .fl-occ .val{min-height:54px;font-size:var(--fs-md);color:var(--tec-ink)}
.tpl-country.tpl-flagship .fl-occ .val{display:flex;align-items:center;padding-top:0;padding-bottom:0}
/* look.css keeps 34px at the right of a select for a drawn arrow, but these are the browser's own selects, whose arrow
   keeps its place at the edge: the extra room only cut the value short ("EUF", "Palma de Mallorc"). A date keeps a
   little less at its right too, beside its calendar icon. */
.tpl-country.tpl-flagship .fl-search .fl-fields>.f>select{padding-right:14px}
@media(min-width:361px){.tpl-country.tpl-flagship .fl-search .fl-fields>.f>input[type=date]{padding-right:10px}}
.tpl-country.tpl-flagship .fl-fields>.f>:is(input,select):focus,.tpl-country.tpl-flagship .fl-occ[open] .val{border-color:var(--tec-blue);box-shadow:0 0 0 3px rgba(11,78,162,.22)}
/* the submit hands off to Booking.com or Viator: yellow (tec.css); here only its size */
.tpl-country.tpl-flagship .fl-fields>button.pill{min-height:54px;padding:0 24px;font:600 var(--fs-md)/1.3 var(--sans)}
/* the hero clips sideways only (base.css hides all its overflow), so the rooms and guests panel can open below the photo
   instead of being cut off at its foot; the photo's drift (scroll-motion.js) moves its background, inside the box */
.tpl-country.tpl-flagship .fl-hero{overflow:hidden;overflow:clip visible}
/* the rooms and guests panel: his card edge and a soft lift */
.tpl-country.tpl-flagship .fl-occ-box{padding:14px;border:1px solid var(--tec-card-line);border-radius:12px;box-shadow:0 16px 38px rgba(27,48,72,.16)}
.tpl-country.tpl-flagship .fl-occ-box label{font-weight:600;color:var(--tec-ink)}
.tpl-country.tpl-flagship .fl-second a{color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-country.tpl-flagship .fl-stats{margin-top:18px}
/* the experience search sits on white, as wide as the cards under it */
.tpl-country.tpl-flagship #experiences .fl-exp{max-width:none;margin:0 0 28px}
/* a laptop or tablet (761 to 1100px): city.css keeps the stay search in one row of six down to 1001px, too narrow for a
   date or the currency (review, 5 Nov 2026: "mm/dd/yyy", "EUF"). Two rows of four instead: the city and the dates, then
   the currency, rooms and guests, and the button */
@media(min-width:761px) and (max-width:1100px){
  .tpl-country.tpl-flagship #stay-search .fl-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tpl-country.tpl-flagship #stay-search .fl-fields>:is(.f:first-child,.fl-occ){grid-column:span 2}
}
/* narrower, the fields go two by two and the button takes the whole last row, so it doesn't sit alone in half of it */
@media(max-width:760px){.tpl-country.tpl-flagship #stay-search .fl-fields>button{grid-column:1/-1}}
/* the experience search: city.css keeps a third column for the button that goes empty below 1001px, so the button ended
   12px short of the city above it. The city and the kind side by side, the button the full width under them */
@media(min-width:601px) and (max-width:1000px){
  .tpl-country.tpl-flagship #experience-search .fl-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-country.tpl-flagship #experience-search .fl-fields>.f:first-child{grid-column:auto}
  .tpl-country.tpl-flagship #experience-search .fl-fields>button{grid-column:1/-1}
}

/* ---------- 2. on this page: a white bar under the hero with his rule; on a phone one row that scrolls sideways ----------
   city.css gives the bar 16px sides, which overrode the page gutter of its .wrap: the label sat 8px left of everything */
.tpl-country.tpl-flagship .fl-onpage{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;padding:14px var(--gutter);
  border-bottom:1px solid var(--tec-line);border-image:linear-gradient(var(--tec-line),var(--tec-line)) 0 0 1 0/0 0 1px 0/0 100vmax;
  font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-country.tpl-flagship .fl-onpage b{margin-right:4px;font-weight:600;color:var(--tec-ink)}
.tpl-country.tpl-flagship .fl-onpage a{display:inline-flex;align-items:center;min-height:32px;padding:4px 2px;color:var(--tec-blue);font-weight:600;text-decoration:none}
@media(hover:hover){.tpl-country.tpl-flagship .fl-onpage a:hover{color:var(--tec-blue-dark);text-decoration:underline;text-underline-offset:3px}}

/* ---------- 3. the cities: his boxed experience card, the photo full width on top at 16:10, a 2px lift on hover ---------- */
.tpl-country.tpl-flagship .fl-cities{gap:18px}
.tpl-country.tpl-flagship .fl-city{position:relative;display:flex;flex-direction:column;min-width:0;padding:0;
  border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tec-card-shadow);overflow:hidden;
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
.tpl-country.tpl-flagship .fl-city img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0;border-radius:0;
  transition:transform .35s var(--ease-out)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-country.tpl-flagship .fl-city:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  .tpl-country.tpl-flagship .fl-city:hover img{transform:scale(1.018)}
}
/* the name: his card title, Work Sans, ink; the trip it suits and the visit length as his blue category line */
.tpl-country.tpl-flagship .fl-city h3{margin:0;padding:14px var(--tk-pad) 0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-country.tpl-flagship .fl-city p{padding:0 var(--tk-pad)}
/* balanced, the line breaks near the middle, so "Suggested visit: 2-3 days" mostly keeps to one line instead of splitting
   after "2-" (the text can't carry a non-breaking hyphen from here) */
.tpl-country.tpl-flagship .fl-city .fl-for{margin-top:6px;font:600 var(--fs-xs)/1.45 var(--sans);letter-spacing:.02em;color:var(--tec-blue);text-wrap:balance}
.tpl-country.tpl-flagship .fl-city>p:not(.fl-for){margin:8px 0 14px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
/* the card's one action, his secondary button at the foot: white, blue text, a blue edge, his 14px sides. The arrow follows
   the label, held to its last word, so "Explore San Sebastián" fits on one line at four across (it opens the city guide,
   so it isn't yellow) */
.tpl-country.tpl-flagship .fl-city .go{position:relative;display:flex;align-items:center;justify-content:center;min-height:46px;margin:auto var(--tk-pad) var(--tk-pad);
  padding:11px 14px;background:var(--white);border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);color:var(--tec-blue);
  font:600 var(--fs-sm)/1.3 var(--sans);text-align:center;text-decoration:none;text-wrap:balance;
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
.tpl-country.tpl-flagship .fl-city .go::after{content:"\00a0\2192";content:"\00a0\2192" / "";font-weight:400}
@media(hover:hover){.tpl-country.tpl-flagship .fl-city:hover .go,.tpl-country.tpl-flagship .fl-city .go:hover{background:var(--tk-hover);color:var(--tec-blue-dark)}}
.tpl-country.tpl-flagship .fl-city .go:active{background:#E3EEFB}

/* four across on a computer, two on a tablet; two or three cities fill three columns, so a short row isn't stretched */
@media(min-width:701px){
  .tpl-country.tpl-flagship .fl-cities{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1041px){
  .tpl-country.tpl-flagship .fl-cities{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tpl-country.tpl-flagship .fl-cities:has(>.fl-city:nth-child(2):last-child,>.fl-city:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* one city (Luxembourg, Malta and 13 more): one wide card, the photo on the left and the words on the right */
@media(min-width:701px){
  .tpl-country.tpl-flagship .fl-city:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto auto auto 1fr;align-content:stretch}
  .tpl-country.tpl-flagship .fl-city:only-child img{grid-column:1;grid-row:1/-1;height:100%;min-height:280px;aspect-ratio:auto}
  .tpl-country.tpl-flagship .fl-city:only-child>:not(img){grid-column:2;padding-left:28px;padding-right:28px}
  .tpl-country.tpl-flagship .fl-city:only-child h3{padding-top:26px;font-size:var(--fs-xl)}
  .tpl-country.tpl-flagship .fl-city:only-child .fl-for{font-size:var(--fs-sm)}
  .tpl-country.tpl-flagship .fl-city:only-child>p:not(.fl-for){max-width:60ch;font-size:var(--fs-md)}
  .tpl-country.tpl-flagship .fl-city:only-child .go{align-self:end;justify-self:start;margin:0 28px 26px;padding-left:28px;padding-right:28px}
}
/* a computer or tablet: the cards of a row share their rows (subgrid), so the category lines, the descriptions and the
   buttons line up across it, and a label that still wraps (Palma de Mallorca) makes every button in its row as tall,
   as on the homepage. A card condense.js has folded (a phone turned sideways) keeps the plain column. */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-country.tpl-flagship .fl-cities:has(>.fl-city:nth-child(2)){row-gap:0;margin-bottom:-18px}
    .tpl-country.tpl-flagship .fl-city:not(:only-child){margin-bottom:18px}
    .tpl-country.tpl-flagship .fl-city:not(:only-child):not(:has(>.cz-more)){display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
    .tpl-country.tpl-flagship .fl-city:not(:only-child):not(:has(>.cz-more)) .go{align-self:stretch;margin-top:0}
  }
}

/* ---------- 4. where should you go: his numbered decision cards, two across, the fifth across the row ---------- */
.tpl-country.tpl-flagship #choose .fl-two{counter-reset:tk-q;gap:18px}
/* the number beside the question, the answer under the question (a grid inside the card; the reading order stays) */
.tpl-country.tpl-flagship #choose .fl-two>article{counter-increment:tk-q;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:16px;align-content:start;
  padding:20px 22px 22px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tk-row-shadow)}
.tpl-country.tpl-flagship #choose .fl-two>article::before{content:counter(tk-q);content:counter(tk-q) / "";grid-column:1;grid-row:1/span 2;display:grid;place-items:center;width:42px;height:42px;
  border-radius:50%;background:var(--tec-navy);color:var(--white);font:600 var(--fs-sm)/1 var(--sans);box-shadow:0 0 0 3px var(--tk-ring)}
.tpl-country.tpl-flagship #choose .fl-two h3{grid-column:2;align-self:center;min-height:42px;display:flex;align-items:center;margin:0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-country.tpl-flagship #choose .fl-two p{grid-column:2;margin-top:6px;font-size:var(--fs-md);line-height:1.58;color:var(--tec-body)}
@media(min-width:701px){.tpl-country.tpl-flagship #choose .fl-two>article:last-child:nth-child(odd){grid-column:1/-1}}

/* ---------- 5. the two tables (where to stay, beyond the cities): in a white box with his edge on the tinted ground ----------
   The box is the table's ground now, so its edge fades (base.css, through --bone) take white. */
.tpl-country.tpl-flagship :is(#stays,#regions) .booktable-wrap{--bone:var(--white);padding:4px 22px 6px;background-color:var(--white);
  border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-country.tpl-flagship .booktable :is(th,td){padding:15px 22px 15px 0;border-top:1px solid #EDF0F2;line-height:1.5}
.tpl-country.tpl-flagship .booktable :is(th,td):last-child{padding-right:0}
.tpl-country.tpl-flagship .booktable thead th{padding-top:14px;padding-bottom:12px;border-top:0;border-bottom:1px solid var(--sky-3);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-muted)}
.tpl-country.tpl-flagship .booktable tbody tr:first-child>*{border-top:0}
.tpl-country.tpl-flagship .booktable th[scope=row]{width:210px;font:600 var(--fs-md)/1.35 var(--sans);color:var(--tec-ink)}
.tpl-country.tpl-flagship .booktable tbody th a{font:600 var(--fs-md)/1.35 var(--sans);color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-country.tpl-flagship .booktable.dtab td{font-size:var(--fs-sm);color:var(--tec-body)}
/* where to start the search is the answer, so it reads a touch stronger than the advice beside it */
.tpl-country.tpl-flagship #stays .booktable.dtab td:nth-of-type(1){color:var(--tec-ink);font-weight:500}
.tpl-country.tpl-flagship .booktable.dtab td a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-country.tpl-flagship .booktable a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
/* under the table: the note, the room advice and the jump to the search */
.tpl-country.tpl-flagship #stays .fl-more{margin:18px 0 0;color:var(--tec-body)}
.tpl-country.tpl-flagship #stays>h3{margin:36px 0 0;font:400 var(--fs-xl)/1.2 var(--serif);letter-spacing:-.01em;color:var(--navy)}
.tpl-country.tpl-flagship #stays>p:not(.fl-intro):not(.fl-more){max-width:75ch;margin-top:8px;font-size:var(--fs-md);line-height:1.6;color:var(--tec-body)}
.tpl-country.tpl-flagship #stays>p:last-child{margin-top:22px}

/* ---------- 6. experiences: boxes three across with the site's ticket mark, the card's button at the foot ---------- */
.tpl-country.tpl-flagship .fl-exps{gap:18px}
.tpl-country.tpl-flagship .fl-exps>article{display:flex;flex-direction:column;padding:22px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow)}
.tpl-country.tpl-flagship .fl-exps>article::before{content:"";flex:none;width:42px;height:42px;margin-bottom:14px;border-radius:50%;
  background:var(--tec-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4EA2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16v3a2 2 0 0 0 0 4v3H4v-3a2 2 0 0 0 0-4z'/%3E%3Cpath d='M14 8v10'/%3E%3C/svg%3E") center/22px 22px no-repeat;
  box-shadow:inset 0 0 0 1px var(--tec-line)}
.tpl-country.tpl-flagship .fl-exps h3{margin:0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-country.tpl-flagship .fl-exps p{margin:8px 0 18px;font-size:var(--fs-sm);line-height:1.6;color:var(--tec-body)}
/* "Check ... dates and options" fills the experience search above, so it is his secondary button, full width */
.tpl-country.tpl-flagship .fl-exps>article .pill{width:100%;margin-top:auto;justify-content:center;white-space:normal;text-align:center}
.tpl-country.tpl-flagship #experiences>.fl-more{margin:22px 0 0;max-width:75ch;font-size:var(--fs-sm);color:var(--tec-muted)}
@media(min-width:701px){.tpl-country.tpl-flagship .fl-exps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1041px){.tpl-country.tpl-flagship .fl-exps{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- 7. the seasons, the routes and the two plan notes: white boxes; a route has his blue rule across the top ---------- */
.tpl-country.tpl-flagship :is(.fl-four,.fl-three,#plan .fl-two){gap:18px}
.tpl-country.tpl-flagship :is(.fl-four,.fl-three,#plan .fl-two)>article{padding:22px 24px 24px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tk-row-shadow)}
.tpl-country.tpl-flagship :is(.fl-four,.fl-three,#plan .fl-two) h3{margin:0;font:400 var(--fs-xl)/1.2 var(--serif);letter-spacing:-.01em;color:var(--navy)}
.tpl-country.tpl-flagship :is(.fl-four,.fl-three,#plan .fl-two) p{margin-top:8px;font-size:var(--fs-md);line-height:1.58;color:var(--tec-body)}
.tpl-country.tpl-flagship .fl-four p{font-size:var(--fs-sm)}
.tpl-country.tpl-flagship .fl-three>article::before{content:"";display:block;width:40px;height:4px;margin-bottom:14px;border-radius:4px;background:var(--tec-blue)}
.tpl-country.tpl-flagship #plan .fl-three{margin-bottom:18px}
@media(min-width:701px){
  .tpl-country.tpl-flagship .fl-four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-country.tpl-flagship #plan .fl-two{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1041px){
  .tpl-country.tpl-flagship .fl-four{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tpl-country.tpl-flagship .fl-three{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ---------- 8. the questions: his cards, two columns on a computer, over his rule ----------
   On a computer every answer is in view, so the cards have no plus. On a phone js/condense.js turns each question into a
   button that opens its answer (the first one open); that button takes his navy plus, a quarter turn when open. */
.tpl-country.tpl-flagship #faqs>h2{padding-bottom:22px;margin-bottom:28px;border-bottom:1px solid #D9E0E6}
.tpl-country.tpl-flagship .faq-open{max-width:none;display:grid;grid-template-columns:minmax(0,1fr);gap:12px 14px}
.tpl-country.tpl-flagship .faq-open>article{padding:18px;border:1px solid #DCE3E9;border-radius:14px;background:var(--white);box-shadow:var(--tk-row-shadow)}
.tpl-country.tpl-flagship .faq-open h3{font:600 var(--fs-md)/1.35 var(--sans);letter-spacing:0;color:var(--tec-ink)}
.tpl-country.tpl-flagship .faq-open p{margin-top:8px;font-size:var(--fs-sm);line-height:1.6;color:var(--tec-body)}
@media(min-width:1041px){.tpl-country.tpl-flagship .faq-open{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 9. the closing call (#find): his slim navy final band, edge to edge, the words left and the buttons right ---------- */
.tpl-country.tpl-flagship #find{padding-top:0;padding-bottom:0}
.tpl-country.tpl-flagship #find .dest-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:36px;align-items:center;padding:28px 0;
  background:var(--tec-navy);border-radius:0;box-shadow:0 0 0 100vmax var(--tec-navy);clip-path:inset(0 -100vmax);text-align:left}
.tpl-country.tpl-flagship #find .dest-cta>h2{grid-column:1;grid-row:1;margin:0 0 6px;font-size:var(--fs-2xl);line-height:1.15;color:var(--white)}
.tpl-country.tpl-flagship #find .dest-cta>p{grid-column:1;margin:0;max-width:600px;font-size:var(--fs-md);color:#DCE7F2}
.tpl-country.tpl-flagship #find .dest-cta>.plan-go{grid-column:2;grid-row:1/span 2;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;max-width:none}
.tpl-country.tpl-flagship #find .dest-cta>p:last-child{grid-column:1/-1;margin-top:14px;font-size:var(--fs-sm);color:#B9D0E8}
.tpl-country.tpl-flagship #find .dest-cta>p:last-child a{color:var(--white);text-decoration:underline;text-underline-offset:3px}
/* the main button back to the stay search is white on navy, the other a white outline (look.css); no gradient edge */
.tpl-country.tpl-flagship #find .dest-cta .pill.fill{background:var(--white);border-color:var(--white);color:var(--tec-navy)}
@media(hover:hover){.tpl-country.tpl-flagship #find .dest-cta .pill.fill:hover{background:var(--tk-hover);border-color:var(--tk-hover);color:var(--tec-navy)}}
@media(max-width:1100px){
  .tpl-country.tpl-flagship #find .dest-cta{grid-template-columns:minmax(0,1fr)}
  .tpl-country.tpl-flagship #find .dest-cta>.plan-go{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:18px}
}

/* ---------- 10. the review note: a soft strip under the band, edge to edge, before the footer ---------- */
.tpl-country.tpl-flagship .fl-review{padding-top:18px;padding-bottom:22px;background:var(--tec-soft);box-shadow:0 0 0 100vmax var(--tec-soft);clip-path:inset(0 -100vmax);
  color:var(--tec-muted)}
.tpl-country.tpl-flagship .fl-review summary{color:var(--tec-blue)}
.tpl-country.tpl-flagship .fl-review details p{color:var(--tec-body)}
.tpl-country.tpl-flagship .fl-review a{color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}

/* ---------- tablet: a narrower first column in the tables ---------- */
@media(min-width:701px) and (max-width:1040px){
  .tpl-country.tpl-flagship .booktable th[scope=row]{width:170px}
}

/* ---------- phones ----------
   The city cards are the one group js/tec.js turns into a swipe row (#destinations .fl-cities). phone.css draws them as
   thumbnail rows (a 67px square beside the name); here they go back to his card, the photo on top a fifth shorter. The
   answers and the questions stay one column, so js/condense.js can fold them with hidden="until-found". */
@media(max-width:700px){
  .tpl-country.tpl-flagship .fl-intro{margin:8px 0 18px}
  .tpl-country.tpl-flagship .fl-hero .lede{font-size:var(--fs-md)}
  .tpl-country.tpl-flagship .fl-search{padding:14px}
  .tpl-country.tpl-flagship .fl-fields>.f>:is(input,select),.tpl-country.tpl-flagship .fl-occ .val,.tpl-country.tpl-flagship .fl-fields>button.pill{min-height:50px}
  .tpl-country.tpl-flagship .fl-second a{display:inline-flex;align-items:center;min-height:44px}
  .tpl-country.tpl-flagship #experiences .fl-exp{margin-bottom:22px}

  /* on this page: one row that scrolls sideways, a fade where it goes on, each link a thumb's height */
  .tpl-country.tpl-flagship .fl-onpage{flex-wrap:nowrap;gap:0 6px;overflow-x:auto;padding-top:4px;padding-bottom:4px;white-space:nowrap;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-right:40px}
  .tpl-country.tpl-flagship .fl-onpage::-webkit-scrollbar{display:none}
  .tpl-country.tpl-flagship .fl-onpage a{flex:none;min-height:44px}
  .tpl-country.tpl-flagship .fl-onpage b{flex:none}

  /* the city cards, before the script has made them a row: one column */
  .tpl-country.tpl-flagship .fl-cities{grid-template-columns:minmax(0,1fr);gap:14px}
  /* and as a row: one card a step (the numbers of the row block in tec.css, which the column rule above outranks) */
  .tpl-country.tpl-flagship .fl-cities.tec-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(80%,300px);gap:12px;align-items:stretch;padding-top:7px;padding-bottom:14px}
  .tpl-country.tpl-flagship .fl-city{display:flex;flex-direction:column;align-items:stretch;padding:0;column-gap:0;box-shadow:0 3px 12px rgba(27,48,72,.08)}
  .tpl-country.tpl-flagship .fl-city img{grid-row:auto;width:100%;height:auto;aspect-ratio:5/3;margin:0;border-radius:0}
  .tpl-country.tpl-flagship .fl-city h3{padding:12px 14px 0;grid-column:auto;align-self:auto;font-size:var(--fs-lg)}
  .tpl-country.tpl-flagship .fl-city p{padding:0 14px}
  .tpl-country.tpl-flagship .fl-city .fl-for{grid-column:auto;align-self:auto}
  .tpl-country.tpl-flagship .fl-city>p:not(.fl-for){margin:8px 0 12px}
  .tpl-country.tpl-flagship .fl-city>p.cz-clamp{margin-bottom:0}
  /* the "Read more" condense.js puts under a clamped description */
  .tpl-country.tpl-flagship .fl-city>.cz-more{align-self:flex-start;margin:0 14px 6px}
  .tpl-country.tpl-flagship .fl-city .go{margin:auto 14px 14px}

  .tpl-country.tpl-flagship #choose .fl-two,.tpl-country.tpl-flagship .fl-exps,.tpl-country.tpl-flagship :is(.fl-four,.fl-three,#plan .fl-two){grid-template-columns:minmax(0,1fr);gap:12px}
  .tpl-country.tpl-flagship #choose .fl-two>article{padding:18px}
  .tpl-country.tpl-flagship #choose .fl-two>article{grid-template-columns:38px minmax(0,1fr);column-gap:14px}
  /* a folded answer card (condense.js, hidden="until-found") keeps no box: no shadow line where it waits */
  .tpl-country.tpl-flagship #choose .fl-two>article.cz-off{box-shadow:none}
  .tpl-country.tpl-flagship #choose .fl-two>article::before{width:38px;height:38px}
  .tpl-country.tpl-flagship #choose .fl-two h3{min-height:38px}
  /* the answer takes the card's full width under the number and the question */
  .tpl-country.tpl-flagship #choose .fl-two p{grid-column:1/-1;margin-top:10px}
  .tpl-country.tpl-flagship #choose .fl-two h3,.tpl-country.tpl-flagship .fl-exps h3{font-size:var(--fs-lg)}
  .tpl-country.tpl-flagship #choose .fl-two p{font-size:var(--fs-sm)}
  .tpl-country.tpl-flagship .fl-exps>article{padding:18px}
  .tpl-country.tpl-flagship .fl-exps>article::before{width:38px;height:38px;margin-bottom:12px}
  .tpl-country.tpl-flagship :is(.fl-four,.fl-three,#plan .fl-two)>article{padding:18px}
  .tpl-country.tpl-flagship :is(.fl-four,.fl-three,#plan .fl-two) h3{font-size:var(--fs-lg)}
  .tpl-country.tpl-flagship :is(.fl-three,#plan .fl-two) p{font-size:var(--fs-sm)}

  /* the tables, one row under another: a sideways scroll left the advice column off the screen with only a faint edge to
     say it was there (review, 5 Nov 2026). The column names stay on top as a key, in the order every row follows: the
     row's name, then the answer in ink, then the advice. Nothing is hidden and the reading order is the table's own. */
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable-wrap{padding:0 16px}
  .tpl-country.tpl-flagship :is(#stays,#regions) :is(.booktable,.booktable thead,.booktable tbody){display:block;width:100%;min-width:0}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable thead tr{display:flex;flex-wrap:wrap;align-items:baseline;padding:14px 0 11px;border-bottom:1px solid var(--sky-3)}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable thead th{padding:0;border:0;line-height:1.5}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable tbody tr{display:grid;grid-template-columns:minmax(0,1fr);row-gap:6px;padding:14px 0 16px;border-top:1px solid #EDF0F2}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable tbody tr:first-child{border-top:0}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable tbody :is(th,td){display:block;width:auto;padding:0;border:0}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable tbody :is(th,th a){font-size:var(--fs-lg)}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable.dtab tbody td:nth-of-type(1){color:var(--tec-ink);font-size:var(--fs-md);font-weight:500}
  .tpl-country.tpl-flagship .booktable :is(th,td) a{display:inline-flex;align-items:center;min-height:44px}
  /* each link keeps its 44px, and a negative margin gives back the height its line would otherwise gain */
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable tbody th a{margin-block:-8px}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable tbody td a{margin-block:-11px}
  .tpl-country.tpl-flagship #stays>h3{margin-top:28px;font-size:var(--fs-lg)}
  .tpl-country.tpl-flagship #stays>p:not(.fl-intro):not(.fl-more){font-size:var(--fs-sm)}
  .tpl-country.tpl-flagship #stays>p:last-child .pill{width:100%;justify-content:center}

  /* the questions: each a card whose question is the button */
  .tpl-country.tpl-flagship #faqs>h2{padding-bottom:18px;margin-bottom:20px}
  .tpl-country.tpl-flagship .faq-open{gap:10px}
  .tpl-country.tpl-flagship .faq-open>article{padding:0 14px}
  .tpl-country.tpl-flagship .faq-open>article h3 .cz-head{min-height:66px;padding:14px 0;gap:14px}
  .tpl-country.tpl-flagship .faq-open>article h3 .cz-head:focus-visible{outline-offset:-2px}
  .tpl-country.tpl-flagship .faq-open>article h3 .cz-head::after{content:"+";content:"+" / "";display:grid;place-items:center;flex:none;width:28px;height:28px;
    border:0;border-radius:50%;background:var(--tec-navy);color:var(--white);font:600 var(--fs-lg)/1 var(--sans);transform:none;
    transition:transform var(--dur-med) var(--ease-out),background-color var(--dur-fast)}
  .tpl-country.tpl-flagship .faq-open>article h3 .cz-head[aria-expanded="true"]::after{transform:rotate(45deg);background:var(--tec-blue)}
  .tpl-country.tpl-flagship .faq-open>article p{margin:0 0 16px}
  .tpl-country.tpl-flagship .faq-open>article:has(.cz-head[aria-expanded="true"]){border-color:#B9CAE0}

  /* the review note's toggle, a thumb's height */
  .tpl-country.tpl-flagship .fl-review summary{padding:11px 0;line-height:22px}
  .tpl-country.tpl-flagship .fl-review li a{display:inline-flex;align-items:center;min-height:44px}

  /* the closing band: the buttons one under the other */
  .tpl-country.tpl-flagship #find .dest-cta{padding:30px 0}
  .tpl-country.tpl-flagship #find .dest-cta>.plan-go{flex-direction:column;align-items:stretch}
  .tpl-country.tpl-flagship #find .dest-cta>.plan-go .pill{justify-content:center;text-align:center;white-space:normal}
}
/* a touch screen: the breadcrumb over the photo and the neighborhood-guide links under the where-to-stay table were 31 and
   39px tall (base.css gives them 6 and 7px). Each is a thumb's height now; a negative margin takes the extra height back,
   so the trail and the sentence keep their spacing, and the sentence's lines open a little so one link's area stays
   clear of the words of the link under it. */
@media(pointer:coarse){
  .tpl-country.tpl-flagship .fl-hero .crumbs a{display:inline-flex;align-items:center;min-height:44px;margin-block:-6px}
  .tpl-country.tpl-flagship #stays .fl-more{line-height:1.9}
  .tpl-country.tpl-flagship #stays .fl-more a{line-height:30px;margin-block:-7px}
}
@media(prefers-reduced-motion:reduce){
  .tpl-country.tpl-flagship .fl-city,.tpl-country.tpl-flagship .fl-city img,.tpl-country.tpl-flagship .fl-city .go,
  .tpl-country.tpl-flagship .faq-open>article h3 .cz-head::after{transition:none}
}

/* ==================== the extra city pages (body.tpl-cityguide.tpl-more) ====================
   Victor's look on the 1,841 pages more_page() in gen-pages.py writes from scripts/more/<slug>.json: the neighborhood
   pages (*-stay-<area>), the sight visitor guides (*-sight-*), the itineraries (*-2-days, -3-days, -4-days), the airport
   transfers, the city's day trips and one day trip. Loaded after tec.css and before phone.css. They carry .tpl-cityguide
   but not .flagship, so the city-guide part of tec.css doesn't reach them; the fixes at the end of tec.css (links, button
   spacing, the transfers table) still do, and this part builds on them.
   At a glance as one white box (a strip of cells on a computer); the verdict as two boxes; the hotels as his boxed
   experience card, four across on a computer and two on a tablet, the booking button yellow at the foot (tec.css); the
   numbered lists (nearby, tickets, ways from the airport, what to see, the day trips) as his numbered decision cards; the
   itinerary days as boxes; the text sections, the tips and the booking buttons with the heading on the left on a
   computer, as his split heads; the transfers table in a white frame; the link lists as his cross-sell rows. Cream bands
   for booking and practical sections, his soft blue-white for the one aside. Yellow stays on the partner buttons only. */

.tpl-cityguide.tpl-more{
  --tm-hover:#EFF6FF;                              /* his secondary button's hover, and the cross-sell rows' */
  --tm-ring:rgba(11,78,162,.12);                   /* the 3px ring round a numbered circle */
  --tm-row-shadow:0 3px 12px rgba(25,45,65,.045);  /* his library row and decision card */
  --tm-rule:#EDF0F2;                               /* his decision-check rule inside a card */
  --tm-meta-bg:#F3F7FB; --tm-meta-line:#D9E3ED; --tm-meta-ink:#31465B;   /* his card chips (card-meta) */
  --tm-pad:16px;
}

/* ---------- the grounds: cream for booking and practical sections, his soft blue-white for the late-arrival aside ----------
   The same edge-to-edge band as tec.css's grounds: a spread shadow for the color, a border-image for the 1px rule at each
   edge (neither adds scroll width). The link list at the foot (#more) is his cream cross-sell band. */
.tpl-cityguide.tpl-more :is(#shortlist,#stays,#tickets,#days,#options,#tour,#trips,#more){
  background:var(--tec-cream);box-shadow:0 0 0 100vmax var(--tec-cream);clip-path:inset(0 -100vmax);
  border:solid var(--tec-rule);border-width:1px 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0/0 100vmax}
.tpl-cityguide.tpl-more #late{
  background:var(--tec-soft);box-shadow:0 0 0 100vmax var(--tec-soft);clip-path:inset(0 -100vmax);
  border:solid var(--tec-rule);border-width:1px 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0/0 100vmax}
/* #more is .tight (no top padding) and sits on its own band now, so it gets its space back */
.tpl-cityguide.tpl-more #more{padding-top:56px;padding-bottom:56px}
/* a band right under the title's box (tickets, the days, the table, the day trips) keeps white space above it */
.tpl-cityguide.tpl-more .wrap>.sec:first-child:is(#shortlist,#stays,#tickets,#days,#options,#tour,#trips){margin-top:40px}

/* the section heads: room for the boxes under them; the verdict, a long sentence, balanced */
.tpl-cityguide.tpl-more .sec .head{margin-bottom:26px}
.tpl-cityguide.tpl-more #verdict .head{max-width:900px}
.tpl-cityguide.tpl-more #verdict .head h2{text-wrap:balance}
.tpl-cityguide.tpl-more .sec>.lede{max-width:68ch;font-size:var(--fs-md);line-height:1.6;color:var(--tec-body)}
.tpl-cityguide.tpl-more .more-line{margin-top:20px}

/* ---------- 1. under the title: the lede and the at-a-glance box ---------- */
.tpl-cityguide.tpl-more .guide-intro{max-width:none;padding-top:32px;padding-bottom:8px}
.tpl-cityguide.tpl-more .guide-intro .lede{max-width:68ch;font-size:var(--fs-lg);line-height:1.55;color:var(--tec-body)}
/* his decision card: white, his edge, 16px corners, his shadow; the label in his small blue capitals */
.tpl-cityguide.tpl-more .guide-intro .answer{max-width:none;margin-top:28px;padding:20px 24px 8px;background:var(--white);border:1px solid var(--tec-card-line);
  border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-cityguide.tpl-more .guide-intro .answer h2{font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-cityguide.tpl-more .guide-intro .answer :is(dt,dd){border-top-color:var(--tm-rule)}
.tpl-cityguide.tpl-more .guide-intro .answer dt{color:var(--tec-ink)}
.tpl-cityguide.tpl-more .guide-intro .answer dd{color:var(--tec-body)}
.tpl-cityguide.tpl-more .guide-intro .answer dd a:not(.x){color:var(--tec-blue);text-decoration-color:var(--sky-3)}
/* an itinerary's hotel searches under where to stay are links like the rest of the box, blue and underlined (guide.css
   drew them navy with no underline, so they read as labels) */
.tpl-cityguide.tpl-more .guide-intro .answer dd .bkl a{color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-cityguide.tpl-more .guide-intro .answer dd a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
/* an itinerary's last row, the other lengths: two links with only a space between them read as one phrase ("2 days 4
   days"), so they sit as a row with a gap */
.tpl-cityguide.tpl-more:has(#days) .guide-intro .answer dd:last-of-type{display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px 26px}
/* one or two rows (an airport or two) keep a box the width of their text */
.tpl-cityguide.tpl-more .guide-intro .answer:not(:has(dd:nth-of-type(3))){max-width:760px}
/* a computer: the rows become a strip of cells, the label over the value, a hairline between, like a booking site's key
   facts. Placed by the grid's column flow, so the reading order stays label, value, label, value. */
@media(min-width:1041px){
  .tpl-cityguide.tpl-more .guide-intro .answer{padding:20px 0 22px}
  .tpl-cityguide.tpl-more .guide-intro .answer h2{padding:0 24px}
  .tpl-cityguide.tpl-more .guide-intro .answer dl{grid-template-columns:none;grid-template-rows:auto 1fr;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin-top:14px}
  .tpl-cityguide.tpl-more .guide-intro .answer :is(dt,dd){border-top:0;padding:0 24px}
  .tpl-cityguide.tpl-more .guide-intro .answer :is(dt,dd):not(:first-of-type){border-left:1px solid var(--tec-line)}
  .tpl-cityguide.tpl-more .guide-intro .answer dt{padding-bottom:6px;font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-muted)}
  .tpl-cityguide.tpl-more .guide-intro .answer dd{font-size:var(--fs-md);line-height:1.5;color:var(--tec-ink)}
  /* an itinerary's first cell (where to stay) is a paragraph; the other two are a few links */
  .tpl-cityguide.tpl-more:has(#days) .guide-intro .answer dl:has(>dd:nth-of-type(3)){grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}
}

/* ---------- 2. the verdict (neighborhood pages): good for and think twice as two boxes ---------- */
.tpl-cityguide.tpl-more #verdict .pros{gap:18px;margin-top:0}
.tpl-cityguide.tpl-more #verdict .pros>div{padding:22px 24px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tm-row-shadow)}
.tpl-cityguide.tpl-more #verdict .pros>div+div{background:var(--tec-soft)}
.tpl-cityguide.tpl-more #verdict .pros h3{display:flex;align-items:center;gap:12px;margin-bottom:12px;font:600 var(--fs-lg)/1.3 var(--sans);letter-spacing:-.01em;color:var(--tec-ink)}
/* a check in a blue circle for good for, a navy circle with a mark for think twice (decoration only) */
.tpl-cityguide.tpl-more #verdict .pros h3::before{content:"";flex:none;width:30px;height:30px;border-radius:50%;box-shadow:0 0 0 3px var(--tm-ring);
  background:var(--tec-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8'/%3E%3C/svg%3E") center/17px 17px no-repeat}
.tpl-cityguide.tpl-more #verdict .pros>div+div h3::before{
  background:var(--tec-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7'/%3E%3Cpath d='M12 17.6v.1'/%3E%3C/svg%3E") center/17px 17px no-repeat}
.tpl-cityguide.tpl-more #verdict .pros ul{padding-left:20px;font-size:var(--fs-md);line-height:1.55;color:var(--tec-body)}
.tpl-cityguide.tpl-more #verdict .pros li+li{margin-top:6px}
.tpl-cityguide.tpl-more #verdict .pros li::marker{color:var(--tec-blue)}

/* ---------- 3. places to stay (neighborhood pages): his boxed experience card ----------
   White, his edge, 16px corners, his shadow, the photo full width on top at 16:10; the class and brand as his chips;
   what to check as his decision-check line; the booking button (yellow, tec.css) and the hotel's own site at the foot,
   lined up along a row. */
.tpl-cityguide.tpl-more .area-stays{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tpl-cityguide.tpl-more .area-stays>li{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:0;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow);overflow:hidden;
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-cityguide.tpl-more .area-stays>li:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  .tpl-cityguide.tpl-more .area-stays .ph img{transition:transform .35s var(--ease-out)}
  .tpl-cityguide.tpl-more .area-stays>li:hover .ph img{transform:scale(1.018)}
}
.tpl-cityguide.tpl-more .area-stays .ph{margin:0;overflow:hidden;background:var(--stone)}
.tpl-cityguide.tpl-more .area-stays .ph img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:0}
/* the photo label (what a street photo shows): his white tag at the top left */
.tpl-cityguide.tpl-more .area-stays .ph .src{top:10px;left:10px;right:auto;bottom:auto;max-width:calc(100% - 20px);padding:5px 9px;border-radius:5px;
  background:rgba(255,255,255,.94);color:var(--tec-ink);font:600 var(--fs-xs)/1.3 var(--sans)}
/* a card without a photo in a row beside one with a photo keeps the photo's place as a pale panel with the arch, so the
   names line up along the row (decoration only). Which cards share a row depends on the columns, so the rows are worked
   out per layout: four across, two across, and every card in a phone's swipe row. A row of cards with no photo has none. */
.tpl-cityguide.tpl-more .area-stays>li.np::before{content:var(--tm-panel,none);display:block;flex:none;aspect-ratio:16/10;border-bottom:1px solid var(--tec-card-line);
  background:var(--tec-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 56' fill='none' stroke='%23B9CAE0' stroke-width='2'%3E%3Cpath d='M9 52V24a15 15 0 0 1 30 0v28z'/%3E%3Cpath d='M5 52h38'/%3E%3C/svg%3E") center/38px auto no-repeat}
@media(min-width:1041px){
  .tpl-cityguide.tpl-more .area-stays>li.np:nth-child(4n+1):has(+li:not(.np)),
  .tpl-cityguide.tpl-more .area-stays>li.np:nth-child(4n+1):has(+li+li:not(.np)),
  .tpl-cityguide.tpl-more .area-stays>li.np:nth-child(4n+1):has(+li+li+li:not(.np)),
  .tpl-cityguide.tpl-more .area-stays>li:nth-child(4n+1):not(.np)+li.np,
  .tpl-cityguide.tpl-more .area-stays>li.np:nth-child(4n+2):has(+li:not(.np)),
  .tpl-cityguide.tpl-more .area-stays>li.np:nth-child(4n+2):has(+li+li:not(.np)),
  .tpl-cityguide.tpl-more .area-stays>li:nth-child(4n+1):not(.np)+li+li.np,
  .tpl-cityguide.tpl-more .area-stays>li:nth-child(4n+2):not(.np)+li.np,
  .tpl-cityguide.tpl-more .area-stays>li.np:nth-child(4n+3):has(+li:not(.np)),
  .tpl-cityguide.tpl-more .area-stays>li:nth-child(4n+1):not(.np)+li+li+li.np,
  .tpl-cityguide.tpl-more .area-stays>li:nth-child(4n+2):not(.np)+li+li.np,
  .tpl-cityguide.tpl-more .area-stays>li:nth-child(4n+3):not(.np)+li.np{--tm-panel:""}
}
@media(min-width:701px) and (max-width:1040px){
  .tpl-cityguide.tpl-more .area-stays>li.np:nth-child(2n+1):has(+li:not(.np)),
  .tpl-cityguide.tpl-more .area-stays>li:nth-child(2n+1):not(.np)+li.np{--tm-panel:""}
}
@media(max-width:700px){.tpl-cityguide.tpl-more .area-stays.tec-row:has(>li:not(.np))>li.np{--tm-panel:""}}
.tpl-cityguide.tpl-more .area-stays>li>div:last-child{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;padding:var(--tm-pad)}
.tpl-cityguide.tpl-more .area-stays h3{margin:0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-cityguide.tpl-more .area-stays p{max-width:none;margin:0}
.tpl-cityguide.tpl-more .area-stays .sub{margin-top:5px;font-size:var(--fs-sm);line-height:1.45;color:var(--tec-muted)}
.tpl-cityguide.tpl-more .area-stays .b{gap:6px;margin-top:12px}
.tpl-cityguide.tpl-more .area-stays .b span{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border:1px solid var(--tm-meta-line);border-radius:999px;
  background:var(--tm-meta-bg);color:var(--tm-meta-ink);font:600 var(--fs-xs)/1.2 var(--sans)}
.tpl-cityguide.tpl-more .area-stays p:not(.sub,.b,.chk,.acts){margin-top:12px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
.tpl-cityguide.tpl-more .area-stays .chk{margin-top:14px;padding-top:12px;border-top:1px solid var(--tm-rule);font-size:var(--fs-sm);line-height:1.5;color:var(--tec-body)}
.tpl-cityguide.tpl-more .area-stays p:not(.sub,.b,.chk,.acts)+.chk{margin-top:14px}
.tpl-cityguide.tpl-more .area-stays .chk b{color:var(--tec-ink);font-weight:600}
/* a card that runs short leaves its space above the buttons, not between the description and the check line (29 Nov
   2026: up to 289px of blank inside a card on a small phone), so the buttons sit at the card's foot and line up along a
   row; in a list where some stays have a website link, a card without one keeps that line's height under its button */
.tpl-cityguide.tpl-more .area-stays .acts{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-top:auto;padding-top:14px}
.tpl-cityguide.tpl-more .area-stays:has(a.off) .acts:not(:has(a.off))::after{content:"";min-height:40px}
.tpl-cityguide.tpl-more .area-stays .acts .pill{width:100%;justify-content:center;text-align:center;white-space:normal}
.tpl-cityguide.tpl-more .area-stays .acts a.off{align-self:center;display:inline-flex;align-items:center;min-height:40px;padding:4px 6px}
.tpl-cityguide.tpl-more #shortlist .area-stays+.more-line{margin-top:24px}
.tpl-cityguide.tpl-more #shortlist>.lede{margin-bottom:24px}
@media(max-width:1040px){.tpl-cityguide.tpl-more .area-stays{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 4. the numbered lists: his numbered decision cards ----------
   Nearby, tickets and tours, the ways from the airport, getting to and what to see on a day trip, and the city's day
   trips. The number in his navy circle beside the title, the text under both. Two across, three where there are three,
   five or six (so no card stands alone in a short last row). */
.tpl-cityguide.tpl-more .g-todo{gap:18px;margin-top:0}
.tpl-cityguide.tpl-more .g-todo>li{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:14px;align-items:center;align-content:start;
  padding:22px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tm-row-shadow)}
.tpl-cityguide.tpl-more .g-todo>li::before{position:static;display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:50%;
  background:var(--tec-navy);color:var(--white);font:600 var(--fs-sm)/1 var(--sans);letter-spacing:.02em;box-shadow:0 0 0 3px var(--tm-ring)}
.tpl-cityguide.tpl-more .g-todo>li>:is(h2,h3){margin:0;font:600 var(--fs-lg)/1.3 var(--sans);letter-spacing:-.015em;color:var(--tec-ink);text-wrap:pretty}
.tpl-cityguide.tpl-more .g-todo>li>:is(h2,h3) a{color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:4px}
@media(hover:hover){.tpl-cityguide.tpl-more .g-todo>li>:is(h2,h3) a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
.tpl-cityguide.tpl-more .g-todo>li>:not(h2,h3){grid-column:1/-1}
.tpl-cityguide.tpl-more .g-todo>li>p{margin-top:12px;font-size:var(--fs-sm);line-height:1.6;color:var(--tec-body)}
/* Nearby on a neighborhood page is a plain list (29 Nov 2026: no number badges or numbered lists, page by page) */
.tpl-cityguide.tpl-more #nearby .g-todo{list-style:none;padding-left:0;counter-reset:none}
.tpl-cityguide.tpl-more #nearby .g-todo>li{grid-template-columns:minmax(0,1fr)}
.tpl-cityguide.tpl-more #nearby .g-todo>li::before{content:none;display:none}
@media(min-width:701px){
  .tpl-cityguide.tpl-more .g-todo{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* two across, an odd last card takes the row */
  .tpl-cityguide.tpl-more .g-todo>li:last-child:nth-child(odd){grid-column:1/-1}
}
@media(min-width:1041px){
  .tpl-cityguide.tpl-more .g-todo:is(:has(>li:nth-child(3):last-child),:has(>li:nth-child(5)):not(:has(>li:nth-child(7)))){grid-template-columns:repeat(3,minmax(0,1fr))}
  .tpl-cityguide.tpl-more .g-todo:is(:has(>li:nth-child(3):last-child),:has(>li:nth-child(5)):not(:has(>li:nth-child(7))))>li:last-child{grid-column:auto}
}
/* a card js/condense.js folds on a phone (hidden="until-found") has no height, so its shadow would show as a line */
.tpl-cityguide.tpl-more :is(.g-todo>li,.area-stays>li,.cluster a,.it-tips>li)[hidden]{box-shadow:none}

/* the city's day trips: the title links the trip's page, its travel time as his chip, the Viator link at the foot */
/* the text takes the spare height, so the chip and the link sit at the foot and line up across a row */
.tpl-cityguide.tpl-more #trips .g-todo>li{grid-template-rows:auto 1fr auto auto}
.tpl-cityguide.tpl-more #trips .g-todo>li>p:not(.ahead){align-self:start}
.tpl-cityguide.tpl-more #trips .g-todo>li>h2{font-size:var(--fs-xl)}
.tpl-cityguide.tpl-more #trips .g-todo>li>h2 a::after{content:"\00a0\2192";content:"\00a0\2192" / "";font-weight:400}
.tpl-cityguide.tpl-more #trips .g-todo .ahead{justify-self:start;margin:14px 0 0;padding:5px 11px;border:1px solid var(--tm-meta-line);border-radius:14px;background:var(--tm-meta-bg);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.02em;text-transform:none;color:var(--tm-meta-ink)}
.tpl-cityguide.tpl-more #trips .g-todo .bkl{align-self:end;margin-top:14px;padding-top:12px;border-top:1px solid var(--tm-rule)}

/* ---------- 5. the itinerary: a box a day, a blue rule across the top, the parts of the day as labelled rows ---------- */
.tpl-cityguide.tpl-more #days .it-days{display:grid;gap:18px}
.tpl-cityguide.tpl-more #days .it-days>li{padding:24px 28px 18px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tec-card-shadow)}
.tpl-cityguide.tpl-more #days .it-days>li::before{content:"";display:block;width:40px;height:4px;margin-bottom:14px;border-radius:4px;background:var(--tec-blue)}
.tpl-cityguide.tpl-more #days .it-days h2{font:400 var(--fs-2xl)/1.15 var(--serif);letter-spacing:-.02em;color:var(--navy);text-wrap:balance}
.tpl-cityguide.tpl-more #days .it-day{grid-template-columns:160px minmax(0,1fr);gap:0;margin-top:16px}
.tpl-cityguide.tpl-more #days .it-day>:is(dt,dd){padding:13px 0;border-top:1px solid var(--tm-rule)}
.tpl-cityguide.tpl-more #days .it-day>:is(dt,dd):nth-child(-n+2){border-top:0}
.tpl-cityguide.tpl-more #days .it-day dt{padding-top:15px;padding-right:16px;font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-cityguide.tpl-more #days .it-day dd{font-size:var(--fs-md);line-height:1.6;color:var(--tec-body)}
.tpl-cityguide.tpl-more #days .it-day dd a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}

/* ---------- 6. tips: one box, a check beside each ---------- */
.tpl-cityguide.tpl-more .it-tips{max-width:none;gap:0;padding:6px 22px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tm-row-shadow)}
.tpl-cityguide.tpl-more .it-tips>li{padding:15px 0 15px 38px;border-top:1px solid var(--tm-rule);font-size:var(--fs-md);line-height:1.55;color:var(--tec-body)}
.tpl-cityguide.tpl-more .it-tips>li:first-child{border-top:0}
.tpl-cityguide.tpl-more .it-tips>li::before{top:15px;width:24px;height:24px;border-radius:50%;
  background:var(--tm-hover) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4EA2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8'/%3E%3C/svg%3E") center/15px 15px no-repeat;
  box-shadow:inset 0 0 0 1px var(--tm-meta-line)}

/* ---------- 7. the text sections: a paragraph or two in a box ---------- */
.tpl-cityguide.tpl-more .g-when{max-width:860px;padding:22px 24px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tm-row-shadow)}
.tpl-cityguide.tpl-more .g-when>p{font-size:var(--fs-md);line-height:1.65;color:var(--tec-body)}
.tpl-cityguide.tpl-more .g-when>.bkl{display:flex;margin-top:12px}
/* the booking buttons: his secondary for the official site, yellow (tec.css) for a partner */
.tpl-cityguide.tpl-more .tt-go{gap:10px}
.tpl-cityguide.tpl-more .g-todo+.tt-go,.tpl-cityguide.tpl-more .sec>.lede+.tt-go{margin-top:22px}
.tpl-cityguide.tpl-more #stays>.lede{margin-bottom:0}

/* ---------- 8. the airport transfers table: a white frame, his soft header row ---------- */
.tpl-cityguide.tpl-more #options .scroll{border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);
  /* white, with a shadow at an edge that has more to scroll to (base.css's cue, drawn straight rather than round so it
     runs the full height, the header row included) */
  background:linear-gradient(to right,var(--white) 30%,rgba(255,255,255,0)) 0 0/40px 100% no-repeat local,
    linear-gradient(to left,var(--white) 30%,rgba(255,255,255,0)) 100% 0/40px 100% no-repeat local,
    linear-gradient(to right,rgba(15,43,76,.16),rgba(15,43,76,0)) 0 0/16px 100% no-repeat scroll,
    linear-gradient(to left,rgba(15,43,76,.16),rgba(15,43,76,0)) 100% 0/16px 100% no-repeat scroll,
    var(--white)}
/* the table and its header cells are see-through, so the edge shadows painted on .scroll show over them (catalog.css's
   .compare is white, which hid the cue on a phone); the header's fill is his blue at 4%, his soft blue-white over white */
.tpl-cityguide.tpl-more #options table.compare{background:none}
.tpl-cityguide.tpl-more #options table.compare :is(th,td){padding:14px 18px;border-top-color:var(--tm-rule)}
.tpl-cityguide.tpl-more #options table.compare thead th{padding-top:13px;padding-bottom:13px;background:rgba(11,78,162,.04);border-bottom:1px solid var(--tec-line);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-muted)}
.tpl-cityguide.tpl-more #options table.compare tbody tr:first-child :is(th,td){border-top:0}
.tpl-cityguide.tpl-more #options table.compare tbody th{font:600 var(--fs-sm)/1.4 var(--sans);color:var(--tec-ink)}
.tpl-cityguide.tpl-more #options table.compare tbody th .sub{display:block;margin-top:2px;font-weight:400;color:var(--tec-muted)}
.tpl-cityguide.tpl-more #options table.compare td{color:var(--tec-body)}
.tpl-cityguide.tpl-more #options table.compare td:nth-child(2){font-weight:600;color:var(--tec-ink);white-space:nowrap}

/* ---------- 9. the link lists (other areas, plan the rest): his cross-sell rows, a blue name and an arrow ---------- */
.tpl-cityguide.tpl-more .cluster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
.tpl-cityguide.tpl-more .cluster a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 15px;
  background:var(--white);border:1px solid #D7DDE2;border-radius:10px;color:var(--tec-blue);font:600 var(--fs-sm)/1.35 var(--sans);text-decoration:none;
  transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
.tpl-cityguide.tpl-more .cluster a::after{content:"\2192";content:"\2192" / "";flex:none;font-weight:400}
@media(hover:hover){.tpl-cityguide.tpl-more .cluster a:hover{background:var(--tm-hover);border-color:#B8CAE0;box-shadow:0 3px 10px rgba(20,50,80,.05);color:var(--tec-blue-dark)}}

/* ---------- 10. a computer: the text sections, the tips, the booking buttons and the link lists as his split heads ----------
   The heading on the left, what it introduces on the right (the order in the page is unchanged: the head comes first).
   The numbered cards, the hotels, the days, the table and the questions keep their heading on top. */
@media(min-width:1041px){
  .tpl-cityguide.tpl-more :is(#eat,#around,#late,#tour,#tips,#stays,#other-areas,#more,:is(#when,#getting-there):has(>.g-when)){
    display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:48px;row-gap:0;align-items:start}
  .tpl-cityguide.tpl-more :is(#eat,#around,#late,#tour,#tips,#stays,#other-areas,#more,:is(#when,#getting-there):has(>.g-when))>.head{grid-column:1;grid-row:1/span 6;margin:0}
  .tpl-cityguide.tpl-more :is(#eat,#around,#late,#tour,#tips,#stays,#other-areas,#more,:is(#when,#getting-there):has(>.g-when))>.head h2{text-wrap:balance}
  .tpl-cityguide.tpl-more :is(#eat,#around,#late,#tour,#tips,#stays,#other-areas,#more,:is(#when,#getting-there):has(>.g-when))>:not(.head){grid-column:2}
  .tpl-cityguide.tpl-more :is(#eat,#around,#late,#tour,#when,#getting-there)>.g-when{max-width:none}
  .tpl-cityguide.tpl-more #stays>.lede{margin-top:0}
  /* the link lists: Victor's cross-sell, the title at the left, the rows two across beside it */
  .tpl-cityguide.tpl-more :is(#other-areas,#more){grid-template-columns:minmax(0,4fr) minmax(0,8fr);align-items:center}
}
@media(min-width:701px) and (max-width:1040px){.tpl-cityguide.tpl-more .g-when{max-width:none}}

/* ---------- phones ----------
   The hotels in js/tec.js's swipe row (a list of three or more cards) keep one card a step; the other lists stack in
   one column, which also lets js/condense.js fold them with hidden="until-found". */
@media(max-width:700px){
  .tpl-cityguide.tpl-more #more{padding-top:32px;padding-bottom:32px}
  .tpl-cityguide.tpl-more .sec .head{margin-bottom:16px}
  .tpl-cityguide.tpl-more .guide-intro{padding-top:20px}
  .tpl-cityguide.tpl-more .wrap>.sec:first-child:is(#shortlist,#stays,#tickets,#days,#options,#tour,#trips){margin-top:28px}
  .tpl-cityguide.tpl-more .guide-intro .lede{font-size:var(--fs-md)}
  .tpl-cityguide.tpl-more .guide-intro .answer{margin-top:20px;padding:16px 18px 6px}

  .tpl-cityguide.tpl-more #verdict .pros{grid-template-columns:minmax(0,1fr);gap:12px}
  .tpl-cityguide.tpl-more #verdict .pros>div{padding:16px}
  .tpl-cityguide.tpl-more #verdict .pros h3{margin-bottom:10px}

  /* the hotels: one column before the script, and wherever the list isn't a row; in a row, the photo on top at 5:3 */
  .tpl-cityguide.tpl-more .area-stays{grid-template-columns:minmax(0,1fr);gap:14px}
  .tpl-cityguide.tpl-more .area-stays.tec-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(80%,320px);gap:12px;align-items:stretch;padding-top:7px;padding-bottom:14px}
  .tpl-cityguide.tpl-more .area-stays>li{box-shadow:0 3px 12px rgba(27,48,72,.08)}
  .tpl-cityguide.tpl-more .area-stays.tec-row .ph img,.tpl-cityguide.tpl-more .area-stays.tec-row>li.np::before{aspect-ratio:5/3}
  /* stacked (a list of one or two cards), a photo is a wider band, so the list stays short */
  .tpl-cityguide.tpl-more .area-stays:not(.tec-row) .ph img{aspect-ratio:2/1}
  .tpl-cityguide.tpl-more .area-stays>li>div:last-child{padding:14px}
  .tpl-cityguide.tpl-more .area-stays .acts a.off{min-height:44px}
  .tpl-cityguide.tpl-more .area-stays:has(a.off) .acts:not(:has(a.off))::after{min-height:44px}

  .tpl-cityguide.tpl-more .g-todo{grid-template-columns:minmax(0,1fr);gap:10px}
  .tpl-cityguide.tpl-more .g-todo>li{grid-template-columns:38px minmax(0,1fr);column-gap:12px;padding:16px}
  .tpl-cityguide.tpl-more .g-todo>li>p{margin-top:10px}
  .tpl-cityguide.tpl-more #trips .g-todo .ahead{margin-top:12px}
  .tpl-cityguide.tpl-more #trips .g-todo .bkl{margin-top:12px;padding-top:8px}
  .tpl-cityguide.tpl-more .g-todo>li::before{width:38px;height:38px}
  .tpl-cityguide.tpl-more #trips .g-todo>li{grid-template-rows:none}

  .tpl-cityguide.tpl-more #days .it-days{gap:12px}
  .tpl-cityguide.tpl-more #days .it-days>li{padding:18px 18px 12px}
  .tpl-cityguide.tpl-more #days .it-days h2{font-size:var(--fs-xl)}
  .tpl-cityguide.tpl-more #days .it-day{grid-template-columns:minmax(0,1fr);margin-top:10px}
  .tpl-cityguide.tpl-more #days .it-day>dt{padding:12px 0 2px}
  .tpl-cityguide.tpl-more #days .it-day>dd{padding:0 0 12px;border-top:0;margin-bottom:0}
  .tpl-cityguide.tpl-more #days .it-day>dt:first-child{padding-top:4px}

  .tpl-cityguide.tpl-more .it-tips{padding:4px 16px}
  .tpl-cityguide.tpl-more .it-tips>li{padding:13px 0 13px 34px;font-size:var(--fs-sm)}
  .tpl-cityguide.tpl-more .it-tips>li::before{top:13px;width:22px;height:22px}

  .tpl-cityguide.tpl-more .g-when{padding:14px 16px}
  .tpl-cityguide.tpl-more .tt-go{flex-direction:column;align-items:stretch}
  .tpl-cityguide.tpl-more .tt-go .pill{width:100%}

  .tpl-cityguide.tpl-more #options table.compare :is(th,td){padding:12px 14px}

  /* tap targets: a card's title link and the partner text links get 44px of height without moving the text */
  .tpl-cityguide.tpl-more .g-todo>li>:is(h2,h3) a{display:inline-block;padding:11px 0;margin:-11px 0}
  .tpl-cityguide.tpl-more .more-line{margin-top:8px}
  .tpl-cityguide.tpl-more .more-line a{display:inline-block;padding:11px 0}
  /* a block, not a flex box: as flex items the text and its arrow (catalog.css's ::after) split, and a wrapped link left
     its arrow at the box's right edge */
  .tpl-cityguide.tpl-more :is(#trips .g-todo,#late .g-when,.guide-intro .answer) .bkl a{display:block;min-height:44px;padding:12px 0;line-height:1.45}
  .tpl-cityguide.tpl-more #trips .g-todo .bkl{padding-top:2px}
  .tpl-cityguide.tpl-more:has(#days) .guide-intro .answer dd:last-of-type>a{display:inline-flex;align-items:center;min-height:44px}

  .tpl-cityguide.tpl-more .cluster{grid-template-columns:minmax(0,1fr);gap:8px}
  .tpl-cityguide.tpl-more .cluster a{min-height:46px}
}
@media(prefers-reduced-motion:reduce){
  .tpl-cityguide.tpl-more .area-stays>li,.tpl-cityguide.tpl-more .area-stays .ph img,.tpl-cityguide.tpl-more .cluster a{transition:none}
}

/* ==================== the Table: its homepage (body.table-home) and its Rome guide (body.tpl-guide.tpl-romefood) ====================
   Victor's look on The Euro Table's two oldest pages, in the same blue and yellow as the Concierge (Sharod, 5 Nov 2026).
   Loaded after tec.css and before phone.css, so a rule phone.css also sets carries an id or one more class here.

   The homepage: the Alkmaar video under his left-to-right veil; the city finder as his white search wrapper with his
   filter buttons; the city cards as his boxed experience card (the photo on top, the country as his card category, the
   dish to order on his hairline at the foot), four across on a computer, two on a tablet and one swipe row on a phone
   (js/tec.js); the Rome neighborhoods and the dishes as boxed rows with an arrow; "Staying in Rome?" as his cross-sell.
   The Rome guide: the short answer as his at-a-glance boxes; the table of every place and the map as white boxes on a
   cream band; each neighborhood its own band, its places as his experience cards without photos (what to order as his
   booking-choice line, how to book and when it's shut on his hairline at the foot), three across; the food tours as
   boxed cards with the operator's button at the foot; the signs to walk past as his numbered cards; the questions on
   cream; the closing links as his cross-sell. Neither page has a partner link, so nothing here is yellow: the food tours
   go to the operators' own sites, and their buttons are his secondary. Every card group stays in the page's order. */

.table-home,.tpl-guide.tpl-romefood{
  --tb-hover:#EFF6FF;   /* his secondary button's hover */
  /* his filter buttons */
  --tb-filter-bg:#F8FAFC;  --tb-filter-line:#DCE4EC;  --tb-filter-ink:#183049;
  /* his card chips (card-meta) */
  --tb-meta-bg:#F3F7FB;    --tb-meta-line:#D9E3ED;    --tb-meta-ink:#31465B;
  --tb-row-shadow:0 3px 12px rgba(25,45,65,.045);    /* his library row and decision card */
  --tb-ring:rgba(11,78,162,.12);                     /* the 3px ring round a numbered circle */
  --tb-hair:#EDF0F2;                                 /* his decision-check rule inside a card */
  --tb-pad:18px;
}

/* ==================== the homepage ==================== */

/* ---------- the grounds: the cities on cream, the Rome sections white, the cross-sell on his cream ---------- */
.table-home main>.sec{padding-top:64px;padding-bottom:64px}
.table-home #cities{background:var(--tec-cream);border-bottom:1px solid var(--tec-rule)}
/* two white sections meet: his 1px rule between them */
.table-home main>.sec:has(.dishes){border-top:1px solid var(--tec-line)}
.table-home main>.sec:has(>.wrap>.cluster){background:var(--tec-cream);border-top:1px solid var(--tec-rule)}

/* ---------- the section heads: his split head, the title and its intro on the left, the link on the right, over a rule ---------- */
.table-home main>.sec .head{align-items:end;gap:16px 32px;margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
.table-home main>.sec .head h2{margin-top:8px;text-wrap:balance}
.table-home main>.sec .head .sub{max-width:60ch;margin-top:10px;font-size:var(--fs-md);line-height:1.55;color:var(--tec-muted)}
/* the head's link ("All destinations", "The whole guide", "Every dish"): his secondary button */
.table-home main>.sec .head a.more{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;background:var(--white);border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);
  color:var(--tec-blue);font:600 var(--fs-sm)/1.3 var(--sans);text-decoration:none;white-space:nowrap;
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
.table-home main>.sec .head a.more::after{content:"\2192";content:"\2192" / "";margin-left:8px;font-weight:400}
@media(hover:hover){.table-home main>.sec .head a.more:hover{background:var(--tb-hover);color:var(--tec-blue-dark)}}

/* ---------- 1. the hero: the market video under his left-to-right veil, the words in the middle, no frieze ---------- */
.table-home .table-hero{min-height:clamp(460px,64vh,600px);align-items:center}
.table-home .table-hero .veil{background:linear-gradient(90deg,rgba(5,25,48,.94) 0%,rgba(5,25,48,.78) 44%,rgba(5,25,48,.42) 72%,rgba(5,25,48,.36) 100%)}
.table-home .table-hero .wrap{padding-top:60px;padding-bottom:68px}
.table-home .table-hero .copy{max-width:760px}
.table-home .table-hero .eyebrow{color:var(--gold-2);font-weight:600;letter-spacing:.12em}
.table-home .table-hero h1{margin-top:12px;line-height:1.05;text-wrap:balance;letter-spacing:-.02em;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.table-home .table-hero .lede{max-width:56ch;margin-top:16px;font-size:var(--fs-lg);line-height:1.55;color:var(--white)}
.table-home .table-hero .cta{gap:12px;margin-top:28px}
/* on navy, white: the main button is white with navy words, the other a white outline (the closing band's pair) */
.table-home .table-hero .cta .pill.fill{background:var(--white);border-color:var(--white);color:var(--tec-navy)}
.table-home .table-hero .cta .pill.ghost{background:transparent;border:1px solid rgba(255,255,255,.7);color:var(--white)}
@media(hover:hover){
  .table-home .table-hero .cta .pill.fill:hover{background:var(--tb-hover);border-color:var(--tb-hover);color:var(--tec-navy)}
  .table-home .table-hero .cta .pill.ghost:hover{background:rgba(255,255,255,.12);border-color:var(--white);color:var(--white)}
}
.table-home .table-hero .credit{color:rgba(255,255,255,.82);text-shadow:0 1px 2px rgba(5,25,48,.8)}

/* ---------- 2. the finder: his white search wrapper, rectangular fields, his filter buttons ---------- */
.table-home #cities .finder{margin-bottom:24px;padding:16px 18px 14px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:15px;box-shadow:var(--tec-card-shadow)}
.table-home #cities .finder-row{gap:12px}
/* a tablet: the search on its own row, the three selects on the next (catalog.css leaves Sort alone on a third) */
@media(min-width:701px) and (max-width:860px){.table-home #cities .finder-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
.table-home #cities .finder-row .f-sel span{padding-left:2px;font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.06em;color:var(--tec-ink)}
.table-home #cities .finder :is(input,select){min-height:52px;padding-top:0;padding-bottom:0;border-radius:var(--r-input);color:var(--tec-ink)}
.table-home #cities .finder :is(input,select):focus{border-color:var(--tec-blue)}
/* look.css keeps 34px at a select's right for a drawn arrow, but these are the browser's own selects, whose arrow sits
   at the edge anyway: the extra room only cut the value short on a phone ("All countrie"), as on the country pages */
.table-home #cities .finder select{padding-right:14px}
.table-home #cities .finder-tags{gap:7px;margin-top:14px}
.table-home #cities .finder-tags .lbl{font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.06em;color:var(--tec-ink)}
.table-home #cities .finder-tags button{min-height:44px;padding:9px 14px;border:1px solid var(--tb-filter-line);border-radius:var(--r-input);background:var(--tb-filter-bg);color:var(--tb-filter-ink);
  font:600 var(--fs-sm)/1.2 var(--sans);letter-spacing:0}
@media(hover:hover){.table-home #cities .finder-tags button[aria-pressed="false"]:hover{border-color:var(--tec-blue);background:var(--tb-filter-bg);color:var(--tec-blue)}}
.table-home #cities .finder-tags button[aria-pressed="true"]{background:var(--tec-blue);border-color:var(--tec-blue);color:var(--white)}
.table-home #cities .finder-count{margin-top:10px;color:var(--tec-muted)}
.table-home #cities .finder-count:has([data-f="count"]:empty):has([data-f="clear"][hidden]){margin-top:0}
/* the finder hides Clear filters until a filter is on, so the box keeps to [hidden] */
.table-home #cities .linkish:not([hidden]){display:inline-flex}
.table-home #cities .linkish{align-items:center;min-height:44px;color:var(--tec-blue);font-weight:600;text-decoration-color:var(--sky-3)}
.table-home #cities .finder-empty{color:var(--tec-body)}

/* ---------- 3. the city cards: his experience card ----------
   White, his 1px edge, 16px corners, his shadow, the photo full width on top, the country as his card category, the
   city as his card title, and the dish to order on his hairline at the foot beside a round arrow (drawn, not read out).
   The card is one link, so the whole card is the target. display stays catalog.css's, because the finder hides a card
   (and the collapsed grid its unfeatured ones) through display:none. */
.table-home #cities .citygrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.table-home #cities .cc{position:relative;overflow:hidden;min-width:0;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);
  color:var(--tec-ink);text-decoration:none;transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
.table-home #cities .cc img{display:block;width:100%;height:auto;aspect-ratio:16/10;margin:0;border-radius:0;object-fit:cover;transform:none;transition:transform .35s var(--ease-out)}
.table-home #cities .cc .ctry{margin:14px 16px 0;font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:var(--tec-blue)}
.table-home #cities .cc .nm{margin:5px 16px 14px;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.table-home #cities .cc .line{position:relative;margin:auto 16px 16px;padding:12px 46px 0 0;border-top:1px solid var(--tb-hair);font-size:var(--fs-sm);line-height:1.5;color:var(--tec-card-text)}
.table-home #cities .cc .line b{color:var(--tec-blue);font-weight:600}
.table-home #cities .cc .line::after{content:"\2192";content:"\2192" / "";position:absolute;right:0;top:calc(12px + .75 * var(--fs-sm) - 16px);display:grid;place-items:center;width:32px;height:32px;
  border:1px solid var(--tec-blue);border-radius:50%;color:var(--tec-blue);font:400 var(--fs-md)/1 var(--sans);
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
.table-home #cities .cc:focus-visible{outline:var(--focus);outline-offset:3px}
@media(hover:hover){
  .table-home #cities .cc:hover .nm{color:var(--tec-ink)}
  .table-home #cities .cc:hover .line::after{background:var(--tec-blue);color:var(--white)}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .table-home #cities .cc:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  .table-home #cities .cc:hover img{transform:scale(1.018)}
}
@media(max-width:1040px){.table-home #cities .citygrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* "Show all cities": his View all, a white pill with a blue edge */
.table-home #cities .show-all{margin-top:30px}
.table-home #cities .show-all .pill{border-radius:var(--r-pill);padding-inline:24px;box-shadow:0 2px 10px rgba(11,78,162,.05)}

/* ---------- 4. Rome, one neighborhood at a time: boxed rows, the count as his chip, an arrow ---------- */
.table-home .hoods{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px}
.table-home .hoods .hood{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:center;min-height:0;padding:16px 16px 16px 18px;
  background:var(--white);border:1px solid var(--tec-card-line);border-radius:12px;box-shadow:var(--tb-row-shadow);color:var(--tec-ink);text-decoration:none;
  transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
.table-home .hoods .hood h3{grid-column:1;margin:0;font:600 var(--fs-md)/1.3 var(--sans);letter-spacing:-.01em;color:var(--tec-ink)}
.table-home .hoods .hood .who{grid-column:1;justify-self:start;margin-top:8px;padding:4px 10px;border:1px solid var(--tb-meta-line);border-radius:var(--r-pill);background:var(--tb-meta-bg);
  font:600 var(--fs-sm)/1.3 var(--sans);letter-spacing:.02em;text-transform:none;color:var(--tb-meta-ink)}
.table-home .hoods .hood::after{content:"\2192";content:"\2192" / "";grid-column:2;grid-row:1/span 2;display:grid;place-items:center;width:32px;height:32px;
  border:1px solid var(--tec-blue);border-radius:50%;color:var(--tec-blue);font:400 var(--fs-md)/1 var(--sans);
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){
  .table-home .hoods .hood:hover{border-color:#C8D4DF;box-shadow:0 6px 18px rgba(25,45,65,.08)}
  .table-home .hoods .hood:hover h3{color:var(--tec-blue)}
  .table-home .hoods .hood:hover::after{background:var(--tec-blue);color:var(--white)}
}
@media(max-width:1040px){.table-home .hoods{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 5. what to order (the home's and the Rome guide's): boxed rows, the dish as the title, an arrow ---------- */
:is(.table-home,.tpl-guide.tpl-romefood) .dishes{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px;margin-top:0}
:is(.table-home,.tpl-guide.tpl-romefood) .dishes a{position:relative;display:block;height:100%;padding:16px 54px 16px 18px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:12px;
  box-shadow:var(--tb-row-shadow);text-decoration:none;transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
:is(.table-home,.tpl-guide.tpl-romefood) .dishes b{font:600 var(--fs-md)/1.3 var(--sans);letter-spacing:-.01em;color:var(--tec-ink)}
:is(.table-home,.tpl-guide.tpl-romefood) .dishes span{margin-top:5px;font-size:var(--fs-sm);line-height:1.5;color:var(--tec-card-text)}
:is(.table-home,.tpl-guide.tpl-romefood) .dishes a::after{content:"\2192";content:"\2192" / "";position:absolute;right:16px;top:16px;display:grid;place-items:center;width:28px;height:28px;
  border:1px solid var(--tec-blue);border-radius:50%;color:var(--tec-blue);font:400 var(--fs-sm)/1 var(--sans);
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){
  :is(.table-home,.tpl-guide.tpl-romefood) .dishes a:hover{border-color:#C8D4DF;box-shadow:0 6px 18px rgba(25,45,65,.08)}
  :is(.table-home,.tpl-guide.tpl-romefood) .dishes a:hover b{color:var(--tec-blue)}
  :is(.table-home,.tpl-guide.tpl-romefood) .dishes a:hover::after{background:var(--tec-blue);color:var(--white)}
}
@media(max-width:1040px){:is(.table-home,.tpl-guide.tpl-romefood) .dishes{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 6. the cross-sell ("Staying in Rome?", "Plan the rest of the trip"): his words left, the links stacked right ---------- */
:is(.table-home,.tpl-guide.tpl-romefood) main>.sec:has(>.wrap>.cluster)>.wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:24px 36px;align-items:center}
:is(.table-home,.tpl-guide.tpl-romefood) main>.sec:has(>.wrap>.cluster) .head{margin:0;padding:0;border:0}
:is(.table-home,.tpl-guide.tpl-romefood) main>.sec>.wrap>.cluster{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
:is(.table-home,.tpl-guide.tpl-romefood) main>.sec>.wrap>.cluster a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:13px 16px;
  background:var(--white);border:1px solid var(--tec-card-line);border-radius:10px;color:var(--tec-blue);font:600 var(--fs-sm)/1.35 var(--sans);text-decoration:none;
  transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
:is(.table-home,.tpl-guide.tpl-romefood) main>.sec>.wrap>.cluster a::after{content:"\2192";content:"\2192" / "";flex:none;font-weight:400}
@media(hover:hover){:is(.table-home,.tpl-guide.tpl-romefood) main>.sec>.wrap>.cluster a:hover{background:var(--tb-hover);border-color:#B8CAE0;box-shadow:0 3px 10px rgba(20,50,80,.05);color:var(--tec-blue-dark)}}
@media(max-width:860px){:is(.table-home,.tpl-guide.tpl-romefood) main>.sec:has(>.wrap>.cluster)>.wrap{grid-template-columns:minmax(0,1fr)}}

/* ==================== the Rome guide ==================== */

/* ---------- the grounds: the at-a-glance table and the map as one cream band; the neighborhoods by turns white and
   cream; the food tours (the one booking section) cream, the signs to walk past his soft blue-white, the questions cream ---------- */
.tpl-guide.tpl-romefood main>.sec{padding-top:64px;padding-bottom:64px}
.tpl-guide.tpl-romefood main>.sec.tight#map{padding-top:0}
.tpl-guide.tpl-romefood :is(#compare,#map,#tours,#faq){background:var(--tec-cream)}
.tpl-guide.tpl-romefood :is(#compare,#tours,#faq){border-top:1px solid var(--tec-rule)}
.tpl-guide.tpl-romefood :is(#map,#tours,#faq){border-bottom:1px solid var(--tec-rule)}
.tpl-guide.tpl-romefood #avoid{background:var(--tec-soft);border-bottom:1px solid var(--tec-rule)}

/* ---------- the section heads: his heading row, the title on the left and its intro on the right, over a rule ---------- */
.tpl-guide.tpl-romefood main .sec>.wrap>.head{display:block;margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
.tpl-guide.tpl-romefood main .sec>.wrap>.head h2{margin-top:8px;text-wrap:balance}
.tpl-guide.tpl-romefood main .sec>.wrap>.head .sub{max-width:52ch;font-size:var(--fs-md);line-height:1.55;color:var(--tec-muted)}
/* the signs to walk past and how Rome eats have their head as the first block of a .skip or .around: the same row */
.tpl-guide.tpl-romefood :is(#avoid .skip,#before .around){display:block}
.tpl-guide.tpl-romefood :is(#avoid .skip,#before .around)>div:first-child{margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
.tpl-guide.tpl-romefood :is(#avoid .skip,#before .around)>div:first-child .lede{max-width:52ch;margin-top:10px;font-size:var(--fs-md);line-height:1.55;color:var(--tec-muted)}
@media(min-width:1041px){
  .tpl-guide.tpl-romefood main .sec>.wrap>.head>div:has(>.sub),.tpl-guide.tpl-romefood :is(#avoid .skip,#before .around)>div:first-child{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:44px;align-items:end}
  .tpl-guide.tpl-romefood main .sec>.wrap>.head>div:has(>.sub)>*,.tpl-guide.tpl-romefood :is(#avoid .skip,#before .around)>div:first-child>*{grid-column:1}
  .tpl-guide.tpl-romefood main .sec>.wrap>.head>div>.sub,.tpl-guide.tpl-romefood :is(#avoid .skip,#before .around)>div:first-child>.lede{grid-column:2;grid-row:1/span 2;margin:0}
}

/* ---------- 1. under the title: the lede, the short answer as his at-a-glance boxes, how we chose ----------
   Each answer is a dt and a dd, so a box is drawn in two halves: the dt holds the
   label, the dd the answer. Four across on a computer (dense placement keeps each dd under its dt), so the boxes in a
   row share one height. */
.tpl-guide.tpl-romefood .guide-intro{max-width:none;padding-top:32px}
.tpl-guide.tpl-romefood .guide-intro .lede{max-width:68ch;font-size:var(--fs-lg);line-height:1.55;color:var(--tec-body)}
.tpl-guide.tpl-romefood .guide-intro .answer{max-width:none;margin-top:34px;padding:0;background:none;border:0;border-radius:0}
.tpl-guide.tpl-romefood .guide-intro .answer h2{margin-bottom:16px;font:400 var(--fs-2xl)/1.15 var(--serif);letter-spacing:-.02em;text-transform:none;color:var(--navy)}
.tpl-guide.tpl-romefood .guide-intro .answer dl{display:grid;grid-template-columns:minmax(0,1fr);column-gap:14px;row-gap:0;margin-top:0}
.tpl-guide.tpl-romefood .guide-intro .answer dt{margin:0;padding:18px 20px 0;background:var(--white);border:1px solid var(--tec-card-line);border-bottom:0;border-radius:var(--tec-radius) var(--tec-radius) 0 0;
  box-shadow:var(--tec-card-shadow);clip-path:inset(-24px -24px 0 -24px);font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-guide.tpl-romefood .guide-intro .answer dd{margin:0 0 14px;padding:8px 20px 18px;background:var(--white);border:1px solid var(--tec-card-line);border-top:0;border-radius:0 0 var(--tec-radius) var(--tec-radius);
  box-shadow:var(--tec-card-shadow);clip-path:inset(0 -24px -24px -24px);font-size:var(--fs-sm);line-height:1.55;color:var(--tec-body)}
.tpl-guide.tpl-romefood .guide-intro .answer dd a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-guide.tpl-romefood .guide-intro .answer dd a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
@media(min-width:701px){
  .tpl-guide.tpl-romefood .guide-intro .answer dl{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row dense}
  .tpl-guide.tpl-romefood .guide-intro .answer :is(dt,dd):nth-of-type(odd){grid-column:1}
  .tpl-guide.tpl-romefood .guide-intro .answer :is(dt,dd):nth-of-type(even){grid-column:2}
}
@media(min-width:1041px){
  .tpl-guide.tpl-romefood .guide-intro .answer dl{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tpl-guide.tpl-romefood .guide-intro .answer :is(dt,dd):nth-of-type(4n+1){grid-column:1}
  .tpl-guide.tpl-romefood .guide-intro .answer :is(dt,dd):nth-of-type(4n+2){grid-column:2}
  .tpl-guide.tpl-romefood .guide-intro .answer :is(dt,dd):nth-of-type(4n+3){grid-column:3}
  .tpl-guide.tpl-romefood .guide-intro .answer :is(dt,dd):nth-of-type(4n+4){grid-column:4}
}
/* how we chose: his booking-choice line, a blue rule on his soft ground */
.tpl-guide.tpl-romefood .guide-intro .method{max-width:80ch;margin-top:20px;padding:12px 16px;background:var(--tec-soft);border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;
  font-size:var(--fs-sm);line-height:1.55;color:var(--tec-body)}

/* ---------- 2. every place, at a glance: the table in a white box with his edge on the cream band ----------
   The box is the table's ground, so its edge fades (base.css, through --bone) take white. */
.tpl-guide.tpl-romefood #compare .areas-wrap{--bone:var(--white);padding:4px 22px 6px;background-color:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-guide.tpl-romefood #compare .areas :is(th,td){padding:14px 20px 14px 0;border-top:1px solid var(--tb-hair);line-height:1.5}
.tpl-guide.tpl-romefood #compare .areas :is(th,td):last-child{padding-right:0}
.tpl-guide.tpl-romefood #compare .areas thead th{padding-top:14px;padding-bottom:12px;border-top:0;border-bottom:1px solid var(--sky-3);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-muted)}
.tpl-guide.tpl-romefood #compare .areas tbody tr:first-child>*{border-top:0}
.tpl-guide.tpl-romefood #compare .areas tbody th a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-guide.tpl-romefood #compare .areas td{color:var(--tec-body)}
.tpl-guide.tpl-romefood #compare .areas td a{color:var(--tec-body);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-guide.tpl-romefood #compare .areas td.tier{color:var(--tec-ink)}
@media(hover:hover){.tpl-guide.tpl-romefood #compare .areas a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
.tpl-guide.tpl-romefood #compare .areas-note{margin-top:16px;color:var(--tec-body)}

/* ---------- 3. the map: a white box on the cream band, 900px at most ---------- */
.tpl-guide.tpl-romefood #map figure.map{max-width:900px;margin:0 auto;padding:16px 16px 12px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-guide.tpl-romefood #map .map figcaption{color:var(--tec-muted)}
.tpl-guide.tpl-romefood #map .map figcaption a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}

/* ---------- 4. the neighborhoods: each its own band, by turns white and cream, edge to edge ---------- */
.tpl-guide.tpl-romefood .hoodlist>.eat-area{padding:56px 0 64px;border-top:0}
.tpl-guide.tpl-romefood .hoodlist>.eat-area:nth-child(even){background:var(--tec-cream);box-shadow:0 0 0 100vmax var(--tec-cream);clip-path:inset(0 -100vmax);
  border:solid var(--tec-rule);border-width:1px 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0/0 100vmax}
/* the intro as his heading row: the count, the name and the verdict on the left, the advice on the right, over a rule */
.tpl-guide.tpl-romefood .eat-area .intro{margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
.tpl-guide.tpl-romefood .eat-area .no{font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.12em;color:var(--tec-blue)}
.tpl-guide.tpl-romefood .eat-area h2{margin-top:8px;text-wrap:balance}
.tpl-guide.tpl-romefood .eat-area .intro .verdict{max-width:44ch;color:var(--navy)}
.tpl-guide.tpl-romefood .eat-area .intro>p:not(.verdict){max-width:68ch;color:var(--tec-body)}
@media(min-width:1041px){
  .tpl-guide.tpl-romefood .eat-area .intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);column-gap:44px;align-items:end}
  .tpl-guide.tpl-romefood .eat-area .intro>*{grid-column:1}
  .tpl-guide.tpl-romefood .eat-area .intro>p:not(.verdict){grid-column:2;grid-row:1/span 3;margin:0}
}

/* ---------- 5. the places: his experience card without a photo ----------
   White, his 1px edge, 16px corners, his shadow. The name with the price level as his chip, the kind and address, what
   to order as his booking-choice line, why, then how to book and when it's shut on his hairline at the foot, and the
   source under it. Three across on a computer (his market grid), two on a tablet; the foot lines up along a row. */
.tpl-guide.tpl-romefood .places{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:0}
.tpl-guide.tpl-romefood .place{min-width:0;padding:var(--tb-pad) var(--tb-pad) 16px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);
  transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-guide.tpl-romefood .place:hover{border-color:#C8D4DF;box-shadow:var(--tec-card-shadow-hover)}}
/* a name in the table or the short answer jumps here */
.tpl-guide.tpl-romefood .place:target{border-color:var(--tec-blue);box-shadow:0 0 0 3px var(--tb-ring),var(--tec-card-shadow)}
.tpl-guide.tpl-romefood .place .top{align-items:flex-start;gap:12px}
.tpl-guide.tpl-romefood .place h3{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-guide.tpl-romefood .place .tier{flex:none;padding:4px 10px;border:1px solid var(--tb-meta-line);border-radius:var(--r-pill);background:var(--tb-meta-bg);
  font:600 var(--fs-xs)/1.3 var(--sans);letter-spacing:.04em;color:var(--tb-meta-ink)}
.tpl-guide.tpl-romefood .place .kind{margin-top:6px;font-size:var(--fs-sm);line-height:1.45;color:var(--tec-muted)}
.tpl-guide.tpl-romefood .place .dish{margin-top:14px;padding:10px 12px;background:var(--tec-soft);border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;
  font-size:var(--fs-sm);font-weight:500;line-height:1.5;color:var(--tec-ink)}
.tpl-guide.tpl-romefood .place .dish b{font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.07em;color:var(--tec-blue)}
.tpl-guide.tpl-romefood .place .why{margin-top:12px;margin-bottom:16px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
.tpl-guide.tpl-romefood .place dl{margin-top:auto;padding-top:12px;border-top:1px solid var(--tb-hair);gap:6px 14px}
.tpl-guide.tpl-romefood .place dt{font-weight:600;color:var(--tec-ink)}
.tpl-guide.tpl-romefood .place dd{color:var(--tec-body)}
.tpl-guide.tpl-romefood .place :is(dd,.checked) a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-guide.tpl-romefood .place :is(dd,.checked) a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
.tpl-guide.tpl-romefood .place .checked{margin-top:10px;padding-top:0;color:var(--tec-muted)}
@media(max-width:1040px){.tpl-guide.tpl-romefood .places{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* the foot lines up along a row: each card takes six rows of the grid (the name, the kind, what to order, why, Book
   and Closed, the source) and shares their heights with the cards beside it, so the hairline over Book and the source
   line sit level however long a card's words run (his market grid); Book and Closed keep their own spacing under the
   hairline, any room left falls above the source. Without subgrid, or in a list whose cards carry more parts (a subgrid
   can't add rows, so they would overlap), a card keeps its foot at its own bottom. */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-guide.tpl-romefood .places:not(:has(>.place>:nth-child(7)))>.place{display:grid;grid-row:span 6;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);row-gap:0;align-content:start}
    .tpl-guide.tpl-romefood .places:not(:has(>.place>:nth-child(7)))>.place>dl{align-self:start;margin-top:0}
    .tpl-guide.tpl-romefood .places:not(:has(>.place>:nth-child(7)))>.place>.checked{align-self:end}
  }
}

/* ---------- 6. food tours and classes: boxed cards, the operator's facts on his hairline, its button at the foot ---------- */
.tpl-guide.tpl-romefood .tours{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:0}
.tpl-guide.tpl-romefood .tour{gap:0;min-width:0;padding:var(--tb-pad);background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);
  transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-guide.tpl-romefood .tour:hover{border-color:#C8D4DF;box-shadow:var(--tec-card-shadow-hover)}}
.tpl-guide.tpl-romefood .tour .what{font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.07em;color:var(--tec-blue)}
.tpl-guide.tpl-romefood .tour h3{margin-top:8px;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-guide.tpl-romefood .tour-copy>p{margin-top:8px;margin-bottom:16px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
.tpl-guide.tpl-romefood .tour .facts{margin-top:auto;padding:12px 0 0;border:0;border-top:1px solid var(--tb-hair);font-size:var(--fs-sm);line-height:1.5;color:var(--tec-muted)}
.tpl-guide.tpl-romefood .tour .go{margin-top:0;padding-top:14px}
.tpl-guide.tpl-romefood .tour .go .pill{width:100%;gap:8px;text-align:center}
.tpl-guide.tpl-romefood .tour .go .pill[target="_blank"]::after{content:"\2197";content:"\2197" / "";font-weight:400}
.tpl-guide.tpl-romefood .tours-note{margin-top:18px;color:var(--tec-body)}
@media(max-width:1040px){.tpl-guide.tpl-romefood .tours{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* as the places: three shared rows (the words, the facts, the button), so the facts' hairline and the buttons sit
   level along a row; the kind, title and words are one row, so a one-line title leaves no gap above its words */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-guide.tpl-romefood .tours:not(:has(>.tour>:nth-child(4)))>.tour{display:grid;grid-row:span 3;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);row-gap:0;align-content:start}
    .tpl-guide.tpl-romefood .tours:not(:has(>.tour>:nth-child(4)))>.tour>.facts{margin-top:0}
  }
}

/* ---------- 7. the signs to walk past: his numbered cards, four across ---------- */
.tpl-guide.tpl-romefood #avoid .skip ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tpl-guide.tpl-romefood #avoid .skip li,.tpl-guide.tpl-romefood #avoid .skip li:first-child{display:block;padding:22px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tb-row-shadow)}
.tpl-guide.tpl-romefood #avoid .skip li::before{display:grid;place-items:center;width:42px;height:42px;margin-bottom:14px;padding:0;border-radius:50%;background:var(--tec-navy);color:var(--white);
  font:600 var(--fs-sm)/1 var(--sans);letter-spacing:0;box-shadow:0 0 0 3px var(--tb-ring)}
.tpl-guide.tpl-romefood #avoid .skip li b{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-guide.tpl-romefood #avoid .skip li p{margin-top:8px;color:var(--tec-body)}
@media(max-width:1040px){.tpl-guide.tpl-romefood #avoid .skip ol{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 8. how Rome eats: a box each, three across ---------- */
.tpl-guide.tpl-romefood #before .around ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tpl-guide.tpl-romefood #before .around li{padding:20px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tb-row-shadow);
  font-size:var(--fs-sm);line-height:1.6;color:var(--tec-body)}
.tpl-guide.tpl-romefood #before .around li b{margin-bottom:6px;font:600 var(--fs-md)/1.3 var(--sans);color:var(--navy)}
@media(max-width:1040px){.tpl-guide.tpl-romefood #before .around ul{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 9. the questions (tec.css): on cream; the plan-the-rest links after them get their own space back ---------- */
.tpl-guide.tpl-romefood #faq+.sec.tight{padding-top:56px}

/* ---------- a folded box (js/condense.js, phones) has no edge or padding (phone.css); its shadow goes too ---------- */
:is(.table-home,.tpl-guide.tpl-romefood) :is(.dishes>li,.place,#compare .areas-wrap,#map figure.map,.skip li,.around li)[hidden]{box-shadow:none}

/* ---------- phones ----------
   The city cards are one row that scrolls sideways (js/tec.js); the rest stack in one column, which is also what lets
   condense.js fold the places, the dishes and the lists with hidden="until-found" (Find in page still opens them). */
@media(max-width:700px){
  .table-home,.tpl-guide.tpl-romefood{--tb-pad:16px}
  .table-home main>.sec,.tpl-guide.tpl-romefood main>.sec{padding-top:32px;padding-bottom:32px}
  .tpl-guide.tpl-romefood main>.sec.tight#map{padding-top:0}
  .table-home main>.sec .head,.tpl-guide.tpl-romefood main .sec>.wrap>.head,.tpl-guide.tpl-romefood :is(#avoid .skip,#before .around)>div:first-child{margin-bottom:18px;padding-bottom:16px}
  .table-home main>.sec .head h2,.tpl-guide.tpl-romefood main .sec>.wrap>.head h2{margin-top:0}

  /* the hero: the words at the foot, a veil that darkens toward them */
  .table-home .table-hero{min-height:448px;align-items:flex-end}
  .table-home .table-hero .veil{background:linear-gradient(0deg,rgba(5,25,48,.92) 0%,rgba(5,25,48,.72) 55%,rgba(5,25,48,.45) 100%)}
  .table-home .table-hero .wrap{padding-top:40px;padding-bottom:56px}
  .table-home .table-hero .lede{margin-top:12px;font-size:var(--fs-md)}
  .table-home .table-hero .cta{margin-top:22px}

  /* the finder: a little less padding; the selects and kinds fold behind Filters */
  .table-home #cities .finder{padding:12px 14px;margin-bottom:18px}
  .table-home #cities .finder :is(input,select){min-height:50px}
  .table-home #cities .finder .cz-more{margin:4px 0 0}
  /* catalog.css pairs Country with Budget and leaves Sort alone at half width; Country, the longest values, takes the
     row instead and the two short selects share the next, so no row is half empty (the order stays Country, Budget, Sort) */
  .table-home #cities .finder-row>.f-sel:has(>select[data-f="country"]){grid-column:1/-1}
  /* below about 350px a half-width select can't show "Cheapest first" whole, so each takes the row */
  @media(max-width:350px){.table-home #cities .finder-row>.f-sel{grid-column:1/-1}}

  /* the city cards: without the script one column; with it one row that scrolls sideways. phone.css lays each card out
     as a thumbnail row (a grid); here it is the card again: the photo on top, a fifth shorter, the dish at the foot */
  .table-home #cities .citygrid{grid-template-columns:minmax(0,1fr);gap:12px}
  .table-home #cities .citygrid.tec-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(80%,300px);gap:12px;align-items:stretch;padding-top:7px;padding-bottom:14px}
  .table-home #cities .citygrid .cc{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto 1fr;column-gap:0;align-content:stretch;padding:0;border-top:1px solid var(--tec-card-line);box-shadow:0 3px 12px rgba(27,48,72,.08)}
  .table-home #cities .citygrid .cc img{grid-row:auto;width:100%;aspect-ratio:5/3;align-self:stretch}
  .table-home #cities .citygrid .cc .ctry{margin:12px 14px 0}
  .table-home #cities .citygrid .cc .nm{margin:4px 14px 0;font-size:var(--fs-lg)}
  .table-home #cities .citygrid .cc .line{align-self:end;margin:12px 14px 14px}
  .table-home #cities .show-all{margin-top:18px}

  .table-home .hoods{grid-template-columns:minmax(0,1fr);gap:8px}
  .table-home .hoods .hood{padding:12px 14px 12px 16px}
  .table-home .hoods .hood .who{margin-top:6px}

  :is(.table-home,.tpl-guide.tpl-romefood) .dishes{grid-template-columns:minmax(0,1fr);gap:8px}
  :is(.table-home,.tpl-guide.tpl-romefood) .dishes a{padding:13px 52px 13px 16px}
  :is(.table-home,.tpl-guide.tpl-romefood) .dishes a::after{top:50%;transform:translateY(-50%)}

  :is(.table-home,.tpl-guide.tpl-romefood) main>.sec>.wrap>.cluster{gap:8px}
  :is(.table-home,.tpl-guide.tpl-romefood) main>.sec>.wrap>.cluster a{min-height:46px}

  /* the Rome guide; the in-page menu's chips take the 44px every other control has on a phone */
  .tpl-guide.tpl-romefood .subnav a{display:inline-flex;align-items:center;min-height:44px}
  .tpl-guide.tpl-romefood .guide-intro{padding-top:20px}
  .tpl-guide.tpl-romefood .guide-intro .answer{margin-top:26px}
  .tpl-guide.tpl-romefood .guide-intro .answer dt{padding:14px 16px 0}
  .tpl-guide.tpl-romefood .guide-intro .answer dd{margin-bottom:10px;padding:6px 16px 14px}
  .tpl-guide.tpl-romefood #compare .areas-wrap{padding:2px 14px 4px}
  .tpl-guide.tpl-romefood #map figure.map{padding:8px}
  .tpl-guide.tpl-romefood .hoodlist>.eat-area,.tpl-guide.tpl-romefood .hoodlist>.eat-area:first-child{padding:32px 0 36px}
  .tpl-guide.tpl-romefood .eat-area .intro{margin-bottom:18px;padding-bottom:16px}
  .tpl-guide.tpl-romefood .eat-area h2{margin-top:0}
  .tpl-guide.tpl-romefood .places,.tpl-guide.tpl-romefood .tours{grid-template-columns:minmax(0,1fr);gap:12px}
  .tpl-guide.tpl-romefood .place .dish b{margin-right:8px}
  /* the source is the card foot's only link of its own, close under Book and Closed: a 44px target (phone.css trims its
     padding to 4px), its words kept on the line's baseline. The taller line brings its own space above and below, so
     the line's margin and the card's foot padding give theirs back */
  .tpl-guide.tpl-romefood .place{padding-bottom:4px}
  .tpl-guide.tpl-romefood .place .checked{margin-top:0}
  .tpl-guide.tpl-romefood .place .checked a{display:inline-flex;align-items:center;min-height:44px;padding:0;vertical-align:baseline}
  .tpl-guide.tpl-romefood #avoid .skip ol,.tpl-guide.tpl-romefood #before .around ul{grid-template-columns:minmax(0,1fr);gap:10px}
  .tpl-guide.tpl-romefood #avoid .skip li,.tpl-guide.tpl-romefood #avoid .skip li:first-child{padding:18px}
  .tpl-guide.tpl-romefood #avoid .skip li::before{width:38px;height:38px;margin-bottom:12px}
  .tpl-guide.tpl-romefood #before .around li{padding:16px}
  .tpl-guide.tpl-romefood #faq+.sec.tight{padding-top:32px}
}

@media(prefers-reduced-motion:reduce){
  .table-home #cities .cc,.table-home #cities .cc img,.table-home #cities .cc .line::after,.table-home .hoods .hood,.table-home .hoods .hood::after,
  :is(.table-home,.tpl-guide.tpl-romefood) :is(.dishes a,.dishes a::after,main>.sec>.wrap>.cluster a,.head a.more),
  .tpl-guide.tpl-romefood :is(.place,.tour){transition:none}
  .table-home #cities .cc:hover,.table-home #cities .cc:hover img{transform:none}
}

/* ==================== the food guides (body.tpl-foodguide) ====================
   Victor's look on the Table's 99 city food guides (food_page() in gen-pages.py) and its 33 country food guides
   (country_food_page(), which add .tpl-country). Loaded after tec.css and before phone.css, like the other page-type
   parts. The short answer as one white box, its rows as two columns of cells on a computer; the section heads as his
   heading row over a rule; the dishes, the neighborhoods and the regions as boxed cards, four across on a computer and
   two on a tablet, a short last row widened to fill it; the places as his experience card without a photo (the dish to order as his booking-choice line,
   "Confirmed open" as his decision check at the foot); the markets as boxes with the opening days as his chip; how the
   city eats and what to drink as boxes beside the heading; what to walk past as his numbered cards; the country's city
   cards as his boxed experience card, one swipe row on a phone (js/tec.js); the closing links as his cream cross-sell.
   Nothing here is yellow: the Viator links on these pages are text links, and the phone booking bar's partner button
   takes the booking yellow from tec.css. Phones keep every list that js/condense.js folds in one column, so the folds
   stay hidden="until-found". Every rule names the scope, which also outranks phone.css's thumbnail rows. */

.tpl-foodguide{
  --fg-hover:#EFF6FF;                              /* his secondary button's hover, and the cross-sell rows' */
  --fg-ring:rgba(11,78,162,.12);                   /* the 3px ring round a numbered circle */
  --fg-row-shadow:0 3px 12px rgba(25,45,65,.045);  /* his library row and decision card */
  --fg-hair:#EDF0F2;                               /* his decision-check rule inside a card */
  --fg-meta-bg:#F3F7FB; --fg-meta-line:#D9E3ED; --fg-meta-ink:#31465B;   /* his card chips (card-meta) */
  --fg-pad:20px;
}

/* ---------- the section heads: his heading row, the title on the left and its intro on the right, over a rule ---------- */
.tpl-foodguide main .sec>.head{display:block;margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
.tpl-foodguide main .sec>.head h2{text-wrap:balance}
.tpl-foodguide main .sec>.head .sub{max-width:52ch;font-size:var(--fs-md);line-height:1.55;color:var(--tec-muted)}
@media(min-width:1041px){
  .tpl-foodguide main .sec>.head>div:has(>.sub){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:44px;align-items:end}
  .tpl-foodguide main .sec>.head>div:has(>.sub)>*{grid-column:1}
  .tpl-foodguide main .sec>.head>div>.sub{grid-column:2;grid-row:1/span 2;margin:0}
}

/* ---------- 1. under the title: the lede and the short answer ---------- */
.tpl-foodguide .guide-intro{max-width:none;padding-top:32px}
.tpl-foodguide .guide-intro .lede{max-width:68ch;font-size:var(--fs-lg);line-height:1.55;color:var(--tec-body)}
/* his decision card: white, his edge, 16px corners, his shadow; the label in his small blue capitals */
.tpl-foodguide .guide-intro .answer{max-width:none;margin-top:28px;padding:20px 24px 8px;background:var(--white);border:1px solid var(--tec-card-line);
  border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-foodguide .guide-intro .answer h2{font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-foodguide .guide-intro .answer :is(dt,dd){border-top-color:var(--fg-hair)}
.tpl-foodguide .guide-intro .answer dt{color:var(--tec-ink)}
.tpl-foodguide .guide-intro .answer dd{color:var(--tec-body)}
/* a computer or a wide tablet: the rows as two columns of cells, the label over the answer, like a booking site's key
   facts. Each label and its answer share a column (dense placement), so the reading order stays label, answer, label. */
@media(min-width:861px){
  .tpl-foodguide .guide-intro .answer{padding:20px 26px 10px}
  .tpl-foodguide .guide-intro .answer dl{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row dense;column-gap:44px;margin-top:6px}
  .tpl-foodguide .guide-intro .answer :is(dt,dd):nth-of-type(odd){grid-column:1}
  .tpl-foodguide .guide-intro .answer :is(dt,dd):nth-of-type(even){grid-column:2}
  .tpl-foodguide .guide-intro .answer dt{padding:14px 0 4px;border-top:1px solid var(--fg-hair);font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-muted)}
  .tpl-foodguide .guide-intro .answer dt:nth-of-type(-n+2){border-top:0}
  .tpl-foodguide .guide-intro .answer dd{padding:0 0 14px;border-top:0;font-size:var(--fs-md);line-height:1.5;color:var(--tec-ink)}
}

/* ---------- 2. what to order: a box per dish, a short blue rule across the top ---------- */
.tpl-foodguide #dishes .dishes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:0}
.tpl-foodguide #dishes .dishes>li{display:flex;min-width:0}
.tpl-foodguide #dishes .dishes .di{display:flex;flex-direction:column;width:100%;height:auto;padding:18px var(--fg-pad) var(--fg-pad);
  border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--fg-row-shadow)}
.tpl-foodguide #dishes .dishes .di::before{content:"";display:block;width:32px;height:4px;margin-bottom:14px;border-radius:4px;background:var(--tec-blue)}
.tpl-foodguide #dishes .dishes .di b{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-foodguide #dishes .dishes .di span{margin-top:8px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
/* the country guides name the region a dish comes from: his chip at the foot, with a small pin (drawn, not read out) */
.tpl-foodguide #dishes .dishes .di .from{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:auto;padding:5px 11px;
  border:1px solid var(--fg-meta-line);border-radius:14px;background:var(--fg-meta-bg);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.02em;text-transform:none;color:var(--fg-meta-ink)}
.tpl-foodguide #dishes .dishes .di span:not(.from):has(+.from){margin-bottom:14px}
.tpl-foodguide #dishes .dishes .di .from::before{content:"";flex:none;width:12px;height:12px;background:var(--tec-blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- 3. by neighborhood (city) and by region (country): his boxed card, on the cream ground (tec.css) ----------
   The name, what it's like, and on a city guide the Concierge's page for staying there as his secondary button at the
   foot (it stays on our sites, so it is blue, not yellow), lined up along a row. */
.tpl-foodguide :is(#areas,#regions) .g-areas{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tpl-foodguide :is(#areas,#regions) .g-areas>li{display:flex;flex-direction:column;min-width:0;padding:var(--fg-pad);
  border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tec-card-shadow)}
.tpl-foodguide :is(#areas,#regions) .g-areas h3{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink);text-wrap:pretty}
.tpl-foodguide :is(#areas,#regions) .g-areas p{margin-top:8px;font-size:var(--fs-sm);line-height:1.6;color:var(--tec-card-text)}
.tpl-foodguide #areas .g-areas p:has(+.hs-link){margin-bottom:16px}
.tpl-foodguide #areas .g-areas a.hs-link{display:block;min-height:46px;margin-top:auto;padding:13px 14px;
  background:var(--white);border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);color:var(--tec-blue);
  font:600 var(--fs-sm)/1.3 var(--sans);text-align:center;text-decoration:none;text-wrap:balance;
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
/* a block, so the arrow (guide.css) follows the label's last word when it wraps instead of standing apart */
.tpl-foodguide #areas .g-areas a.hs-link::after{content:"\00a0\2192";content:"\00a0\2192" / "";font-weight:400}
@media(hover:hover){.tpl-foodguide #areas .g-areas a.hs-link:hover{background:var(--fg-hover);color:var(--tec-blue-dark)}}
.tpl-foodguide #areas .g-areas a.hs-link:active{background:#E3EEFB}
/* a computer or tablet: the cards of a row share their rows (subgrid), so the buttons along a row match in height when
   one label wraps to two lines, and stand at the same height; the label sits in the middle of its button. The space
   between rows moves from the row gap to the cards' margins, as on the country guides' city cards. */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-foodguide #areas .g-areas{row-gap:0;margin-bottom:-18px}
    .tpl-foodguide #areas .g-areas>li{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;margin-bottom:18px}
    .tpl-foodguide #areas .g-areas a.hs-link{margin-top:0;align-content:center}
  }
}

/* ---------- 4. the places: his experience card, without a photo ----------
   The name and the price level (his chip) at the top, the kind and the area as his blue category line, what to order as
   his booking-choice line, why, how to book, and "Confirmed open" with its source as his decision check at the foot,
   lined up along a row. A place the address points to (#r-...) is outlined. */
.tpl-foodguide #places .places{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:0}
.tpl-foodguide #places .place{min-width:0;padding:var(--fg-pad) var(--fg-pad) 18px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow);transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-foodguide #places .place:hover{border-color:#C8D4DF;box-shadow:var(--tec-card-shadow-hover)}}
.tpl-foodguide #places .place:target{border-color:var(--tec-blue);box-shadow:0 0 0 3px var(--fg-ring),var(--tec-card-shadow)}
.tpl-foodguide #places .place .top{align-items:flex-start}
.tpl-foodguide #places .place h3{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink);text-wrap:pretty}
.tpl-foodguide #places .place .tier{flex:none;padding:3px 10px;border:1px solid var(--fg-meta-line);border-radius:14px;background:var(--fg-meta-bg);
  font:600 var(--fs-xs)/1.4 var(--sans);letter-spacing:.06em;color:var(--fg-meta-ink)}
.tpl-foodguide #places .place .kind{margin-top:6px;font:600 var(--fs-xs)/1.45 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-foodguide #places .place .dish{margin-top:14px;padding:10px 12px;border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;background:var(--tec-soft);
  font-size:var(--fs-md);line-height:1.45;color:var(--tec-ink)}
.tpl-foodguide #places .place .dish b{color:var(--tec-blue);letter-spacing:.1em}
.tpl-foodguide #places .place .why{margin-top:12px;font-size:var(--fs-sm);line-height:1.6;color:var(--tec-card-text)}
.tpl-foodguide #places .place dl{gap:4px 14px;margin-top:14px;padding-top:12px;border-top:1px solid var(--fg-hair)}
.tpl-foodguide #places .place dt{font-weight:600;color:var(--tec-ink)}
.tpl-foodguide #places .place dd{color:var(--tec-body)}
.tpl-foodguide #places .place .checked{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;margin-top:auto;padding-top:14px;
  font:500 var(--fs-sm)/1.45 var(--sans);color:var(--tec-body)}
/* a check in his soft blue circle before "Confirmed open" (decoration only) */
.tpl-foodguide #places .place .checked::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--fg-meta-line);
  background:var(--fg-hover) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4EA2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8'/%3E%3C/svg%3E") center/12px 12px no-repeat}
.tpl-foodguide #places .place .checked a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-foodguide #places .place .checked a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}

/* ---------- 5. the markets: a box each, the days as his chip with a small clock, the source at the foot ---------- */
.tpl-foodguide #markets .g-markets{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tpl-foodguide #markets .g-markets>li{gap:0;min-width:0;padding:var(--fg-pad) 22px 18px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow)}
.tpl-foodguide #markets .g-markets b{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-foodguide #markets .g-markets span{margin-top:8px;font-size:var(--fs-sm);line-height:1.6;color:var(--tec-card-text)}
.tpl-foodguide #markets .g-markets .when{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;margin:12px 0 16px;padding:5px 11px;
  border:1px solid var(--fg-meta-line);border-radius:14px;background:var(--fg-meta-bg);font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.02em;color:var(--fg-meta-ink)}
.tpl-foodguide #markets .g-markets .when::before{content:"";flex:none;width:13px;height:13px;background:var(--tec-blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat}
.tpl-foodguide #markets .g-markets .checked{margin-top:auto;padding-top:12px;border-top:1px solid var(--fg-hair);font:500 var(--fs-sm)/1.45 var(--sans);color:var(--tec-body)}
.tpl-foodguide #markets .g-markets .checked a{font-weight:600}
/* three markets: three across; one market (most cities) reads as a row, the name on the left and the rest on the right */
@media(min-width:1041px){.tpl-foodguide #markets .g-markets:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:861px){
  .tpl-foodguide #markets .g-markets:has(>li:only-child){grid-template-columns:minmax(0,1fr)}
  .tpl-foodguide #markets .g-markets>li:only-child{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:36px;align-items:start;padding:24px 28px 20px}
  .tpl-foodguide #markets .g-markets>li:only-child>b{grid-column:1;grid-row:1/span 3}
  .tpl-foodguide #markets .g-markets>li:only-child>span{grid-column:2}
  .tpl-foodguide #markets .g-markets>li:only-child>.when{justify-self:start}
  .tpl-foodguide #markets .g-markets>li:only-child>span:first-of-type{margin-top:0;font-size:var(--fs-md)}
}
/* the food tours on Viator: a partner text link with its note, as his booking-choice line on the soft ground */
.tpl-foodguide #markets .more-line{display:flex;flex-wrap:wrap;align-items:center;gap:2px 14px;max-width:none;margin-top:24px;padding:12px 16px;
  border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;background:var(--tec-soft)}
.tpl-foodguide #markets .more-line a{margin:0;padding:6px 0;color:var(--tec-blue);font:600 var(--fs-sm)/1.4 var(--sans);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-foodguide #markets .more-line a[target="_blank"]::after{content:"\00a0\2197";content:"\00a0\2197" / ""}
@media(hover:hover){.tpl-foodguide #markets .more-line a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
.tpl-foodguide #markets .more-line .pn{font-size:var(--fs-sm);line-height:1.5;color:var(--tec-muted)}

/* ---------- 6. how the city eats, what to drink: the heading on the left, the points as boxes beside it ----------
   How it eats sits on his soft ground (tec.css); what to drink (country guides) on white, so its boxes keep his edge. */
.tpl-foodguide :is(#customs,#drinks) .around{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px}
.tpl-foodguide :is(#customs,#drinks) .around h2{text-wrap:balance}
.tpl-foodguide :is(#customs,#drinks) .around ul{gap:14px}
.tpl-foodguide :is(#customs,#drinks) .around li{padding:20px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);
  box-shadow:var(--fg-row-shadow);font-size:var(--fs-sm);line-height:1.6;color:var(--tec-body)}
.tpl-foodguide :is(#customs,#drinks) .around li b{margin-bottom:6px;font:600 var(--fs-md)/1.3 var(--sans);color:var(--navy)}
/* five: the last one alone takes its row, wherever the points sit two across */
@media(min-width:701px){.tpl-foodguide :is(#customs,#drinks) .around li:last-child:nth-child(odd){grid-column:1/-1}}

/* ---------- 7. what to walk past: his numbered cards under the heading ---------- */
.tpl-foodguide #avoid .skip{grid-template-columns:minmax(0,1fr);gap:0}
.tpl-foodguide #avoid .skip>div:first-child{margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
.tpl-foodguide #avoid .skip h2{text-wrap:balance}
.tpl-foodguide #avoid .skip ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tpl-foodguide #avoid .skip li{display:block;padding:22px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--fg-row-shadow)}
.tpl-foodguide #avoid .skip li:first-child{border-top:1px solid var(--tec-card-line);padding-top:22px}
.tpl-foodguide #avoid .skip li::before{display:grid;place-items:center;width:42px;height:42px;margin-bottom:14px;padding:0;border-radius:50%;
  background:var(--tec-navy);color:var(--white);font:600 var(--fs-sm)/1 var(--sans);letter-spacing:0;box-shadow:0 0 0 3px var(--fg-ring)}
.tpl-foodguide #avoid .skip li p{margin:0;font-size:var(--fs-md);line-height:1.55;color:var(--tec-body)}

/* ---------- 8. the country guides' city cards: his boxed experience card ----------
   White, his edge, 16px corners, his shadow, the photo full width on top at 16:10, a 2px lift on hover; the dish as his
   booking-choice line; the Concierge's city guide at the foot under his hairline. */
.tpl-foodguide.tpl-country #cities .ccards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:0}
.tpl-foodguide.tpl-country #cities .ccard{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow);overflow:hidden;transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
.tpl-foodguide.tpl-country #cities .ccard-pic{width:100%;height:auto;aspect-ratio:16/10;border-radius:0}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-foodguide.tpl-country #cities .ccard:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  .tpl-foodguide.tpl-country #cities .ccard-pic img{transition:transform .35s var(--ease-out)}
  .tpl-foodguide.tpl-country #cities .ccard:hover .ccard-pic img{transform:scale(1.018)}
}
.tpl-foodguide.tpl-country #cities .ccard h3{margin:0;padding:14px 16px 0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-foodguide.tpl-country #cities .ccard h3 a{color:inherit;text-decoration:none}
@media(hover:hover){.tpl-foodguide.tpl-country #cities .ccard h3 a:hover{color:var(--tec-blue)}}
.tpl-foodguide.tpl-country #cities .ccard>p{margin:6px 16px 0;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
.tpl-foodguide.tpl-country #cities .ccard .cc-line{margin:12px 16px 0;padding:9px 12px;border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;background:var(--tec-soft);
  font-size:var(--fs-sm);line-height:1.45;color:var(--tec-ink)}
.tpl-foodguide.tpl-country #cities .ccard .cc-line b{margin-right:6px;font:600 var(--fs-xs)/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-foodguide.tpl-country #cities .ccard .ccard-links{margin:auto 0 0;padding:14px 16px 16px;border-top:0}
.tpl-foodguide.tpl-country #cities .ccard .ccard-links a{color:var(--tec-blue);font:600 var(--fs-sm)/1.35 var(--sans);text-decoration:none}
.tpl-foodguide.tpl-country #cities .ccard .ccard-links a::after{content:"\00a0\2192";content:"\00a0\2192" / "";font-weight:400}
@media(hover:hover){.tpl-foodguide.tpl-country #cities .ccard .ccard-links a:hover{color:var(--tec-blue-dark);text-decoration:underline;text-underline-offset:3px}}
/* one city (Luxembourg and 15 more): one wide card, the photo on the left at the cards' 16:10 and the words on the right,
   read from the top with the link right under the dish; a last row (1fr) takes whatever height the photo adds. When the
   words run taller than the photo (a tablet), the photo stretches to them. The same card closes an odd row on a tablet
   (below). */
@media(min-width:701px){
  .tpl-foodguide.tpl-country #cities .ccard:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:repeat(5,auto) 1fr;align-content:start}
  .tpl-foodguide.tpl-country #cities .ccard:only-child .ccard-pic{grid-column:1;grid-row:1/-1;align-self:stretch;height:auto;min-height:0;aspect-ratio:16/10}
  .tpl-foodguide.tpl-country #cities .ccard:only-child>:not(.ccard-pic){grid-column:2;margin-left:28px;margin-right:28px}
  .tpl-foodguide.tpl-country #cities .ccard:only-child>:is(h3,.ccard-links){padding-left:0;padding-right:0}
  .tpl-foodguide.tpl-country #cities .ccard:only-child h3{padding-top:26px;font-size:var(--fs-xl)}
  .tpl-foodguide.tpl-country #cities .ccard:only-child>p:not(.cc-line):not(.ccard-links){max-width:60ch;font-size:var(--fs-md)}
  .tpl-foodguide.tpl-country #cities .ccard:only-child .cc-line{justify-self:start;font-size:var(--fs-md)}
  .tpl-foodguide.tpl-country #cities .ccard:only-child .ccard-links{padding-top:16px;padding-bottom:26px}
}
/* a computer: a third of the card for the photo, which at 16:10 is then about as tall as the words beside it */
@media(min-width:1041px){.tpl-foodguide.tpl-country #cities .ccard:only-child{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}}
/* a computer or tablet: the cards of a row share their rows (subgrid), so the dishes and the links line up across it. A
   card condense.js has folded (a phone turned sideways) keeps the plain column. */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-foodguide.tpl-country #cities .ccards:has(>.ccard:nth-child(2)){row-gap:0;margin-bottom:-18px}
    .tpl-foodguide.tpl-country #cities .ccard:not(:only-child){margin-bottom:18px}
    .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):not(:has(>.cz-more)){display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
    .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):not(:has(>.cz-more)) .cc-line{align-self:start}
  }
}

/* ---------- 9. the rest of the trip: his cream cross-sell, white rows with a blue name and an arrow ----------
   #more is .tight (no top padding) and sits on its own band now, so it gets its space back. A link that opens a new tab
   (Viator) points up and out. On a computer the title sits at the left and the rows two across beside it. */
.tpl-foodguide #more{padding-top:56px;padding-bottom:56px;background:var(--tec-cream);box-shadow:0 0 0 100vmax var(--tec-cream);clip-path:inset(0 -100vmax);
  border:solid var(--tec-rule);border-width:1px 0 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0 0/0 100vmax}
.tpl-foodguide #more .cluster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
.tpl-foodguide #more .cluster a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 15px;
  background:var(--white);border:1px solid #D7DDE2;border-radius:10px;color:var(--tec-blue);font:600 var(--fs-sm)/1.35 var(--sans);text-decoration:none;
  transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
.tpl-foodguide #more .cluster a::after{content:"\2192";content:"\2192" / "";flex:none;font-weight:400}
.tpl-foodguide #more .cluster a[target="_blank"]::after{content:"\2197";content:"\2197" / ""}
@media(hover:hover){.tpl-foodguide #more .cluster a:hover{background:var(--fg-hover);border-color:#B8CAE0;box-shadow:0 3px 10px rgba(20,50,80,.05);color:var(--tec-blue-dark)}}
@media(min-width:1041px){
  .tpl-foodguide #more{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:48px;row-gap:0;align-items:start}
  .tpl-foodguide #more>.head{grid-column:1;grid-row:1/span 4;margin:0;padding-bottom:0;border-bottom:0}
  .tpl-foodguide #more>:not(.head){grid-column:2}
}

/* ---------- a computer: the card grids on twelve tracks, so a row holds four, three or two cards ----------
   Four across (the dishes, neighborhoods, regions, walk-past cards and cities) or three (the places, which say more).
   A count that fills its rows another way takes it: three across for 3, 5, 6 or 9; two for 2 cities, or 4, 8 or 10
   places. Where a short last row is still left (5, 7, 10 or 11 cards), its cards widen to fill it, so no grid ends on an
   empty cell. The span is a custom property: set on the list, it reaches every card; set on a card, it wins. */
@media(min-width:1041px){
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#places .places,#avoid .skip ol),.tpl-foodguide.tpl-country #cities .ccards{grid-template-columns:repeat(12,minmax(0,1fr))}
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#places .places,#avoid .skip ol)>li,.tpl-foodguide.tpl-country #cities .ccards>li{grid-column:span var(--fg-span)}
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards){--fg-span:3}
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards):is(:has(>li:nth-child(3):last-child),:has(>li:nth-child(5):last-child),
    :has(>li:nth-child(6):last-child),:has(>li:nth-child(9):last-child)){--fg-span:4}
  .tpl-foodguide #cities .ccards:has(>li:nth-child(2):last-child){--fg-span:6}
  /* five (three, then two); seven or eleven (three left over); ten (two left over) */
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards)>li:nth-child(4):nth-last-child(2),
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards)>li:nth-child(4):nth-last-child(2)+li,
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards)>li:nth-child(4n+9):nth-last-child(2),
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards)>li:nth-child(4n+9):nth-last-child(2)+li{--fg-span:6}
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards)>li:nth-child(4n+5):nth-last-child(3),
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#avoid .skip ol,#cities .ccards)>li:nth-child(4n+5):nth-last-child(3)~li{--fg-span:4}
  .tpl-foodguide #places .places{--fg-span:4}
  .tpl-foodguide #places .places:is(:has(>li:nth-child(4):last-child),:has(>li:nth-child(8):last-child),:has(>li:nth-child(10):last-child)){--fg-span:6}
  /* five or eleven places: two left over */
  .tpl-foodguide #places .places>li:nth-child(3n+4):nth-last-child(2),.tpl-foodguide #places .places>li:nth-child(3n+4):nth-last-child(2)+li{--fg-span:6}
  /* a widened city card keeps the photo height of the row above, a wider crop, as a booking site's destination grid does:
     two of three across (five cities), three of four (seven or eleven), two of four (ten) */
  .tpl-foodguide.tpl-country #cities .ccards>li:nth-child(4):nth-last-child(2) .ccard-pic,
  .tpl-foodguide.tpl-country #cities .ccards>li:nth-child(4):nth-last-child(2)+li .ccard-pic{aspect-ratio:39/16}
  .tpl-foodguide.tpl-country #cities .ccards>li:nth-child(4n+5):nth-last-child(3) .ccard-pic,
  .tpl-foodguide.tpl-country #cities .ccards>li:nth-child(4n+5):nth-last-child(3)~li .ccard-pic{aspect-ratio:13/6}
  .tpl-foodguide.tpl-country #cities .ccards>li:nth-child(4n+9):nth-last-child(2) .ccard-pic,
  .tpl-foodguide.tpl-country #cities .ccards>li:nth-child(4n+9):nth-last-child(2)+li .ccard-pic{aspect-ratio:33/10}
}

/* ---------- tablet: two across for the cards, the boxes beside a heading under it ---------- */
@media(max-width:1040px){
  .tpl-foodguide #dishes .dishes,.tpl-foodguide :is(#areas,#regions) .g-areas,.tpl-foodguide #places .places,.tpl-foodguide.tpl-country #cities .ccards,
  .tpl-foodguide #avoid .skip ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* an odd last card takes the whole row, so no grid ends on an empty cell: its words keep a reading width, a neighborhood's
   button keeps the width of the ones above it (half the row, less the card's padding and the gap), and a city becomes
   the wide card a country with one city has */
@media(min-width:701px) and (max-width:1040px){
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#places .places,#avoid .skip ol)>li:last-child:nth-child(odd){grid-column:1/-1}
  .tpl-foodguide :is(#dishes .dishes,#areas .g-areas,#regions .g-areas,#places .places)>li:last-child:nth-child(odd) :is(h3+p,.di span,.why){max-width:72ch}
  .tpl-foodguide #areas .g-areas>li:last-child:nth-child(odd) a.hs-link{justify-self:start;width:calc(50% - 29px)}
  .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-row:auto;
    grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:repeat(5,auto) 1fr;align-content:start}
  .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):last-child:nth-child(odd) .ccard-pic{grid-column:1;grid-row:1/-1;align-self:stretch;height:auto;min-height:0;aspect-ratio:16/10}
  .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):last-child:nth-child(odd)>:not(.ccard-pic){grid-column:2;margin-left:24px;margin-right:24px}
  .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):last-child:nth-child(odd)>:is(h3,.ccard-links){padding-left:0;padding-right:0}
  .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):last-child:nth-child(odd) h3{padding-top:22px}
  .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):last-child:nth-child(odd) .cc-line{justify-self:start}
  .tpl-foodguide.tpl-country #cities .ccard:not(:only-child):last-child:nth-child(odd) .ccard-links{padding-top:14px;padding-bottom:22px}
}
@media(max-width:860px){
  .tpl-foodguide :is(#customs,#drinks) .around{grid-template-columns:minmax(0,1fr);gap:22px}
  .tpl-foodguide :is(#customs,#drinks) .around ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- phones ----------
   The country guides' city cards are the one group js/tec.js turns into a swipe row (#cities .ccards). phone.css draws
   them as thumbnail rows (a 67px square beside the name); here they go back to his card, the photo on top a fifth
   shorter. Everything else stacks in one column, which also lets js/condense.js fold the dishes, the customs and the
   links with hidden="until-found". */
@media(max-width:700px){
  .tpl-foodguide{--fg-pad:16px}
  .tpl-foodguide main .sec>.head{margin-bottom:18px;padding-bottom:16px}
  .tpl-foodguide .guide-intro{padding-top:20px}
  .tpl-foodguide .guide-intro .lede{font-size:var(--fs-md)}
  .tpl-foodguide .guide-intro .answer{margin-top:20px;padding:16px 18px 6px}
  /* the in-page menu's chips take the 44px every other control has on a phone */
  .tpl-foodguide .subnav a{display:inline-flex;align-items:center;min-height:44px}

  .tpl-foodguide #dishes .dishes,.tpl-foodguide :is(#areas,#regions) .g-areas,.tpl-foodguide #places .places,.tpl-foodguide #markets .g-markets,
  .tpl-foodguide #avoid .skip ol,.tpl-foodguide :is(#customs,#drinks) .around ul{grid-template-columns:minmax(0,1fr);gap:10px}
  .tpl-foodguide #dishes .dishes .di{padding:14px 16px 16px}
  .tpl-foodguide #dishes .dishes .di::before{margin-bottom:10px}
  .tpl-foodguide #dishes .dishes .di span{margin-top:6px}
  .tpl-foodguide #places .place{padding:16px}
  .tpl-foodguide #places .place .dish{margin-top:12px}
  .tpl-foodguide #markets .g-markets>li{padding:16px}
  .tpl-foodguide #markets .more-line{margin-top:18px;padding:8px 14px}
  .tpl-foodguide :is(#customs,#drinks) .around{gap:18px}
  .tpl-foodguide :is(#customs,#drinks) .around li{padding:16px}
  .tpl-foodguide #avoid .skip>div:first-child{margin-bottom:18px;padding-bottom:16px}
  /* a walk-past card on a phone: the number beside the sentence */
  .tpl-foodguide #avoid .skip li{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:14px;align-items:center;padding:14px 16px}
  .tpl-foodguide #avoid .skip li:first-child{padding-top:14px}
  .tpl-foodguide #avoid .skip li::before{width:38px;height:38px;margin:0}

  /* the city cards, before the script has made them a row (and a country with one or two cities): one column, the photo
     a wider band so the list stays short */
  .tpl-foodguide.tpl-country #cities .ccards{grid-template-columns:minmax(0,1fr);gap:14px}
  .tpl-foodguide.tpl-country #cities .ccards:not(.tec-row) .ccard-pic{aspect-ratio:2/1}
  /* and as a row: one card a step (the numbers of the row block in tec.css, which the column rule above outranks) */
  .tpl-foodguide.tpl-country #cities .ccards.tec-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(80%,300px);gap:12px;align-items:stretch;padding-top:7px;padding-bottom:14px}
  .tpl-foodguide.tpl-country #cities .ccard{display:flex;flex-direction:column;align-items:stretch;column-gap:0;padding:0;border-top:1px solid var(--tec-card-line);box-shadow:0 3px 12px rgba(27,48,72,.08)}
  .tpl-foodguide.tpl-country #cities .ccard-pic{grid-row:auto;width:100%;height:auto;aspect-ratio:5/3}
  .tpl-foodguide.tpl-country #cities .ccard>*{grid-column:auto;grid-row:auto}
  .tpl-foodguide.tpl-country #cities .ccard h3{padding:12px 14px 0}
  .tpl-foodguide.tpl-country #cities .ccard>p{margin-left:14px;margin-right:14px}
  .tpl-foodguide.tpl-country #cities .ccard>p:not(.cc-line):not(.ccard-links){margin-top:6px}
  .tpl-foodguide.tpl-country #cities .ccard .cc-line{margin-top:10px}
  .tpl-foodguide.tpl-country #cities .ccard .ccard-links{margin-left:0;margin-right:0;padding:4px 14px 8px}
  .tpl-foodguide.tpl-country #cities .ccard .ccard-links a{min-height:44px}
  /* the "Read more" condense.js puts under a clamped description */
  .tpl-foodguide.tpl-country #cities .ccard>.cz-more{align-self:flex-start;margin:0 14px}
  /* the title link: 44px of height without moving the text */
  .tpl-foodguide.tpl-country #cities .ccard h3 a{display:inline-block;padding:11px 0;margin:-11px 0}

  /* tap targets: the sources and the partner text link get 44px of height without moving the line (phone.css and base.css
     gave them 4 and 7px above and below) */
  .tpl-foodguide :is(#places .place,#markets .g-markets) .checked a{display:inline-block;padding:14px 0!important;margin-block:-14px}
  .tpl-foodguide :is(#places .place,#markets .g-markets) .checked{padding-top:14px}
  .tpl-foodguide #markets .more-line a{display:inline-block;padding:12px 0}

  .tpl-foodguide #more{padding-top:32px;padding-bottom:32px}
  /* spacing as margins, not gaps: the links condense.js folds behind "Show all" then take no room */
  .tpl-foodguide #more .cluster{grid-template-columns:minmax(0,1fr);gap:0}
  .tpl-foodguide #more .cluster a{min-height:46px;margin-bottom:8px}
}
/* a box js/condense.js folds on a phone (hidden="until-found") has no height, so its shadow would show as a line */
.tpl-foodguide :is(#customs,#drinks) .around li[hidden]{box-shadow:none}
@media(prefers-reduced-motion:reduce){
  .tpl-foodguide :is(#places .place,#areas .g-areas a.hs-link,#more .cluster a),.tpl-foodguide.tpl-country #cities :is(.ccard,.ccard-pic img){transition:none}
}

/* ==================== the hubs: both destinations pages (body.tpl-dest) and the tours and activities hub (body.tpl-site.tpl-hub) ====================
   Victor's look on the three pages that list every city (Sharod, 5 Nov 2026). Loaded after tec.css and before phone.css,
   so a rule phone.css also sets carries an id or one more class here.

   The destinations pages (destinations_page() in gen-pages.py, his 20 Oct handoff, built as written; the Table's page is the
   same without the two tables): the photo hero under his left-to-right veil, its search as his white wrapper with 54px
   fields; the six featured cities and the six travel styles as the homepage's boxed city cards, four across on a computer,
   two on a tablet, the featured cities one swipe row on a phone (js/tec.js; the styles' photos are hidden on a phone by
   phone.css, so they stack like the homepage's stay kinds); the two tables in a white box on a cream band, like the
   country pages'; the directory's search as his white wrapper and each country as his library row, a plus that turns
   open and the cities as chips; the plan cards boxed, three across on a computer and one row each on a tablet (photo
   left); the questions as his cards; the closing call as his slim navy band. The searches and the style cards stay in
   the page (city-finder.js), so nothing here is yellow.

   The tours hub (tours_hub()): the legal pages' reading column opened to the page's width; every section head as the
   destinations pages' heading row; the book-ahead table in a white box on a cream band, how far ahead with the tours
   pages' clock, one line under another on a phone like the destinations pages' tables; each country as his library row
   with its cities three across inside; the day trips as boxes three across, their links as chips; the food tours as the
   cream band's last heading row. No photo cards, so nothing on it swipes. */

.tpl-dest,.tpl-site.tpl-hub{
  --th-hover:#EFF6FF;                              /* his secondary button's hover */
  --th-row-shadow:0 3px 12px rgba(25,45,65,.045);  /* his library row and question card */
  --th-row-shadow-hover:0 7px 20px rgba(25,45,65,.075);
  --th-hair:#EDF0F2;                               /* his rule inside a card */
  --th-body-ground:#FCFDFE;                        /* an open library row's body */
  --th-plus-ground:#F1F6FB;  --th-plus-line:#D4E0EB;   /* the library row's plus */
  --th-pad:16px;
}

/* ==================== the destinations pages ==================== */

/* ---------- the grounds: white and his cream in turn, a 1px rule at each cream edge ----------
   The Concierge: the cities white, the two tables one cream band, the directory white, the styles cream, the plan white,
   the questions cream, then the navy call. The Table has no tables, so its cities and directory are both white: his rule
   goes between them. */
.tpl-dest main>.sec{padding-top:64px;padding-bottom:64px}
.tpl-dest main>#compare{padding-top:8px}
.tpl-dest :is(#where-to-go,#compare,#styles,#faq){background:var(--tec-cream)}
.tpl-dest #plan{background:var(--white)}
.tpl-dest #where-to-go,.tpl-dest #styles,.tpl-dest #faq,.tpl-dest #popular+#browse{border-top:1px solid var(--tec-rule)}
.tpl-dest #compare,.tpl-dest #styles{border-bottom:1px solid var(--tec-rule)}

/* ---------- the section heads: his heading row, the title on the left and its intro on the right, over a rule ---------- */
.tpl-dest main>.sec>.wrap>.head{display:block;margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line)}
.tpl-dest main>.sec>.wrap>.head h2{margin:0;text-wrap:balance}
.tpl-dest main>.sec>.wrap>.head .sub{max-width:52ch;margin-top:10px;font-size:var(--fs-md);line-height:1.55;color:var(--tec-muted)}
@media(min-width:1041px){
  .tpl-dest main>.sec>.wrap>.head>div:has(>.sub){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:44px;align-items:end}
  .tpl-dest main>.sec>.wrap>.head>div:has(>.sub)>*{grid-column:1}
  .tpl-dest main>.sec>.wrap>.head>div>.sub{grid-column:2;grid-row:1/span 2;margin:0}
}

/* ---------- 1. the photo hero: his left-to-right veil, the search as his white wrapper ----------
   The page's own gradient is in the photo's inline style; a second layer on top makes it his: darkest behind the words,
   clear over the middle of the photo, a little shade at the far edge. */
.tpl-dest .dest-hero.photo{position:relative;isolation:isolate;padding:18px 0 48px}
.tpl-dest .dest-hero.photo::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(5,25,48,.5) 0%,rgba(5,25,48,.34) 44%,rgba(5,25,48,0) 72%,rgba(5,25,48,.18) 100%)}
.tpl-dest .dest-hero.photo .crumbs{margin-bottom:18px}
.tpl-dest .dest-hero.photo .eyebrow{font-weight:600;letter-spacing:.12em}
.tpl-dest .dest-hero.photo h1{margin:8px 0 14px;max-width:18em;line-height:1.06;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.tpl-dest .dest-hero.photo .lede{max-width:62ch;font-size:var(--fs-lg);line-height:1.55;color:var(--white)}
.tpl-dest .dest-search{max-width:980px;margin-top:24px;padding:16px 18px 14px;background:var(--white);border:1px solid rgba(255,255,255,.55);border-radius:15px;box-shadow:0 16px 38px rgba(0,0,0,.22)}
.tpl-dest .dest-search>label{margin-bottom:10px;font:600 var(--fs-md)/1.3 var(--sans);color:var(--tec-ink)}
.tpl-dest .dest-search .ds-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.tpl-dest .dest-search .ds-row input{min-height:54px;padding:0 15px;font-size:var(--fs-md);color:var(--tec-ink);border-radius:var(--r-input)}
.tpl-dest .dest-search .ds-row input:focus{border-color:var(--tec-blue);box-shadow:0 0 0 3px rgba(11,78,162,.22)}
/* the button searches the page (city-finder.js), so it stays blue */
.tpl-dest .dest-search .ds-row .pill{min-width:150px;min-height:54px;padding:0 26px;border-radius:var(--r-input);font:600 var(--fs-md)/1.3 var(--sans)}
.tpl-dest .dest-search .dest-quick{gap:4px 12px;margin-top:12px}
.tpl-dest .dest-search .dest-quick span{color:var(--tec-muted)}
.tpl-dest .dest-search .dest-quick a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-dest .dest-search .dest-quick a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}

/* ---------- 2. the featured cities: the homepage's city card ----------
   White, his 1px edge, 16px corners, his shadow, the photo full width on top at 16:10, the name in Work Sans, the line it
   suits in his card gray, and the card's one action as his secondary button at the foot (the whole card is the link, so
   the button is its label; it opens the city's guide, so it isn't yellow). On the Table the country is his blue category
   line over the name, and "Order" leads the dish. */
.tpl-dest .dest-feat{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tpl-dest .dest-feat .cc{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow);overflow:hidden;text-decoration:none;
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
.tpl-dest .dest-feat .cc[hidden]{display:none}
.tpl-dest .dest-feat .cc img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0;border-radius:0;transition:transform .35s var(--ease-out)}
.tpl-dest .dest-feat .cc:hover img{transform:none}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-dest .dest-feat .cc:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  .tpl-dest .dest-feat .cc:hover img{transform:scale(1.018)}
}
.tpl-dest .dest-feat .cc>span{padding:0 var(--th-pad)}
.tpl-dest .dest-feat .cc .ctry{margin-top:14px;font:600 var(--fs-xs)/1.4 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-dest .dest-feat .cc .nm{margin-top:14px;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-dest .dest-feat .cc .ctry+.nm{margin-top:4px}
.tpl-dest .dest-feat .cc:hover .nm{color:var(--tec-ink)}
.tpl-dest .dest-feat .cc .for{margin:6px 0 14px;font-size:var(--fs-sm);line-height:1.5;color:var(--tec-card-text)}
.tpl-dest .dest-feat .cc .for b{font-weight:600;color:var(--tec-ink)}
/* the arrow sits at the right edge, so a label that wraps keeps it, and the label stays centered (the homepage's button) */
.tpl-dest :is(.dest-feat .cc,.dest-styles a,.dest-plan article) .go{position:relative;display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 38px;
  background:var(--white);border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);color:var(--tec-blue);
  font:600 var(--fs-sm)/1.3 var(--sans);text-align:center;text-wrap:balance;text-decoration:none;
  transition:background-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover)}
.tpl-dest :is(.dest-feat .cc,.dest-styles a,.dest-plan article) .go::after{content:"\2192";content:"\2192" / "";position:absolute;right:15px;top:50%;transform:translateY(-50%);font-weight:400}
@media(hover:hover){
  .tpl-dest :is(.dest-feat .cc,.dest-styles a):hover .go,.tpl-dest .dest-plan article .go:hover{background:var(--th-hover);color:var(--tec-blue-dark)}
}
.tpl-dest .dest-feat .cc .go{margin:auto var(--th-pad) var(--th-pad)}
@media(max-width:1040px){.tpl-dest .dest-feat{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 3. where should you go, compare popular cities: the country pages' tables, in a white box on the cream ----------
   The box is the table's ground now, so its edge fades (base.css, through --bone) take white. */
.tpl-dest :is(#where-to-go,#compare) .booktable-wrap{--bone:var(--white);padding:4px 22px 6px;background-color:var(--white);
  border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-dest :is(#where-to-go,#compare) .booktable :is(th,td){padding:15px 22px 15px 0;border-top:1px solid var(--th-hair);line-height:1.5}
.tpl-dest :is(#where-to-go,#compare) .booktable :is(th,td):last-child{padding-right:0}
.tpl-dest :is(#where-to-go,#compare) .booktable thead th{padding-top:14px;padding-bottom:12px;border-top:0;border-bottom:1px solid var(--sky-3);
  font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-muted)}
.tpl-dest :is(#where-to-go,#compare) .booktable tbody tr:first-child>*{border-top:0}
.tpl-dest :is(#where-to-go,#compare) .booktable th[scope=row]{width:210px;font:600 var(--fs-md)/1.35 var(--sans);color:var(--tec-ink)}
.tpl-dest :is(#where-to-go,#compare) .booktable tbody th a{font:600 var(--fs-md)/1.35 var(--sans);color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-dest :is(#where-to-go,#compare) .booktable.dtab td{font-size:var(--fs-sm);color:var(--tec-body)}
/* the recommended cities are the answer, so they read a touch stronger than the reason beside them */
.tpl-dest #where-to-go .booktable.dtab td:nth-of-type(1){font-weight:500;color:var(--tec-ink)}
.tpl-dest :is(#where-to-go,#compare) .booktable.dtab td a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-dest :is(#where-to-go,#compare) .booktable a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
@media(min-width:701px) and (max-width:1040px){.tpl-dest :is(#where-to-go,#compare) .booktable th[scope=row]{width:170px}}

/* ---------- 4. browse all: the search as his white wrapper, each country as his library row ----------
   city.css framed the directory as one box with a blue strip for the search. Now the search is the box (the field and the
   two buttons that open or close every country), and under it the countries are his library rows: white, his edge and
   12px corners, the name and the count, his plus in a pale circle that quarter-turns open, and the open body on his pale
   ground with the cities as chips. city-finder.js hides a city or a country with [hidden], so no rule here sets a
   display on either. */
.tpl-dest .dir-shell{overflow:visible;background:none;border:0;border-radius:0}
.tpl-dest .dir-head{align-items:flex-end;gap:12px 18px;margin:0 0 18px;padding:16px 18px 18px;background:var(--white);
  border:1px solid var(--tec-card-line);border-radius:15px;box-shadow:var(--tec-card-shadow)}
.tpl-dest .dir-head .dir-search{flex:1 1 320px;max-width:560px;gap:6px}
.tpl-dest .dir-head .dir-search span{font:600 var(--fs-xs)/1.3 var(--sans);letter-spacing:.06em;color:var(--tec-muted)}
.tpl-dest .dir-head .dir-search input{min-height:50px;padding:0 15px;font-size:var(--fs-md);color:var(--tec-ink);border:1px solid var(--field-line);border-radius:var(--r-input)}
.tpl-dest .dir-head .dir-search input:focus{border-color:var(--tec-blue);box-shadow:0 0 0 3px rgba(11,78,162,.22)}
/* Expand all and Collapse all: his secondary buttons */
.tpl-dest .dir-head .dest-toggle{gap:8px}
.tpl-dest .dir-head .dest-toggle .linkish{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;background:var(--white);border:1px solid #BFCFE0;
  border-radius:var(--tec-btn-radius);color:var(--tec-blue);font:600 var(--fs-sm)/1.3 var(--sans);text-decoration:none;
  transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-dest .dir-head .dest-toggle .linkish:hover{background:var(--th-hover);border-color:var(--tec-blue)}}
/* the filter's line ("8 destinations for ...") and the empty state: his booking-choice line, a blue rule on his soft ground */
.tpl-dest .dir-shell :is(.dest-note,.dest-empty){margin:0 0 14px;padding:11px 16px;background:var(--tec-soft);border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;
  font-size:var(--fs-sm);line-height:1.55;color:var(--tec-body)}
.tpl-dest .dir-shell .dest-empty{margin:14px 0 0}
.tpl-dest .dir-shell :is(.dest-note,.dest-empty) .linkish{color:var(--tec-blue);font-weight:600;text-decoration-color:var(--sky-3)}

.tpl-dest .dir-shell .countries{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;padding:0;align-items:start}
.tpl-dest .countries details.country{padding:0;border:1px solid var(--tec-card-line);border-radius:12px;background:var(--white);box-shadow:var(--th-row-shadow);overflow:hidden;overflow-anchor:none;
  transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-dest .countries details.country:hover{border-color:#C8D4DF;box-shadow:var(--th-row-shadow-hover)}}
.tpl-dest .countries details.country[open]{border-color:#B9CAE0}
.tpl-dest .dir-shell details.country>summary{gap:4px 10px;min-height:58px;padding:10px 12px 10px var(--th-pad)}
/* the focus ring sits inside the row, which clips what overflows its rounded corners */
.tpl-dest .dir-shell details.country>summary:focus-visible{outline-offset:-3px;border-radius:12px}
.tpl-dest .dir-shell details.country>summary h3{font:600 var(--fs-md)/1.3 var(--sans);letter-spacing:-.01em;color:var(--tec-ink)}
.tpl-dest .dir-shell details.country>summary small{margin-left:0;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-dest .dir-shell details.country>summary::before{content:none}
.tpl-dest .dir-shell details.country>summary::after{content:"+";content:"+" / "";display:grid;place-items:center;flex:none;width:30px;height:30px;margin-left:auto;
  border:1px solid var(--th-plus-line);border-radius:50%;background:var(--th-plus-ground);color:var(--tec-blue);font:400 var(--fs-xl)/1 var(--sans);
  transition:transform var(--dur-med) var(--ease-out)}
.tpl-dest .dir-shell details.country[open]>summary::after{transform:rotate(45deg)}
/* the open body: the cities as chips, then the country's own guide */
.tpl-dest .dir-shell details.country .city-list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:14px var(--th-pad) 12px;border-top:1px solid var(--th-hair);background:var(--th-body-ground)}
.tpl-dest .dir-shell details.country .city-list li{padding:0;border:0}
.tpl-dest .dir-shell details.country .city-list a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;background:var(--white);border:1px solid var(--tec-line);
  border-radius:var(--r-pill);color:var(--tec-blue);font:600 var(--fs-sm)/1.25 var(--sans);text-decoration:none;
  transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-dest .dir-shell details.country .city-list a:hover{background:var(--th-hover);border-color:var(--tec-blue)}}
.tpl-dest .dir-shell details.country .ctry-link{margin:0;padding:2px var(--th-pad) 14px;background:var(--th-body-ground);font-size:var(--fs-sm)}
.tpl-dest .dir-shell details.country .ctry-link a{display:inline-flex;align-items:center;min-height:36px;color:var(--tec-blue);font-weight:600;text-decoration:none}
.tpl-dest .dir-shell details.country .ctry-link a::after{content:"\00a0\2192";content:"\00a0\2192" / "";font-weight:400}
@media(hover:hover){.tpl-dest .dir-shell details.country .ctry-link a:hover{text-decoration:underline;text-underline-offset:3px}}
@media(max-width:1040px){.tpl-dest .dir-shell .countries{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- 5. travel styles (the Table: what to eat): the homepage's boxed card, the whole card a link ---------- */
.tpl-dest .dest-styles{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tpl-dest .dest-styles>li{display:flex;min-width:0}
.tpl-dest .dest-styles a{display:flex;flex:1;flex-direction:column;height:auto;padding:0;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow);overflow:hidden;text-decoration:none;
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
.tpl-dest .dest-styles img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;transition:transform .35s var(--ease-out)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-dest .dest-styles a:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}
  .tpl-dest .dest-styles a:hover img{transform:scale(1.018)}
}
.tpl-dest .dest-styles .st-copy{display:flex;flex:1;flex-direction:column;padding:14px var(--th-pad) var(--th-pad)}
.tpl-dest .dest-styles h3{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-dest .dest-styles a:hover h3{color:var(--tec-ink)}
.tpl-dest .dest-styles p{margin:6px 0 14px;font-size:var(--fs-sm);line-height:1.5;color:var(--tec-card-text)}
.tpl-dest .dest-styles .go{margin:auto 0 0}
@media(max-width:1040px){.tpl-dest .dest-styles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* a computer or tablet: the cards of a row share their rows (subgrid, through the link and its copy), so a button whose
   label wraps ("Explore coastal destinations") makes every button in its row as tall, as on the homepage */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-dest .dest-styles{row-gap:0;margin-bottom:-18px}
    .tpl-dest .dest-styles>li{display:grid;grid-row:span 4;grid-template-rows:subgrid;margin-bottom:18px}
    .tpl-dest .dest-styles a{display:grid;grid-row:1/-1;grid-template-rows:subgrid}
    .tpl-dest .dest-styles .st-copy{display:grid;grid-row:2/-1;grid-template-rows:subgrid}
    .tpl-dest .dest-styles .go{align-self:stretch;margin:0}
  }
}

/* ---------- 6. plan your trip: three boxed cards, the icon in a white circle on the photo's lower edge ---------- */
.tpl-dest .dest-plan{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tpl-dest .dest-plan article{display:flex;flex-direction:column;min-width:0;padding:0 0 var(--th-pad);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);
  background:var(--white);box-shadow:var(--tec-card-shadow);overflow:hidden}
.tpl-dest .dest-plan article img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0}
.tpl-dest .dest-plan article svg{position:relative;flex:none;box-sizing:content-box;width:22px;height:22px;margin:-23px var(--th-pad) 0;padding:11px;
  border-radius:50%;background:var(--white);box-shadow:0 0 0 1px var(--tec-line),0 4px 12px rgba(27,48,72,.10);color:var(--tec-blue)}
.tpl-dest .dest-plan article h3{margin:12px var(--th-pad) 0;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink)}
.tpl-dest .dest-plan article p{margin:6px var(--th-pad) 16px;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-card-text)}
.tpl-dest .dest-plan article .go{margin:auto var(--th-pad) 0}
/* a tablet: three across left each card about 210px wide, every title and button label on two lines over a thin band of
   photo. Each card is a row here instead, the photo on the left and the icon, words and button beside it, so none of
   it wraps more than it would on a computer. Same order in the page. */
@media(min-width:701px) and (max-width:1040px){
  .tpl-dest .dest-plan{grid-template-columns:minmax(0,1fr);gap:14px}
  .tpl-dest .dest-plan article{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto auto 1fr auto;padding:0}
  .tpl-dest .dest-plan article>*{grid-column:2}
  /* the photo fills its side at the height the words set (height 0 so a tall photo can't stretch the card) */
  .tpl-dest .dest-plan article img{grid-column:1;grid-row:1/-1;height:0;min-height:100%;aspect-ratio:auto}
  .tpl-dest .dest-plan article svg{margin:20px 22px 0}
  .tpl-dest .dest-plan article h3{margin:12px 22px 0}
  .tpl-dest .dest-plan article p{margin:6px 22px 16px;max-width:52ch}
  .tpl-dest .dest-plan article .go{justify-self:start;margin:0 22px 22px}
}

/* ---------- 7. the questions: his cards, two columns on a computer, every answer in view ---------- */
.tpl-dest .faq-open{max-width:none;display:grid;grid-template-columns:minmax(0,1fr);gap:12px 14px}
.tpl-dest .faq-open>article{padding:18px;border:1px solid #DCE3E9;border-radius:14px;background:var(--white);box-shadow:var(--th-row-shadow)}
.tpl-dest .faq-open h3{font:600 var(--fs-md)/1.35 var(--sans);letter-spacing:0;color:var(--tec-ink)}
.tpl-dest .faq-open p{margin-top:8px;font-size:var(--fs-sm);line-height:1.6;color:var(--tec-body)}
@media(min-width:1041px){
  .tpl-dest .faq-open{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-dest .faq-open>article:last-child:nth-child(odd){grid-column:1/-1}
}

/* ---------- 8. the closing call (#next): his slim navy final band, edge to edge, the words left and the button right ---------- */
.tpl-dest main>#next{padding-top:0;padding-bottom:0}
.tpl-dest #next .dest-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:36px;align-items:center;padding:30px 0;
  background:var(--tec-navy);border-radius:0;box-shadow:0 0 0 100vmax var(--tec-navy);clip-path:inset(0 -100vmax -1px);text-align:left}
/* (the clip reaches 1px past the foot, so no pale seam shows where the band meets the footer) */
.tpl-dest #next .dest-cta>*{grid-column:1}
.tpl-dest #next .dest-cta>.pill{grid-column:2;grid-row:1/span 5;justify-self:end}
.tpl-dest #next .dest-cta .eyebrow{justify-content:flex-start;margin:0 0 8px;font-weight:600;letter-spacing:.12em}
.tpl-dest #next .dest-cta>h2{margin:0 0 6px;font-size:var(--fs-2xl);line-height:1.15;color:var(--white)}
.tpl-dest #next .dest-cta>p{max-width:600px;margin:0;font-size:var(--fs-md);color:#DCE7F2}
.tpl-dest #next .dest-cta>h3{margin:18px 0 4px;font:400 var(--fs-lg)/1.3 var(--serif);color:var(--white)}
/* the button goes back to the search at the top: white on navy, no gradient edge */
.tpl-dest #next .dest-cta .pill.fill{min-width:220px;background:var(--white);border-color:var(--white);color:var(--tec-navy)}
@media(hover:hover){.tpl-dest #next .dest-cta .pill.fill:hover{background:var(--th-hover);border-color:var(--th-hover);color:var(--tec-navy)}}
@media(max-width:1100px){
  .tpl-dest #next .dest-cta{grid-template-columns:minmax(0,1fr)}
  .tpl-dest #next .dest-cta>.pill{grid-column:1;grid-row:auto;justify-self:start;margin-top:20px}
}

/* ==================== the tours and activities hub ==================== */

/* ---------- the column: the page's width (the legal pages keep their reading column), the sections in his bands ---------- */
.tpl-site.tpl-hub .legal.hub{max-width:var(--page);padding-bottom:0}
.tpl-site.tpl-hub .legal.hub>h1{max-width:18em;margin-top:14px;line-height:1.06}
.tpl-site.tpl-hub .legal.hub>.lede{max-width:68ch;margin-top:16px;font-size:var(--fs-lg);line-height:1.55;color:var(--tec-body)}
.tpl-site.tpl-hub .legal.hub>section{margin-top:0;padding:56px 0}
.tpl-site.tpl-hub .legal.hub>section:first-of-type{margin-top:40px}
/* his cream for the booking table, the day trips and the food tours; a 1px rule at each edge, as far as the ground runs */
.tpl-site.tpl-hub .legal.hub>:is(#book-ahead,#day-trips,#day-trips~section){background:var(--tec-cream);box-shadow:0 0 0 100vmax var(--tec-cream);clip-path:inset(0 -100vmax)}
.tpl-site.tpl-hub .legal.hub>#book-ahead{border:solid var(--tec-rule);border-width:1px 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0/0 100vmax}
.tpl-site.tpl-hub .legal.hub>#day-trips{border:solid var(--tec-rule);border-width:1px 0 0;border-image:linear-gradient(var(--tec-rule),var(--tec-rule)) 1/1px 0 0/0 100vmax}
.tpl-site.tpl-hub .legal.hub>#day-trips~section{padding-bottom:64px}
/* the section heads: his heading row, as on the destinations pages and the homepage. These sections have no head wrapper
   (the title and its intro are the section's first children), so the section is a one-column grid: the title, the
   intro under it, then a 1px row for the rule, and the rest after it in the page's order. On a computer the intro moves
   up beside the title. The rule is a decoration only (an empty ::before). The grid needs :has() to tell a head with an
   intro from one without; a browser without it keeps the title over the intro, with the old room above what follows. */
.tpl-site.tpl-hub .legal.hub>section>h2{margin:0;font-size:var(--fs-h2);line-height:1.1;text-wrap:balance}
.tpl-site.tpl-hub .legal.hub>section>h2+p{max-width:62ch;margin:10px 0 0;font-size:var(--fs-md);line-height:1.55;color:var(--tec-muted)}
.tpl-site.tpl-hub .legal.hub>section>:is(.booktable-wrap,.hub-cities,details:first-of-type){margin-top:26px}
@supports selector(:has(a)){
  .tpl-site.tpl-hub .legal.hub>section{display:grid;grid-template-columns:minmax(0,1fr);align-content:start}
  .tpl-site.tpl-hub .legal.hub>section>*{grid-column:1/-1;min-width:0}
  .tpl-site.tpl-hub .legal.hub>section>h2{grid-row:1}
  .tpl-site.tpl-hub .legal.hub>section>h2+p{grid-row:2}
  .tpl-site.tpl-hub .legal.hub>section::before{content:"";grid-column:1/-1;grid-row:2;height:1px;margin:22px 0 28px;background:var(--tec-line)}
  .tpl-site.tpl-hub .legal.hub>section:has(>h2+p)::before{grid-row:3}
  .tpl-site.tpl-hub .legal.hub>section>:is(.booktable-wrap,.hub-cities,details:first-of-type){margin-top:0}
  /* the fold's button (condense.js, on a phone) keeps its own width */
  .tpl-site.tpl-hub .legal.hub>section>.cz-more{justify-self:start}
  @media(min-width:1041px){
    .tpl-site.tpl-hub .legal.hub>section{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:44px}
    /* a head with no intro (by country, day trips) keeps its title the full width */
    .tpl-site.tpl-hub .legal.hub>section>h2:has(+p){grid-column:1}
    .tpl-site.tpl-hub .legal.hub>section>h2+p{grid-column:2;grid-row:1;align-self:end;max-width:52ch;margin:0}
    .tpl-site.tpl-hub .legal.hub>section:has(>h2+p)::before{grid-row:2}
  }
}

/* ---------- 1. tickets to book ahead: the country pages' table in a white box; how far ahead with a small clock ---------- */
.tpl-site.tpl-hub #book-ahead .booktable-wrap{--bone:var(--white);padding:4px 22px 6px;background-color:var(--white);
  border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-site.tpl-hub #book-ahead .booktable thead th{border-top:0;border-bottom:1px solid var(--sky-3);font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tec-muted)}
.tpl-site.tpl-hub #book-ahead .booktable tbody :is(th,td){border-top-color:var(--th-hair)}
.tpl-site.tpl-hub #book-ahead .booktable tbody th a{font:600 var(--fs-md)/1.35 var(--sans);color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-site.tpl-hub #book-ahead .booktable tbody th span{margin-top:2px;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-site.tpl-hub #book-ahead .booktable td{font-size:var(--fs-sm)}
.tpl-site.tpl-hub #book-ahead .booktable td a{font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-site.tpl-hub #book-ahead .booktable td:last-child{font-weight:500;color:var(--tec-ink)}
.tpl-site.tpl-hub #book-ahead .booktable td:last-child::before{content:"";display:inline-block;width:13px;height:13px;margin-right:7px;vertical-align:-1px;background:var(--tec-blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat}
@media(hover:hover){.tpl-site.tpl-hub #book-ahead .booktable a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
/* a computer or tablet: his cell spacing (on a phone, phone.css lays each row out as a small grid, kept as it is) */
@media(min-width:701px){
  .tpl-site.tpl-hub #book-ahead .booktable :is(th,td){padding:15px 22px 15px 0;line-height:1.5}
  .tpl-site.tpl-hub #book-ahead .booktable :is(th,td):last-child{padding-right:0}
  .tpl-site.tpl-hub #book-ahead .booktable thead th{padding-top:14px;padding-bottom:12px}
  .tpl-site.tpl-hub #book-ahead .booktable tbody tr:first-child>*{border-top:0}
  .tpl-site.tpl-hub #book-ahead .booktable th[scope=row]{width:220px}
}

/* ---------- 2. by country: his library rows, the cities three across inside an open one ---------- */
.tpl-site.tpl-hub details.hub-country{margin-top:10px;border:1px solid var(--tec-card-line);border-radius:12px;background:var(--white);box-shadow:var(--th-row-shadow);
  overflow:hidden;overflow-anchor:none;transition:border-color var(--dur-fast) var(--ease-hover),box-shadow var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-site.tpl-hub details.hub-country:hover{border-color:#C8D4DF;box-shadow:var(--th-row-shadow-hover)}}
.tpl-site.tpl-hub details.hub-country[open]{border-color:#B9CAE0}
.tpl-site.tpl-hub details.hub-country>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:10px 12px 10px 18px;
  list-style:none;font:600 var(--fs-md)/1.3 var(--sans);letter-spacing:-.01em;color:var(--tec-ink)}
.tpl-site.tpl-hub details.hub-country>summary::-webkit-details-marker{display:none}
.tpl-site.tpl-hub details.hub-country>summary:focus-visible{outline-offset:-3px;border-radius:12px}
.tpl-site.tpl-hub details.hub-country>summary::after{content:"+";content:"+" / "";display:grid;place-items:center;flex:none;width:30px;height:30px;
  border:1px solid var(--th-plus-line);border-radius:50%;background:var(--th-plus-ground);color:var(--tec-blue);font:400 var(--fs-xl)/1 var(--sans);
  transition:transform var(--dur-med) var(--ease-out)}
.tpl-site.tpl-hub details.hub-country[open]>summary::after{transform:rotate(45deg)}
.tpl-site.tpl-hub details.hub-country>.hub-cities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;padding:0 18px 4px;
  border-top:1px solid var(--th-hair);background:var(--th-body-ground)}
.tpl-site.tpl-hub details.hub-country>.hub-cities>li{min-width:0;padding:16px 0;border-top:1px solid var(--th-hair)}
.tpl-site.tpl-hub details.hub-country>.hub-cities>li:nth-child(-n+3){border-top:0}

/* a city (in a country, or for its day trips): its tours page or day-trips page, then its links as chips */
.tpl-site.tpl-hub .hub-cities h3{font:600 var(--fs-md)/1.3 var(--sans);letter-spacing:-.01em}
.tpl-site.tpl-hub .hub-cities h3 a{color:var(--tec-ink);text-decoration:underline;text-decoration-color:var(--sky-3);text-decoration-thickness:1px;text-underline-offset:4px}
@media(hover:hover){.tpl-site.tpl-hub .hub-cities h3 a:hover{color:var(--tec-blue);text-decoration-color:currentColor}}
.tpl-site.tpl-hub .hub-cities p{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:none;margin-top:10px;font-size:var(--fs-sm);line-height:1.3}
.tpl-site.tpl-hub .hub-cities p b{flex-basis:100%;font:600 var(--fs-xs)/1.4 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:var(--tec-muted)}
.tpl-site.tpl-hub .hub-cities p a{display:inline-flex;align-items:center;min-height:34px;margin:0;padding:0 12px;background:var(--white);border:1px solid var(--tec-line);
  border-radius:var(--r-pill);color:var(--tec-blue);font-weight:600;text-decoration:none;
  transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-site.tpl-hub .hub-cities p a:hover{background:var(--th-hover);border-color:var(--tec-blue)}}

/* ---------- 3. day trips: boxes three across, the links as chips ---------- */
.tpl-site.tpl-hub #day-trips>.hub-cities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0}
.tpl-site.tpl-hub #day-trips>.hub-cities>li{min-width:0;padding:18px 20px 20px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--th-row-shadow)}
.tpl-site.tpl-hub #day-trips>p{max-width:66ch;margin-top:20px;font-size:var(--fs-sm);color:var(--tec-muted)}

/* ---------- 4. food tours and classes: the same heading row, the last on the cream band ----------
   The head is all the section has: the title on the left and the way to the Table on the right. His hairline goes over
   it (inside the wrap, so it reads as the band's last row) and no rule under it, since nothing follows before the footer. */
.tpl-site.tpl-hub .legal.hub>#day-trips~section{padding-top:40px;border-top:1px solid var(--tec-rule)}
.tpl-site.tpl-hub .legal.hub>#day-trips~section::before{content:none}
.tpl-site.tpl-hub .legal.hub>#day-trips~section>h2+p{color:var(--tec-body)}
.tpl-site.tpl-hub .legal.hub>#day-trips~section>p a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media(hover:hover){.tpl-site.tpl-hub .legal.hub>#day-trips~section>p a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
.tpl-site.tpl-hub .legal.hub>#day-trips{padding-bottom:40px}

/* ---------- tablet ---------- */
@media(max-width:1040px){
  .tpl-site.tpl-hub details.hub-country>.hub-cities,.tpl-site.tpl-hub #day-trips>.hub-cities{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-site.tpl-hub details.hub-country>.hub-cities>li:nth-child(3){border-top:1px solid var(--th-hair)}
}

/* ==================== phones ==================== */
@media(max-width:700px){
  .tpl-dest,.tpl-site.tpl-hub{--th-pad:14px}

  /* destinations: less air, his heading row as one column */
  .tpl-dest main>.sec{padding-top:32px;padding-bottom:32px}
  .tpl-dest main>#compare{padding-top:4px}
  .tpl-dest main>.sec>.wrap>.head{margin-bottom:18px;padding-bottom:16px}
  .tpl-dest .dest-hero.photo{padding:14px 0 30px}
  .tpl-dest .dest-hero.photo .crumbs{margin-bottom:12px}
  .tpl-dest .dest-hero.photo::before{background:linear-gradient(90deg,rgba(5,25,48,.42) 0%,rgba(5,25,48,.24) 100%)}
  .tpl-dest .dest-hero.photo .lede{font-size:var(--fs-md)}
  .tpl-dest .dest-search{margin-top:20px;padding:14px}
  .tpl-dest .dest-search .ds-row{grid-template-columns:minmax(0,1fr)}
  .tpl-dest .dest-search .ds-row input,.tpl-dest .dest-search .ds-row .pill{min-height:50px}
  /* the popular cities wrap here, and the dots between them are loose text in a flex row, so a line could end on one
     ("Barcelona ·") or start on one ("· Lisbon"). The dots stay in the page at no size; the links keep a space between
     them instead, which also takes nothing at the start of a line. */
  /* the loose " · " between the Popular links takes no room on a phone; every child sets its own size, so any plain
     text added here later would vanish too */
  .tpl-dest .dest-search .dest-quick{column-gap:0;font-size:0}
  .tpl-dest .dest-search .dest-quick>*{font-size:var(--fs-sm)}
  .tpl-dest .dest-search .dest-quick>span{margin-right:12px}
  .tpl-dest .dest-search .dest-quick>a{margin-right:18px}

  /* the featured cities, before the script has made them a row: one column (as a row, one card a step: the block at the
     end of this file) */
  .tpl-dest .dest-feat{grid-template-columns:minmax(0,1fr);gap:12px}
  .tpl-dest .dest-feat .cc{height:100%;box-shadow:0 3px 12px rgba(27,48,72,.08)}
  .tpl-dest .dest-feat .cc .ctry,.tpl-dest .dest-feat .cc .nm{margin-top:12px}
  .tpl-dest .dest-feat .cc .ctry+.nm{margin-top:3px}

  /* the tables, one row under another, as on the country pages: the column names on top as a key, then each row's name,
     the answer and the reason. Nothing is hidden and the reading order is the table's own. */
  .tpl-dest :is(#where-to-go,#compare) .booktable-wrap{padding:0 16px}
  .tpl-dest :is(#where-to-go,#compare) :is(.booktable,.booktable thead,.booktable tbody){display:block;width:100%;min-width:0}
  /* the key's slashes sit in each name's left padding, and the row starts 22px to the left of the clipped head, so a name
     that wraps to a new line takes no slash with it (no "/ WHY THESE WORK" at the start of a line) */
  .tpl-dest :is(#where-to-go,#compare) .booktable thead{overflow:hidden;border-bottom:1px solid var(--sky-3)}
  .tpl-dest :is(#where-to-go,#compare) .booktable thead tr{display:flex;flex-wrap:wrap;align-items:baseline;margin-left:-22px;padding:14px 0 11px}
  .tpl-dest :is(#where-to-go,#compare) .booktable thead th{position:relative;padding:0 0 0 22px;border:0;line-height:1.5}
  .tpl-dest :is(#where-to-go,#compare) .booktable thead th::before{content:"/";content:"/" / "";position:absolute;left:7px;color:var(--tec-muted)}
  .tpl-dest :is(#where-to-go,#compare) .booktable tbody tr{display:grid;grid-template-columns:minmax(0,1fr);row-gap:6px;padding:14px 0 16px;border-top:1px solid var(--th-hair)}
  .tpl-dest :is(#where-to-go,#compare) .booktable tbody tr:first-child{border-top:0}
  .tpl-dest :is(#where-to-go,#compare) .booktable tbody :is(th,td){display:block;width:auto;padding:0;border:0}
  .tpl-dest :is(#where-to-go,#compare) .booktable tbody :is(th[scope=row],th a){font-size:var(--fs-lg)}
  .tpl-dest #where-to-go .booktable.dtab tbody td:nth-of-type(1){font-size:var(--fs-md)}
  /* each link keeps its 44px, and a negative margin gives back the height its line would otherwise gain */
  .tpl-dest :is(#where-to-go,#compare) .booktable :is(th,td) a{display:inline-flex;align-items:center;min-height:44px}
  .tpl-dest :is(#where-to-go,#compare) .booktable tbody th a{margin-block:-8px}
  .tpl-dest :is(#where-to-go,#compare) .booktable tbody td a{margin-block:-11px}

  /* the directory: the search and its two buttons stacked, the countries one column, every control a thumb's height */
  .tpl-dest .dir-head{padding:14px}
  .tpl-dest .dir-head .dir-search{flex-basis:100%;max-width:none}
  .tpl-dest .dir-shell .countries{grid-template-columns:minmax(0,1fr);gap:6px}
  .tpl-dest .dir-shell details.country>summary{min-height:50px;padding:6px 10px 6px 14px}
  .tpl-dest .dir-shell details.country>summary::after{width:28px;height:28px}
  /* a long name wraps rather than the count ("5 / destinations" beside "United Kingdom" on a 320px phone) */
  .tpl-dest .dir-shell details.country>summary small{flex:none;white-space:nowrap}
  .tpl-dest .dir-shell details.country .city-list a,.tpl-dest .dir-shell details.country .ctry-link a{min-height:44px}
  .tpl-dest .dir-shell :is(.dest-note,.dest-empty) .linkish{display:inline-block;padding:11px 0;margin:-11px 0}

  /* the styles and the plan cards: one column (phone.css hides their stand-in photos and the plan icons); the styles as a
     row: the block at the end of this file */
  .tpl-dest .dest-styles,.tpl-dest .dest-plan{grid-template-columns:minmax(0,1fr);gap:12px}
  .tpl-dest .dest-plan article{padding-top:18px}
  .tpl-dest .dest-plan article h3{margin-top:0}

  .tpl-dest .faq-open{gap:10px}
  .tpl-dest .faq-open>article{padding:16px 14px}

  .tpl-dest #next .dest-cta{padding:30px 0}
  .tpl-dest #next .dest-cta>.pill{justify-self:stretch;min-width:0;white-space:normal;text-align:center}

  /* the tours hub */
  .tpl-site.tpl-hub .legal.hub>section{padding:32px 0}
  .tpl-site.tpl-hub .legal.hub>section:first-of-type{margin-top:28px}
  .tpl-site.tpl-hub .legal.hub>.lede{font-size:var(--fs-md)}
  .tpl-site.tpl-hub .legal.hub>#day-trips{padding-bottom:28px}
  .tpl-site.tpl-hub .legal.hub>#day-trips~section{padding-top:24px;padding-bottom:40px}
  .tpl-site.tpl-hub .legal.hub>section::before{margin:16px 0 18px}
  .tpl-site.tpl-hub .legal.hub>section>h2+p{max-width:none}

  /* the book-ahead table as the destinations pages' phone table: the column names on top as a key, then each row's city
     and country on one line, the sight under it and how far ahead under that, each the box's full width. phone.css set
     the rows as two columns (118px for the city), which left the answer about 125px and four or five lines tall; it also
     hid the last column's name, which is back in the key. Nothing else is hidden and the reading order is the table's. */
  .tpl-site.tpl-hub #book-ahead .booktable-wrap{padding:0 14px}
  .tpl-site.tpl-hub #book-ahead .booktable thead{overflow:hidden;border-bottom:1px solid var(--sky-3)}
  .tpl-site.tpl-hub #book-ahead .booktable thead tr{display:flex;flex-wrap:wrap;align-items:baseline;margin-left:-22px;padding:12px 0 10px}
  .tpl-site.tpl-hub #book-ahead .booktable thead th{position:relative;display:block;padding:0 0 0 22px;border:0;line-height:1.5}
  .tpl-site.tpl-hub #book-ahead .booktable thead th:last-child{display:block!important}
  /* the key's slashes as on the destinations pages: none at the start of a wrapped line */
  .tpl-site.tpl-hub #book-ahead .booktable thead th::before{content:"/";content:"/" / "";position:absolute;left:7px;color:var(--tec-muted)}
  .tpl-site.tpl-hub #book-ahead .booktable tbody tr{display:grid;grid-template-columns:minmax(0,1fr);row-gap:6px;padding:14px 0 16px;border-top:1px solid var(--th-hair)}
  .tpl-site.tpl-hub #book-ahead .booktable tbody tr:first-child{border-top:0}
  .tpl-site.tpl-hub #book-ahead .booktable tbody :is(th,td):nth-child(n){grid-row:auto;width:auto;padding:0;border:0;line-height:1.5;overflow-wrap:break-word}
  .tpl-site.tpl-hub #book-ahead .booktable tbody th{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px}
  .tpl-site.tpl-hub #book-ahead .booktable tbody th a{font-size:var(--fs-lg)}
  .tpl-site.tpl-hub #book-ahead .booktable tbody th span{margin-top:0}
  .tpl-site.tpl-hub #book-ahead .booktable tbody td{display:block}
  .tpl-site.tpl-hub #book-ahead .cz-more{margin:2px 0 6px}
  .tpl-site.tpl-hub details.hub-country{margin-top:6px}
  .tpl-site.tpl-hub details.hub-country>summary{min-height:50px;padding:6px 10px 6px 14px}
  .tpl-site.tpl-hub details.hub-country>summary::after{width:28px;height:28px}
  .tpl-site.tpl-hub details.hub-country>.hub-cities{grid-template-columns:minmax(0,1fr);padding:0 14px 2px}
  .tpl-site.tpl-hub details.hub-country>.hub-cities>li:nth-child(2){border-top:1px solid var(--th-hair)}
  .tpl-site.tpl-hub .hub-cities p a{min-height:44px}
  /* one column, so condense.js can fold the cities after the fourth with hidden="until-found" */
  .tpl-site.tpl-hub #day-trips>.hub-cities{grid-template-columns:minmax(0,1fr);gap:10px}
  .tpl-site.tpl-hub #day-trips>.hub-cities>li{padding:16px 14px}
  .tpl-site.tpl-hub #day-trips>.hub-cities>li.cz-off{box-shadow:none}
}

/* ---------- a touch screen: every link a thumb's height ----------
   base.css gives these links 6 or 7px above and below (31 to 36px tall). Each is 44px now; a negative margin takes the
   extra height back, so the trail, the popular cities and the table rows keep their spacing. */
@media(pointer:coarse){
  .tpl-dest .dest-hero .crumbs a,.tpl-site.tpl-hub .crumbs a{display:inline-flex;align-items:center;min-height:44px;margin-block:-6px}
  .tpl-dest .dest-search .dest-quick a{display:inline-flex;align-items:center;min-height:44px;margin-block:-4px}
  .tpl-site.tpl-hub #book-ahead .booktable :is(th,td) a{display:inline-flex;align-items:center;min-height:44px;margin-block:-8px}
  .tpl-site.tpl-hub .hub-cities h3 a{display:inline-flex;align-items:center;min-height:44px;margin-block:-11px}
}

/* ---------- reduced motion: no lift, no turns, no fades between states ---------- */
@media(prefers-reduced-motion:reduce){
  .tpl-dest :is(.dest-feat .cc,.dest-feat .cc img,.dest-styles a,.dest-styles img,.countries details.country,.dir-shell details.country>summary::after,.dir-shell .city-list a,.dest-toggle .linkish),
  .tpl-dest :is(.dest-feat .cc,.dest-styles a,.dest-plan article) .go,
  .tpl-site.tpl-hub :is(details.hub-country,details.hub-country>summary::after,.hub-cities p a){transition:none}
}

/* ==================== the site pages (body.tpl-site, not the tours hub) ====================
   About, contact, thank you, the site map, the photo credits and the 404, on both sites (site_page() and sitemap_page()
   in gen-pages.py; legal.css lays them out). Plain reading pages, so they stay calm: one readable column, his heading row
   at the top (the title and the intro over a rule), links that read as links, and a box only where there's a panel: the
   contact address and the 404's ways back. The legal pages share the column (.legal), so the rules for its dated line
   and its notes are here too (their body carries the class since 5 Nov 2026). */
.tpl-site:not(.tpl-hub){
  --ts-hover:#EFF6FF;                              /* his secondary button's hover */
  --ts-chip-line:var(--sky-3);                     /* his guide-nav pill's edge */
  --ts-chip-hover:#EDF5FF;
  --ts-rule:#D9E0E6;                               /* his heading row's rule */
}

/* ---------- 1. the heading row: the title, then the intro over his rule ----------
   The rule runs the column's width while the words keep a 62ch measure (the padding takes the rest; it can't go below 0). */
.tpl-site:not(.tpl-hub) :is(.legal,.sitemap){padding-top:22px}
.tpl-site:not(.tpl-hub) .legal{padding-bottom:72px}
.tpl-site:not(.tpl-hub) :is(.legal,.sitemap)>h1{margin-top:18px;line-height:1.06;letter-spacing:-.02em;text-wrap:balance}
.tpl-site:not(.tpl-hub) :is(.legal,.sitemap)>.lede{max-width:none;margin-top:16px;padding:0 max(0px,calc(100% - 62ch)) 26px 0;border-bottom:1px solid var(--ts-rule);
  font-size:var(--fs-lg);line-height:1.55;color:var(--tec-body)}
.tpl-site:not(.tpl-hub) :is(.legal,.sitemap)>.lede a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}
@media(hover:hover){.tpl-site:not(.tpl-hub) :is(.legal,.sitemap)>.lede a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
/* the legal pages' dated line and their notes for the lawyer */
.tpl-site:not(.tpl-hub) .legal .updated{color:var(--tec-muted)}
.tpl-site:not(.tpl-hub) .legal .draft{background:var(--tec-soft);border-left:3px solid var(--tec-blue);border-radius:0 9px 9px 0;color:var(--tec-body)}
.tpl-site:not(.tpl-hub) .legal .todo{background:var(--sky-2);color:var(--tec-ink);border-radius:4px}

/* ---------- 2. the sections: a serif title, then the reading column ---------- */
.tpl-site:not(.tpl-hub) .legal section{margin-top:40px}
.tpl-site:not(.tpl-hub) .legal section h2{font-size:var(--fs-2xl);line-height:1.15;letter-spacing:-.02em;color:var(--navy);text-wrap:balance}
.tpl-site:not(.tpl-hub) .legal section p{margin-top:12px;max-width:68ch;font-size:var(--fs-md);line-height:1.65;color:var(--tec-body)}
.tpl-site:not(.tpl-hub) .legal section p b{color:var(--tec-ink)}
/* links in the reading column: his blue, a light underline that darkens on hover */
.tpl-site:not(.tpl-hub) .legal section a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-decoration-thickness:1px;text-underline-offset:3px}
@media(hover:hover){.tpl-site:not(.tpl-hub) .legal section a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}

/* ---------- 3. contact: the address as a panel, an envelope beside it (drawn, not read out) ----------
   Only the contact page's intro holds the address straight under the title (the legal pages put their date between). */
.tpl-site:not(.tpl-hub) .legal>h1+.lede:has(>a[href^="mailto:"]){position:relative;margin-top:24px;padding:22px 24px 22px 78px;
  background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);color:var(--tec-ink)}
.tpl-site:not(.tpl-hub) .legal>h1+.lede:has(>a[href^="mailto:"])::before{content:"";position:absolute;left:22px;top:20px;width:38px;height:38px;border-radius:50%;
  background:var(--tec-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4EA2' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3.6 7l8.4 6 8.4-6'/%3E%3C/svg%3E") center/20px 20px no-repeat;
  box-shadow:inset 0 0 0 1px var(--tec-line)}

/* ---------- 4. the 404: the arch and the ways back in one soft panel, the cities as his guide-nav pills ---------- */
/* the 404's panel and the site map's own heading rows come next, so the intro above them needs no rule */
.tpl-site:not(.tpl-hub) .legal>.lede:has(+.nf),.tpl-site:not(.tpl-hub) .sitemap>.lede{padding-bottom:0;border-bottom:0}
.tpl-site:not(.tpl-hub) .nf{margin-top:30px;padding:26px 28px 28px;background:var(--tec-soft);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius)}
.tpl-site:not(.tpl-hub) .nf-arch{display:block;color:var(--tec-blue)}
.tpl-site:not(.tpl-hub) .nf>p{gap:10px;margin-top:18px}
.tpl-site:not(.tpl-hub) .nf .pill.ghost{background:var(--white);color:var(--tec-blue);border:1px solid var(--tec-blue)}
@media(hover:hover){.tpl-site:not(.tpl-hub) .nf .pill.ghost:hover{background:var(--ts-hover);color:var(--tec-blue-dark);border-color:var(--tec-blue)}}
.tpl-site:not(.tpl-hub) .nf>h2{margin:28px 0 12px;font-size:var(--fs-xl);line-height:1.2;letter-spacing:-.015em;color:var(--navy)}
.tpl-site:not(.tpl-hub) .nf .cluster{gap:8px}
.tpl-site:not(.tpl-hub) .nf .cluster a{display:inline-flex;align-items:center;min-height:44px;padding:9px 15px;background:var(--white);border:1px solid var(--ts-chip-line);border-radius:var(--r-pill);
  font:600 var(--fs-sm)/1.3 var(--sans);color:var(--tec-blue);transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover)}
@media(hover:hover){.tpl-site:not(.tpl-hub) .nf .cluster a:hover{background:var(--ts-chip-hover);border-color:var(--ts-chip-line);color:var(--tec-blue-dark)}}
/* a computer and a tablet: the arch on the left, the buttons and the cities beside it (the arch is a picture, so the
   reading order is the same) */
@media(min-width:701px){
  .tpl-site:not(.tpl-hub) .nf{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:32px;align-items:start}
  .tpl-site:not(.tpl-hub) .nf-arch{grid-row:1/span 3}
  .tpl-site:not(.tpl-hub) .nf>:not(.nf-arch){grid-column:2}
  .tpl-site:not(.tpl-hub) .nf>p{margin-top:8px}
}

/* ---------- 5. the site map: his heading row over each part, the columns' links on hairlines ---------- */
.tpl-site:not(.tpl-hub) .sitemap{padding-bottom:72px}
.tpl-site:not(.tpl-hub) .sitemap>section>h2{margin-top:44px;padding-bottom:18px;border-bottom:1px solid var(--ts-rule);font-size:var(--fs-h2);text-wrap:balance}
.tpl-site:not(.tpl-hub) .sm-cols{gap:18px 36px;margin-top:22px}
.tpl-site:not(.tpl-hub) :is(.sm-col,.sm-country) h3{font:400 var(--fs-xl)/1.2 var(--serif);letter-spacing:-.015em;color:var(--navy)}
.tpl-site:not(.tpl-hub) .sm-col li{padding:0;border-top:1px solid var(--tec-line)}
.tpl-site:not(.tpl-hub) .sm-col li a{display:flex;align-items:center;min-height:44px;padding:6px 0;color:var(--tec-blue);font-weight:500;text-decoration:none}
.tpl-site:not(.tpl-hub) .sm-countries{gap:34px 40px;margin-top:26px}
.tpl-site:not(.tpl-hub) .sm-top{gap:4px 16px;margin-top:8px}
.tpl-site:not(.tpl-hub) .sm-top a{color:var(--tec-blue);font-weight:600;text-decoration:none}
.tpl-site:not(.tpl-hub) .sm-cities li{border-top:1px solid var(--tec-line)}
.tpl-site:not(.tpl-hub) .sm-cities b{color:var(--tec-ink)}
.tpl-site:not(.tpl-hub) .sm-cities span a{color:var(--tec-blue);text-decoration:none}
@media(hover:hover){.tpl-site:not(.tpl-hub) .sitemap :is(.sm-col li,.sm-top,.sm-cities span) a:hover{color:var(--tec-blue-dark);text-decoration:underline;text-underline-offset:3px}}
/* a computer and a tablet: each country's name, its two guide links and its cities share the grid's rows, so a country
   whose guide links wrap (United Kingdom, Montenegro) moves its whole row's lists down together and the hairlines line up */
@media(min-width:701px){
  @supports(grid-template-rows:subgrid){
    .tpl-site:not(.tpl-hub) .sm-countries{row-gap:0}
    .tpl-site:not(.tpl-hub) .sm-country{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;padding-bottom:34px}
    /* each part keeps its own row, so Monaco (no guide links, the city page is the country) still lists in the third */
    .tpl-site:not(.tpl-hub) .sm-country>h3{grid-row:1}
    .tpl-site:not(.tpl-hub) .sm-country>.sm-top{grid-row:2}
    .tpl-site:not(.tpl-hub) .sm-country>.sm-cities{grid-row:3}
  }
}

/* ---------- 6. the photo credits: one line a photo, on his hairlines ---------- */
.tpl-site:not(.tpl-hub) .credits{margin-top:28px}
.tpl-site:not(.tpl-hub) .credits li{border-top:1px solid var(--tec-line);color:var(--tec-body)}
/* the intro's rule is the first line's top edge (the list is one column at this width, so only the first item) */
.tpl-site:not(.tpl-hub) .legal>.lede+.credits{margin-top:0}
.tpl-site:not(.tpl-hub) .credits li:first-child{border-top:0}
.tpl-site:not(.tpl-hub) .credits b{color:var(--tec-ink)}
.tpl-site:not(.tpl-hub) .credits a{color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}

/* ---------- 7. phones ---------- */
@media(max-width:700px){
  .tpl-site:not(.tpl-hub) :is(.legal,.sitemap)>.lede{padding-bottom:20px;font-size:var(--fs-md)}
  .tpl-site:not(.tpl-hub) .legal{padding-bottom:48px}
  .tpl-site:not(.tpl-hub) .legal section{margin-top:32px}
  .tpl-site:not(.tpl-hub) .legal>h1+.lede:has(>a[href^="mailto:"]){padding:66px 18px 18px;border-radius:14px}
  .tpl-site:not(.tpl-hub) .legal>h1+.lede:has(>a[href^="mailto:"])::before{left:18px;top:18px}
  .tpl-site:not(.tpl-hub) .legal>h1+.lede:has(>a[href^="mailto:"])>a{display:inline-flex;align-items:center;min-height:44px}
  .tpl-site:not(.tpl-hub) .nf{padding:20px 18px 22px;border-radius:14px}
  .tpl-site:not(.tpl-hub) .nf-arch{width:96px;height:112px}
  .tpl-site:not(.tpl-hub) .nf .pill{flex:1 1 auto;min-height:46px}
  .tpl-site:not(.tpl-hub) .sitemap{padding-bottom:48px}
  .tpl-site:not(.tpl-hub) .sitemap>section>h2{margin-top:34px;padding-bottom:14px}
  /* the site map's links are a list to tap: each is a thumb's height */
  .tpl-site:not(.tpl-hub) :is(.sm-top,.sm-cities span) a{display:inline-flex;align-items:center;min-height:44px}
  .tpl-site:not(.tpl-hub) .sm-top{gap:0 16px}
  .tpl-site:not(.tpl-hub) .sm-cities span{gap:0 16px}
  .tpl-site:not(.tpl-hub) .sm-cities li{padding:10px 0 4px}
  /* a credit's Source link is the row's one action: a thumb's height without opening up the line it sits on */
  .tpl-site:not(.tpl-hub) .credits a{display:inline-block;padding-block:11px;margin-block:-11px;line-height:22px}
  /* a country folded under its name (condense.js) is his accordion card: white, his edge, a navy plus that turns blue */
  .tpl-site:not(.tpl-hub) .sm-countries{gap:10px;margin-top:20px}
  .tpl-site:not(.tpl-hub) .sm-country{padding:0 16px;background:var(--white);border:1px solid #DCE3E9;border-radius:14px;box-shadow:0 3px 12px rgba(25,48,72,.045)}
  .tpl-site:not(.tpl-hub) .sm-country:has(.cz-head[aria-expanded="true"]){border-color:#B9CAE0;padding-bottom:6px}
  .tpl-site:not(.tpl-hub) .sm-country h3 .cz-head{min-height:60px;padding:8px 0}
  .tpl-site:not(.tpl-hub) .sm-country h3 .cz-head::after{content:"+";content:"+" / "";display:grid;place-items:center;flex:none;width:28px;height:28px;border:0;border-radius:50%;
    background:var(--tec-navy);color:var(--white);font:600 var(--fs-lg)/1 var(--sans);transform:none;transition:transform var(--dur-med) var(--ease-out),background-color var(--dur-fast)}
  .tpl-site:not(.tpl-hub) .sm-country h3 .cz-head[aria-expanded="true"]::after{transform:rotate(45deg);background:var(--tec-blue)}
  .tpl-site:not(.tpl-hub) .sm-country h3 .cz-head:focus-visible{outline-offset:-2px}
}
@media(prefers-reduced-motion:reduce){
  .tpl-site:not(.tpl-hub) .nf .cluster a,.tpl-site:not(.tpl-hub) .sm-country h3 .cz-head::after{transition:none}
}

/* ==================== the Colosseum page (body.has-sticky, rome-colosseum-arena-floor-tour.html) ====================
   The older activity template in his look: the labels as his chips, the gallery with his corners, the five facts as
   small boxes, "Why we chose it" as his booking-choice line, what's included and what isn't as two boxes, "Where to book
   it" as his white booking panel (the official site his secondary button, the Viator links yellow from tec.css), the
   tours near this one as his experience cards (a swipe row on a phone), and the price bar on a phone as his booking bar:
   white, his edge and lift, the in-page jump in blue. */
.has-sticky{
  --tk-hover:#EFF6FF;
  --tk-hair:#EDF0F2;
  --tk-row-shadow:0 3px 12px rgba(25,45,65,.045);
  --tk-panel-shadow:0 10px 30px rgba(20,43,69,.10);   /* his --shadow */
}

/* ---------- 1. the title: the labels as his chips, the category in his blue capitals, how far ahead with a clock ---------- */
.has-sticky .act-title{padding:20px 0 26px}
.has-sticky .act-title .badges{gap:6px}
.has-sticky .act-title .badges .badge{padding:5px 11px;border:1px solid var(--line);border-radius:var(--r-pill);background:#F3F7FB;color:#31465B;
  font:600 var(--fs-xs)/1.3 var(--sans);letter-spacing:.02em;text-transform:none}
.has-sticky .act-title .badges .badge.chosen{background:var(--tec-navy);border-color:var(--tec-navy);color:var(--white)}
.has-sticky .act-title h1{max-width:28ch;line-height:1.08;letter-spacing:-.02em;text-wrap:balance}
.has-sticky .act-title .line{gap:8px 16px;margin-top:16px}
.has-sticky .act-title .line>span:first-child{font-size:var(--fs-xs);font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--tec-blue)}
.has-sticky .act-title .line>span+span{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border:1px solid var(--tec-line);border-radius:14px;background:var(--tec-soft);
  font:600 var(--fs-sm)/1.35 var(--sans);letter-spacing:.02em;color:var(--tec-ink)}
.has-sticky .act-title .line>span+span::before{content:"";flex:none;width:13px;height:13px;background:var(--tec-blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- 2. the gallery: his 16px corners on the outside, square where the photos meet ---------- */
.has-sticky .gallery{gap:10px;border-radius:var(--tec-radius);overflow:hidden}
.has-sticky .gallery figure{border-radius:0}

/* ---------- 3. the facts: five small boxes, the label in his blue capitals ---------- */
.has-sticky .facts{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:22px;border:0}
.has-sticky .factbox{padding:14px 16px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:12px;box-shadow:var(--tk-row-shadow)}
.has-sticky .factbox b{margin-bottom:6px;color:var(--tec-blue);letter-spacing:.07em}
.has-sticky .factbox span{display:block;font-size:var(--fs-sm);line-height:1.45;color:var(--tec-ink)}

/* ---------- 4. the main column: sections on his hairlines, links that read as links ---------- */
.has-sticky .act .main>section{border-top-color:var(--tec-line)}
.has-sticky .act .main h2{letter-spacing:-.02em}
.has-sticky .act .main p,.has-sticky .act .main ul.plain{color:var(--tec-body)}
.has-sticky .act .main :is(p,li) a{color:var(--tec-blue);font-weight:600;text-decoration-color:var(--sky-3);text-decoration-thickness:1px}
/* the map link stands on its own line: a thumb's height */
.has-sticky .act .main p>a[href^="https://www.google.com/maps"]{display:inline-flex;align-items:center;min-height:44px}
@media(hover:hover){.has-sticky .act .main :is(p,li) a:hover{color:var(--tec-blue-dark);text-decoration-color:currentColor}}
/* why we chose it: his booking-choice line, a blue rule on his soft ground */
.has-sticky .ourpick{padding:20px 24px;background:var(--tec-soft);border-left:3px solid var(--tec-blue);border-radius:0 12px 12px 0}
.has-sticky .ourpick .who{color:var(--tec-blue);letter-spacing:.08em}
.has-sticky .ourpick .by{color:var(--tec-muted)}
/* included and not included: two boxes, a blue check and a muted cross (drawn; each list has its heading) */
.has-sticky .incl{gap:14px}
.has-sticky .incl>div{padding:18px 20px 20px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:14px;box-shadow:var(--tk-row-shadow)}
.has-sticky .incl h3{color:var(--tec-blue);letter-spacing:.08em}
.has-sticky .act .main .incl ul.plain li{padding-left:24px}
.has-sticky .act .main .incl ul.plain li::before{top:5px;width:14px;height:14px;border-radius:0;background:var(--tec-blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.has-sticky .act .main .incl ul.plain.no li::before{background:var(--tec-muted);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- 5. where to book it: his white booking panel, the title over a rule, no bar along the top ---------- */
.has-sticky .compare{padding:22px 22px 20px;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tk-panel-shadow)}
.has-sticky .compare::before{content:none}
.has-sticky .compare .h{flex-wrap:wrap;gap:4px 12px;padding-bottom:14px;border-bottom:1px solid var(--tec-line)}
.has-sticky .compare .h b{font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;text-transform:none;color:var(--tec-ink)}
.has-sticky .compare .h span{color:var(--tec-muted)}
.has-sticky .compare ul{margin-top:2px}
.has-sticky .compare li{gap:4px 14px;padding:16px 0;border-top-color:var(--tec-line)}
.has-sticky .compare li .site{color:var(--tec-ink)}
.has-sticky .compare li .terms{color:var(--tec-muted)}
.has-sticky .compare li .go{margin-top:8px}
.has-sticky .compare li .go .pill{min-height:46px;padding:11px 18px;white-space:normal;text-align:center}
.has-sticky .compare .leadtime{border-top-color:var(--tec-line);color:var(--tec-body)}
.has-sticky .compare .leadtime b{color:var(--tec-ink)}
.has-sticky .compare .fine{color:var(--tec-muted)}
.has-sticky .compare .fine a{color:var(--tec-blue);font-weight:600;text-decoration-color:var(--sky-3)}

/* ---------- 6. near this one: his heading row, then his experience cards, four across ---------- */
.has-sticky main>.sec .head{margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--tec-line);gap:12px 24px}
.has-sticky main>.sec .head h2{text-wrap:balance}
/* the link to every Rome tour: blue, an arrow after it, a thumb's height */
.has-sticky main>.sec .head a.more{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--tec-blue);text-decoration:none;white-space:normal}
.has-sticky main>.sec .head a.more::after{content:"\2192";content:"\2192" / "";font-weight:400}
@media(hover:hover){.has-sticky main>.sec .head a.more:hover{color:var(--tec-blue-dark);text-decoration:underline;text-underline-offset:4px}}
.has-sticky .exps{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.has-sticky .exp{min-width:0;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);overflow:hidden;text-decoration:none;
  transition:transform var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.has-sticky .exp:hover{transform:translateY(-2px);box-shadow:var(--tec-card-shadow-hover)}}
.has-sticky .exp figure{aspect-ratio:16/10;border-radius:0}
.has-sticky .exp figure img{transition:transform .35s var(--ease-out)}
.has-sticky .exp:hover figure img{transform:scale(1.018)}
.has-sticky .exp .badge{top:11px;left:11px;padding:5px 9px;border-radius:5px;font:600 var(--fs-xs)/1.3 var(--sans);letter-spacing:.02em;text-transform:none;box-shadow:0 1px 6px rgba(0,0,0,.08)}
.has-sticky .exp .badge:not(.chosen){background:rgba(255,255,255,.94);color:var(--tec-ink)}
.has-sticky .exp .body{gap:0;padding:15px 16px 0}
.has-sticky .exp .cat{color:var(--tec-blue);letter-spacing:.07em}
/* the whole title shows (catalog.css cut it at two lines) */
.has-sticky .exp h3{display:block;-webkit-line-clamp:none;line-clamp:none;overflow:visible;margin-top:7px;font:600 var(--fs-lg)/1.25 var(--sans);letter-spacing:-.015em;color:var(--tec-ink);text-wrap:pretty}
.has-sticky .exp:hover h3{color:var(--tec-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.has-sticky .exp .meta{margin-top:6px;line-height:1.45;color:var(--tec-muted)}
.has-sticky .exp .note{margin-top:12px;padding:2px 0 2px 12px;border-left:3px solid var(--sky-3);color:var(--tec-body)}
.has-sticky .exp .meta.lead{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:5px 11px;border:1px solid var(--tec-line);border-radius:14px;
  background:var(--tec-soft);font:600 var(--fs-sm)/1.35 var(--sans);letter-spacing:.02em;text-transform:none;white-space:normal;color:var(--tec-ink)}
.has-sticky .exp .meta.lead::before{content:"";flex:none;width:13px;height:13px;background:var(--tec-blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E") center/contain no-repeat}
/* the partner line at the foot stays a text link (it isn't a button): his decision-check line, under a hairline */
.has-sticky .exp .check{display:flex;align-items:center;gap:6px;min-height:48px;margin-top:auto;padding:12px 0 14px;border-top-color:var(--tk-hair);color:var(--tec-blue)}
.has-sticky .exp .body>:has(+.check){margin-bottom:16px}
/* a card's chip goes down with its foot line, so a row's chips and foot lines line up */
.has-sticky .exp .body>.meta.lead{margin-top:auto}
.has-sticky .exp .body>:has(+.meta.lead){margin-bottom:14px}
.has-sticky .exp .body>.meta.lead+.check{margin-top:0}
.has-sticky a.exp:focus-visible{outline-offset:3px}

/* ---------- 7. the price bar on a phone and a tablet: his booking bar, white with his edge and lift ---------- */
@media(max-width:1000px){
  .has-sticky .sticky-price{padding:8px var(--gutter) max(8px,env(safe-area-inset-bottom));background:var(--white);color:var(--tec-ink);border-top:1px solid var(--tec-line);
    box-shadow:0 -8px 24px rgba(20,43,69,.10)}
  .has-sticky .sticky-price .from{opacity:1;font-weight:600;color:var(--tec-body)}
  /* an in-page jump to the booking panel: blue, as on every other page's bar */
  .has-sticky .sticky-price a.pill.white{flex:none;min-height:44px;background:var(--tec-blue);border-color:var(--tec-blue);color:var(--white);border-radius:var(--tec-btn-radius)}
  @media(hover:hover){.has-sticky .sticky-price a.pill.white:hover{background:var(--tec-blue-dark);border-color:var(--tec-blue-dark);color:var(--white)}}
  .has-sticky .sticky-price a:focus-visible{outline:2px solid var(--tec-navy);outline-offset:2px}
}

/* ---------- tablet ---------- */
@media(max-width:1040px){
  .has-sticky .facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .has-sticky .exps{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- phones ---------- */
@media(max-width:700px){
  .has-sticky .act-title{padding:16px 0 20px}
  .has-sticky .gallery{gap:8px;border-radius:0;overflow:visible}
  .has-sticky .gallery figure{border-radius:12px}
  .has-sticky .facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
  .has-sticky .factbox{padding:12px 14px}
  .has-sticky .ourpick{padding:16px 18px}
  .has-sticky .incl>div{padding:16px 16px 18px}
  .has-sticky .compare{padding:18px 16px 16px;border-radius:14px}
  .has-sticky main>.sec .head{margin-bottom:18px;padding-bottom:16px}
  /* without the script: one column. With it (.tec-row, tec.css): one row that scrolls sideways, each card its own height */
  .has-sticky .exps{grid-template-columns:minmax(0,1fr);gap:14px}
  .has-sticky .exps.tec-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(82%,300px);gap:12px;align-items:start}
  .has-sticky .exp .body{padding:14px 14px 0}
}
@media(prefers-reduced-motion:reduce){
  .has-sticky .exp,.has-sticky .exp figure img{transition:none}
  .has-sticky .exp:hover figure img{transform:none}
}

/* ==================== fixes from the final screenshot review of every page type (5 Nov 2026) ====================
   Six Sonnet agents read phone and computer screenshots of one page of every type with the whole look in place, and an
   Opus agent checked each item. Partner links that stand alone in a card or a note (not inside a sentence) take the
   booking yellow, as the city guides' book-ahead links already do. */

/* city guides: the neighborhood map draws wider than a phone and pans sideways inside its box, so its labels read
   (the where-to-stay maps do the same) */
@media(max-width:700px){
  .tpl-cityguide.flagship #stay .city-map{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
  .tpl-cityguide.flagship #stay .city-map::-webkit-scrollbar{display:none}
  .tpl-cityguide.flagship #stay .city-map svg{width:max(100%,550px);max-width:none;scroll-snap-align:center;scroll-initial-target:nearest}
  .tpl-cityguide.flagship #stay .city-map :is(.scale text,.hood .n){font-size:var(--fs-xl)}
  .tpl-cityguide.flagship #stay .city-map .scale text{transform:translateY(44px);paint-order:stroke;stroke:var(--white);stroke-width:7px;stroke-linejoin:round}
  .tpl-cityguide.flagship #stay .city-map figcaption{position:sticky;left:0}
}

/* standalone partner links as yellow buttons: the itinerary, transfer and day-trip pages,
   the food guides' tours line, and the Colosseum page's nearby cards */
:is(.tpl-cityguide.tpl-more .bkl,.tpl-foodguide #markets .more-line) a[rel~="sponsored"]:not(#tec){
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;
  background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);border-radius:var(--tec-btn-radius);
  color:var(--tec-on-yellow);font:600 var(--fs-sm)/1.3 var(--sans);text-decoration:none}
@media(hover:hover){:is(.tpl-cityguide.tpl-more .bkl,.tpl-foodguide #markets .more-line) a[rel~="sponsored"]:not(#tec):hover{
  background:var(--tec-yellow-hover);color:var(--tec-on-yellow);text-decoration:none}}
.has-sticky a.exp:is([rel~="sponsored"],[data-partner]) .check:not(#tec){justify-content:center;min-height:46px;margin-bottom:16px;padding:11px 16px;
  background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);border-radius:var(--tec-btn-radius);color:var(--tec-on-yellow);font:600 var(--fs-sm)/1.3 var(--sans)}
@media(hover:hover){.has-sticky a.exp:is([rel~="sponsored"],[data-partner]):hover .check:not(#tec){background:var(--tec-yellow-hover)}}

/* country pages: on a phone the stacked tables' column key wraps cleanly, each name led by its slash; five experience
   cards fill their rows (three then two on a computer, the odd one across on a tablet); room under the breadcrumb */
@media(max-width:700px){
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable thead{overflow:hidden;border-bottom:1px solid var(--sky-3)}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable thead tr{display:flex;flex-wrap:wrap;align-items:baseline;margin-left:-22px;padding:14px 0 11px;border-bottom:0}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable thead th{position:relative;padding:0 0 0 22px;border:0;line-height:1.5}
  .tpl-country.tpl-flagship :is(#stays,#regions) .booktable thead th::before{content:"/";content:"/" / "";position:absolute;left:7px;color:var(--tec-muted)}
}
@media(min-width:1041px){
  .tpl-country.tpl-flagship .fl-exps{grid-template-columns:repeat(6,minmax(0,1fr))}
  .tpl-country.tpl-flagship .fl-exps>article{grid-column:span 2}
  .tpl-country.tpl-flagship .fl-exps>article:nth-child(3n+1):nth-last-child(2),.tpl-country.tpl-flagship .fl-exps>article:nth-child(3n+1):nth-last-child(2)+article{grid-column:span 3}
}
@media(min-width:701px) and (max-width:1040px){.tpl-country.tpl-flagship .fl-exps>article:last-child:nth-child(odd){grid-column:1/-1}}
.tpl-country.tpl-flagship .fl-hero .crumbs{margin-bottom:18px}

/* the tours pages' hero search is a rectangle like every other search (the comparison library's group tabs, which faded
   here where they scrolled on, are the category tabs since 8 Nov 2026: css/tours-flag.css) */
.tpl-tours-flag .tf-search input{border-radius:var(--r-input)}
.tpl-tours-flag .tf-search>div{border-radius:15px}

/* the Colosseum page: an odd last fact box runs across on a phone */
@media(max-width:700px){.has-sticky .facts>.factbox:last-child:nth-child(odd){grid-column:1/-1}}

/* the Table's Rome guide: on a computer its fifteen in-page links wrap onto a second row instead of running off */
@media(min-width:1001px){.tpl-guide.tpl-romefood .subnav .wrap{flex-wrap:wrap;row-gap:8px;overflow-x:visible;background:var(--white)}}

/* ==================== fixes from the review of the live site with every batch in (5 Nov 2026) ==================== */

/* questions: the first loads open; on a computer's two columns it takes the whole row, so the card beside it isn't
   left short, and its answer keeps a readable measure */
@media(min-width:1041px){
  .faq>details:first-child[open]{grid-column:1/-1}
  .faq>details:first-child[open] p{max-width:80ch}
  /* with an even number of questions that leaves the last one alone, so it takes the row too */
  .faq>details:first-child[open]~details:last-child:nth-child(even){grid-column:1/-1}
}

/* the homepage's city buttons: room for the arrow on the right only, so a long city name stays on one line */
@media(min-width:1041px){:where(.tpl-home) #stays .hc .go{padding-left:16px;padding-right:34px}}

/* city guides, what to book ahead: the Viator button always on its own line under the text links, so every card ends
   the same way */
.tpl-cityguide.flagship #book .bkl a[rel~="sponsored"]{order:2}
.tpl-cityguide.flagship #book .bkl:has(>a[rel~="sponsored"]):has(>a:not([rel~="sponsored"]))::after{content:"";order:1;flex-basis:100%;height:0}

/* country pages: the hero search spans the column like the experience search; on a phone the review note's last
   separator goes and its sources toggle takes its own line */
.tpl-country.tpl-flagship .fl-hero .fl-search{max-width:none}
@media(max-width:700px){
  .tpl-country.tpl-flagship .fl-review>p>span[aria-hidden]:last-child{display:none}
  .tpl-country.tpl-flagship .fl-review details{flex-basis:100%}
}

/* neighborhood pages: a shortlist of fewer than four stays fills the row on a computer (three across, or two) */
@media(min-width:1041px){
  .tpl-cityguide.tpl-more .area-stays:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  .tpl-cityguide.tpl-more .area-stays:has(>li:nth-child(2):last-child),
  .tpl-cityguide.tpl-more .area-stays:has(>li:only-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* a stay alone in its row (one stay, or the last of five or nine on a computer, the last of an odd number on a tablet)
   takes the row's width: its photo on the left, its name and description, then what to check and the buttons in a
   column of their own, so it doesn't sit at half width beside an empty space (29 Nov 2026, the layout review) */
@media(min-width:1041px){
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1){grid-column:1/-1;flex-direction:row}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1)>.ph{flex:0 0 38%}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1)>div:last-child{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    grid-template-rows:repeat(4,auto) 1fr;column-gap:32px;align-content:start}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1)>div:last-child>:not(.chk,.acts){grid-column:1}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1) .chk{grid-column:2;grid-row:1/4;margin-top:0;padding:0 0 0 24px;border-top:0;border-left:1px solid var(--tm-rule)}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1) .acts{grid-column:2;grid-row:4/6;align-self:end;margin-top:0;padding-left:24px}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1) .acts::after{content:none}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1)>.ph{display:flex}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(4n+1)>.ph img{height:100%}
}
@media(min-width:701px) and (max-width:1040px){
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd){grid-column:1/-1}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd):not(:has(>.ph))>div:last-child{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    grid-template-rows:repeat(4,auto) 1fr;column-gap:28px;align-content:start}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd):not(:has(>.ph))>div:last-child>:not(.chk,.acts){grid-column:1}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd):not(:has(>.ph)) .chk{grid-column:2;grid-row:1/4;margin-top:0;padding:0 0 0 20px;border-top:0;border-left:1px solid var(--tm-rule)}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd):not(:has(>.ph)) .acts{grid-column:2;grid-row:4/6;align-self:end;margin-top:0;padding-left:20px}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd):has(>.ph){flex-direction:row}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd)>.ph{flex:0 0 42%}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd) .acts::after{content:none}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd)>.ph{display:flex}
  .tpl-cityguide.tpl-more .area-stays>li:last-child:nth-child(odd)>.ph img{height:100%}
}
/* the breadcrumb on a phone: each link a 44px tap (it was 31px), as on the destinations and country pages */
@media(max-width:700px){
  .tpl-cityguide.tpl-more .g-hero .crumbs a{display:inline-flex;align-items:center;min-height:44px;margin-block:-6px}
}

/* day-trip pages: At a glance's "Day trips on Viator" is the same yellow button as the itinerary's hotel search */
.tpl-cityguide.tpl-more .guide-intro .answer dd>a[rel~="sponsored"]:not(#tec){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;
  background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);border-radius:var(--tec-btn-radius);color:var(--tec-on-yellow);font:600 var(--fs-sm)/1.3 var(--sans);text-decoration:none}
.tpl-cityguide.tpl-more .guide-intro .answer dd>a[rel~="sponsored"]::after{content:"\00a0\2197";content:"\00a0\2197" / ""}
@media(hover:hover){.tpl-cityguide.tpl-more .guide-intro .answer dd>a[rel~="sponsored"]:not(#tec):hover{background:var(--tec-yellow-hover);color:var(--tec-on-yellow);text-decoration:none}}

/* day-trip hubs: the cards in a row share their row tracks, so a two-line title doesn't drop its text below its
   neighbors' */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-cityguide.tpl-more #trips .g-todo{row-gap:0}
    .tpl-cityguide.tpl-more #trips .g-todo>li{grid-row:span 4;grid-template-rows:subgrid}
    .tpl-cityguide.tpl-more #trips .g-todo>li:nth-child(n+3){margin-top:18px}
    .tpl-cityguide.tpl-more #trips .g-todo .ahead{align-self:end}
  }
  @media(min-width:1041px){
    .tpl-cityguide.tpl-more #trips .g-todo:has(>li:nth-child(3):last-child)>li:nth-child(3){margin-top:0}
  }
}

/* the in-page menu on phones: his filled pills cover base.css's edge shadow, so the row fades where it scrolls on, like
   the phone menu above it */
@media(max-width:700px){
  .subnav .wrap{padding-right:40px;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
}

/* the Paris tours library: a group's count stays on one line; on a phone a row's caps label runs over the + column, so
   it keeps to one line, as in Victor's master */
.tpl-tours-flag .tf-ghead>span{flex:none;white-space:nowrap}
@media(max-width:700px){
  .tpl-tours-flag .tf-row summary{row-gap:3px}
  .tpl-tours-flag .tf-row summary>span{display:contents}
  .tpl-tours-flag .tf-row summary img,.tpl-tours-flag .tf-row summary .tf-nph{grid-area:1/1/3/2}
  .tpl-tours-flag .tf-row summary small{grid-column:2/4;grid-row:1;align-self:end;letter-spacing:.06em}
  .tpl-tours-flag .tf-row summary strong{grid-column:2;grid-row:2;align-self:start;margin:0}
  .tpl-tours-flag .tf-row summary b{grid-column:3;grid-row:2;align-self:center}
}

/* the 404: the arch's drawing leaves 20 of 120 units empty round the shape; pull the shape flush with the content */
.tpl-site:not(.tpl-hub) .nf-arch{margin:-18px 0 -8px -18px}
@media(max-width:700px){.tpl-site:not(.tpl-hub) .nf-arch{margin:-14px 0 -6px -14px}}
@media(min-width:701px){.tpl-site:not(.tpl-hub) .nf-arch{align-self:center}}

/* day-trip pages: the official site and Viator buttons under the visit carry the outbound arrow, as on the tours pages */
.tpl-cityguide.tpl-more .tt-go a.pill[target="_blank"]::after{content:"\2197";content:"\2197" / "";font-weight:400}

/* food guides: on a phone the wrapped "Food tours ... on Viator" button keeps its arrow after the last word */
@media(max-width:700px){.tpl-foodguide #markets .more-line a[rel~="sponsored"]:not(#tec){display:inline-block;padding:12px 14px}}

/* ==================== the destinations pages: both groups of six in one row at every width (6 Nov 2026) ====================
   Sharod: "I don't want it multiple rows tbh. If there's a way to condense it so it's not stacked taking room". The
   featured cities (#popular .dest-feat) and the travel or food styles (#styles .dest-styles) are each one row of his
   boxed cards that scrolls sideways at every width, as the phones' rows do (js/tec.js names both groups with "all"): on a
   computer four cards and the edge of a fifth, on a tablet two and a bit, on a phone one and a bit. The cue sits above
   the row as on the phones: the arrows on the right, off at the row's ends, and "Swipe to see more" only on a touch
   screen (with a mouse a trackpad or shift and the wheel scroll the row too). Every card keeps its photo, words and
   button; the cards of a row are one height with their buttons level. Without the script they stay the grids above. */
.tpl-dest :is(.dest-feat,.dest-styles).tec-row{display:grid;grid-template-columns:none;grid-auto-flow:column;align-items:stretch;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.tpl-dest :is(.dest-feat,.dest-styles).tec-row::-webkit-scrollbar{display:none}
.tpl-dest :is(.dest-feat,.dest-styles).tec-row>*{scroll-snap-align:start;min-width:0}
/* the row reaches past the content edge by as much as its padding, so the cards sit where the grid had them and their
   shadows, hover lift and focus rings have room inside the scroller instead of being cut off */
@media(min-width:1041px){
  .tpl-dest :is(.dest-feat,.dest-styles).tec-row{grid-auto-columns:calc((100% - 4 * 18px) / 4.2);column-gap:18px;
    margin:-8px -14px -22px;padding:8px 14px 22px;scroll-padding-inline:14px}
}
/* a tablet runs the row to the screen's edges, like a phone */
@media(min-width:701px) and (max-width:1040px){
  .tpl-dest :is(.dest-feat,.dest-styles).tec-row{grid-auto-columns:min(calc((100% - 2 * 16px) / 2.3),360px);column-gap:16px;
    margin:-8px calc(-1 * var(--gutter)) -22px;padding:8px var(--gutter) 22px;scroll-padding-inline:var(--gutter)}
}
@media(max-width:700px){
  .tpl-dest :is(.dest-feat,.dest-styles).tec-row{grid-auto-columns:min(80%,300px);column-gap:12px;padding-top:7px;padding-bottom:14px}
  .tpl-dest .dest-styles.tec-row a{box-shadow:0 3px 12px rgba(27,48,72,.08)}
}
/* the styles' subgrid (section 5) in one row: four rows of its own (photo, title, words, button), every card spanning
   them, so the titles, words and buttons still line up across the row */
@supports (grid-template-rows:subgrid){
  @media(min-width:701px){
    .tpl-dest .dest-styles.tec-row{grid-template-rows:repeat(4,auto);row-gap:0}
    .tpl-dest .dest-styles.tec-row>li{grid-row:1/span 4;margin-bottom:0}
  }
}
/* the cue: the phones' (section at the top of this file) at every width here */
.tpl-dest .tec-swipe{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.tpl-dest .tec-swipe[hidden]{display:none}
.tpl-dest .tec-swipe-hint{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-sm);font-weight:600;color:var(--graphite)}
.tpl-dest .tec-swipe-hint svg{width:22px;height:22px;flex:none;color:var(--forest)}
.tpl-dest .tec-swipe-btns{display:flex;gap:8px;margin-left:auto}
.tpl-dest .tec-swipe-btns button{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--field-line);
  background:var(--white);color:var(--navy);cursor:pointer}
.tpl-dest .tec-swipe-btns button:disabled{opacity:.4;cursor:default}
.tpl-dest .tec-swipe-btns button:focus-visible{outline:var(--focus);outline-offset:2px}
@media(hover:hover){.tpl-dest .tec-swipe-btns button:not(:disabled):hover{border-color:var(--tec-blue);background:var(--th-hover);color:var(--tec-blue)}}
@media(hover:hover) and (pointer:fine){.tpl-dest .tec-swipe-hint{display:none}}
/* a tablet or computer: the arrows a little nearer the heading's rule, which already gives the row its space */
@media(min-width:701px){.tpl-dest main>.sec>.wrap>.head+.tec-swipe{margin-top:-12px}}

/* ==================== the header's fifth tab (8 Nov 2026, Transportation) ====================
   Five tabs, the lockup and Find your city fit a computer at 1101px and up; between 901px (where the tabs show) and
   1100px the spacing tightens so the header never pushes the page sideways (it did by 91px at 920px). */
@media (min-width:901px) and (max-width:1100px){header.site .bar{gap:20px}header.site .navl{gap:14px}header.site .navr .pill{padding:8px 12px}}
/* A tab with no page yet is plain text in the header's type, and in the phone menu row's (Transportation was, 8 to 12 Nov
   2026; since 12 Nov it links Paris's transportation page, Sharod: "For now link Paris to the transportation tab") */
header.site .navl .nav-plain{cursor:default}
.mnav .nav-plain{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-size:var(--fs-sm);font-weight:600;color:#34475A;cursor:default}

/* ==================== hotel list pages (9 Nov 2026): body.tpl-hotels ====================
   "Hotels in Le Marais, Paris" (an area page retitled to its hotels) and "Hotels near Notre-Dame, Paris" (a landmark
   page): the trip bar, the property cards with routed walking minutes, the side-by-side table, the map and the sides.
   Sharod, 9 Nov 2026: "high ranking for seo and high call to action when on the page". Victor's look: boxed white
   cards, his buttons, yellow only on the Booking.com handoffs. */
.tpl-hotels .trip-bar{margin-top:24px;padding:20px 22px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-hotels .trip-bar .tb-h{margin:0 0 12px;font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--tec-blue)}
.tpl-hotels .trip-bar .tb-f{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.3fr) repeat(4,minmax(0,.75fr));gap:10px;align-items:end}
.tpl-hotels .trip-bar .tb-sum{display:none}
.tpl-hotels .trip-bar .tb-go{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:14px}
.tpl-hotels .trip-bar .tb-hint{margin:0;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-hotels .trip-bar .f label{display:block;margin-bottom:6px;font:600 var(--fs-sm)/1.3 var(--sans);color:var(--tec-ink)}
.tpl-hotels .trip-bar :is(input,select){box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--field-line,#8A97A5);border-radius:8px;
  background:var(--white);font:400 var(--fs-md)/1.2 var(--sans);color:var(--tec-ink)}
.tpl-hotels .trip-bar :is(input,select):focus-visible{outline:var(--focus);outline-offset:1px}
.tpl-hotels .trip-bar .go{min-height:46px;white-space:nowrap;padding-inline:22px}
.tpl-hotels .trip-bar .ages{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:12px}
.tpl-hotels .trip-bar .ages[hidden],.tpl-hotels .trip-bar .ages label[hidden]{display:none}
.tpl-hotels .trip-bar .ages label{display:flex;align-items:center;gap:8px;font:500 var(--fs-sm)/1.3 var(--sans);color:var(--tec-ink)}
.tpl-hotels .trip-bar .ages select{width:auto;min-width:84px}
.tpl-hotels .trip-bar .form-err{margin:10px 0 0;font:500 var(--fs-sm)/1.4 var(--sans);color:#B42318}
.tpl-hotels .trip-bar .form-err[hidden],.tpl-hotels .trip-bar .tb-note:empty{display:none}
.tpl-hotels .trip-bar .tb-note{margin:10px 0 0;font:500 var(--fs-sm)/1.45 var(--sans);color:var(--tec-ink)}
.tpl-hotels .trip-bar .tb-note::before{content:"✓ ";color:var(--tec-blue);font-weight:700}
@media (max-width:900px){
  .tpl-hotels .trip-bar .tb-f{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tpl-hotels .trip-bar .f.d{grid-column:span 2}
}
/* on a phone: one line ("Add dates · 2 adults · 1 room") and the search button, the fields on a tap (the tester's spec §4) */
@media (max-width:700px){
  .tpl-hotels .trip-bar{padding:14px 14px 16px;margin-top:18px}
  .tpl-hotels .trip-bar .tb-h{margin-bottom:8px}
  .tpl-hotels .trip-bar .tb-sum{display:flex;align-items:center;gap:8px;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--field-line,#8A97A5);border-radius:8px;
    background:var(--white);font:500 var(--fs-md)/1.3 var(--sans);color:var(--tec-ink);text-align:left;cursor:pointer}
  .tpl-hotels .trip-bar .tb-sum::after{content:"";flex:none;margin-left:auto;width:8px;height:8px;border:solid var(--tec-blue);border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-3px)}
  .tpl-hotels .trip-bar.open .tb-sum::after{transform:rotate(-135deg) translateY(-2px)}
  .tpl-hotels .trip-bar:not(.open) :is(.tb-f,.ages){display:none}
  .tpl-hotels .trip-bar .tb-f{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
  .tpl-hotels .trip-bar .f.d{grid-column:auto}
  .tpl-hotels .trip-bar .tb-go{margin-top:10px}
  .tpl-hotels .trip-bar .go{width:100%;justify-content:center;white-space:normal}
}

/* the property cards: a row each on a computer (photo, then the facts and the buttons), photo on top on a phone */
.tpl-hotels ol.hl-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
/* a card the filters leave out is gone; one the pager hasn't shown yet (hidden="until-found", so Find in page opens it)
   takes no room. The space between cards is a margin on the shown ones, since a grid gap would still count the waiting ones. */
.tpl-hotels ol.hl-list>.hl-card:not([hidden]){margin-bottom:18px}
.tpl-hotels ol.hl-list>.hl-card[hidden]:not([hidden="until-found"]){display:none}
.tpl-hotels ol.hl-list>.hl-card[hidden="until-found"]{content-visibility:hidden;margin:0;padding:0;border:0;box-shadow:none;min-height:0;height:0;overflow:hidden}
.tpl-hotels .hl-card{display:grid;grid-template-columns:280px minmax(0,1fr);background:var(--white);border:1px solid var(--tec-card-line);
  border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow);overflow:hidden;scroll-margin-top:96px}
.tpl-hotels .hl-card.np{grid-template-columns:minmax(0,1fr)}
.tpl-hotels .hl-card:target{outline:2px solid var(--tec-blue);outline-offset:2px}
.tpl-hotels .hl-card .ph{position:relative;margin:0;background:var(--stone);align-self:start;aspect-ratio:4/3;overflow:hidden}
.tpl-hotels .hl-card .ph img{display:block;width:100%;height:100%;object-fit:cover}
.tpl-hotels .hl-card .ph .src{position:absolute;left:8px;bottom:8px;right:8px;width:max-content;max-width:calc(100% - 16px);padding:3px 8px;border-radius:6px;
  background:rgba(16,24,32,.72);color:#fff;font:500 12px/1.35 var(--sans)}
.tpl-hotels .hl-card .hb{padding:20px 22px 22px;min-width:0}
.tpl-hotels .hl-card h3{margin:0;font:600 var(--fs-xl)/1.25 var(--sans);letter-spacing:-.01em;color:var(--tec-ink)}
.tpl-hotels .hl-card .sub{margin:4px 0 0;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-hotels .hl-card .walk{margin:0 0 8px;font:500 var(--fs-md)/1.4 var(--sans);color:var(--tec-ink)}
.tpl-hotels .hl-card .walk b{color:var(--tec-blue);font-weight:700}
.tpl-hotels .hl-card .b{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.tpl-hotels .hl-card .b span{padding:3px 9px;border-radius:6px;background:var(--sky-2);color:var(--tec-navy);font:600 var(--fs-xs)/1.45 var(--sans);letter-spacing:.02em}
.tpl-hotels .hl-card ul.y{display:flex;flex-wrap:wrap;gap:4px 16px;list-style:none;margin:12px 0 0;padding:0}
.tpl-hotels .hl-card ul.y li{font-size:var(--fs-sm);color:var(--tec-ink)}
.tpl-hotels .hl-card ul.y li::before{content:"✓";margin-right:6px;color:#16794A;font-weight:700}
.tpl-hotels .hl-card .no{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.tpl-hotels .hl-card .no span{padding:3px 9px;border-radius:6px;background:#FFF4E5;color:#7A4A00;font:600 var(--fs-xs)/1.45 var(--sans)}
.tpl-hotels .hl-card .from{margin:-6px 0 8px;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-hotels .hl-card :is(.fit,.chk){margin:12px 0 0;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-body)}
.tpl-hotels .hl-card :is(.fit,.chk) b{color:var(--tec-ink)}
.tpl-hotels .hl-card .chk{margin-top:6px}
.tpl-hotels .hl-card .acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:16px}
.tpl-hotels .hl-card .acts .pill{min-height:46px}
.tpl-hotels .hl-card .acts :is(.x,.off){display:inline-flex;align-items:center;min-height:44px;color:var(--tec-blue);font:600 var(--fs-sm)/1.3 var(--sans);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
@media (max-width:700px){
  .tpl-hotels .hl-card{grid-template-columns:minmax(0,1fr)}
  .tpl-hotels .hl-card .hb{padding:14px 14px 16px}
  .tpl-hotels .hl-card h3{font-size:var(--fs-lg)}
  .tpl-hotels .hl-card .acts{gap:4px 16px}
  .tpl-hotels .hl-card .acts .pill.fill{width:100%;justify-content:center}
}

/* the table: the stays side by side, scrolling sideways on a phone */
.tpl-hotels .hl-scroll{overflow-x:auto;border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);background:var(--white);box-shadow:var(--tec-card-shadow)}
.tpl-hotels .hl-scroll:focus-visible{outline:var(--focus);outline-offset:2px}
.tpl-hotels table.hl-table{width:100%;min-width:1080px;border-collapse:collapse;font-size:var(--fs-sm)}
.tpl-hotels table.hl-table :is(th,td){overflow-wrap:normal;word-break:normal;hyphens:manual}
.tpl-hotels table.hl-table tbody th{min-width:190px}
.tpl-hotels table.hl-table caption{caption-side:top;padding:14px 16px 0;text-align:left;color:var(--tec-muted);font-size:var(--fs-sm)}
.tpl-hotels table.hl-table :is(th,td){padding:12px 14px;text-align:left;vertical-align:middle;border-top:1px solid var(--tec-line);line-height:1.4}
.tpl-hotels table.hl-table thead th{border-top:0;font:600 var(--fs-xs)/1.35 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--tec-muted);white-space:nowrap}
.tpl-hotels table.hl-table tbody th{font-weight:600}
.tpl-hotels table.hl-table tbody th a{color:var(--tec-ink);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-hotels table.hl-table td.ns{color:var(--tec-muted)}
.tpl-hotels table.hl-table .pill.sm{min-height:40px;padding:8px 14px;white-space:nowrap}
.tpl-hotels table.hl-table td:is([data-l^="Walk to"],[data-l^="To "]){white-space:nowrap;font-weight:600;color:var(--tec-blue)}
.tpl-hotels table.hl-table td.bk{width:1%;white-space:nowrap}

/* the sides, the tools, the more button, the map, the close */
.tpl-hotels :is(.hl-sides,.hl-parts) a{color:var(--tec-blue);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-hotels .hl-sides table.hl-table{min-width:980px}
.tpl-hotels .hl-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:0 0 18px}
.tpl-hotels .hl-chips{display:flex;flex-wrap:wrap;gap:8px}
.tpl-hotels .hl-chips .chip{min-height:40px;padding:8px 14px;border:1px solid var(--tec-line);border-radius:var(--tec-btn-radius);background:var(--white);
  font:600 var(--fs-sm)/1.2 var(--sans);color:var(--tec-ink);cursor:pointer}
.tpl-hotels .hl-chips .chip[aria-pressed="true"]{background:var(--tec-blue);border-color:var(--tec-blue);color:var(--white)}
.tpl-hotels .hl-chips .chip:focus-visible,.tpl-hotels .hl-sort select:focus-visible{outline:var(--focus);outline-offset:2px}
.tpl-hotels .hl-sort{display:flex;align-items:center;gap:8px;font:600 var(--fs-sm)/1.2 var(--sans);color:var(--tec-ink)}
.tpl-hotels .hl-sort select{min-height:40px;padding:6px 10px;border:1px solid var(--field-line,#8A97A5);border-radius:8px;background:var(--white);font:500 var(--fs-sm) var(--sans)}
.tpl-hotels .hl-count{margin:0 0 0 auto;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-hotels .hl-more{margin:20px 0 0;text-align:center}
.tpl-hotels :is(.hl-more,.hl-empty)[hidden]{display:none}
.tpl-hotels .hl-empty{margin:18px 0 0;padding:18px 20px;background:var(--tec-soft);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);color:var(--tec-body)}
.tpl-hotels .hl-empty>p{margin:0 0 12px;font-weight:600;color:var(--tec-ink)}
.tpl-hotels .hl-recover{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.tpl-hotels .hl-recover:empty{display:none}
.tpl-hotels .hl-recover .chip{min-height:44px;max-width:100%;padding:8px 14px;border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);background:var(--white);
  font:600 var(--fs-sm)/1.2 var(--sans);color:var(--tec-blue);cursor:pointer;white-space:normal;text-align:center;justify-content:center}
.tpl-hotels .hl-empty .tt-go{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.tpl-hotels .linkish{padding:0;border:0;background:none;color:var(--tec-blue);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer;min-height:44px}
.tpl-hotels .hl-sub{margin:34px 0 4px;font:600 var(--fs-xl)/1.25 var(--sans);color:var(--tec-ink)}
.tpl-hotels .hl-subp{margin:0 0 16px;color:var(--tec-body)}
.tpl-hotels .hl-mapbox>summary{display:none}
.tpl-hotels .hl-map{padding:12px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:var(--tec-radius);box-shadow:var(--tec-card-shadow)}
.tpl-hotels .hl-map svg{display:block;width:100%;height:auto}
.tpl-hotels .hl-mapnote{margin:10px 0 0;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-hotels .hl-in{margin:8px 0 0;font-size:var(--fs-sm);color:var(--tec-body)}
.tpl-hotels .hl-how{margin-top:26px;font-size:var(--fs-sm);color:var(--tec-body)}
.tpl-hotels .hl-how summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--tec-blue)}
.tpl-hotels .hl-how p{max-width:80ch;margin:6px 0 0;line-height:1.6}
.tpl-hotels .hl-close .tt-go{display:flex;flex-wrap:wrap;gap:12px}
@media (max-width:700px){
  .tpl-hotels .hl-count{margin-left:0;flex-basis:100%}
  .tpl-hotels .hl-chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:2px 16px;scrollbar-width:none}
  .tpl-hotels .hl-chips .chip{flex:none}
  /* the tables become a card per row, each cell with its label */
  /* the areas table becomes a card per row, each cell with its label beside it */
  .tpl-hotels .hl-sides.hl-scroll{overflow:visible;border:0;background:none;box-shadow:none}
  .tpl-hotels .hl-sides table.hl-table{min-width:0;display:block}
  .tpl-hotels .hl-sides table.hl-table thead{display:none}
  .tpl-hotels .hl-sides table.hl-table caption{display:block;padding:0 0 10px}
  .tpl-hotels .hl-sides table.hl-table :is(tbody,tr){display:block}
  .tpl-hotels .hl-sides table.hl-table tr{margin:0 0 12px;padding:12px 14px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:12px}
  .tpl-hotels .hl-sides table.hl-table tbody th{display:block;padding:0 0 8px;border:0;font-size:var(--fs-md)}
  .tpl-hotels .hl-sides table.hl-table td{display:block;position:relative;padding:5px 0 5px calc(42% + 12px);border:0;white-space:normal}
  .tpl-hotels .hl-sides table.hl-table td::before{content:attr(data-l);position:absolute;left:0;top:5px;width:42%;color:var(--tec-muted);font-weight:500}
  /* the comparison stays a table, scrolling sideways with each stay's name held at the left */
  .tpl-hotels #compare .hl-scroll{margin:0 -16px;border-radius:0;border-left:0;border-right:0}
  .tpl-hotels #compare table.hl-table{min-width:900px}
  .tpl-hotels #compare table.hl-table :is(th,td){padding:10px 12px}
  .tpl-hotels #compare table.hl-table caption{padding:12px 16px 0}
  .tpl-hotels #compare table.hl-table tbody th{position:sticky;left:0;z-index:1;width:150px;min-width:150px;max-width:150px;background:var(--white);box-shadow:1px 0 0 var(--tec-line);white-space:normal}
  .tpl-hotels #compare table.hl-table thead th:first-child{position:sticky;left:0;z-index:2;background:var(--white);box-shadow:1px 0 0 var(--tec-line)}
  .tpl-hotels .hl-mapbox>summary{display:flex;align-items:center;min-height:46px;padding:0 16px;border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);
    background:var(--white);color:var(--tec-blue);font:600 var(--fs-sm)/1.3 var(--sans);cursor:pointer;width:max-content}
  .tpl-hotels .hl-mapbox[open]>summary{margin-bottom:12px}
  .tpl-hotels .hl-map{padding:6px}
}
/* the hotel list pages' sections run the full width: the head above, not beside (the extra pages' split heads, above) */
@media(min-width:701px){
  .tpl-cityguide.tpl-more.tpl-hotels :is(#stays,#shortlist,#other-areas){display:block}
  .tpl-cityguide.tpl-more.tpl-hotels :is(#stays,#shortlist)>.head{margin:0 0 22px}
  .tpl-cityguide.tpl-more.tpl-hotels #other-areas>.head{margin:0 0 18px}
}
.tpl-hotels .hl-map{margin:0}
/* the hotel maps' pins, as on the where-to-stay shortlists' map */
.tpl-hotels .map a.pin circle{fill:var(--forest);stroke:var(--white);stroke-width:3;cursor:pointer}
.tpl-hotels .map a.pin circle.hit{fill:transparent;stroke:none}
.tpl-hotels .map a.pin:hover circle:not(.hit),.tpl-hotels .map a.pin:focus circle:not(.hit){fill:var(--navy)}
.tpl-hotels .map a.pin:focus-visible{outline:none}
.tpl-hotels .map a.pin:focus-visible circle:not(.hit){stroke:var(--tec-ink);stroke-width:4}
/* the comparison fits a computer's width (its cells wrap, the walk stays on one line), and the map stays a readable size */
@media(min-width:701px){
  .tpl-hotels #compare table.hl-table{min-width:0}
  .tpl-hotels #compare table.hl-table :is(th,td){padding:12px 10px}
  .tpl-hotels #compare table.hl-table thead th{white-space:normal;vertical-align:bottom}
  .tpl-hotels #compare table.hl-table tbody th{min-width:150px}
}
.tpl-hotels .hl-map svg{max-width:920px;margin:0 auto}
/* on the hotel maps the stays are the blue pins; stations and landmarks are smaller gray dots */
.tpl-hotels .map .lm circle{fill:var(--pewter)}
/* the tables' scroll boxes hold their screen-reader labels (.vh is absolutely placed), so they can't widen the page */
.tpl-hotels .hl-scroll{position:relative}
/* on a phone the trip bar comes first, under the photo header, so the first screen has its search; the opening answer follows */
@media(max-width:700px){
  .tpl-hotels .guide-intro{display:flex;flex-direction:column}
  .tpl-hotels .guide-intro>form.trip-bar{order:-1;margin:0 0 18px}
  .tpl-hotels .guide-intro>.lede{margin-top:0}
}
/* ---------- booking first (Sharod, 9 Nov 2026: "push booking links and photo cards higher") ---------- */
/* a shorter photo header, so the trip bar and the first cards come up sooner */
.tpl-hotels .g-hero{min-height:clamp(200px,24vh,250px)}
.tpl-hotels .g-hero-in{padding-bottom:22px}
/* a card's "what to check" behind a tap: its booking button sits higher; the words stay in the page */
.tpl-hotels .hl-card details.chk{margin:8px 0 0;font-size:var(--fs-sm);line-height:1.55;color:var(--tec-body)}
.tpl-hotels .hl-card details.chk summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;cursor:pointer;font-weight:600;color:var(--tec-blue);list-style:none}
.tpl-hotels .hl-card details.chk summary::-webkit-details-marker{display:none}
.tpl-hotels .hl-card details.chk summary::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px)}
.tpl-hotels .hl-card details.chk[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.tpl-hotels .hl-card details.chk p{margin:4px 0 0}
.tpl-hotels .hl-card .acts{margin-top:12px}
/* the map from the list: a link beside the sort, one on each card, and the chosen stay's pin marked and named */
.tpl-hotels .hl-maplink{display:inline-flex;align-items:center;min-height:44px;color:var(--tec-blue);font:600 var(--fs-sm)/1.2 var(--sans);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-hotels .hl-mapsel{position:sticky;top:74px;z-index:3;margin:0 0 10px;padding:9px 14px;background:var(--white);border:1px solid var(--tec-card-line);border-radius:10px;
  box-shadow:var(--tec-card-shadow);font:500 var(--fs-sm)/1.45 var(--sans);color:var(--tec-ink)}
.tpl-hotels .hl-mapsel b{font-weight:700}
.tpl-hotels .hl-mapsel a{margin-left:6px;color:var(--tec-blue);font-weight:600;text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px;white-space:nowrap}
.tpl-hotels .hl-mapsel[hidden]{display:none}
.tpl-hotels .map a.pin.on circle:not(.hit){fill:var(--white);stroke:var(--tec-navy);stroke-width:6;transform-box:fill-box;transform-origin:center;transform:scale(2)}
.tpl-hotels .trip-bar .tb-sum.bad{border-color:#B42318;color:#B42318}
/* the comparison: the booking button beside the name; on a tablet or a phone the name holds at the left and the edge
   that has more shows a shadow, as on the site's other sideways tables */
@media (max-width:1100px){
  .tpl-hotels #compare table.hl-table{min-width:900px}
  .tpl-hotels #compare table.hl-table :is(tbody th,thead th:first-child){position:sticky;left:0;z-index:1;width:150px;min-width:150px;max-width:150px;background:var(--white);box-shadow:1px 0 0 var(--tec-line);white-space:normal}
  .tpl-hotels #compare .hl-scroll{background:linear-gradient(to left,var(--white) 30%,rgba(255,255,255,0)) 100% 0/40px 100% no-repeat local,
    linear-gradient(to left,rgba(15,43,76,.16),rgba(15,43,76,0)) 100% 0/16px 100% no-repeat scroll,var(--white)}
}
/* tap targets of 44px on a touch screen, as on the where-to-stay shortlists */
@media (pointer:coarse),(max-width:700px){
  .tpl-hotels .hl-chips .chip,.tpl-hotels .hl-sort select,.tpl-hotels table.hl-table .pill.sm{min-height:44px}
}
/* on a phone a card is a thumbnail beside its walk, name and address, then its facts and buttons full width, like the
   where-to-stay shortlist's cards; a stand-in photo's label sits under the thumbnail, never hidden */
@media (max-width:700px){
  .tpl-hotels .hl-card:not(.np){grid-template-columns:104px minmax(0,1fr);grid-auto-flow:row dense;column-gap:12px;padding:12px 12px 14px}
  .tpl-hotels .hl-card:not(.np) .ph{display:contents}
  .tpl-hotels .hl-card:not(.np) .ph img{grid-column:1;grid-row:1/span 3;width:104px;height:104px;aspect-ratio:1/1;object-fit:cover;border-radius:10px;align-self:start}
  .tpl-hotels .hl-card:not(.np) .ph .src{position:static;grid-column:1/-1;width:auto;max-width:none;margin:8px 0 0;padding:0;background:none;color:var(--tec-muted);font:500 12px/1.4 var(--sans)}
  .tpl-hotels .hl-card:not(.np) .hb{display:contents}
  .tpl-hotels .hl-card:not(.np) .hb>:is(.walk,.from,h3,.sub){grid-column:2}
  .tpl-hotels .hl-card:not(.np) .hb>:not(.walk):not(.from):not(h3):not(.sub){grid-column:1/-1}
  .tpl-hotels .hl-card:not(.np) .walk{margin:0 0 4px;font-size:var(--fs-sm)}
  .tpl-hotels .hl-card:not(.np) .from{margin:-2px 0 6px}
  .tpl-hotels .hl-card .b{margin-top:10px}
  .tpl-hotels .hl-card ul.y{margin-top:8px;gap:2px 12px}
  .tpl-hotels .hl-card .fit{margin-top:8px}
  .tpl-hotels .hl-tools{gap:8px 14px}
  .tpl-hotels .map a.pin circle{transform-box:fill-box;transform-origin:center;transform:scale(1.4)}
  .tpl-hotels .map a.pin.on circle:not(.hit){transform:scale(2.4);stroke-width:5}
  .tpl-hotels .hl-recover{flex-direction:column;align-items:stretch}
}
/* ---------- the second review (9 Nov 2026) ---------- */
/* the map's button says what it will do */
.tpl-hotels .hl-mapbox[open]>summary .hl-mo,.tpl-hotels .hl-mapbox:not([open])>summary .hl-mc{display:none}
/* the link to the area's parts sits with the tools; the note on the order where the edge's list begins */
.tpl-hotels .hl-tlink{display:inline-flex;align-items:center;min-height:44px;color:var(--tec-blue);font:600 var(--fs-sm)/1.2 var(--sans);text-decoration:underline;text-decoration-color:var(--sky-3);text-underline-offset:3px}
.tpl-hotels .hl-order{margin:0 0 8px;font-size:var(--fs-sm);color:var(--tec-muted)}
.tpl-hotels .hl-order[hidden]{display:none}
/* the comparison's booking buttons one width, their labels centered (the two labels stay: a property's own page, or a search) */
.tpl-hotels table.hl-table td.bk .pill.sm{width:100%;justify-content:center;text-align:center}
/* a phone (Sharod, 9 Nov 2026: "This section needs to be condensed or displayed better on mobile"): the comparison is a
   compact grid, a row a stay, its name held at the left with the walking times beside it and the facts scrolling on.
   The booking buttons step out: each name opens its card, whose button is the stay's own, and the booking bar stays in
   view. The rows are a third of their height with the buttons in. */
@media (max-width:700px){
  .tpl-hotels #compare table.hl-table :is(td.bk,thead th:nth-child(2)){display:none}
  .tpl-hotels #compare table.hl-table{min-width:0;width:max-content}
  .tpl-hotels #compare table.hl-table :is(th,td){padding:8px 10px;line-height:1.3}
  .tpl-hotels #compare table.hl-table thead th{white-space:normal;vertical-align:bottom;max-width:96px;font-size:var(--fs-xs);letter-spacing:.04em}
  .tpl-hotels #compare table.hl-table tbody th{width:132px;min-width:132px;max-width:132px;font-size:var(--fs-sm)}
  .tpl-hotels #compare table.hl-table thead th:first-child{width:132px;min-width:132px;max-width:132px}
  .tpl-hotels #compare table.hl-table td{white-space:nowrap}
  .tpl-hotels #compare table.hl-table tbody th{padding-top:4px;padding-bottom:4px}
  .tpl-hotels #compare table.hl-table caption{padding:10px 16px 2px}
}
/* a tablet has no phone booking bar: the booking button holds beside the name while the facts scroll */
@media (min-width:701px) and (max-width:1100px){
  .tpl-hotels #compare table.hl-table :is(tbody th,thead th:first-child){box-shadow:none}
  .tpl-hotels #compare table.hl-table :is(td.bk,thead th:nth-child(2)){position:sticky;left:150px;z-index:1;background:var(--white);box-shadow:1px 0 0 var(--tec-line)}
}
/* tap targets of 44px: each card's "what to check" (its margins take the extra height, so the card is no taller) and
   the comparison's names */
@media (pointer:coarse),(max-width:700px){
  .tpl-hotels .hl-card details.chk{margin-top:2px}
  .tpl-hotels .hl-card details.chk summary{min-height:44px}
  .tpl-hotels .hl-card details.chk+.acts{margin-top:6px}
  .tpl-hotels table.hl-table tbody th a{display:inline-flex;align-items:center;min-height:44px}
}
/* the narrowest phones: check-in and check-out a row each, so a full date shows */
@media (max-width:344px){
  .tpl-hotels .trip-bar .f.d{grid-column:1/-1}
}
/* a computer: the first cards come up on the first screen (Sharod: "push booking links and photo cards higher") */
@media (min-width:701px){
  .tpl-cityguide.tpl-more.tpl-hotels .wrap>.sec:first-child:is(#stays,#shortlist){margin-top:16px;padding-top:28px}
  .tpl-cityguide.tpl-more.tpl-hotels :is(#stays,#shortlist)>.head{margin-bottom:14px}
  .tpl-cityguide.tpl-more.tpl-hotels :is(#stays,#shortlist)>.head .eyebrow{display:none}
  .tpl-cityguide.tpl-more.tpl-hotels :is(#stays,#shortlist)>.head h2{margin-top:0;font-size:var(--fs-2xl)}
  .tpl-cityguide.tpl-more.tpl-hotels .guide-intro{padding-top:20px}
  .tpl-cityguide.tpl-more.tpl-hotels .guide-intro .lede{max-width:96ch;margin-top:0}
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar{margin-top:16px;padding:14px 18px}
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar .tb-h{margin-bottom:8px}
  .tpl-hotels #sides>.lede{margin-bottom:24px}
}
/* a wide screen: the trip bar's search on the same row as its fields */
@media (min-width:1101px){
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar :is(.tb-h,.tb-hint,.ages,.form-err,.tb-note){grid-column:1/-1}
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar .tb-f{grid-column:1;grid-row:2}
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar .tb-go{display:contents}
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar .go{grid-column:2;grid-row:2;align-self:end}
  .tpl-cityguide.tpl-more.tpl-hotels .trip-bar .tb-hint{margin-top:8px}
}
/* a computer: each card's photo fills its column to the card's height; between 701 and 900px a square, so a tall crop
   never cuts off a hotel's name on its sign */
@media (min-width:901px){
  .tpl-hotels .hl-card:not(.np) .ph{align-self:stretch;aspect-ratio:auto;min-height:210px}
  .tpl-hotels .hl-card:not(.np) .ph img{position:absolute;inset:0;height:100%}
}
@media (min-width:701px) and (max-width:900px){
  .tpl-hotels .hl-card:not(.np) .ph{aspect-ratio:1/1}
}
/* the closing booking band in navy, like the site's other closing bands; its partner buttons stay yellow */
.tpl-hotels .hl-close{background:var(--tec-navy);color:var(--white);padding:32px 0;margin-bottom:48px;box-shadow:0 0 0 100vmax var(--tec-navy);clip-path:inset(0 -100vmax -1px)}
.tpl-cityguide.tpl-more.tpl-hotels .sec.hl-close .eyebrow{color:#B9D0E8}
.tpl-cityguide.tpl-more.tpl-hotels .sec.hl-close h2{color:var(--white)}
.tpl-cityguide.tpl-more.tpl-hotels .sec.hl-close .lede{color:#DCE7F2}
.tpl-cityguide.tpl-more.tpl-hotels .sec.hl-close .more-line a{color:var(--white);text-decoration-color:rgba(255,255,255,.6)}
.tpl-cityguide.tpl-more.tpl-hotels .sec.hl-close :is(a,button):focus-visible{outline-color:var(--white)}

/* the hotel list's filters to Victor's universal page standard (10 Nov 2026, §7): the side of the river in the bar, the
   facilities behind "More filters" (the bar's own panel on a computer, a sheet on a phone), and the filters that are on as
   chips that take them off, with Clear all (js/search-tabs.js) */
.tpl-hotels .hl-tools2 .hl-first{align-items:center}
.tpl-hotels .hl-gl{margin:0;font:600 var(--fs-sm)/1.2 var(--sans);color:var(--tec-ink)}
.tpl-hotels .hl-first .hl-gl{margin-right:4px}
.tpl-hotels .hl-chips .chip .c{margin-left:2px;font-weight:500;color:var(--tec-muted)}
.tpl-hotels .hl-chips .chip[aria-pressed="true"] .c{color:#DCE7F2}
.tpl-hotels .hl-fbtn{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:8px 14px;border:1px solid var(--tec-blue);border-radius:var(--tec-btn-radius);
  background:var(--white);font:600 var(--fs-sm)/1.2 var(--sans);color:var(--tec-blue);cursor:pointer}
.tpl-hotels .hl-fbtn::before{content:"";width:16px;height:16px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E") center/contain no-repeat}
.tpl-hotels .hl-fbtn[aria-expanded="true"]{background:var(--tec-soft)}
.tpl-hotels .hl-fbtn .p,.tpl-hotels .hl-fbtn .n[hidden]{display:none}
.tpl-hotels .hl-fbtn:focus-visible,.tpl-hotels .hl-fp :is(button,a):focus-visible,.tpl-hotels .hl-active button:focus-visible{outline:var(--focus);outline-offset:2px}
/* the panel: in the bar's flow on a computer */
.tpl-hotels dialog.hl-fp{position:static;flex-basis:100%;width:auto;max-width:none;margin:0;padding:16px 18px;border:1px solid var(--tec-card-line);
  border-radius:var(--tec-radius);background:var(--tec-soft);color:var(--tec-ink)}
.tpl-hotels dialog.hl-fp:not([open]){display:none}
.tpl-hotels .hl-fp-top,.tpl-hotels .hl-fp-first{display:none}
.tpl-hotels .hl-fp-g .hl-gl{margin:0 0 10px}
.tpl-hotels .hl-fp-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 18px;margin-top:14px}
/* the filters that are on */
.tpl-hotels .hl-active{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;flex-basis:100%}
.tpl-hotels .hl-active[hidden]{display:none}
.tpl-hotels .hl-on{display:flex;flex-wrap:wrap;gap:8px}
.tpl-hotels .hl-on .chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border:1px solid var(--tec-blue);border-radius:999px;
  background:var(--sky-2);font:600 var(--fs-sm)/1.2 var(--sans);color:var(--tec-blue);cursor:pointer}
.tpl-hotels .hl-on .chip span{font-size:var(--fs-md);line-height:1}
.tpl-hotels .hl-active .linkish{min-height:36px}
@media (pointer:coarse){
  .tpl-hotels .hl-fbtn,.tpl-hotels .hl-on .chip,.tpl-hotels .hl-active .linkish{min-height:44px}
}
/* a phone: one Filters button; the sheet holds both groups, rising from the foot of the screen */
@media (max-width:700px){
  .tpl-hotels .hl-tools2 .hl-first{display:none}
  .tpl-hotels .hl-fbtn .w{display:none}
  .tpl-hotels .hl-fbtn .p{display:inline}
  .tpl-hotels dialog.hl-fp:modal{position:fixed;inset:auto 0 0 0;width:100%;max-width:100%;max-height:85vh;margin:0;padding:0;border:0;
    border-radius:16px 16px 0 0;background:var(--white);display:flex;flex-direction:column;overflow:hidden}
  .tpl-hotels dialog.hl-fp::backdrop{background:rgba(11,47,91,.45)}
  .tpl-hotels dialog.hl-fp:modal .hl-fp-top{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 16px;border-bottom:1px solid var(--tec-card-line)}
  .tpl-hotels .hl-fp-h{margin:0;font:600 var(--fs-lg)/1.2 var(--sans);color:var(--tec-ink)}
  .tpl-hotels .hl-fp-x{width:44px;height:44px;border:0;background:none;font-size:28px;line-height:1;color:var(--tec-ink);cursor:pointer}
  .tpl-hotels dialog.hl-fp:modal .hl-fp-first{display:block}
  .tpl-hotels dialog.hl-fp:modal .hl-fp-g{padding:14px 16px 4px;overflow:visible}
  .tpl-hotels dialog.hl-fp:modal{overflow-y:auto}
  .tpl-hotels dialog.hl-fp .hl-chips{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
  .tpl-hotels dialog.hl-fp .hl-chips .chip{min-height:44px}
  .tpl-hotels dialog.hl-fp:modal .hl-fp-foot{position:sticky;bottom:0;margin-top:auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--white);
    border-top:1px solid var(--tec-card-line);justify-content:space-between}
  .tpl-hotels dialog.hl-fp:modal .hl-fp-foot .pill{flex:1;justify-content:center;max-width:240px}
}
/* the rest of the trip: three photo cards and the city's other pages */
.tpl-hotels #plan .near{margin-bottom:20px}
.tpl-hotels #plan .near a{text-decoration:none}
/* the review of 10 Nov 2026: the bar clears the sticky header when the phone sheet's "Show N stays" brings it back, and the
   rest-of-the-trip cards' words hold their contrast over a bright photo */
.tpl-hotels .hl-tools{scroll-margin-top:76px}
.tpl-hotels #plan .near a .veil{background:linear-gradient(to top,rgba(5,25,48,.88) 0%,rgba(5,25,48,.72) 40%,rgba(5,25,48,.35) 75%,rgba(5,25,48,0) 100%)}
.tpl-hotels #plan .near :is(.nm,.how){text-shadow:0 1px 3px rgba(5,25,48,.6)}
.tpl-hotels #plan .near .how{opacity:1}
.tpl-hotels dialog.hl-fp:not(:modal) .hl-fp-g+.hl-fp-g{margin-top:16px}

/* The transportation hub (14 Nov 2026, transport_hub() in gen-pages.py): the destinations page's layout (tpl-dest), with
   each city a row of its own in an open country: the city's chip, its airports in gray, and the step-by-step airport
   transfers page as a text link, so the city stays the main link. The closing band's two links read on navy. */
.tpl-transport-hub .dir-shell details.country .city-list{flex-direction:column;flex-wrap:nowrap;gap:0;padding-top:4px;padding-bottom:4px}
.tpl-transport-hub .dir-shell details.country .city-list li{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 0;border-bottom:1px solid var(--th-hair)}
.tpl-transport-hub .dir-shell details.country .city-list li:last-child{border-bottom:0}
.tpl-transport-hub .dir-shell details.country .city-list .links{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;text-align:left}
.tpl-transport-hub .dir-shell details.country .city-list .air{font-size:var(--fs-sm);line-height:var(--lh-snug);color:var(--pewter)}
.tpl-transport-hub .dir-shell details.country .city-list .links a{min-height:32px;padding:0;background:none;border:0;border-radius:0;white-space:normal}
.tpl-transport-hub .dir-shell details.country .city-list .links a::after{content:"\00a0\2192";content:"\00a0\2192" / "";font-weight:400}
@media(hover:hover){.tpl-transport-hub .dir-shell details.country .city-list .links a:hover{background:none;text-decoration:underline;text-underline-offset:3px}}
@media(max-width:700px){.tpl-transport-hub .dir-shell details.country .city-list .links a{min-height:44px}}
.tpl-transport-hub #next .dest-cta p a{color:var(--white);text-decoration:underline;text-underline-offset:3px}

/* transportation pages: every button that books is yellow, whoever sells it (15 Nov 2026, Sharod: "all call to action
   buttons should be yellow"): the cards', rows' and getting-around cards' buttons, and the airport choices' and onward
   cities' links to a booking page, drawn as buttons. In-page buttons (View all, the closing band's, Ask TEC's) stay blue. */
.tpl-transport a.pill.tf-go[data-external-booking]:not(#tec){background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);color:var(--tec-on-yellow);box-shadow:none;text-decoration:none}
.tpl-transport a.tr-go[target="_blank"]:not(#tec){display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;max-width:100%;min-height:44px;margin-top:auto;padding:10px 16px;
  background:var(--tec-yellow);border:1px solid var(--tec-yellow-edge);border-radius:var(--tec-btn-radius);color:var(--tec-on-yellow);font-weight:600;line-height:var(--lh-snug);text-align:center;text-decoration:none}
@media(hover:hover){.tpl-transport :is(a.pill.tf-go[data-external-booking],a.tr-go[target="_blank"]):not(#tec):hover{background:var(--tec-yellow-hover);border-color:var(--tec-yellow-edge);color:var(--tec-on-yellow);text-decoration:none}}

/* ==================== Victor's photo lift (21 Nov 2026): the veils in the text's zone ====================
   css/photo-lift.css (his file, loaded last on every page) lightens the photo headers' veils. Measured from the rendered
   pixels (the 95th-percentile background under each line of text, text shadows left out), his veils left the white
   header text below WCAG AA over bright photos on every kind of header; these layers were checked on about 400 pages
   (every where-to-stay, city, food, country and destinations header) at up to nine widths from 320 to 1920px. His veils
   stay as he wrote them; each gets one more layer, only where its text sits (on a computer the column the text holds, a
   pseudo-element on the veil, or on the header where the veil is the header's own ::before or its inline background; on
   a phone a band behind each block of words, below), just dark enough to bring the text there to AA (4.5:1, 3:1 for the
   headline) on the brightest photo measured, with a small margin. The rest of each photo keeps his lift. --pl-x is where
   the text starts: the page column's left edge plus its gutter; --pl-f the phone bands' fade. */
:is(.hero-band,.g-hero,.table-hero) .veil::after,.mk-veil::after{content:"";position:absolute;inset:0;pointer-events:none}
:is(.hero-band,.g-hero,.table-hero,.mk-hero,.dest-hero.photo){--pl-x:max(24px,50% - 576px);--pl-f:20px}

/* guide headers (city, food, neighborhood, itinerary, day-trip and other city pages): the breadcrumb and kicker column,
   then the headline's */
.g-hero .veil::after{background:linear-gradient(90deg,rgba(5,25,48,.66) 0,rgba(5,25,48,.66) calc(var(--pl-x) + 460px),rgba(5,25,48,.32) calc(var(--pl-x) + 600px),rgba(5,25,48,.32) calc(var(--pl-x) + 800px),rgba(5,25,48,.12) calc(var(--pl-x) + 940px),rgba(5,25,48,0) calc(var(--pl-x) + 1080px))}
/* where to stay: the breadcrumb's band and the headline's and its line's, the photo between them left as he lit it (the
   header is 609px tall on a computer, the headline at the foot of its column above the search) */
.mk-veil::after{background:linear-gradient(90deg,rgba(5,25,48,.52) 0,rgba(5,25,48,.52) calc(var(--pl-x) + 760px),rgba(5,25,48,.30) calc(var(--pl-x) + 880px),rgba(5,25,48,.12) calc(var(--pl-x) + 1020px),rgba(5,25,48,0) calc(var(--pl-x) + 1160px));
  -webkit-mask-image:linear-gradient(180deg,#000 0,#000 76px,transparent 124px,transparent 196px,#000 250px,#000 450px,transparent 500px);
  mask-image:linear-gradient(180deg,#000 0,#000 76px,transparent 124px,transparent 196px,#000 250px,#000 450px,transparent 500px)}
/* France's region pages (2 Dec 2026): an eyebrow sits over the headline, anywhere from 80px to 210px down as the headline
   takes two to four lines, so the layer covers the whole words' column, the crumbs to the lede, and fades before the search
   (La Rochelle's tower put the eyebrow at 4.2:1 in the city pages' gap) */
@media(min-width:861px){
  .tpl-regionstay .mk-veil::after{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 440px,transparent 490px);
    mask-image:linear-gradient(180deg,#000 0,#000 440px,transparent 490px)}
}
/* the homepage: its words' column, and the photo's caption in the corner */
.hero-band .veil::after{background:radial-gradient(600px 110px at 100% 100%,rgba(5,25,48,.62) 0,rgba(5,25,48,.62) 70%,rgba(5,25,48,0) 100%),
  linear-gradient(90deg,rgba(5,25,48,.42) 0,rgba(5,25,48,.42) calc(var(--pl-x) + 800px),rgba(5,25,48,.16) calc(var(--pl-x) + 940px),rgba(5,25,48,0) calc(var(--pl-x) + 1080px))}
/* the Table's home: its words' column, and the photo's caption in the corner */
.table-home .table-hero .veil::after{background:radial-gradient(600px 110px at 100% 100%,rgba(5,25,48,.62) 0,rgba(5,25,48,.62) 70%,rgba(5,25,48,0) 100%),
  linear-gradient(90deg,rgba(5,25,48,.20) 0,rgba(5,25,48,.20) calc(var(--pl-x) + 620px),rgba(5,25,48,.08) calc(var(--pl-x) + 740px),rgba(5,25,48,0) calc(var(--pl-x) + 860px))}
/* the destinations pages and the transportation hub: his veil is the header's ::before; the headline's column */
.tpl-dest .dest-hero.photo::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(5,25,48,.18) 0,rgba(5,25,48,.18) calc(var(--pl-x) + 1020px),rgba(5,25,48,.06) calc(var(--pl-x) + 1140px),rgba(5,25,48,0) calc(var(--pl-x) + 1260px))}
/* between a phone and 1024px the where-to-stay text column fills more of the header */
@media(min-width:861px) and (max-width:1023px){
  .mk-veil::after{background:linear-gradient(90deg,rgba(5,25,48,.62) 0,rgba(5,25,48,.62) calc(var(--pl-x) + 760px),rgba(5,25,48,.30) calc(var(--pl-x) + 880px),rgba(5,25,48,.12) calc(var(--pl-x) + 1020px),rgba(5,25,48,0) calc(var(--pl-x) + 1160px))}
}

/* the country pages: his veil is the header's inline background, so their layer is the header's own ::before (below) */
.tpl-country.tpl-flagship .dest-hero.photo{position:relative}
.tpl-country.tpl-flagship .dest-hero.photo>.wrap{position:relative}
.tpl-country.tpl-flagship .dest-hero.photo::before{content:"";position:absolute;inset:0;pointer-events:none}

/* ---------- phones (his own breakpoints): a band behind each block of words, not a layer down the header ----------
   A layer down the whole header undid his lift on a phone (the review of 21 Nov 2026: the where-to-stay header came out
   as dark as before the lift, and the destinations and hub headers hardly lighter). So each block of words (the
   breadcrumb, the eyebrow, the headline, the lede) gets its own soft band, as tall as its lines wherever they wrap,
   running the width of the screen and fading out over 30px above and below; the first block's runs up to the top of the
   header (no fade there), like the darker strip behind a breadcrumb the headers had before. The photo between the blocks
   and under them keeps his light. The band is the block's border image (filled, outset past the box: ink overflow, so
   nothing scrolls), which is painted with the backgrounds, under every block's words and over his veil. --pl-band is its
   darkness: the extra navy the block needed for AA (4.5:1, 3:1 for the headline) on the brightest photo measured at
   390px (all 100 where-to-stay headers, every city, food, country and destinations header and 120 other guide headers),
   plus about .04, then raised where a check at 320 to 860px still came out short. --pl-up is how far it runs above the
   block, --pl-in its fade there; --pl-dn and --pl-in2 the same below. */
@media(max-width:860px){
  .mk-veil::after,.hero-band .veil::after{background:none;-webkit-mask-image:none;mask-image:none}
  :is(.mk-hero :is(.crumbs,h1,.mk-hero-lede),.hero-band .hero-copy :is(.eyebrow,h1,.lede)){
    border-image:linear-gradient(180deg,transparent,var(--pl-band) var(--pl-in,var(--pl-f)),var(--pl-band) calc(100% - var(--pl-in2,var(--pl-f))),transparent) 0 fill/0/var(--pl-up,var(--pl-f)) 100vw var(--pl-dn,var(--pl-f))}
  .mk-hero .crumbs{--pl-band:rgba(5,25,48,.64);--pl-up:30px;--pl-in:0px}
  .mk-hero h1{--pl-band:rgba(5,25,48,.30)}
  .mk-hero .mk-hero-lede{--pl-band:rgba(5,25,48,.38)}
  .hero-band .hero-copy .eyebrow{--pl-band:rgba(5,25,48,.57)}
  .hero-band .hero-copy h1{--pl-band:rgba(5,25,48,.20)}
  .hero-band .hero-copy .lede{--pl-band:rgba(5,25,48,.38)}
}
@media(max-width:700px){
  .g-hero .veil::after,.table-home .table-hero .veil::after,.tpl-dest .dest-hero.photo::after,.tpl-country.tpl-flagship .dest-hero.photo::before{background:none}
  :is(.g-hero :is(.crumbs,h1),.table-home .table-hero :is(.copy :is(h1,.lede,.cta),.credit),.tpl-dest .dest-hero.photo :is(.crumbs,.lede),.tpl-country.tpl-flagship .dest-hero.photo :is(.crumbs,h1,.lede)){
    border-image:linear-gradient(180deg,transparent,var(--pl-band) var(--pl-in,var(--pl-f)),var(--pl-band) calc(100% - var(--pl-in2,var(--pl-f))),transparent) 0 fill/0/var(--pl-up,var(--pl-f)) 100vw var(--pl-dn,var(--pl-f))}
  /* the where-to-stay and homepage headers' first blocks: exactly to the header's top (these headers let ink run out
     below and above them, over the phone menu row) */
  .mk-hero .crumbs{--pl-up:25px}
  .hero-band .hero-copy .eyebrow{--pl-up:30px;--pl-in:0px}
  .g-hero .crumbs{--pl-band:rgba(5,25,48,.56);--pl-up:40px;--pl-in:0px}
  .g-hero h1{--pl-band:rgba(5,25,48,.39)}
  .table-home .table-hero .copy h1{--pl-band:rgba(5,25,48,.33)}
  .table-home .table-hero .copy .lede{--pl-band:rgba(5,25,48,.34)}
  .table-home .table-hero .copy .cta{--pl-band:rgba(5,25,48,.42)}
  .table-home .table-hero .credit{--pl-band:rgba(5,25,48,.29)}
  /* the destinations and hub headers: the eyebrow (an inline box, painted with the words) is covered by the
     breadcrumb's band, run on down past it */
  .tpl-dest .dest-hero.photo .crumbs{--pl-band:rgba(5,25,48,.60);--pl-up:40px;--pl-in:0px;--pl-dn:calc(60px + var(--pl-f))}
  .tpl-dest .dest-hero.photo .lede{--pl-band:rgba(5,25,48,.35)}
  .tpl-country.tpl-flagship .dest-hero.photo .crumbs{--pl-band:rgba(5,25,48,.30);--pl-up:16px;--pl-in:0px}
  .tpl-country.tpl-flagship .dest-hero.photo h1{--pl-band:rgba(5,25,48,.08)}
  .tpl-country.tpl-flagship .dest-hero.photo .lede{--pl-band:rgba(5,25,48,.25)}
}
/* the country pages on a computer: his veil is the header's inline background, so the layer is the header's ::before,
   now only as wide as the words run (the headline's rows out to where the longest headline ends, the lede's rows at a
   little less, and the stats line's row at the foot) instead of across the whole header (the review of 21 Nov 2026: at
   1366px Italy's header came out darker than before the lift, the photo beside the words included). Its darkness by
   width, from the countries' headers measured at 768, 1024, 1366 and 1920px: --pl-a for the breadcrumb to the headline,
   --pl-k the share of it on the lede's rows, --pl-s on the stats line. */
@media(min-width:701px){
  .tpl-country.tpl-flagship .dest-hero.photo{--pl-a:rgba(5,25,48,.34);--pl-k:.88;--pl-s:.7}
  .tpl-country.tpl-flagship .dest-hero.photo::before{
    background:linear-gradient(90deg,var(--pl-a) 0,var(--pl-a) calc(var(--pl-x) + 1120px),transparent calc(var(--pl-x) + 1240px)) top/100% 430px no-repeat,
      linear-gradient(90deg,var(--pl-a) 0,var(--pl-a) calc(var(--pl-x) + 560px),transparent calc(var(--pl-x) + 680px)) bottom/100% 140px no-repeat;
    -webkit-mask-image:linear-gradient(180deg,#000 0,#000 250px,rgba(0,0,0,var(--pl-k)) 270px,rgba(0,0,0,var(--pl-k)) 375px,transparent 420px,transparent calc(100% - 130px),rgba(0,0,0,var(--pl-s)) calc(100% - 105px));
    mask-image:linear-gradient(180deg,#000 0,#000 250px,rgba(0,0,0,var(--pl-k)) 270px,rgba(0,0,0,var(--pl-k)) 375px,transparent 420px,transparent calc(100% - 130px),rgba(0,0,0,var(--pl-s)) calc(100% - 105px))}
}
@media(min-width:701px) and (max-width:1023px){.tpl-country.tpl-flagship .dest-hero.photo{--pl-a:rgba(5,25,48,.44);--pl-k:1;--pl-s:.6}}
@media(min-width:1024px) and (max-width:1279px){.tpl-country.tpl-flagship .dest-hero.photo{--pl-a:rgba(5,25,48,.39);--pl-k:.8;--pl-s:.62}}

/* The quick answer under a page's header (30 Nov 2026, AI plan step 4): plain text, our fonts, no box, no yellow */
.qa-quick{background:#fff;padding:22px 0 20px}
.qa-quick h2{margin:0 0 8px;font-size:var(--fs-xl);line-height:var(--lh-snug)}
.qa-quick .qa-text{margin:0;max-width:72ch;padding-left:14px;border-left:3px solid rgba(11,78,162,.32);font:var(--fs-md)/1.55 var(--sans);color:var(--tec-ink);text-wrap:pretty}
.qa-quick .qa-checked{margin:8px 0 0;padding-left:17px;font:var(--fs-sm)/1.45 var(--sans);color:var(--tec-body)}
