/* Destination pages (/destinations/<city>, owner brief 2026-12-01): one template for every Destination Spotlight city,
   built by _cms/build-destinations.mjs. Builds on w101-editorial.css (type, colours, .ed-media, .ed-more). Compact
   editorial layout: photo-led, but with modest image heights and short distances between the categories. */
.ds { --bar: 84px; }
.ds [id] { scroll-margin-top: calc(var(--bar) + 50px); }

.ds-back { padding-top: clamp(18px, 2vw, 26px); }
.ds-back a { font: 400 10.5px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); transition: color .2s; }
.ds-back a:hover { color: var(--gold); }
.ds-back--end { padding: 52px var(--gut) 72px; }

/* hero: photo left, name and headline right */
.ds-hero { padding: clamp(22px, 2.4vw, 34px) 0 clamp(60px, 7vw, 104px); }
.ds-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 4.4vw, 68px); align-items: center; }
.ds-hero__media { aspect-ratio: 3 / 2; }
.ds-hero__title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 5.6vw, 86px); line-height: 1; letter-spacing: 0.02em; }
.ds-hero__headline { margin-top: 16px; font-family: var(--serif); font-size: clamp(21px, 1.9vw, 28px); line-height: 1.25; color: var(--ink-soft); }
.ds-award { display: inline-block; margin-top: 28px; padding: 11px 0 10px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  font: 400 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.ds-by { margin-top: 26px; font: 400 10px/1.5 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }

/* the destination (owner 2026-12-03, was plain two-column text): first paragraph as a large serif lead with a gold italic
   accent across the band, the other paragraphs below in columns separated by fine lines */
.ds-intro { background: var(--sage); padding: clamp(64px, 7.4vw, 112px) 0; }
.ds-intro__label { font: 400 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ds-intro__lead { margin-top: clamp(22px, 2.4vw, 34px); max-width: 1120px; font-family: var(--serif); font-size: clamp(27px, 3.2vw, 48px); line-height: 1.22; text-wrap: pretty; }
.ds-intro__lead em { font-style: italic; color: var(--gold); }
.ds-intro__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.55fr); margin-top: clamp(40px, 5vw, 76px); padding-top: clamp(28px, 2.8vw, 40px); border-top: 1px solid var(--ink); }
.ds-intro__text p + p { margin-left: clamp(16px, 2vw, 30px); padding-left: clamp(16px, 2vw, 30px); border-left: 1px solid var(--rule); }

