/* ===========================================================================
   Delfino — theme styles (front end + editor)
   Palette and structural devices taken from the Delfino Tours print catalogue:
   petrol blue #005983, jungle green #3F7248, sage band #BFDD9B, wide-tracked caps,
   dotted rules and the vertical destination tab.
   =========================================================================== */

:root {
  --dt-line: rgba(0, 89, 131, 0.15);
  --dt-line-strong: rgba(0, 89, 131, 0.3);
  --dt-dotted: rgba(0, 89, 131, 0.35);
  --dt-shadow: 0 20px 44px -26px rgba(6, 39, 51, 0.45);
  --dt-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
:where(a):focus-visible,
:where(button):focus-visible,
:where(input, select, textarea):focus-visible { outline: 2px solid var(--wp--preset--color--deep); outline-offset: 2px; }

/* ---------- Eyebrow / section labels (the catalogue's signature) ---------- */
.is-style-eyebrow,
.dt-eyebrow {
  font-family: var(--wp--preset--font-family--sans) !important;
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wp--preset--color--deep);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.is-style-eyebrow::before,
.dt-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--wp--preset--color--deep);
  vertical-align: 0.22em;
  margin-right: 0.8rem;
}

/* Dotted rule, as used throughout the catalogue */
.dt-dotted-top { border-top: 1px dotted var(--dt-dotted); }
.dt-dotted-bottom { border-bottom: 1px dotted var(--dt-dotted); }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color .25s var(--dt-ease), color .25s var(--dt-ease), border-color .25s var(--dt-ease); }
.wp-block-button.is-style-outline-light .wp-block-button__link {
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.55);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--deep); border-color: #fff; }
.wp-block-button.is-style-green .wp-block-button__link { background: var(--wp--preset--color--green); color: #fff; }
.wp-block-button.is-style-green .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--deep); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--wp--preset--color--deep); color: var(--wp--preset--color--deep); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--deep); color: #fff; }

/* ---------- Header ---------- */
.dt-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--wp--preset--color--mist);
  border-bottom: 1px solid var(--dt-line);
}
.dt-header .wp-block-site-title a { text-decoration: none; color: var(--wp--preset--color--deep); }
.dt-header .wp-block-site-title a:hover { color: var(--wp--preset--color--deep); }
.dt-header .wp-block-navigation a { color: var(--wp--preset--color--ink); text-decoration: none; }
.dt-header .wp-block-navigation a:hover { color: var(--wp--preset--color--deep); }
.dt-header .dt-mango-link .wp-block-button__link {
  padding: 0.62rem 1.1rem; font-size: 0.7rem;
  background: var(--wp--preset--color--deep); color: #fff; border: 0;
}
.dt-header .dt-mango-link .wp-block-button__link:hover { background: var(--wp--preset--color--deep); color: #fff; }
/* ---------- Logo ---------- */
.dt-logo { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--wp--preset--color--deep); }
.dt-logo--reversed { color: #fff; }
.dt-logo-svg { flex: none; }
.dt-logo-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dt-logo--stacked { flex-direction: column; align-items: flex-start; gap: 6px; }
.dt-logo--stacked.has-desc { flex-direction: row; align-items: flex-end; gap: 0.85rem; }
.dt-logo-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dt-logo-rule { width: 1px; align-self: stretch; background: var(--dt-dotted); margin: 2px 0; flex: none; }
.dt-logo--reversed .dt-logo-rule { background: rgba(255, 255, 255, 0.3); }
.dt-logo--mark { gap: 0; }
.dt-logo small {
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--wp--preset--color--ink-soft); font-weight: 700; line-height: 1; white-space: nowrap;
}
.dt-logo--reversed small { color: rgba(255, 255, 255, 0.6); }
.dt-logo:hover { color: var(--wp--preset--color--deep); }
.dt-logo--reversed:hover { color: var(--wp--preset--color--sage); }
.dt-brandmark { display: flex; align-items: center; }

