:root { --du-ink: #17333b; --du-muted: #62777d; --du-teal: #007c83; --du-teal-dark: #005d63; --du-orange: #e8590c; --du-paper: #f6f8f7; --du-line: #dce5e4; }
.du-next-page { width: 100%; min-width: 0; flex: 1 1 100%; color: var(--du-ink); }
.du-next-article { max-width: none; }
.du-next-hero { position: relative; min-height: clamp(360px, 58vw, 680px); display: grid; align-items: end; overflow: hidden; background: #17333b; color: white; }
.du-next-hero-media, .du-next-hero-media::after { position: absolute; inset: 0; }
.du-next-hero-media::after { content: ""; background: linear-gradient(180deg, rgba(12,31,37,.08), rgba(12,31,37,.82)); }
.du-next-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.du-next-hero-copy { position: relative; z-index: 1; width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0; }
.du-next-hero h1 { max-width: 900px; margin: 8px 0 16px; color: white; font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: 1.02; }
.du-next-excerpt { max-width: 760px; font-size: 1.12rem; }
.du-next-kicker { margin: 0; color: var(--du-orange); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.du-next-body, .du-next-planner, .du-next-additional { width: min(1360px, calc(100% - 48px)); margin: 48px auto; }
.du-next-body { max-width: 1040px; font-size: 1.05rem; line-height: 1.75; }
.du-next-body img { max-width: 100%; height: auto; }
.du-next-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.du-next-section-head h2, .du-next-map-head h2 { margin: 4px 0 0; color: var(--du-ink); }
.du-next-print-title { display: none; }
.du-next-print-controls { display: grid; justify-items: end; gap: 5px; }
.du-next-print-controls button { border: 1px solid var(--du-teal); border-radius: 999px; background: var(--du-teal); color: white; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.du-next-print-controls small { color: var(--du-muted); }
.du-next-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(400px, .85fr); gap: 36px; align-items: start; }
.du-next-day { border: 1px solid var(--du-line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: white; box-shadow: 0 6px 22px rgba(23,51,59,.06); }
.du-next-day-toggle { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 0; background: white; color: var(--du-ink); text-align: left; cursor: pointer; }
.du-next-day-toggle:hover { background: var(--du-paper); }
.du-next-day-toggle > span:last-child { font-size: 1.5rem; transition: transform .2s; }
.du-next-day-toggle[aria-expanded="true"] > span:last-child { transform: rotate(45deg); }
.du-next-day-number { border-radius: 999px; background: var(--du-teal); color: white; padding: 6px 10px; font-size: .78rem; font-weight: 800; }
.du-next-day-tools { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 0 18px 14px; color: var(--du-muted); font-size: .86rem; }
.du-next-day-tools label { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }
.du-next-day-tools a { color: var(--du-teal-dark); font-weight: 800; text-decoration: none; }
.du-next-day-tools a:hover { text-decoration: underline; }
.du-next-day.is-print-excluded { opacity: .58; }
.du-next-day-content { padding: 0 18px 20px; }
.du-next-summary { padding: 14px; border-left: 4px solid var(--du-orange); background: #fff7f1; }
.du-next-stops { list-style: none; margin: 18px 0 0; padding: 0; }
.du-next-stop { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 18px 0; border-top: 1px solid var(--du-line); }
.du-next-stop-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--du-ink); color: white; font-weight: 800; }
.du-next-stop h3 { margin: 2px 0 8px; font-size: 1.08rem; }
.du-next-stop-copy p { margin: 7px 0; }
.du-next-address { color: var(--du-muted); font-size: .9rem; }
.du-next-stop-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.du-next-stop-actions button, .du-next-map-head button, .du-next-road-route, .du-next-map-filters button { border: 1px solid var(--du-teal); border-radius: 999px; background: white; color: var(--du-teal-dark); padding: 8px 13px; font-weight: 700; cursor: pointer; }
.du-next-stop-actions button:hover, .du-next-map-filters button.is-active { background: var(--du-teal); color: white; }
.du-next-sidebar { position: sticky; top: 24px; }
.du-next-map-card { border-radius: 14px; overflow: hidden; background: var(--du-ink); color: white; box-shadow: 0 14px 36px rgba(23,51,59,.2); }
.du-next-map-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 18px; }
.du-next-map-head h2 { color: white; }
.du-next-map { min-height: 480px; background: #e8eeee; color: var(--du-muted); display: grid; place-items: center; }
.du-next-map-filters { display: flex; gap: 7px; padding: 14px; overflow-x: auto; }
.du-next-map-filters button { flex: 0 0 auto; border-color: rgba(255,255,255,.45); background: transparent; color: white; }
.du-next-road-route { margin: 0 14px 16px; }
.du-next-resources { width: min(1360px, calc(100% - 48px)); margin: 52px auto; }
.du-next-resource-tabs { display: flex; gap: 8px; margin: 0 0 24px; padding: 5px; overflow-x: auto; border-radius: 12px; background: var(--du-paper); }
.du-next-resource-tabs button { flex: 0 0 auto; border: 0; border-radius: 9px; background: transparent; color: var(--du-ink); padding: 10px 17px; font-weight: 800; cursor: pointer; }
.du-next-resource-tabs button:hover, .du-next-resource-tabs button.is-active { background: var(--du-teal); color: white; }
.du-next-resource-tabs .du-next-itinerary-link { margin-left: auto; color: var(--du-teal-dark); }
.du-next-resource-group { margin-top: 22px; }
.du-next-resource-group[hidden] { display: none !important; }
.du-next-resource-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 20px; }
.du-next-resource-filters button { border: 1px solid var(--du-line); border-radius: 999px; background: white; color: var(--du-muted); padding: 7px 12px; cursor: pointer; }
.du-next-resource-filters button:hover, .du-next-resource-filters button.is-active { border-color: var(--du-teal); background: var(--du-teal); color: white; }
.du-next-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.du-next-resource-card[hidden] { display: none !important; }
.du-next-resource-card { overflow: hidden; border: 1px solid var(--du-line); border-radius: 12px; background: white; }
.du-next-resource-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.du-next-resource-card > div { padding: 16px; }
.du-next-resource-card h4 { margin: 7px 0; }
.du-next-resource-badge { color: var(--du-orange); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.du-next-resource-meta { color: var(--du-muted); font-size: .88rem; font-weight: 700; }
.du-next-resource-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.du-next-resource-tags span { border-radius: 999px; background: var(--du-paper); color: var(--du-muted); padding: 4px 8px; font-size: .76rem; }
.du-next-resource-card a { color: var(--du-teal); font-weight: 800; }
@media (max-width: 900px) { .du-next-layout { grid-template-columns: 1fr; } .du-next-sidebar { position: static; } .du-next-map { min-height: 400px; } .du-next-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .du-next-section-head { align-items: flex-start; flex-direction: column; } .du-next-print-controls { justify-items: start; } .du-next-day-tools { align-items: flex-start; flex-direction: column; } }
@media (max-width: 540px) { .du-next-hero-copy, .du-next-body, .du-next-planner, .du-next-additional, .du-next-resources { width: calc(100% - 24px); } .du-next-day-toggle { grid-template-columns: auto 1fr; } .du-next-day-toggle > span:last-child { display: none; } .du-next-map { min-height: 340px; } .du-next-resource-grid { grid-template-columns: 1fr; } }
@media print {
  @page { margin: 14mm; }
  /* Some companion plugins hide every page element in print mode. Explicitly
     restore the itinerary and its theme wrappers so the PDF cannot be blank. */
  #page, #content, #primary, .du-next-page, .du-next-article, .du-next-planner, .du-next-planner * { visibility: visible !important; }
  #page, #content, #primary { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .site-header, .main-navigation, .site-footer, .du-next-hero, .du-next-body, .du-next-resources, .du-next-additional, .du-next-sidebar, .du-next-print-controls, .du-next-day-tools, .du-next-stop-actions { display: none !important; }
  .du-next-page, .du-next-article, .du-next-planner, .du-next-days { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: white !important; color: #111 !important; }
  .du-next-print-title { display: block !important; margin-bottom: 10mm; border-bottom: 2px solid #17333b; padding-bottom: 5mm; }
  .du-next-print-title p { margin: 0 0 2mm; color: #007c83; font-size: 9pt; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .du-next-print-heading { margin: 0; color: #17333b; font-size: 24pt; font-weight: 700; line-height: 1.2; }
  .du-next-section-head { display: block; margin-bottom: 6mm; }
  .du-next-layout { display: block !important; }
  .du-next-day { break-inside: avoid-page; box-shadow: none; border: 1px solid #bbb; margin: 0 0 6mm; opacity: 1; }
  .du-next-day.is-print-excluded { display: none !important; }
  .du-next-day-toggle { padding: 4mm; border-bottom: 1px solid #ddd; }
  .du-next-day-toggle > span:last-child { display: none; }
  .du-next-day-content[hidden] { display: block !important; }
  .du-next-day-content { padding: 0 4mm 4mm; }
  .du-next-stop { break-inside: avoid; padding: 3mm 0; }
  .du-next-planner img { display: none !important; }
  a { color: #111 !important; text-decoration: none !important; }
}
.du-next-hub { background: var(--du-paper); min-height: 70vh; padding-bottom: 64px; }
.du-next-hub-hero { background: var(--du-ink); color: white; padding: clamp(56px, 9vw, 110px) 20px; }
.du-next-hub-hero > div, .du-next-hub-section { width: min(1120px, 100%); margin-inline: auto; }
.du-next-hub-hero h1 { color: white; font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 6px 0 14px; }
.du-next-hub-hero p, .du-next-hub-hero div { max-width: 780px; }
.du-next-hub-section { padding: 44px 20px 0; }
.du-next-term-list { display: flex; flex-wrap: wrap; gap: 9px; }
.du-next-term-list a { display: grid; padding: 10px 14px; border-radius: 9px; background: white; border: 1px solid var(--du-line); color: var(--du-ink); text-decoration: none; }
.du-next-term-list span { color: var(--du-muted); font-size: .78rem; }
.du-next-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.du-next-card { overflow: hidden; border-radius: 13px; background: white; box-shadow: 0 8px 24px rgba(23,51,59,.08); }
.du-next-card a { color: var(--du-ink); text-decoration: none; }
.du-next-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.du-next-card div { padding: 18px; }
.du-next-card h2, .du-next-card h3 { margin-top: 0; }
.du-next-card span { color: var(--du-teal); font-weight: 800; }