/* anchor navigation, kept in view under the compact bar */
.ds-jump { position: sticky; top: 0; z-index: 20; margin-top: clamp(22px, 2.4vw, 36px); background: rgba(255,255,255,.97); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
body.ds:has(.ed-bar.is-on) .ds-jump { top: var(--bar); }
.ds-jump ul { display: flex; justify-content: center; flex-wrap: wrap; column-gap: clamp(20px, 2.6vw, 40px); }
.ds-jump a { display: block; padding: 20px 0 19px; font: 400 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; position: relative; transition: color .2s; }
.ds-jump a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.ds-jump a:hover { color: var(--gold); }
.ds-jump a:hover::after { transform: scaleX(1); }

/* sections */
.ds-sec { padding: clamp(76px, 8.8vw, 136px) 0; }
.ds-sec + .ds-sec { border-top: 1px solid var(--rule); }
.ds-sec--notes { background: var(--sage); border-top: 0 !important; }
.ds-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 72px); align-items: start; margin-bottom: clamp(40px, 5vw, 76px); }
.ds-num { font: 400 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ds-num span { margin: 0 4px; }
.ds-head__title { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.1; }
.ds-head__intro { color: var(--ink-soft); }
.ds-head__intro p + p { margin-top: 16px; }

/* shared card parts */
.ds-feature__media, .ds-card__media, .ds-note__media, .ds-beyond__media { position: relative; }
.ds-rank { position: absolute; top: 0; left: 12px; display: grid; justify-items: center; min-width: 44px; padding: 7px 7px 8px; background: #fff;
  font: 400 8px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.ds-rank b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: 0; color: var(--ink); margin: 2px 0 2px; }
.ds-rank span:last-child { color: var(--gold); }
.ds-label { display: inline-block; margin-bottom: 12px; padding: 5px 9px 4px; border: 1px solid var(--gold); font: 400 9.5px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ds-meta { font: 400 10.5px/1.6 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.ds-sep { margin: 0 10px; color: var(--gold); }
.ds-name { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; }
.ds-name a { transition: color .2s; }
.ds-name a:hover { color: var(--gold); }
.ds-facts { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.ds-link { margin-top: 26px; }
.ds-text p + p { margin-top: 16px; }
.ds-ph { display: grid; place-items: center; background: #e4e1dc; }
.ds-ph > span:first-child { font: 400 9.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }

/* featured establishment: photo + text on the light band */
.ds-feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); background: var(--sage); }
.ds-feature__media { aspect-ratio: 4 / 5; max-height: 600px; width: 100%; }
.ds-feature__body { align-self: center; padding: clamp(32px, 4vw, 64px); }
.ds-feature .ds-name { margin: 12px 0 22px; font-size: clamp(28px, 2.5vw, 38px); }
.ds-feature .ds-text { max-width: 600px; }
.ds-feature .ds-rank { left: 16px; min-width: 54px; padding: 9px 9px 10px; font-size: 8.5px; }
.ds-feature .ds-rank b { font-size: 32px; }

/* card grid */
.ds-more-title { margin: clamp(60px, 6.4vw, 96px) 0 clamp(28px, 2.8vw, 40px); padding-bottom: 14px; border-bottom: 1px solid var(--ink); font: 400 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.ds-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px clamp(20px, 2.5vw, 36px); }
.ds-cards:has(> li:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ds-card { display: flex; flex-direction: column; }
.ds-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.ds-card__media { aspect-ratio: 1; margin-bottom: 22px; }
.ds-card:hover .ds-card__media img { transform: scale(1.035); }
.ds-card .ds-name { margin-top: 6px; font-size: clamp(19px, 1.5vw, 22px); }
.ds-card__text { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.ds-card .ds-link { margin-top: auto; padding-top: 22px; font-size: 10.5px; }

/* editorial note inside a section */
.ds-note { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(22px, 2.6vw, 40px); align-items: center; margin-top: clamp(32px, 3.4vw, 44px); max-width: 980px; }
.ds-note__media { aspect-ratio: 1; }
.ds-note__title { margin-bottom: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 26px); }
.ds-outro { text-wrap: balance; margin-top: clamp(48px, 5.2vw, 76px); max-width: 820px; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.ds-ranking { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: clamp(48px, 5.2vw, 76px); padding-top: 26px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-soft); }

/* beyond the table */
.ds-beyond { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 5.6vw, 84px) clamp(24px, 3.2vw, 48px); }
.ds-beyond li { display: flex; flex-direction: column; }
.ds-beyond__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.ds-beyond .ds-meta { margin-bottom: 6px; }
.ds-beyond .ds-link { margin-top: auto; padding-top: 22px; font-size: 10.5px; }
.ds-beyond__media { aspect-ratio: 3 / 2; margin-bottom: 24px; }
.ds-beyond__title { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.15; }
.ds-beyond__text { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

/* travel notes: information grid */
.ds-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(18px, 2.4vw, 36px); margin: 0; }
.ds-notes > div { padding-top: 14px; border-top: 1px solid var(--ink); }
.ds-notes > div:last-child:nth-child(4n + 3) { grid-column: span 2; }
.ds-notes dt { font: 400 10.5px/1.5 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.ds-notes dd { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* insider's note: light band, white only when the travel notes (same light band) come directly before it, set like a magazine column: photo beside a large serif lead, an italic accent,
   body text with a drop cap, an italic closing line and the signature */
.ds-insider { background: var(--sage); padding: clamp(80px, 9vw, 140px) 0; }
.ds-sec--notes + .ds-insider { background: #fff; }
.ds-insider__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 5.2vw, 88px); align-items: center; }
.ds-insider--solo .ds-insider__grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.ds-insider__fig { margin: 0; }
.ds-insider__media { aspect-ratio: 4 / 5; }
.ds-insider__fig figcaption { margin-top: 12px; font: 400 9.5px/1.5 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.ds-insider__lead { margin-top: 26px; font-family: var(--serif); font-size: clamp(27px, 2.5vw, 38px); line-height: 1.2; }
.ds-insider__accent { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.1vw, 31px); line-height: 1.2; color: var(--gold); }
.ds-insider__text { margin-top: clamp(26px, 2.6vw, 36px); padding-top: clamp(24px, 2.4vw, 32px); border-top: 1px solid var(--rule);
  font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 620px; }
.ds-insider__text p + p { margin-top: 18px; }
.ds-insider__text p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 58px; line-height: 0.8; margin: 6px 8px 0 -1px; color: var(--ink); }
.ds-insider__close { margin-top: clamp(26px, 2.6vw, 34px); font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.35; }
.ds-insider__sign { margin-top: 22px; font: 400 10px/1.6 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.ds-insider__sign::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 12px 0 0; vertical-align: middle; background: var(--gold); }

@media (max-width: 1100px) {
  .ds-cards, .ds-cards:has(> li:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ds-beyond { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-notes > div:last-child:nth-child(4n + 3) { grid-column: auto; }
}
@media (max-width: 860px) {
  .ds-hero__grid, .ds-head, .ds-feature, .ds-insider__grid, .ds-intro__text { grid-template-columns: 1fr; }
  .ds-intro__text p + p { margin: 20px 0 0; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .ds-insider__fig { max-width: 420px; }
  .ds-insider__media { aspect-ratio: 4 / 3; }
  .ds-head { gap: 16px; }
  .ds-feature__media { aspect-ratio: 4 / 3; max-height: none; }
}
@media (max-width: 720px) {
  .ds { --bar: 70px; }
  .ds-hero__grid { gap: 22px; }
  .ds-hero__title { font-size: 50px; }
  .ds-jump ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .ds-jump ul::-webkit-scrollbar { display: none; }
  .ds-jump a { white-space: nowrap; }
  .ds-feature__body { padding: 32px 22px 38px; }
  /* cards and discoveries as compact rows: small square photo beside the text */
  .ds-cards, .ds-cards:has(> li:nth-child(5)), .ds-beyond { grid-template-columns: 1fr; gap: 36px; }
  .ds-card, .ds-beyond li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .ds-card__media, .ds-beyond__media { aspect-ratio: 1; margin: 0; }
  .ds-card .ds-rank { left: 0; min-width: 34px; padding: 4px 5px 5px; font-size: 6.5px; }
  .ds-card .ds-rank b { font-size: 17px; margin: 1px 0; }
  .ds-card .ds-name { margin-top: 4px; }
  .ds-card .ds-link { padding-top: 14px; }
  .ds-beyond__text { margin-top: 6px; }
  .ds-beyond .ds-link { padding-top: 14px; }
  .ds-ph > span:first-child { font-size: 8px; letter-spacing: 0.14em; text-align: center; padding: 0 6px; }
  .ds-note { grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 16px; }
  .ds-notes { grid-template-columns: 1fr; gap: 20px; }
}
.ds-feature + .ds-cards, .ds-note + .ds-cards { margin-top: clamp(48px, 5.2vw, 76px); }
.ds-credit { position: absolute; left: 0; bottom: 0; padding: 5px 9px 4px; background: rgba(255,255,255,.9); font: 400 9.5px/1.4 var(--sans); letter-spacing: 0.04em; color: var(--ink-soft); }
/* two cards only: half the width each, landscape photos */
@media (min-width: 721px) {
  .ds-cards:not(:has(> li:nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-cards:not(:has(> li:nth-child(3))) .ds-card__media { aspect-ratio: 3 / 2; }
}
/* featured photo always fills the panel, also when the text is taller than the photo */
@media (min-width: 861px) {
  .ds-feature__media { aspect-ratio: auto; max-height: none; min-height: min(600px, 41.7vw); height: 100%; }
  .ds-feature__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
/* a single card: text left, photo right (mirrors the featured block above it) */
@media (min-width: 721px) {
  .ds-cards:not(:has(> li:nth-child(2))) { grid-template-columns: minmax(0, 1fr); }
  .ds-card:only-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
  .ds-card:only-child .ds-card__media { order: 2; margin: 0; aspect-ratio: 5 / 4 !important; }
  .ds-card:only-child .ds-name { margin-top: 10px; font-size: clamp(28px, 2.5vw, 38px); }
  .ds-card:only-child .ds-card__text { margin-top: 18px; font-size: inherit; line-height: 1.7; color: inherit; }
  .ds-card:only-child .ds-link { margin-top: 4px; font-size: 11px; }
}
/* one bar only (owner 2026-12-02): while scrolling, the compact site bar shows the logo and the menu button; the page's
   own navigation slides into it, so the two menus never stand below each other. The full site menu opens via the button. */
.ds .ed-bar .ed-wrap > ul { display: none; }
.ds .ed-bar .ed-burger { display: block; }
@media (min-width: 861px) {
  .ds [id] { scroll-margin-top: var(--bar); }
  .ds-jump, body.ds:has(.ed-bar.is-on) .ds-jump { top: -1px; }
  .ds-jump { z-index: 51; background: none; pointer-events: none; }
  .ds-jump ul { align-items: center; height: var(--bar); flex-wrap: nowrap; }
  .ds-jump a { pointer-events: auto; white-space: nowrap; }
}