/* ---------- Hero ---------- */
.dt-hero { min-height: clamp(400px, calc(100svh - 100px), 660px); }
.dt-hero .wp-block-cover__inner-container { width: 100%; }
.dt-hero h1 { color: #fff; font-weight: 300; font-size: clamp(2.15rem, 3.8vw, 3.3rem); max-width: 20ch; letter-spacing: -0.012em; }
.dt-hero .dt-eyebrow { color: #fff; max-width: 62ch; }
.dt-hero .dt-eyebrow::before { background: var(--wp--preset--color--sage); }
.dt-hero p { color: rgba(255, 255, 255, 0.9); max-width: 64ch; }
.dt-hero p.has-large-font-size { font-size: 1.02rem !important; font-weight: 300; line-height: 1.6; }

/* ---------- Stats strip ---------- */
.dt-stats { border-bottom: 1px solid var(--dt-line); }
.dt-stats .wp-block-column { padding: 1.7rem 1.2rem; }
.dt-stats .wp-block-column + .wp-block-column { border-left: 1px dotted var(--dt-dotted); }
.dt-stats strong {
  display: block; font-size: 2.1rem; font-weight: 300; line-height: 1;
  color: var(--wp--preset--color--deep); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.dt-stats p { margin: 0.5rem 0 0; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wp--preset--color--ink-soft); font-weight: 600; line-height: 1.5; }
@media (max-width: 781px) {
  .dt-stats .wp-block-column { padding: 1rem 0.5rem; }
  .dt-stats .wp-block-column + .wp-block-column { border-left: 0; }
}

/* ---------- Destination cards ---------- */
.dt-card { position: relative; overflow: hidden; background: var(--wp--preset--color--mist); }
.dt-card .wp-block-post-featured-image { margin: 0; }
.dt-card .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--dt-ease); }
.dt-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.dt-card .dt-card-body {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.4rem 1.3rem; color: #fff;
  background: linear-gradient(180deg, rgba(6, 39, 51, 0) 0%, rgba(6, 39, 51, 0.55) 42%, rgba(6, 39, 51, 0.9) 100%);
}
.dt-card .wp-block-post-title { margin: 0; font-size: 1.35rem; font-weight: 400; line-height: 1.15; color: #fff; }
.dt-card .wp-block-post-title a { color: #fff; text-decoration: none; }
.dt-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.dt-card .wp-block-post-excerpt { margin: 0.45rem 0 0; font-size: 0.83rem; opacity: 0.86; line-height: 1.5; font-weight: 300; }
.dt-card .dt-meta { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wp--preset--color--sage); margin-bottom: 0.45rem; font-weight: 700; }
.dt-card::after { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: var(--wp--preset--color--sage); opacity: 0; transition: opacity .3s var(--dt-ease); }
.dt-card:hover::after { opacity: 1; }

/* ---------- Journey cards ---------- */
.dt-journey { border: 1px solid var(--dt-line); background: #fff; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .35s var(--dt-ease), border-color .35s var(--dt-ease); }
.dt-journey:hover { box-shadow: var(--dt-shadow); border-color: var(--dt-line-strong); }
.dt-journey .wp-block-post-featured-image { margin: 0; }
.dt-journey .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dt-journey-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.dt-journey .wp-block-post-title { font-size: 1.3rem; margin: 0; line-height: 1.2; font-weight: 400; }
.dt-journey .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--deep); }
.dt-journey .wp-block-post-title a:hover { color: var(--wp--preset--color--deep); }
.dt-journey .wp-block-post-excerpt { font-size: 0.9rem; color: var(--wp--preset--color--ink-soft); margin: 0; font-weight: 300; line-height: 1.6; }
.dt-journey .wp-block-read-more {
  margin-top: auto; padding-top: 0.9rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; text-decoration: none; color: var(--wp--preset--color--deep);
}
.dt-journey .wp-block-read-more::after { content: " →"; }
.dt-journey .wp-block-read-more:hover { color: var(--wp--preset--color--deep); }

/* Meta row */
.dt-meta-row { display: flex; flex-wrap: wrap; gap: 0.35rem 1.2rem; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wp--preset--color--ink-soft); font-weight: 600; }
.dt-meta-row .dt-tier { color: var(--wp--preset--color--deep); font-weight: 700; }
.dt-meta-row .dt-tier::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--wp--preset--color--deep); margin-right: 0.5rem; vertical-align: 0.05em; }

/* ---------- Card group style ---------- */
.wp-block-group.is-style-card { background: #fff; border-top: 3px solid var(--wp--preset--color--deep); padding: 1.8rem 0 0; height: 100%; }
.wp-block-group.is-style-card h4 { margin: 0.9rem 0 0.5rem; color: var(--wp--preset--color--deep); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; }
.wp-block-group.is-style-card p { font-size: 0.92rem; color: var(--wp--preset--color--ink-soft); font-weight: 300; margin: 0; }
.dt-icon { width: 34px; height: 34px; color: var(--wp--preset--color--deep); }
.dt-icon svg { width: 100%; height: 100%; }

/* ---------- Tick lists ---------- */
ul.is-style-ticks { list-style: none; padding-left: 0; }
ul.is-style-ticks li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; font-weight: 300; }
ul.is-style-ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--wp--preset--color--deep); }

/* ---------- Mango section ---------- */
.dt-mango { background: var(--wp--preset--color--abyss); color: #fff; position: relative; overflow: hidden; }
.dt-mango::before {
  content: ""; position: absolute; inset: -30% -25% auto auto; width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 125, 197, 0.28) 0%, rgba(0, 125, 197, 0) 65%); pointer-events: none;
}
.dt-mango h2, .dt-mango h3, .dt-mango h4 { color: #fff; }
.dt-mango p, .dt-mango li { color: rgba(255, 255, 255, 0.82); }
.dt-mango .dt-eyebrow { color: #fff; }
.dt-mango .wp-block-group.is-style-card { background: rgba(255, 255, 255, 0.05); border-top-color: var(--wp--preset--color--sage); padding: 1.4rem 1.5rem 1.5rem; }
.dt-mango .wp-block-group.is-style-card h4 { color: #fff; margin-top: 0; font-size: 0.98rem; }
.dt-mango .wp-block-group.is-style-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; }
.dt-mango-logo {
  font-family: var(--wp--preset--font-family--serif); font-size: 2rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--wp--preset--color--sage); display: inline-block; margin-bottom: 0.4rem;
}

/* ---------- Sage band (catalogue section divider) ---------- */
.dt-band { background: var(--wp--preset--color--sage); }
.dt-band h2, .dt-band h3 { color: var(--wp--preset--color--abyss); }
.dt-band p, .dt-band li { color: #16323C; }
.dt-band .dt-eyebrow { color: var(--wp--preset--color--abyss); }
.dt-band .dt-eyebrow::before { background: var(--wp--preset--color--deep); }
.dt-band ul.is-style-ticks li::before { background: var(--wp--preset--color--deep); }

/* ---------- Quote ---------- */
.dt-quote { font-family: var(--wp--preset--font-family--serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.45; font-weight: 300; font-style: italic; color: var(--wp--preset--color--deep); }
.dt-quote cite { display: block; margin-top: 1.1rem; font-family: var(--wp--preset--font-family--sans); font-style: normal; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wp--preset--color--ink-soft); font-weight: 600; }

/* ---------- Day-by-day itinerary ---------- */
.dt-days { counter-reset: day; }
.dt-days > .wp-block-group { position: relative; padding-left: 4.2rem; padding-bottom: 1.7rem; border-left: 1px dotted var(--dt-dotted); margin-left: 1.5rem; }
.dt-days > .wp-block-group:last-child { border-left-color: transparent; }
.dt-days > .wp-block-group::before {
  counter-increment: day; content: "Day " counter(day); position: absolute; left: -1.5rem; top: 0;
  width: 3rem; height: 3rem; background: var(--wp--preset--color--deep); color: #fff;
  display: grid; place-items: center; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: center;
}
.dt-days > .wp-block-group h4 { margin: 0.35rem 0 0.35rem; font-size: 1.12rem; color: var(--wp--preset--color--deep); }
.dt-days > .wp-block-group p { margin: 0; color: var(--wp--preset--color--ink-soft); font-weight: 300; }

/* ---------- Fact box ---------- */
.dt-facts { background: var(--wp--preset--color--mist); padding: 1.7rem 1.8rem; border-top: 3px solid var(--wp--preset--color--deep); }
.dt-facts .dt-eyebrow::before { display: none; }
.dt-facts dl { display: grid; gap: 1rem; margin: 0; }
.dt-facts dt { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wp--preset--color--ink-soft); font-weight: 700; }
.dt-facts dd { margin: 0.2rem 0 0; font-weight: 400; color: var(--wp--preset--color--ink); }

/* ---------- Trade enquiry form ---------- */
.dt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.dt-form .dt-field { display: flex; flex-direction: column; gap: 0.4rem; }
.dt-form .dt-field--full { grid-column: 1 / -1; }
.dt-form label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--ink-soft); }
.dt-form input, .dt-form select, .dt-form textarea {
  font: inherit; font-size: 0.98rem; color: var(--wp--preset--color--ink);
  padding: 0.85rem 0.9rem; background: #fff; border: 1px solid var(--dt-line); border-radius: 0;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.dt-form input:focus, .dt-form select:focus, .dt-form textarea:focus { outline: none; border-color: var(--wp--preset--color--deep); box-shadow: 0 0 0 3px rgba(0, 89, 131, 0.18); }
.dt-form textarea { min-height: 150px; resize: vertical; }
.dt-form .dt-consent { font-size: 0.84rem; color: var(--wp--preset--color--ink-soft); display: flex; gap: 0.6rem; align-items: flex-start; letter-spacing: 0; text-transform: none; font-weight: 300; }
.dt-form .dt-consent input { width: auto; margin-top: 0.3rem; }
.dt-form button {
  justify-self: start; cursor: pointer; border: 0; background: var(--wp--preset--color--deep); color: #fff;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 1.05rem 2rem; transition: background .25s;
}
.dt-form button:hover { background: var(--wp--preset--color--deep); color: #fff; }
.dt-form .dt-hp { position: absolute; left: -9999px; opacity: 0; }
.dt-form-notice { padding: 1rem 1.2rem; background: var(--wp--preset--color--mist); border-left: 4px solid var(--wp--preset--color--deep); margin-bottom: 1.4rem; }
.dt-form-notice.is-error { border-left-color: #C1462E; }
@media (max-width: 640px) { .dt-form { grid-template-columns: 1fr; } }

/* Contact list */
.dt-contact-list { list-style: none; padding: 0; margin: 0; }
.dt-contact-list li { padding: 0.9rem 0; border-bottom: 1px dotted var(--dt-dotted); }
.dt-contact-list li span { display: block; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wp--preset--color--ink-soft); margin-bottom: 0.25rem; font-weight: 700; }
.dt-contact-list a { text-decoration: none; }

/* ---------- Footer ---------- */
.dt-footer { background: var(--wp--preset--color--abyss); color: rgba(255, 255, 255, 0.82); }
.dt-footer .wp-block-site-title, .dt-footer .wp-block-site-title a { color: #fff; font-size: 1.3rem; text-decoration: none; }
.dt-footer p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); font-weight: 300; }
.dt-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.dt-footer a:hover { color: var(--wp--preset--color--sage); }
.dt-footer h4 { font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--sage); margin-bottom: 0.9rem; }
.dt-footer .wp-block-navigation { font-size: 0.88rem; text-transform: none; letter-spacing: 0; font-weight: 300; }
.dt-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.74rem; }
.dt-footer-bottom p { font-size: 0.74rem; margin: 0; }
.dt-group-brands { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.dt-group-brands strong { color: var(--wp--preset--color--sage); font-weight: 700; }

/* ---------- Single templates ---------- */
.dt-single-hero { min-height: clamp(400px, 58vh, 640px); }
.dt-single-hero h1 { color: #fff; max-width: 18ch; font-weight: 400; }
.dt-single-hero .dt-eyebrow { color: #fff; }
.dt-single-hero .dt-meta-row { color: rgba(255, 255, 255, 0.88); }
.dt-single-hero .dt-meta-row .dt-tier { color: #fff; }
.dt-hero-tagline { color: rgba(255, 255, 255, 0.92); font-size: 1.1rem; max-width: 58ch; font-weight: 300; margin-top: 0.6rem; }
.dt-prose > p:first-of-type { font-size: 1.18rem; line-height: 1.65; font-weight: 300; color: var(--wp--preset--color--ink); }
.dt-prose h2 { font-size: 1.55rem; margin-top: 2.6rem; font-weight: 400; }
.dt-prose h3 { font-size: 1.25rem; margin-top: 2rem; font-weight: 600; }
.dt-sticky { position: sticky; top: 96px; }

/* Vertical destination tab, as on the catalogue's page edges */
.dt-vtab { position: relative; }
.dt-vtab::before {
  content: attr(data-label);
  position: absolute; left: -3.4rem; top: 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700;
  color: var(--wp--preset--color--ink-soft); white-space: nowrap;
}
@media (max-width: 1100px) { .dt-vtab::before { display: none; } }

/* ---------- Extras block ---------- */
.dt-extras h2 { font-size: 1.6rem; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .dt-reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--dt-ease), transform .8s var(--dt-ease); }
  .dt-reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.dt-muted { color: var(--wp--preset--color--ink-soft); font-weight: 300; }
.dt-narrow { max-width: 60ch; }
.dt-map-hint { font-size: 0.82rem; color: var(--wp--preset--color--ink-soft); font-weight: 300; }
.dt-step-n { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; color: var(--wp--preset--color--deep); margin-bottom: 0.8rem; }
.dt-step { border-top: 3px solid var(--wp--preset--color--deep); padding-top: 1.2rem; }
.dt-step h4 { margin-top: 0; color: var(--wp--preset--color--deep); }
.dt-image { margin: 0; }
.dt-image img { display: block; width: 100%; height: auto; }

/* Cover inner container must span the full width when a content position is set */
.wp-block-cover.dt-hero.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
.wp-block-cover.dt-single-hero.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
.wp-block-cover.dt-hero.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,
.wp-block-cover.dt-single-hero.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container { width: 100% !important; margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
  .dt-hero { min-height: 66vh; }
  .dt-single-hero { min-height: 48vh; }
  .dt-sticky { position: static; }
  .dt-logo small { display: none; }
  .dt-logo { gap: 0.55rem; }
  .dt-logo .dt-logo-svg:first-child { height: 30px !important; }
  .dt-logo--stacked { gap: 4px; }
  .dt-logo--stacked.has-desc { gap: 0.5rem; }
  .dt-logo-rule { display: none; }
  .dt-logo-col .dt-logo-svg:first-child { height: 30px !important; }
  .dt-logo-col .dt-logo-svg:last-child { height: 17px !important; }
  .dt-logo .dt-logo-stack .dt-logo-svg { height: 20px !important; }
  .dt-header .dt-mango-link .wp-block-button__link { padding: 0.5rem 0.7rem; font-size: 0.6rem; }
  .dt-grid .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .dt-grid--journeys .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; }
  .dt-card .wp-block-post-title { font-size: 1.05rem; }
  .dt-card .wp-block-post-excerpt { display: none; }
  .dt-card .dt-card-body { padding: 1rem 0.9rem 0.9rem; }
  .dt-days > .wp-block-group { padding-left: 3.4rem; margin-left: 1.2rem; }
}

/* Hero content is left-aligned: WordPress's constrained layout centres children at contentSize,
   which fights the "content justification: left" set on the hero group. */
.dt-hero .wp-block-cover__inner-container > .wp-block-group > *,
.dt-single-hero .wp-block-cover__inner-container > .wp-block-group > * { margin-left: 0 !important; margin-right: 0 !important; }

/* Destination tagline under the title is prose, not a meta label. */
.dt-meta-row.dt-hero-tagline {
  display: block; text-transform: none; letter-spacing: 0; font-weight: 300;
  font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; max-width: 58ch;
  color: rgba(255, 255, 255, 0.92); margin-top: 0.7rem;
}
/* Middot between the parts of a hero eyebrow */
.dt-single-hero .dt-eyebrow span + span::before { content: "·"; margin-right: 0.75rem; opacity: 0.6; }

/* ---- Polylang language switcher in the header ---- */
.dt-header .dt-lang,
.dt-header .wp-block-polylang-navigation-language-switcher { position: relative; }
.dt-header .dt-lang > a,
.dt-header .wp-block-polylang-navigation-language-switcher > a {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  color: var(--wp--preset--color--ink-soft);
}
.dt-header .dt-lang > a:hover { color: var(--wp--preset--color--deep); }
.dt-header .dt-lang .wp-block-navigation__submenu-container {
  background: var(--wp--preset--color--paper);
  border: 1px solid var(--dt-dotted);
  min-width: 5.5rem; padding: 0.25rem 0;
}
.dt-header .dt-lang .wp-block-navigation__submenu-container a {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 0.45rem 0.9rem; color: var(--wp--preset--color--ink-soft);
}
.dt-header .dt-lang .wp-block-navigation__submenu-container a:hover {
  color: var(--wp--preset--color--deep); background: var(--wp--preset--color--mist);
}
.dt-header .dt-lang img.lang-flag { display: none; }

/* ---- Type system v3 — "Editorial sobrio": Newsreader for display, Hanken for everything else ---- */

/* Small tracked labels stay in the sans. */
.dt-footer h4,
.dt-facts h4, .dt-facts h3,
.dt-eyebrow, .is-style-eyebrow,
.dt-meta-row, .dt-meta, .dt-tier,
.wp-block-group.is-style-card > h4,
.dt-form label,
.dt-stat span {
  font-family: var(--wp--preset--font-family--sans) !important;
  font-weight: 600;
}

/* No filete: the label carries itself. */
.dt-eyebrow::before,
.is-style-eyebrow::before,
.dt-hero .dt-eyebrow::before,
.dt-band .dt-eyebrow::before,
.dt-single-hero .dt-eyebrow::before { display: none !important; }

/* Display figures read better in the serif */
.dt-stat b, .dt-stat strong { font-family: var(--wp--preset--font-family--display); font-weight: 300; letter-spacing: -0.01em; }

.dt-hero h1, .dt-single-hero h1 { letter-spacing: -0.012em; line-height: 1.1; }
.wp-block-post-title, .dt-card .wp-block-post-title, .dt-journey .wp-block-post-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  letter-spacing: 0;
}
.dt-card .wp-block-post-title { line-height: 1.16; }
.dt-quote { font-family: var(--wp--preset--font-family--display); font-weight: 300; font-style: normal; }

/* Cool veil over hero photographs, overriding any warm gradient baked into the content. */
.dt-hero > .wp-block-cover__background,
.dt-single-hero > .wp-block-cover__background {
  background: linear-gradient(180deg, rgba(8,26,36,0.04) 0%, rgba(8,26,36,0.30) 46%, rgba(8,26,36,0.82) 100%) !important;
}

/* ---- v1.3: leading, alignment and first-screen fit ---- */

/* Large body copy needs less leading than small body copy, not more. */
.has-large-font-size { line-height: 1.55; }
.has-x-large-font-size, .has-xx-large-font-size { line-height: 1.16; }

/* Columns start at the same baseline: no stray top margin on a column's first child. */
.wp-block-columns > .wp-block-column > *:first-child { margin-top: 0 !important; }
.wp-block-columns { align-items: start; }

/* A two-column text block reads as one system when the body column is body-sized. */
.wp-block-columns .wp-block-column > p.has-large-font-size { font-size: 1.15rem !important; line-height: 1.62; max-width: 48ch; }

/* Section headings: one step down so they sit under the page title, not beside it. */
.wp-block-columns .wp-block-column > h2.wp-block-heading { font-size: 2.05rem; line-height: 1.14; max-width: 15ch; }

/* WordPress fluid typography inflates these presets (large resolved to 36px and the
   generated stylesheet is cached server-side). Pin them here so the scale is predictable. */
:root {
  --wp--preset--font-size--large: 1.28rem !important;
  --wp--preset--font-size--medium: 1.09rem !important;
  --wp--preset--font-size--x-large: 1.8rem !important;
  --wp--preset--font-size--xx-large: 2.6rem !important;
}

/* When the left column opens with an eyebrow label, the body column aligns to the
   heading rather than floating above it. */
.wp-block-columns:has(> .wp-block-column:first-child > .dt-eyebrow:first-child,
                      > .wp-block-column:first-child > .is-style-eyebrow:first-child)
  > .wp-block-column:not(:first-child) { padding-top: 2.3rem; }
@media (max-width: 781px) {
  .wp-block-columns > .wp-block-column:not(:first-child) { padding-top: 0 !important; }
}

/* The opening screen has to hold: label, headline, one short paragraph and two buttons. */
.dt-hero .wp-block-cover__inner-container > .wp-block-group { gap: 0.9rem; }
.dt-hero .wp-block-cover__inner-container > .wp-block-group > .wp-block-buttons { margin-top: 0.5rem; }

/* Footer: the name carries the brand here; the reversed mark was doing the logo twice. */
.dt-footer-wordmark {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.6rem !important; font-weight: 300; letter-spacing: -0.005em;
  color: #fff !important; margin: 0 0 0.9rem;
}

/* The language switcher has to read as a control, not as one more menu link. */
.dt-header li.wp-block-polylang-navigation-language-switcher { margin-left: 0.4rem; }
.dt-header li.wp-block-polylang-navigation-language-switcher {
  border: 1px solid #D8DEE1; padding-right: 0.55rem;
}
.dt-header li.wp-block-polylang-navigation-language-switcher > a.wp-block-navigation-item__content {
  padding: 0.42rem 0.55rem 0.42rem 0.7rem;
  font-size: 0.63rem; letter-spacing: 0.14em; font-weight: 600;
  color: var(--wp--preset--color--ink-soft);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.dt-header li.wp-block-polylang-navigation-language-switcher > a.wp-block-navigation-item__content::before {
  content: ""; width: 13px; height: 13px; flex: none;
  background: currentColor;
  -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M2.5 12h19M12 2.5c2.6 2.7 4 6 4 9.5s-1.4 6.8-4 9.5c-2.6-2.7-4-6-4-9.5s1.4-6.8 4-9.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M2.5 12h19M12 2.5c2.6 2.7 4 6 4 9.5s-1.4 6.8-4 9.5c-2.6-2.7-4-6-4-9.5s1.4-6.8 4-9.5z'/%3E%3C/svg%3E");
}
.dt-header li.wp-block-polylang-navigation-language-switcher:hover { border-color: var(--wp--preset--color--deep); }
.dt-header li.wp-block-polylang-navigation-language-switcher:hover > a.wp-block-navigation-item__content { color: var(--wp--preset--color--deep); }

/* Polylang strips the block's custom class, so the switcher is targeted by its own class. */
.dt-header li.wp-block-polylang-navigation-language-switcher > a .wp-block-navigation__submenu-icon { margin-left: 0.1rem; }
.dt-header li.wp-block-polylang-navigation-language-switcher ul.wp-block-navigation__submenu-container {
  border: 1px solid var(--wp--preset--color--line, #D8DEE1); background: #fff; padding: 0.3rem 0; min-width: 9.5rem;
}
.dt-header li.wp-block-polylang-navigation-language-switcher ul a {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--wp--preset--color--ink); padding: 0.5rem 0.9rem;
}
.dt-header li.wp-block-polylang-navigation-language-switcher ul a:hover { color: var(--wp--preset--color--deep); }
.dt-header li.wp-block-polylang-navigation-language-switcher img.lang-flag { display: none; }

/* ---- v1.5: legibility pass on the inner pages ---- */

/* Card excerpts on Journeys, Destinations and the related lists were at 14.4 px. */
.wp-block-post-excerpt__excerpt { font-size: 1rem; line-height: 1.58; }

/* "View programme" read-more links were at 10.9 px — too small for a real control. */
.wp-block-read-more {
  font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600;
  color: var(--wp--preset--color--deep); text-decoration: none;
}
.wp-block-read-more:hover { color: var(--wp--preset--color--abyss); text-decoration: underline; }

/* The tagline under a destination title is prose, not a caption. */
.dt-hero-tagline, .dt-single-hero .dt-tagline { font-size: 1.08rem; line-height: 1.55; }

/* Facts panel: label and value at readable sizes. */
.dt-facts dt { font-size: 0.68rem; letter-spacing: 0.16em; }
.dt-facts dd { font-size: 1.02rem; line-height: 1.5; }

/* Section headings inside an article sit a step below the page title. */
.dt-prose h2, main .wp-block-group h2.wp-block-heading:not(.alignwide) { font-size: 1.7rem; line-height: 1.18; }

/* ---- Adventure & trekking: the expedition cards on the hub page ---- */
.dt-expedition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin: 1.6rem 0 0; }
@media (max-width: 980px) { .dt-expedition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dt-expedition-grid { grid-template-columns: 1fr; } }
.dt-expedition-img { display: block; }
.dt-expedition-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dt-expedition-season { font-size: 0.78rem; color: var(--wp--preset--color--ink-soft); margin: 0.1rem 0 0; font-weight: 300; }
.dt-expedition-grid .dt-journey .wp-block-post-title { font-size: 1.22rem; }
.dt-expedition-grid .dt-meta-row { margin: 0; }

/* Newsreader is loaded at 200-500 only: heavier weights are faux-bolded by the
   browser and read as a different typeface. Keep h4 on a real weight. */
.dt-step h4 { font-weight: 500; }
