:root {
  --uv-blue: #3283b7;
  --uv-blue-700: #175c86;
  --uv-blue-900: #0b3554;
  --uv-blue-050: #edf7fc;
  --uv-green: #6aa50b;
  --uv-green-700: #456f05;
  --uv-green-050: #f1f8e7;
  --uv-teal: #2da9a1;
  --uv-sand: #f3ead7;
  --uv-ink: #162a36;
  --uv-muted: #5e6f78;
  --uv-line: #dbe6e9;
  --uv-white: #fff;
  --uv-shadow: 0 20px 50px rgba(15, 53, 72, .12);
  --uv-radius-sm: 12px;
  --uv-radius: 22px;
  --uv-radius-lg: 34px;
  --uv-max: 1180px;
}

/* Reusable distance calculator: paired location inputs, confirmed search results,
   three measurements and interactive map require their own functional layout. */
.distance-calculator { margin: 28px 0 40px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: var(--uv-blue-050); }
.distance-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.distance-field { min-width: 0; }
.distance-field label { display: block; font-weight: 750; color: var(--uv-blue-900); }
.distance-field :is(input, select) { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; margin: 6px 0; border: 1px solid #a6bfcd; border-radius: 10px; background: white; color: var(--uv-ink); font: inherit; }
.distance-field select { font-size: .88rem; }
.distance-field :is(input, select):focus-visible { outline: 3px solid var(--uv-blue); outline-offset: 2px; }
.distance-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.distance-actions .button { cursor: pointer; font: inherit; font-weight: 750; }
.distance-actions .button:disabled { cursor: wait; opacity: .65; }
.distance-actions [aria-pressed="true"] { outline: 3px solid var(--uv-blue); outline-offset: 2px; }
.distance-status { min-height: 1.6em; }
.distance-measurements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.distance-measurements > div { min-width: 0; padding: 16px; border-radius: var(--uv-radius-sm); background: white; border-top: 4px solid var(--uv-blue); }
.distance-measurements > div:first-child { border-color: var(--uv-green-700); }
.distance-measurements > div:last-child { border-color: #914d91; }
.distance-measurements dt { font-size: .9rem; font-weight: 700; line-height: 1.4; }
.distance-measurements dd { margin: 8px 0 0; color: var(--uv-blue-900); font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 800; overflow-wrap: anywhere; }
.distance-map { height: clamp(330px, 48vw, 480px); width: 100%; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); z-index: 0; font-family: inherit; }
.distance-pin { display: grid; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: var(--uv-blue-900); font-weight: 800; box-shadow: 0 2px 6px #0005; }
.distance-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0; font-size: .85rem; }
.distance-legend span::before { content: ''; display: inline-block; width: 24px; margin-right: 6px; border-top: 3px solid var(--uv-blue); vertical-align: middle; }
.distance-legend .distance-air-key::before { border-color: var(--uv-green-700); border-top-style: dashed; }
.distance-legend .distance-ferry-key::before { border-color: #914d91; border-top-style: dashed; }
.distance-calculator .distance-note { font-size: .88rem; line-height: 1.5; color: var(--uv-muted); }
.distance-calculator [hidden] { display: none; }
.distance-calculator :is(#distance-resolved, #distance-breakdown) { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .distance-fields, .distance-measurements { grid-template-columns: 1fr; }
  .distance-measurements > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .distance-measurements dd { margin: 0; text-align: right; flex-shrink: 0; max-width: 55%; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Reusable accommodation enquiry form: dates, guest counts and contact fields
   need grouped labels, validation states and a responsive input grid. */
.stay-request-form { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--uv-line); border-radius: var(--uv-radius-lg); background: #fff; }
.stay-request-form[hidden] { display: none; }
/* Keep explanatory text following a form separate from its outer border. */
.stay-request-form + p { margin-top: 24px; }
.stay-request-form fieldset { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.stay-request-form legend { margin-bottom: 12px; color: var(--uv-blue-900); font-size: 1.15rem; font-weight: 800; }
.stay-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stay-request-form label { display: block; font-weight: 650; }
.stay-request-form input:not([type="checkbox"]):not([type="hidden"]), .stay-request-form select, .stay-request-form textarea { width: 100%; min-width: 0; min-height: 48px; margin-top: 6px; padding: 10px 12px; border: 1px solid #b8cbd4; border-radius: 10px; background: #fff; color: var(--uv-ink); font: inherit; }
.stay-request-form textarea { resize: vertical; }
.stay-request-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--uv-blue); outline-offset: 2px; }
.stay-request-form [aria-invalid="true"] { border-color: #a52929; }
.stay-request-form .stay-request-consent { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0; font-weight: 400; }
.stay-request-consent input { flex: 0 0 auto; margin-top: 6px; width: 20px; height: 20px; }
.stay-request-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.stay-request-status:not(:empty) { padding: 20px; border-left: 4px solid var(--uv-blue); background: var(--uv-blue-050); margin: 20px 0; }
/* Completed submission replaces the form with a prominent, centred confirmation. */
.stay-request-status.is-success:not(:empty) { display: grid; place-items: center; min-height: clamp(220px, 40svh, 420px); border-left: 0; border-radius: var(--uv-radius-lg); color: var(--uv-blue-900); text-align: center; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.35; }
@media (max-width: 680px) { .stay-request-grid { grid-template-columns: 1fr; } }

body {
  margin: 0;
  color: var(--uv-ink);
  background: #fbfdfd;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: var(--uv-blue-700); text-underline-offset: 3px; }

a:hover { color: var(--uv-green-700); }

h1, h2, h3, h4, .hero-quote p {
  color: var(--uv-blue-900);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 5.7rem); letter-spacing: -.055em; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4.5vw, 3.6rem); letter-spacing: -.04em; }
h3, .card-title { margin: 0 0 .55rem; font-size: 1.45rem; letter-spacing: -.025em; }
p { margin: 0 0 1.2rem; }

.container { width: min(calc(100% - 40px), var(--uv-max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 760px); margin-inline: auto; }
.section { padding-block: clamp(70px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 7vw, 82px); }
.soft { background: var(--uv-blue-050); }
.green-soft { background: var(--uv-green-050); }
.sand { background: var(--uv-sand); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--uv-blue-900); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 230, 233, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}

.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 1 280px; min-width: 0; display: inline-flex; align-items: center; gap: 11px; color: var(--uv-blue-900); font-weight: 800; text-decoration: none; }
/* Shared SVG logo: retain its natural proportions while allowing the mobile header to shrink. */
.brand img { width: 280px; height: auto; }
.brand-mark { width: 43px; height: 43px; border-radius: 50% 45% 50% 42%; display: grid; place-items: center; background: var(--uv-green); color: #fff; font-size: .9rem; box-shadow: inset 0 -8px 18px rgba(45, 97, 0, .2); }
.brand-name { font-size: 1.1rem; letter-spacing: -.03em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 13px; border-radius: 999px; color: var(--uv-ink); font-size: .94rem; font-weight: 700; text-decoration: none; transition: color .18s ease, background-color .18s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--uv-green-050); color: var(--uv-green-700); }
.header-action { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--uv-line); border-radius: 50%; color: var(--uv-blue-900); text-decoration: none; }
.menu-button { display: none; flex-shrink: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; color: var(--uv-green-700); font-size: .79rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--uv-green); }
.lede { max-width: 750px; color: var(--uv-muted); font-size: clamp(1.14rem, 2vw, 1.36rem); }
.muted { color: var(--uv-muted); }
.kicker { color: var(--uv-blue-700); font-weight: 800; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* Reusable alignment for trailing section navigation. */
.button-row-end { justify-content: flex-end; }
.button-row-end .button-green { background: var(--uv-green); }
.button-row-end .button-green:hover { background: var(--uv-green-700); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--uv-blue-700); color: #fff; }
.button-primary:hover { background: var(--uv-blue-900); color: #fff; }
.button-secondary { background: #fff; border-color: var(--uv-line); color: var(--uv-blue-900); }
.button-green { background: var(--uv-green-700); color: #fff; }
.button-green:hover { color: #fff; }
/* Disabled actions stay visually distinct until their required selection is valid. */
.button:disabled { background: #e4e7e9; border-color: #d5dade; color: #59646c; cursor: not-allowed; box-shadow: none; }

/* Homepage masthead: the supplied quote-led composition replaces the old home hero.
   Reuse this component for both language homepages; destination heroes stay independent. */
.home-hero { position: relative; height: 620px; min-height: 620px; display: grid; align-items: center; overflow: hidden; background: var(--uv-blue-900); color: #fff; }
.home-hero > .hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.home-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(3,15,27,.78) 0%, rgba(3,15,27,.63) 30%, rgba(3,15,27,.22) 58%, rgba(3,15,27,.03) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 48px 64px; }
.home-hero .eyebrow { color: #fff; }
.hero-quote { margin: 0 0 28px; }
.hero-quote p { margin: 0; color: #fff; font-size: clamp(2.6rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; }
.hero-quote p > span { display: block; }
.hero-quote-author { display: inline-block; margin-left: .3em; font-size: 1.15rem; font-weight: 400; line-height: 1.4; letter-spacing: -.02em; vertical-align: baseline; }
.home-hero h1 { max-width: 900px; color: #fff; font-family: inherit; font-size: 1.4rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; text-wrap: initial; }
.home-hero .lede { max-width: 900px; margin: 10px 0 0; color: #fff; font-size: 1.2rem; line-height: 1.5; }
.home-hero .button-row { align-items: center; gap: 16px 28px; margin-top: 24px; }
.home-hero .button-green { background: var(--uv-green); }
.home-hero .button-green:hover { background: var(--uv-green-700); color: #fff; }
.hero-discover-link { display: inline-flex; align-items: center; min-height: 48px; color: #fff; font-size: 1rem; text-underline-offset: 7px; }
.hero-discover-link:hover { color: #d7efad; }
.home-hero a:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.hero-location { position: absolute; z-index: 2; right: 3%; bottom: 32px; margin: 0; font-size: .95rem; text-shadow: 0 1px 5px #052234; }
.home-hero + .quick-grid { margin-top: 32px; }

.quick-grid { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -38px; }
.quick-card { min-height: 142px; padding: 23px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: #fff; box-shadow: var(--uv-shadow); color: inherit; text-decoration: none; }
.quick-card .num { display: block; color: var(--uv-green-700); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.quick-card strong { display: block; margin-top: 22px; color: var(--uv-blue-900); font-size: 1.06rem; }
.quick-card small { color: var(--uv-muted); }
.quick-card:hover { transform: translateY(-3px); border-color: #9fc2d7; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.visual-card { position: relative; min-height: 490px; overflow: hidden; border-radius: var(--uv-radius-lg); background: linear-gradient(145deg, #0b557d, #36a4b0 52%, #87bf38); box-shadow: var(--uv-shadow); }
.visual-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual-card .label { position: absolute; left: 24px; bottom: 24px; max-width: 270px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.9); color: var(--uv-blue-900); font-weight: 800; backdrop-filter: blur(12px); }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; padding: 0; list-style: none; }
.tag { padding: 7px 11px; border-radius: 999px; background: var(--uv-blue-050); color: var(--uv-blue-700); font-size: .83rem; font-weight: 800; }
.tag-list a.tag { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.tag-list a.tag:focus-visible { outline: 3px solid #3283b7; outline-offset: 2px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { overflow: hidden; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: #fff; box-shadow: 0 12px 34px rgba(15,53,72,.07); }
.card-clickable { display: block; color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.card-clickable:hover, .card-clickable:focus-visible { border-color: var(--uv-blue); transform: translateY(-2px); }
.card-media { aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; background: var(--uv-blue-050); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-meta { margin-bottom: 9px; color: var(--uv-green-700); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.card p { color: var(--uv-muted); font-size: .95rem; }
.card-link { font-weight: 850; }

.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 40px; }
.section-heading p { max-width: 540px; margin: 0; color: var(--uv-muted); }
.section-heading-compact h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); }

.trust-strip { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 20px; padding: 34px; border-radius: var(--uv-radius); background: var(--uv-blue-900); color: #fff; }
.trust-strip h2 { color: #fff; font-size: 2rem; }
.trust-stat { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
.trust-stat strong { display: block; color: #d7efad; font-size: 1.4rem; }
.trust-stat span { color: rgba(255,255,255,.72); font-size: .88rem; }

.page-hero { position: relative; overflow: hidden; padding: clamp(42px, 5vw, 64px) 0 clamp(72px, 8vw, 100px); background: var(--uv-blue-050); }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px; border-radius: 50%; border: 1px solid rgba(50,131,183,.2); box-shadow: 0 0 0 55px rgba(50,131,183,.05), 0 0 0 110px rgba(106,165,11,.04); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 890px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--uv-muted); font-size: .82rem; }
.breadcrumbs a { color: var(--uv-muted); }
.breadcrumbs span:not(:last-child)::after { content: " /"; margin-left: 8px; color: #93a3aa; }

.pineto-hero { padding: 38px 0 54px; background: linear-gradient(130deg, #eaf7fa, #f4f8e9); }
.pineto-places-page .pineto-hero { padding-bottom: clamp(24px, 3vw, 32px); }
.pineto-places-page .pineto-hero + .section-tight { padding-top: clamp(22px, 2.6vw, 30px); }
.pineto-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.pineto-art { position: relative; overflow: hidden; min-height: 480px; border-radius: var(--uv-radius-lg); box-shadow: var(--uv-shadow); background: #d6edf2; }
.pineto-art img { width: 100%; height: 100%; object-fit: cover; }
.pineto-art .place-photo-open { position: absolute; inset: 0; }
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fact { padding: 9px 13px; border: 1px solid #c9dfe6; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--uv-blue-900); font-size: .84rem; font-weight: 800; }

.task-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.task { min-height: 155px; padding: 20px; border-radius: var(--uv-radius-sm); background: #fff; border: 1px solid var(--uv-line); color: inherit; text-decoration: none; }
.task-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 25px; border-radius: 12px; background: var(--uv-green-050); color: var(--uv-green-700); font-weight: 900; }
.task strong { display: block; color: var(--uv-blue-900); }
.task small { color: var(--uv-muted); }

.article-header { padding: clamp(28px, 4vw, 46px) 0 42px; }
.article-header.is-compact { padding-top: 16px; }
.article-header h1 { max-width: 980px; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.article-header h1.article-title-wide { max-width: none; font-size: clamp(2.2rem, 4.2vw, 4.5rem); }
.article-dek { max-width: 790px; margin-top: 22px; color: var(--uv-muted); font-size: 1.25rem; }
.article-header.is-compact .article-dek { margin-bottom: 0; }
.berlin-video-page main > .article-header { padding-bottom: clamp(28px, 3.5vw, 38px); }
.berlin-video-page main > .article-header + .section-tight { padding-top: clamp(20px, 3vw, 30px); }
.article-cover { overflow: hidden; border-radius: var(--uv-radius-lg); background: var(--uv-blue-050); box-shadow: var(--uv-shadow); }
.article-cover img { width: 100%; max-height: 580px; object-fit: cover; }
.place-photo-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; }
.place-photo-open::after { content: "\2922"; position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; background: rgba(5,34,52,.78); box-shadow: 0 8px 24px rgba(3,19,28,.2); color: #fff; font-size: 1.15rem; line-height: 1; pointer-events: none; transition: background .2s ease, transform .2s ease; }
.place-photo-open:hover::after, .place-photo-open:focus-visible::after { background: var(--uv-blue); transform: scale(1.06); }
.place-photo-open:focus-visible { outline: 4px solid var(--uv-green); outline-offset: -4px; }

.info-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; }
.info-item { padding: 18px 20px; }
.info-item + .info-item { border-left: 1px solid var(--uv-line); }
.info-item span { display: block; color: var(--uv-muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.info-item strong { color: var(--uv-blue-900); }
@media (min-width: 641px) {
  .info-bar:has(> .info-item:last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-bar:has(> .info-item:last-child:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.answer-box { padding: 28px; border-left: 5px solid var(--uv-green); border-radius: 0 var(--uv-radius-sm) var(--uv-radius-sm) 0; background: var(--uv-green-050); }
.answer-box strong { display: block; margin-bottom: 8px; color: var(--uv-green-700); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }

.article-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: clamp(40px, 7vw, 90px); align-items: start; justify-content: center; }
.toc { position: sticky; top: 105px; padding: 22px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; }
.toc strong { display: block; margin-bottom: 12px; color: var(--uv-blue-900); }
.toc ol { margin: 0; padding-left: 19px; }
.toc li { margin: 7px 0; font-size: .86rem; }
.article-body h2 { margin-top: 2.4em; scroll-margin-top: 110px; font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.article-body h3 { margin-top: 1.8em; }
.article-body p, .article-body li { color: #314650; }
.article-body figure { margin: 38px 0; }
.timezone-map-figure img { width: 100%; height: auto; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; box-shadow: 0 12px 34px rgba(15,53,72,.07); }
.article-body figcaption { margin-top: 9px; color: var(--uv-muted); font-size: .82rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .92rem; }
.article-body th, .article-body td { padding: 13px 12px; border-bottom: 1px solid var(--uv-line); text-align: left; vertical-align: top; }
.article-body th { color: var(--uv-blue-900); background: var(--uv-blue-050); }
.source-box { margin-top: 46px; padding: 26px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; }
.source-box h3 { margin-top: 0; }
.faq details { border-top: 1px solid var(--uv-line); padding: 18px 0; }
.faq summary { cursor: pointer; color: var(--uv-blue-900); font-weight: 850; }

.site-footer { padding-block: 24px 18px; border-top: 1px solid rgba(255,255,255,.08); background: #092d43; color: rgba(255,255,255,.6); }
.footer-links { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: 12px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: #d7efad; }
.footer-links a { justify-self: center; font-size: .82rem; font-weight: 750; }
.footer-links a:first-child { justify-self: start; }
.footer-links a:nth-child(2) { color: #cbe89a; }
.footer-links a:last-child { justify-self: end; }
.footer-legal { margin: 20px 0 0; color: rgba(255,255,255,.52); font-size: .75rem; text-align: center; }
/* Shared informational notice: legacy translucent blue, centred inline content. */
.analytics-consent { position: fixed; z-index: 10000; bottom: 0; left: 0; right: 0; padding: 10px 24px; background: rgba(50, 131, 183, .8); color: #fff; box-shadow: 0 -2px 12px rgba(11, 53, 84, .12); max-height: 100svh; overflow-y: auto; font-size: .875rem; text-align: center; }
.analytics-consent[hidden], .analytics-preferences[hidden] { display: none; }
.analytics-consent p { margin: 0; font-size: inherit; line-height: 1.6; }
.analytics-consent button, .analytics-consent a { margin-left: 12px; color: #071e2b; font: inherit; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.analytics-consent button { min-height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.analytics-preferences { background: transparent; border: 0; padding: 4px 8px; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-separator { margin-inline: 8px; color: rgba(255,255,255,.28); }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .pineto-hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .task-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-stat:nth-child(2) { border-left: 0; padding-left: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 640px) {
  /* Optional introductory media can be omitted on phones to prioritise content. */
  .hide-on-mobile { display: none; }
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--uv-max)); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand { flex-basis: 220px; }
  .brand img { width: 220px; }
  .brand-mark { width: 37px; height: 37px; }
  .home-hero { height: auto; min-height: 620px; }
  .home-hero > .hero-background { object-position: 58% center; }
  .home-hero::before { background: linear-gradient(90deg, rgba(3,15,27,.77), rgba(3,15,27,.32)), linear-gradient(0deg, rgba(3,15,27,.5), transparent 60%); }
  .hero-content { width: calc(100% - 40px); padding-block: 36px 76px; }
  .home-hero .eyebrow { margin-bottom: 24px; font-size: .72rem; }
  .hero-quote { margin-bottom: 24px; }
  .hero-quote p { font-size: clamp(1.65rem, 6.8vw, 2.6rem); line-height: 1.08; letter-spacing: -.04em; }
  .hero-quote-author { margin-left: .35em; font-size: 1rem; }
  .home-hero .button-row { gap: 12px 24px; margin-top: 24px; }
  .hero-location { right: 20px; bottom: 24px; font-size: .8rem; }
  .quick-grid { grid-template-columns: 1fr; margin-top: 14px; }
  .quick-card { min-height: 112px; }
  .quick-card strong { margin-top: 12px; }
  .section-heading { display: block; }
  .cards, .task-grid { grid-template-columns: 1fr; }
  .visual-card, .pineto-art { min-height: 340px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-stat, .trust-stat:nth-child(2) { padding: 15px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .info-bar { grid-template-columns: 1fr 1fr; }
  .info-item + .info-item { border-left: 0; }
  .info-item:nth-child(even) { border-left: 1px solid var(--uv-line); }
  .info-item:nth-child(n+3) { border-top: 1px solid var(--uv-line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}


.collection-block + .collection-block { margin-top: 80px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.steps-list li { margin-bottom: .85rem; padding-left: .35rem; }
.timeline { margin: 28px 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 0 0 28px; }
.timeline li > span { color: var(--uv-green-700); font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.timeline li > div { padding: 0 0 28px 24px; border-left: 2px solid var(--uv-line); }
.timeline h3 { margin-top: 0; }
.editorial-quote { margin: 42px 0; padding: 28px 32px; border-left: 5px solid var(--uv-blue); background: var(--uv-blue-050); color: var(--uv-blue-900); font-family: "Iowan Old Style", Georgia, serif; font-size: 1.35rem; }
.editorial-quote cite { display: block; margin-top: 12px; color: var(--uv-muted); font-family: "Aptos", "Segoe UI", sans-serif; font-size: .84rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { margin: 0; overflow: hidden; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: #fff; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item figcaption { padding: 14px 18px 18px; color: var(--uv-muted); font-size: .86rem; }
.video-shell { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 48px; border-radius: var(--uv-radius-lg); background: var(--uv-blue-900); box-shadow: var(--uv-shadow); }
.video-shell.is-focus-player { width: 100%; max-width: 760px; margin-right: auto; margin-left: auto; }
.video-shell iframe { width: 100%; height: 100%; border: 0; }
.video-placeholder { height: 100%; display: grid; place-items: center; padding: 30px; color: rgba(255,255,255,.75); text-align: center; }
.menu-button { border: 1px solid var(--uv-line); background: #fff; cursor: pointer; }
@media (max-width: 960px) {
  .main-nav.is-open { position: absolute; display: grid; inset: 67px 14px auto; gap: 4px; padding: 14px; border: 1px solid var(--uv-line); border-radius: 16px; background: #fff; box-shadow: var(--uv-shadow); }
  .main-nav.is-open a { padding: 11px 13px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
}
/* Travel destination directory */
.travel-hero { --hero-overlay: linear-gradient(90deg, rgba(5,34,52,.91) 0%, rgba(7,48,70,.76) 36%, rgba(8,57,76,.30) 64%, rgba(8,57,76,.08) 100%); min-height: clamp(520px, 60vw, 620px); display: grid; align-items: start; background: var(--uv-blue-900); }
.travel-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-overlay), url("../images/hero-viaggi.jpg"); background-position: center; background-size: cover; }
/* A supplied hero image keeps its own alt text and loading priority; reuse the shared overlay and layout. */
.travel-hero > .hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.travel-hero:has(> .hero-background)::before { z-index: 1; background-image: var(--hero-overlay); }
@media (max-width: 640px) {
  .travel-hero:has(> .hero-background) { --hero-overlay: linear-gradient(90deg, rgba(5,34,52,.88), rgba(7,48,70,.68)); }
}
.travel-hero::after { display: none; }
.travel-hero .container { position: relative; z-index: 2; width: min(calc(100% - 40px), var(--uv-max)); }
.travel-hero h1 { max-width: 850px; color: #fff; }
.travel-hero .lede { max-width: 710px; color: rgba(255,255,255,.86); }
.travel-hero .eyebrow { color: #d7efad; }
.travel-hero .breadcrumbs, .travel-hero .breadcrumbs a { color: rgba(255,255,255,.75); }
.travel-hero .breadcrumbs span:not(:last-child)::after { color: rgba(255,255,255,.48); }
.travel-hero .button-secondary, .locality-hero--panoramic .button-secondary { border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); }
.travel-hero .button-secondary:hover, .locality-hero--panoramic .button-secondary:hover { background: #fff; color: var(--uv-blue-900); }
.travel-hero.hero-compact { min-height: 0; padding: clamp(22px, 2.5vw, 36px) 0 clamp(32px, 3vw, 44px); }
.travel-hero.hero-compact h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); }
.travel-hero.hero-compact .breadcrumbs { margin-bottom: 16px; }
.travel-hero.hero-compact .eyebrow { margin-bottom: 12px; }
.travel-hero.hero-compact .lede { margin: 18px 0 0; }
.travel-summary { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: #fff; box-shadow: 0 12px 34px rgba(15,53,72,.06); }
.travel-summary > div { padding: 26px 30px; }
.travel-summary > div + div { border-left: 1px solid var(--uv-line); }
.travel-summary strong { display: block; color: var(--uv-blue-900); font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; }
.travel-summary span { display: block; margin-top: 8px; color: var(--uv-muted); font-size: .9rem; }
.directory-heading { align-items: start; }
.directory-tools { margin-bottom: 52px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: var(--uv-blue-050); }
.destination-search { display: grid; gap: 9px; max-width: 680px; }
.destination-search span { color: var(--uv-blue-900); font-size: .82rem; font-weight: 850; }
.destination-search input { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid #b8d0db; border-radius: 14px; background: #fff; color: var(--uv-ink); font: inherit; outline: none; }
.destination-search input:focus { border-color: var(--uv-blue); box-shadow: 0 0 0 4px rgba(50,131,183,.14); }
.destination-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.filter-chip { min-height: 40px; padding: 0 15px; border: 1px solid #bfd4dc; border-radius: 999px; background: #fff; color: var(--uv-blue-900); font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.filter-chip:hover { border-color: var(--uv-blue); }
.filter-chip.is-active { border-color: var(--uv-blue-700); background: var(--uv-blue-700); color: #fff; }
.destination-count { margin: 18px 0 0; color: var(--uv-muted); font-size: .86rem; }
.destination-count strong { color: var(--uv-blue-900); }
.destination-group + .destination-group { margin-top: 58px; padding-top: 48px; border-top: 1px solid var(--uv-line); }
.destination-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.destination-group-heading h3 { margin: 0; color: var(--uv-blue-900); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.destination-group-heading span { color: var(--uv-muted); font-size: .83rem; font-weight: 750; }
.destination-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.destination-item { position: relative; min-height: 108px; padding: 19px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; color: inherit; text-decoration: none; box-shadow: 0 8px 24px rgba(15,53,72,.04); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.destination-item::after { content: "→"; position: absolute; right: 17px; top: 17px; color: var(--uv-green-700); font-weight: 900; }
.destination-item strong { display: block; padding-right: 24px; color: var(--uv-blue-900); font-size: 1.02rem; }
.destination-item span { display: block; margin-top: 15px; color: var(--uv-muted); font-size: .79rem; }
.destination-item:hover { transform: translateY(-2px); border-color: #94bacd; box-shadow: 0 14px 28px rgba(15,53,72,.09); }
.destination-item[hidden], .destination-group[hidden], .directory-empty[hidden] { display: none; }
.directory-empty { padding: 34px; border: 1px dashed #9ebbc8; border-radius: var(--uv-radius); background: var(--uv-blue-050); color: var(--uv-blue-900); text-align: center; }
/* Compact icon-and-label navigation, for directories without card descriptions. */
.compact-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.compact-link-grid > a { display: grid; grid-template-columns: 32px minmax(0, 1fr) 14px; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; color: var(--uv-blue-900); font-size: .95rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.compact-link-grid > a::after { content: "→"; color: var(--uv-green-700); }
.compact-link-grid > a > img { display: block; width: 32px; height: 24px; object-fit: contain; border-radius: 2px; }
.compact-link-grid > a:hover { background: var(--uv-blue-050); border-color: #94bacd; }
.compact-link-grid > a:focus-visible { outline: 3px solid var(--uv-blue); outline-offset: 3px; }
@media (max-width: 680px) {
  .compact-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .compact-link-grid > a { grid-template-columns: 24px minmax(0, 1fr) 12px; gap: 8px; padding: 10px; font-size: .875rem; }
  .compact-link-grid > a > img { width: 24px; height: 18px; }
}
@media (max-width: 359px) {
  .compact-link-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .destination-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .travel-summary { grid-template-columns: 1fr; }
  .travel-summary > div + div { border-left: 0; border-top: 1px solid var(--uv-line); }
  .destination-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .destination-list { grid-template-columns: 1fr; }
  .destination-group-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* Crete destination and place pages */
.crete-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 34px 0; }
.crete-card { overflow: hidden; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: #fff; color: inherit; text-decoration: none; box-shadow: 0 10px 30px rgba(15,53,72,.07); }
.crete-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.crete-card-body { padding: 20px 22px 23px; }
.crete-card-meta { display: block; margin-bottom: 7px; color: var(--uv-green-700); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.crete-card strong, .crete-card h2, .crete-card h3 { margin: 0; display: block; color: var(--uv-blue-900); font-family: "Iowan Old Style", Georgia, serif; font-size: 1.45rem; }
.crete-card p { margin: 8px 0 0; color: var(--uv-muted); font-size: .9rem; }
.crete-card:hover { transform: translateY(-2px); border-color: #94bacd; }
.place-intro { font-size: 1.08rem; }
.place-practical { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.place-practical div { padding: 18px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; }
.place-practical span { display: block; color: var(--uv-muted); font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.place-practical strong { display: block; margin-top: 5px; color: var(--uv-blue-900); }
.place-map { overflow: hidden; aspect-ratio: 16/9; margin: 26px 0 10px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: var(--uv-blue-050); box-shadow: 0 12px 34px rgba(15,53,72,.07); }
.place-map iframe { width: 100%; height: 100%; border: 0; }
.destination-map-page main > header { padding-bottom: clamp(16px, 2vw, 22px); }
.destination-map-page main > header + .section-tight { padding-top: clamp(12px, 1.5vw, 18px); }
.destination-map-page main > header + .section-tight > .container > .place-map:first-child { margin-top: 0; }
.place-map.has-map-pins { position: relative; isolation: isolate; }
.destination-map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--uv-blue-050); }
.destination-map-canvas.leaflet-container { font-family: inherit; }
.uv-map-marker { border: 0; background: transparent; }
.uv-map-marker-pin { display: grid; place-items: center; width: 32px; height: 32px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; background: var(--uv-blue); box-shadow: 0 4px 10px rgba(15,53,72,.36); color: #fff; transform: rotate(-45deg); }
.uv-map-marker-pin > span { font-size: .72rem; font-weight: 900; line-height: 1; transform: rotate(45deg); }
.uv-map-popup { display: grid; gap: 7px; min-width: 150px; }
.uv-map-popup strong { color: var(--uv-blue-900); font-size: .93rem; }
.uv-map-popup a { color: var(--uv-blue-700); font-size: .8rem; font-weight: 800; }
.map-link { display: inline-flex; margin-bottom: 26px; font-size: .88rem; font-weight: 800; }
.media-credit { color: var(--uv-muted); font-size: .78rem; }
.media-credit a { color: inherit; }
.place-note { margin: 28px 0; padding: 22px 24px; border: 1px solid #c9dfe6; border-radius: var(--uv-radius-sm); background: var(--uv-blue-050); }
.place-note strong { color: var(--uv-blue-900); }
.place-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.place-nav a { display: inline-flex; padding: 8px 12px; border: 1px solid var(--uv-line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; }
.legacy-note { color: var(--uv-muted); font-size: .88rem; }
@media (max-width: 720px) {
  .crete-directory, .place-practical { grid-template-columns: 1fr; }
  .place-map { aspect-ratio: 4/3; }
}
/* Crete travel story hub */
.crete-story-header { padding-bottom: 34px; }
.crete-story-header h1 { max-width: 1050px; }
.crete-story-facts { margin-top: 28px; }
.crete-cover img { max-height: 630px; }
.crete-section-nav { position: relative; z-index: 4; justify-content: center; margin: 28px auto 0; padding: 16px; border: 1px solid var(--uv-line); border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 12px 32px rgba(15,53,72,.08); }
.crete-section-nav a { background: var(--uv-blue-050); }
.crete-intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(42px, 7vw, 90px); align-items: start; }
.crete-intro-grid .article-body h2 { margin-top: 0; }
.crete-hub-page .section-heading { display: block; }
.crete-hub-page .section-heading > div { width: 100%; }
.crete-hub-page .section-heading p { max-width: 900px; margin-top: 0; }
.crete-memory-card { position: sticky; top: 108px; padding: 30px; border-radius: var(--uv-radius); background: var(--uv-blue-900); color: rgba(255,255,255,.8); box-shadow: var(--uv-shadow); }
.crete-memory-card > span { color: #d7efad; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.crete-memory-card blockquote { margin: 18px 0 24px; color: #fff; font-family: "Iowan Old Style", Georgia, serif; font-size: 1.4rem; line-height: 1.35; }
.crete-memory-card ul { margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.crete-memory-card li + li { margin-top: 11px; }
.crete-memory-card strong { color: #d7efad; }
.crete-directory-wide { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; margin-bottom: 0; }
.crete-directory-wide .crete-card { grid-column: span 4; display: flex; flex-direction: column; min-width: 0; }
.crete-directory-wide .crete-card-feature { grid-column: span 6; }
.crete-directory-wide .crete-card img { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: center; }
.crete-directory-wide .crete-card-body { display: flex; flex: 1; flex-direction: column; }
.crete-directory-wide .crete-card p { margin-top: 9px; }
.crete-media-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.crete-photo-collage { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: 1fr 1fr; gap: 9px; overflow: hidden; min-height: 500px; border-radius: var(--uv-radius-lg); background: var(--uv-blue-050); box-shadow: var(--uv-shadow); }
.crete-photo-collage img { width: 100%; height: 100%; object-fit: cover; }
.crete-photo-collage .crete-photo-main { grid-row: 1 / 3; }
.crete-photo-collage > span { position: absolute; left: 22px; bottom: 22px; padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--uv-blue-900); font-size: .84rem; font-weight: 850; }
.crete-video-panel .video-shell { margin-bottom: 18px; }
/* Compact standalone collection: left aligned, with a player that fits short screens. */
.crete-video-panel.is-compact { max-width: 860px; }
.crete-video-panel.is-compact .video-shell { width: min(100%, calc((100svh - 160px) * 16 / 9)); }
.crete-video-links { display: grid; gap: 9px; }
.crete-video-links button { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 13px; width: 100%; padding: 14px 16px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.crete-video-links button:hover { border-color: var(--uv-blue); }
.crete-video-links button.is-active { border-color: var(--uv-blue); background: var(--uv-blue-050); box-shadow: 0 0 0 3px rgba(50,131,183,.1); }
.crete-video-links button.is-active .play-mark { background: var(--uv-blue-700); }
.crete-video-links .play-mark { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--uv-green); color: #fff; font-size: .78rem; }
.crete-video-links strong { color: var(--uv-blue-900); line-height: 1.2; }
.crete-video-links small { color: var(--uv-muted); }
.crete-video-links button:not(:has(small)) { grid-template-rows: 1fr; align-items: center; }
.crete-video-links button:not(:has(small)) .play-mark { grid-row: auto; }
.crete-video-panel > p { margin: 18px 0 0; }
.diary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.diary-link { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: center; min-height: 82px; padding: 17px 19px; border: 1px solid rgba(22,42,54,.12); border-radius: var(--uv-radius-sm); background: rgba(255,255,255,.78); color: inherit; text-decoration: none; }
.diary-link span { color: var(--uv-green-700); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.diary-link strong { color: var(--uv-blue-900); }
.diary-link:hover { border-color: var(--uv-blue); background: #fff; transform: translateY(-2px); }
.crete-map-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 6vw, 75px); align-items: center; }
.crete-map-intro .place-map { margin: 0; }
.crete-hub-page section[id] { scroll-margin-top: 92px; }
@media (max-width: 960px) {
  .crete-intro-grid, .crete-media-grid, .crete-map-intro { grid-template-columns: 1fr; }
  .crete-memory-card { position: static; }
  .crete-directory-wide .crete-card, .crete-directory-wide .crete-card-feature { grid-column: span 6; }
  .crete-section-nav { justify-content: flex-start; border-radius: var(--uv-radius); }
}
@media (max-width: 640px) {
  .crete-section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 14px; padding: 10px; border-radius: var(--uv-radius); }
  .crete-section-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 7px; border-radius: 14px; text-align: center; line-height: 1.2; }
  .crete-section-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .crete-directory-wide .crete-card, .crete-directory-wide .crete-card-feature { grid-column: 1 / -1; }
  .crete-directory-wide .crete-card img { aspect-ratio: 16/9; }
  .crete-photo-collage { min-height: 380px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr .65fr; }
  .crete-photo-collage .crete-photo-main { grid-column: 1 / 3; grid-row: 1; }
  .diary-grid { grid-template-columns: 1fr; }
}
/* Tighter labels for the final Crete practical sections */
.crete-hub-page #come-arrivare .eyebrow,
.crete-hub-page #quando-andare .eyebrow { margin-bottom: 8px; }
.crete-hub-page #come-arrivare h2,
.crete-hub-page #quando-andare h2 { margin-top: 0; }
.crete-hub-page #quando-andare .source-box { margin-top: 64px; }
/* Crete photo gallery */
.crete-gallery-hero { padding-bottom: clamp(8px, 1.5vw, 14px); }
.crete-gallery-hero + .section-tight { padding-top: clamp(8px, 1.2vw, 12px); padding-bottom: clamp(18px, 2.5vw, 30px); }
.crete-gallery-hero .lede { max-width: 780px; }
.gallery-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 12px; margin-top: 10px; }
.gallery-summary div { padding: 17px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--uv-radius-sm); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.gallery-summary strong, .gallery-summary span { display: block; }
.gallery-summary strong { color: #fff; font-family: "Iowan Old Style", Georgia, serif; font-size: 1.65rem; line-height: 1; }
.gallery-summary span { margin-top: 5px; color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.gallery-toolbar { position: sticky; z-index: 8; top: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding: 13px 15px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: rgba(255,255,255,.94); box-shadow: 0 12px 32px rgba(15,53,72,.09); backdrop-filter: blur(14px); }
.gallery-toolbar p { flex: 0 0 auto; margin: 0; padding: 0 8px; color: var(--uv-muted); font-size: .82rem; }
.gallery-toolbar p strong { color: var(--uv-blue-900); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.crete-gallery-page [data-crete-gallery] > .gallery-filters { margin-bottom: clamp(20px, 2.4vw, 30px); }
.gallery-filters button { min-height: 40px; padding: 8px 14px; border: 1px solid #cfe0e8; border-radius: 999px; background: var(--uv-blue-050); color: var(--uv-blue-900); font: inherit; font-size: .8rem; font-weight: 850; cursor: pointer; }
.gallery-filters button:hover { border-color: var(--uv-blue); background: #fff; }
.gallery-filters button.is-active { border-color: var(--uv-blue); background: var(--uv-blue); color: #fff; box-shadow: 0 5px 14px rgba(50,131,183,.22); }
.crete-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 165px; gap: 12px; }
.crete-gallery-card { position: relative; grid-column: span 2; grid-row: span 2; overflow: hidden; margin: 0; border-radius: 18px; background: var(--uv-blue-050); box-shadow: 0 7px 22px rgba(15,53,72,.1); }
.crete-gallery-card.is-portrait { grid-column: span 1; grid-row: span 2; }
.crete-gallery-card[hidden] { display: none; }
.crete-gallery-card button { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; color: #fff; font: inherit; text-align: left; cursor: zoom-in; }
.crete-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.3,1); }
.gallery-card-overlay { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 42px 18px 16px; background: linear-gradient(transparent, rgba(5,30,43,.78)); opacity: .88; transition: opacity .25s ease; }
.gallery-card-overlay strong { font-size: .88rem; }
.gallery-card-overlay small { color: rgba(255,255,255,.78); font-size: .68rem; }
.crete-gallery-card button:hover img, .crete-gallery-card button:focus-visible img { transform: scale(1.035); }
.crete-gallery-card button:hover .gallery-card-overlay, .crete-gallery-card button:focus-visible .gallery-card-overlay { opacity: 1; }
.crete-gallery-card button:focus-visible { outline: 4px solid var(--uv-green); outline-offset: -4px; }
.gallery-empty { padding: 60px 24px; border: 1px dashed var(--uv-line); border-radius: var(--uv-radius); color: var(--uv-muted); text-align: center; }
.gallery-credits h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.gallery-credits details { margin-top: 16px; }
.gallery-credits summary { color: var(--uv-blue-900); font-weight: 850; cursor: pointer; }
.gallery-credits li + li { margin-top: 7px; }
.has-gallery-lightbox { overflow: hidden; }
.gallery-lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3,19,28,.96); color: #fff; }
.gallery-lightbox::backdrop { background: rgba(3,19,28,.96); }
.gallery-lightbox-inner { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; width: 100%; height: 100%; padding: 32px 24px 22px; }
.gallery-lightbox figure { display: flex; min-width: 0; height: 100%; margin: 0; flex-direction: column; align-items: center; justify-content: center; }
.gallery-lightbox figure img { max-width: 100%; min-height: 0; max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 7px; box-shadow: 0 20px 70px rgba(0,0,0,.45); }
.gallery-lightbox figcaption { display: flex; justify-content: space-between; gap: 30px; width: 100%; max-width: 1100px; padding-top: 12px; color: rgba(255,255,255,.7); font-size: .82rem; }
.gallery-lightbox figcaption strong { color: #fff; }
.gallery-lightbox-close, .gallery-lightbox-nav { border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font: inherit; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.gallery-lightbox-close:hover, .gallery-lightbox-nav:hover { background: var(--uv-blue); transform: scale(1.04); }
.gallery-lightbox-close { position: absolute; z-index: 2; top: 20px; right: 22px; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; }
.gallery-lightbox-nav { display: grid; place-items: center; width: 52px; height: 52px; margin: auto; font-size: 1.4rem; }
@media (max-width: 1000px) {
  .crete-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 145px; }
  .gallery-toolbar { top: 72px; align-items: flex-start; flex-direction: column; }
  .gallery-toolbar p { padding: 0 3px 2px; }
}
@media (max-width: 640px) {
  .gallery-summary { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .gallery-summary div { padding: 13px 10px; }
  .gallery-summary strong { font-size: 1.35rem; }
  .gallery-summary span { font-size: .61rem; }
  .gallery-toolbar { position: relative; top: auto; margin-inline: -4px; padding: 11px; }
  .gallery-filters { gap: 6px; }
  .gallery-filters button { min-height: 37px; padding: 7px 11px; font-size: .75rem; }
  .crete-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 112px; gap: 8px; }
  .crete-gallery-card { grid-column: span 2; grid-row: span 2; border-radius: 13px; }
  .crete-gallery-card.is-portrait { grid-column: span 1; grid-row: span 2; }
  .gallery-card-overlay { padding: 32px 12px 11px; }
  .gallery-card-overlay small { display: none; }
  .gallery-lightbox-inner { display: flex; padding: 62px 12px 78px; }
  .gallery-lightbox figure { width: 100%; }
  .gallery-lightbox figure img { max-height: calc(100dvh - 170px); }
  .gallery-lightbox figcaption { padding: 10px 3px 0; }
  .gallery-lightbox-nav { position: absolute; z-index: 2; bottom: 17px; width: 48px; height: 48px; }
  .gallery-lightbox-prev { left: calc(50% - 58px); }
  .gallery-lightbox-next { right: calc(50% - 58px); }
  .gallery-lightbox-close { top: 12px; right: 12px; }
}
/* Crete place editorial template */
.crete-place-main { padding-top: clamp(26px, 4vw, 46px); }
.crete-place-section-nav { position: sticky; z-index: 7; top: 82px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1120px; margin: 0 auto clamp(38px, 5vw, 58px); padding: 13px; border: 1px solid var(--uv-line); border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 12px 32px rgba(15,53,72,.09); backdrop-filter: blur(14px); }
.crete-place-section-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border: 1px solid #cfe0e8; border-radius: 999px; background: var(--uv-blue-050); color: var(--uv-blue-900); font-size: .8rem; font-weight: 850; line-height: 1.15; text-decoration: none; }
.crete-place-section-nav a:hover { border-color: var(--uv-blue); background: #fff; transform: translateY(-1px); }
.crete-place-section-nav .crete-place-home-link { border-color: var(--uv-green); background: var(--uv-green); color: #fff; }
.crete-place-section-nav .crete-place-home-link:hover { background: var(--uv-green-700); }
.crete-place-section-nav .crete-place-home-link span { margin-right: 6px; font-size: 1rem; }
.crete-place-content { max-width: 1080px; margin: 0 auto; }
.crete-place-content > h2,
.crete-place-content > h3,
.crete-place-content > p,
.crete-place-content > ul,
.crete-place-content > ol,
.crete-place-content > .answer-box,
.crete-place-content > .place-note,
.crete-place-content > .source-box,
.crete-place-content > .faq { max-width: 860px; margin-right: auto; margin-left: auto; }
.crete-place-content > .place-practical { max-width: 940px; margin-right: auto; margin-left: auto; }
.crete-place-content > h2 { margin-top: clamp(58px, 8vw, 88px); }
.crete-place-content > .answer-box + .place-intro { margin-top: 24px; }
.crete-place-content > .answer-box + h2 { margin-top: clamp(44px, 6vw, 64px); }
.crete-place-content > .inline-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); max-width: 1000px; margin: clamp(38px, 6vw, 58px) auto; }
.crete-place-content .video-shell,
.crete-place-content .place-map { max-width: 1000px; margin-right: auto; margin-left: auto; }
.crete-place-content .map-link { display: table; margin-right: auto; margin-left: auto; }
.crete-place-content section[id], .crete-place-content [id] { scroll-margin-top: 220px; }
.place-gallery-intro { max-width: 1080px; margin: 0 auto 22px; color: var(--uv-muted); font-size: 1.02rem; }
.crete-place-gallery { display: block; columns: 3 260px; column-gap: 16px; max-width: 1080px; margin: 24px auto 0; }
.crete-place-gallery .crete-gallery-card,
.crete-place-gallery .crete-gallery-card.is-portrait { display: inline-block; width: 100%; height: auto; margin: 0 0 16px; break-inside: avoid; grid-column: auto; grid-row: auto; }
.crete-place-gallery .crete-gallery-card button { height: auto; }
.crete-place-gallery .crete-gallery-card img { display: block; width: 100%; height: auto; object-fit: contain; }
.place-gallery-action { display: flex; justify-content: flex-start; max-width: 1080px; margin: 24px auto 0; }
.crete-place-page .article-cover img { max-height: 650px; object-position: center; }
.crete-place-page .place-nav { max-width: 860px; margin-right: auto; margin-left: auto; }
.pineto-place-page .site-header { position: relative; top: auto; }
.pineto-place-page .pineto-hero h1 { font-size: clamp(2.35rem, 4.2vw, 4.5rem); }
.pineto-place-page .crete-place-section-nav { position: relative; top: auto; }
.pineto-place-page .crete-place-content section[id],
.pineto-place-page .crete-place-content [id] { scroll-margin-top: 24px; }

/* Long-form place pages with several autonomous sections and extensive photo archives. */
.rich-place-page .place-nav,
.rich-place-page .crete-place-content > h2,
.rich-place-page .crete-place-content > h3,
.rich-place-page .crete-place-content > p,
.rich-place-page .crete-place-content > ul,
.rich-place-page .crete-place-content > ol,
.rich-place-page .crete-place-content > .answer-box,
.rich-place-page .crete-place-content > .place-note,
.rich-place-page .crete-place-content > .source-box,
.rich-place-page .crete-place-content > .editorial-quote,
.rich-place-page .crete-place-content > .editorial-callout,
.rich-place-page .crete-place-content > .editorial-media-grid,
.rich-place-page .crete-place-content > .editorial-figure,
.rich-place-page .crete-place-content > .place-gallery-action,
.rich-place-page .crete-place-content > .place-map-directory,
.rich-place-page .crete-place-content > .faq { max-width: 1080px; margin-right: auto; margin-left: auto; }
.rich-place-page .crete-place-content .video-shell,
.rich-place-page .crete-place-content .place-map { max-width: 1080px; }
.rich-place-page .crete-place-content > h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--uv-line);
}
.rich-place-page .crete-place-content > p,
.rich-place-page .crete-place-content > ul,
.rich-place-page .crete-place-content > ol { text-align: left; }
.place-thumbnail-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 1080px; margin: 24px auto 38px; }
.place-thumbnail-gallery figure { min-width: 0; margin: 0; }
.place-thumbnail-gallery button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 1px solid var(--uv-line); border-radius: 12px; background: var(--uv-blue-050); cursor: zoom-in; }
.place-thumbnail-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.place-thumbnail-gallery button:hover img { transform: scale(1.035); }
.place-thumbnail-gallery button:focus-visible { outline: 3px solid var(--uv-blue); outline-offset: 3px; }
.place-thumbnail-gallery figcaption { margin-top: 6px; color: var(--uv-muted); font-size: .72rem; line-height: 1.25; text-align: left; }
.place-map-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.place-map-directory a { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 16px 18px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; text-decoration: none; }
.place-map-directory strong { color: var(--uv-blue-900); }
.place-map-directory span { color: var(--uv-muted); font-size: .78rem; }
.place-map-directory a:hover { border-color: var(--uv-blue); transform: translateY(-2px); }
@media (max-width: 960px) {
  .crete-place-section-nav { top: 72px; justify-content: flex-start; border-radius: var(--uv-radius); }
  .crete-place-gallery { column-count: 2; }
  .place-thumbnail-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .place-map-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .crete-place-main { padding-top: 20px; }
  .crete-place-page .article-cover img { height: auto; max-height: none; }
  .crete-place-section-nav { position: relative; top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 34px; padding: 9px; }
  .crete-place-section-nav a { min-height: 42px; padding: 7px 8px; text-align: center; }
  .crete-place-section-nav .crete-place-home-link { grid-column: 1 / -1; }
  .crete-place-content section[id], .crete-place-content [id] { scroll-margin-top: 88px; }
  .crete-place-content > h2 { margin-top: 54px; }
  .crete-place-gallery { column-count: 1; column-gap: 0; }
  .crete-place-gallery .crete-gallery-card,
  .crete-place-gallery .crete-gallery-card.is-portrait { margin-bottom: 14px; }
  .place-gallery-action { margin-top: 20px; }
  .place-thumbnail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .place-map-directory { grid-template-columns: 1fr; }
}
/* Crete weather and time pages */
.crete-info-header { padding-bottom: clamp(48px, 7vw, 76px); }
.crete-info-main { padding-top: clamp(32px, 5vw, 54px); }
.locality-weather-page .crete-info-header { padding-bottom: clamp(24px, 3vw, 36px); }
.locality-places-page .crete-info-header { padding-bottom: clamp(20px, 2.4vw, 28px); }
.locality-places-page main > .crete-info-header + .section,
.locality-places-page main > .crete-info-header + .section-tight { padding-top: clamp(22px, 2.6vw, 30px); }
.locality-places-page .answer-box { margin-bottom: clamp(28px, 4vw, 40px); }
.locality-weather-page .crete-info-main { padding-top: 0; }
.crete-info-content { max-width: 920px; margin: clamp(54px, 7vw, 82px) auto 0; }
.crete-info-content > h2 { margin-top: clamp(58px, 8vw, 86px); }
.crete-info-back-action { max-width: 920px; margin: clamp(32px, 5vw, 48px) auto 0; }
.berlin-video-page .crete-info-back-action { margin-inline: 0; }
.crete-info-back-action .button { min-height: 42px; padding-inline: 16px; font-size: .82rem; }
.weather-live-panel { max-width: 1180px; margin: 0 auto; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--uv-line); border-radius: var(--uv-radius-lg); background: #fff; box-shadow: var(--uv-shadow); }
.weather-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 25px; }
.weather-panel-heading h2 { margin: 5px 0 8px; color: var(--uv-blue-900); font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); }
.weather-panel-heading p { max-width: 650px; margin: 0; color: var(--uv-muted); }
.weather-location-picker { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.weather-location-picker button { min-height: 39px; padding: 8px 13px; border: 1px solid #cfe0e8; border-radius: 999px; background: var(--uv-blue-050); color: var(--uv-blue-900); font: inherit; font-size: .78rem; font-weight: 850; cursor: pointer; }
.weather-location-picker button.is-active { border-color: var(--uv-blue); background: var(--uv-blue); color: #fff; }
.weather-current-card { display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(360px, .85fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 38px); border-radius: var(--uv-radius); background: linear-gradient(130deg, var(--uv-blue-900), #17638e); color: #fff; }
.weather-current-main { display: flex; align-items: center; gap: 21px; }
.weather-current-icon { font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: 1; }
.weather-current-main small { color: rgba(255,255,255,.68); font-weight: 750; }
.weather-current-main strong { display: block; margin-top: 3px; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: .95; }
.weather-current-main p { margin: 7px 0 0; color: rgba(255,255,255,.82); }
.weather-current-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.weather-current-details div { padding: 16px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--uv-radius-sm); background: rgba(255,255,255,.09); }
.weather-current-details span, .weather-current-details strong { display: block; }
.weather-current-details span { color: rgba(255,255,255,.66); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.weather-current-details strong { margin-top: 6px; color: #fff; font-size: .95rem; }
.weather-forecast { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
.weather-day-card { min-width: 0; padding: 17px 12px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: var(--uv-blue-050); text-align: center; font: inherit; color: inherit; overflow-wrap: anywhere; }
button.weather-day-card { cursor: pointer; }
button.weather-day-card:hover, .weather-day-card[aria-expanded="true"] { border-color: var(--uv-blue); background: #fff; box-shadow: inset 0 0 0 1px var(--uv-blue); }
button.weather-day-card:focus-visible { outline: 3px solid var(--uv-blue); outline-offset: 3px; }
button.weather-day-card:disabled { cursor: default; }
.weather-day-card time { display: block; color: var(--uv-muted); font-size: .72rem; font-weight: 850; text-transform: capitalize; }
.weather-day-icon { display: block; margin: 9px 0 5px; font-size: 1.9rem; }
.weather-day-card > strong { display: block; color: var(--uv-blue-900); font-size: 1.05rem; }
.weather-day-card > strong small { color: var(--uv-muted); font-size: .78rem; font-weight: 750; }
.weather-day-card p, .weather-day-label { display: block; min-height: 34px; margin: 5px 0 8px; color: var(--uv-muted); font-size: .72rem; line-height: 1.25; }
.weather-day-card div, .weather-day-meta { display: grid; gap: 2px; color: var(--uv-muted); font-size: .64rem; }
.weather-day-note { display: block; margin-bottom: 10px; color: var(--uv-blue-900); font-size: .7rem; line-height: 1.4; }
.weather-day-action { display: block; margin-top: 12px; color: var(--uv-blue-900); font-size: .72rem; font-weight: 850; }
/* Shared expanded state for hourly forecasts, opened by a daily card. */
.weather-hourly-panel { margin-top: 24px; padding: clamp(16px, 3vw, 26px); border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: var(--uv-blue-050); scroll-margin-top: 110px; }
.weather-hourly-panel[hidden] { display: none; }
.weather-hourly-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.weather-hourly-heading h3 { margin: 0; color: var(--uv-blue-900); font-size: 1.2rem; }
.weather-hourly-heading .button { min-height: 42px; font-size: .78rem; }
.weather-hourly-list { margin: 18px 0 0; padding: 0; list-style: none; }
.weather-hour-row { display: grid; grid-template-columns: .55fr 1.8fr .8fr 1.1fr .8fr; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--uv-line); font-size: .86rem; }
.weather-hour-row > div { min-width: 0; }
.weather-hour-row small { display: block; margin-bottom: 4px; color: var(--uv-muted); font-size: .67rem; }
.weather-hour-row time, .weather-hour-row strong { font-weight: 850; color: var(--uv-blue-900); }
.weather-status { margin: 13px 2px 0; color: var(--uv-muted); font-size: .72rem; }
.weather-loading, .weather-error { padding: 40px 24px; border-radius: var(--uv-radius); background: var(--uv-blue-050); color: var(--uv-muted); text-align: center; }
.weather-error strong { color: var(--uv-blue-900); }
.weather-practical { max-width: none; }
.climate-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: #fff; box-shadow: 0 10px 28px rgba(15,53,72,.06); }
.climate-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.climate-table th, .climate-table td { padding: 14px 18px; border-bottom: 1px solid var(--uv-line); text-align: left; }
.climate-table thead th { background: var(--uv-blue-900); color: #fff; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.climate-table tbody th { color: var(--uv-blue-900); }
.climate-table tbody tr:last-child th, .climate-table tbody tr:last-child td { border-bottom: 0; }
.climate-table tbody tr:nth-child(even) { background: var(--uv-blue-050); }
.time-clocks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.time-clocks-grid.is-single-clock { grid-template-columns: minmax(0, 760px); justify-content: center; }
.time-clock-card { padding: clamp(28px, 5vw, 46px); border: 1px solid var(--uv-line); border-radius: var(--uv-radius-lg); background: #fff; color: var(--uv-blue-900); box-shadow: var(--uv-shadow); }
.time-clock-card.is-crete { border-color: transparent; background: linear-gradient(135deg, var(--uv-blue-900), #17638e); color: #fff; }
.time-clock-card > span { display: block; color: var(--uv-green-700); font-size: .76rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.time-clock-card.is-crete > span { color: #d7efad; }
.clock-time { display: block; margin-top: 13px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(2.7rem, 7vw, 5rem); font-variant-numeric: tabular-nums; letter-spacing: -.06em; line-height: 1; }
.time-clock-card p { margin: 15px 0 4px; color: var(--uv-muted); text-transform: capitalize; }
.time-clock-card.is-crete p { color: rgba(255,255,255,.75); }
.time-clock-card small { color: var(--uv-muted); }
.time-clock-card.is-crete small { color: rgba(255,255,255,.58); }
.time-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
.time-facts-grid > div { padding: 21px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; }
.time-facts-grid span, .time-facts-grid strong { display: block; }
.time-facts-grid span { color: var(--uv-green-700); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.time-facts-grid strong { margin-top: 7px; color: var(--uv-blue-900); }
.time-facts-grid p { margin: 7px 0 0; color: var(--uv-muted); font-size: .82rem; }
.time-change-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.time-change-rules .time-change-card { margin: 0; }
.time-change-card { margin: 24px 0; padding: clamp(24px, 4vw, 34px); border: 1px solid #cfe3ac; border-radius: var(--uv-radius); background: var(--uv-green-050); }
.time-change-card span { display: block; color: var(--uv-green-700); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.time-change-card strong { display: block; margin-top: 8px; color: var(--uv-blue-900); font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.time-change-card p { margin-bottom: 0; }
.crete-practical-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.crete-practical-links a { padding: 20px 22px; border: 1px solid rgba(15,53,72,.14); border-radius: var(--uv-radius-sm); background: rgba(255,255,255,.72); color: inherit; text-decoration: none; }
.crete-practical-links span, .crete-practical-links strong { display: block; }
.crete-practical-links span { color: var(--uv-green-700); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.crete-practical-links strong { margin-top: 7px; color: var(--uv-blue-900); }
.crete-practical-links a:hover { border-color: var(--uv-blue); background: #fff; transform: translateY(-2px); }
@media (max-width: 960px) {
  .weather-panel-heading { align-items: flex-start; flex-direction: column; }
  .weather-location-picker { justify-content: flex-start; }
  .weather-current-card { grid-template-columns: 1fr; }
  .weather-forecast { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .crete-info-header { padding-bottom: 38px; }
  .crete-info-main { padding-top: 24px; }
  .weather-live-panel { padding: 18px 14px; border-radius: var(--uv-radius); }
  .weather-location-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .weather-location-picker button { padding-inline: 7px; }
  .weather-current-card { padding: 22px 17px; }
  .weather-current-main { gap: 14px; }
  .weather-current-icon { font-size: 3.2rem; }
  .weather-current-main strong { font-size: 3.5rem; }
  .weather-current-details { grid-template-columns: 1fr; }
  .weather-forecast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weather-hour-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .weather-hour-condition { grid-column: span 2; }
  .time-clocks-grid, .time-facts-grid, .time-change-rules, .crete-practical-links { grid-template-columns: 1fr; }
  .clock-time { font-size: clamp(2.5rem, 14vw, 4rem); }
}
/* Responsive footer navigation */
@media (max-width: 960px) {
  .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-links a, .footer-links a:first-child, .footer-links a:last-child { justify-self: start; }
}
@media (max-width: 640px) {
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
  .footer-legal { margin-top: 20px; text-align: left; }
}

/* Compact language selector */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--uv-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--uv-muted);
  text-decoration: none;
}
.language-switch a:hover {
  background: var(--uv-green-050);
  color: var(--uv-green-700);
}
.language-switch a[aria-current="page"] {
  background: var(--uv-blue-050);
  color: var(--uv-blue-700);
}
@media (max-width: 960px) {
  .language-switch { margin-left: auto; }
  .menu-button { margin-left: 0; }
}
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .brand-name { font-size: 1rem; }
  .language-switch { gap: 2px; }
  .language-switch a { padding-inline: 5px; }
}
/* Berlin destination */
.berlin-story-header { padding-bottom: 34px; }
.berlin-story-header h1 { max-width: 1050px; }
.berlin-story-facts { margin-top: 28px; }
.berlin-cover img, .berlin-place-cover img { height: clamp(360px, 52vw, 650px); max-height: 650px; object-fit: cover; object-position: center; }
.berlin-hub-page section[id] { scroll-margin-top: 92px; }
.brazil-home-cover + .container .berlin-hub-nav,
.rio-home-cover + .container .berlin-hub-nav { margin-top: clamp(22px, 3vw, 34px); }
.brazil-home-cover,
.rio-home-cover { position: relative; }
.brazil-home-cover .hero-media-credit,
.rio-home-cover .hero-media-credit { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 6px 9px; border-radius: 999px; background: rgba(5,34,52,.78); color: #fff; font-size: .72rem; line-height: 1.2; }
.berlin-directory .crete-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.berlin-place-page .crete-place-content { max-width: 920px; margin-inline: auto; }
.berlin-place-page .article-body > h2 { scroll-margin-top: 120px; }
.berlin-related { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--uv-line); }
.berlin-large-map { width: 100%; aspect-ratio: 16 / 8; margin-top: 0; }
.berlin-map-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.berlin-map-directory a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; text-decoration: none; }
.berlin-map-directory strong { color: var(--uv-blue-900); }
.berlin-map-directory span { color: var(--uv-muted); font-size: .78rem; }
.berlin-map-directory a:hover { border-color: var(--uv-blue); transform: translateY(-2px); }
.berlin-feature-video { margin: 0 0 52px; }
.berlin-video-directory { display: grid; gap: 10px; }
.berlin-video-directory a { display: grid; gap: 6px; padding: 19px 22px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; color: inherit; text-decoration: none; }
.berlin-video-directory a:hover, .berlin-video-directory a.is-active { border-color: var(--uv-blue); background: var(--uv-blue-050); }
.berlin-video-directory strong { color: var(--uv-blue-900); }
.berlin-video-directory span { color: var(--uv-muted); font-size: .86rem; }
.berlin-gallery-page .crete-gallery-hero { background-image: linear-gradient(110deg, rgba(5,34,52,.96), rgba(12,75,104,.78)), url("../images/berlino/porta_brandeburgo_berlino.jpg"); background-size: cover; background-position: center; }
.barcelona-gallery-page .crete-gallery-hero { background-image: linear-gradient(110deg, rgba(5,34,52,.94), rgba(12,75,104,.76)), url("../images/barcellona/barcellona_9.jpg"); background-position: center; }
.berlin-gallery-hero { padding-top: clamp(22px, 3vw, 32px); }
.berlin-gallery-hero h1 { color: #fff; }
.berlin-gallery-hero .lede, .berlin-gallery-hero .breadcrumbs, .berlin-gallery-hero .breadcrumbs a { color: rgba(255,255,255,.82); }
.berlin-gallery-hero .eyebrow { color: #d7efad; }
.berlin-gallery-hero .breadcrumbs span:not(:last-child)::after { color: rgba(255,255,255,.5); }
.berlin-gallery-page .gallery-toolbar { top: 84px; }
.berlin-info-page .time-clock-card.is-crete { background: linear-gradient(135deg, var(--uv-blue-900), #17638e); }
@media (max-width: 900px) {
  .berlin-map-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .berlin-large-map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .berlin-cover img, .berlin-place-cover img { height: 360px; }
  .berlin-hub-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .berlin-hub-nav a:last-child { grid-column: 1 / -1; }
  .berlin-map-directory { grid-template-columns: 1fr; }
  .berlin-gallery-page .gallery-toolbar { position: relative; top: auto; align-items: stretch; flex-direction: column; }
  .berlin-gallery-page .gallery-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .berlin-gallery-page .gallery-toolbar p { padding: 0; }
}

/* Optional in-flow toolbar: retain gallery controls without following scroll. */
.gallery-toolbar.is-static { position: static; top: auto; }

.region-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.region-directory article { padding: 22px; background: #fff; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); }
.region-directory h3 { margin-top: 0; color: var(--uv-blue-900); }
@media (max-width: 900px) {
  .time-zone-clock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) { .region-directory { grid-template-columns: 1fr; } }

/* Universal editorial article */
.uv-editorial-page { background: #f8faf7; }
.editorial-hero { padding: clamp(28px, 5vw, 66px) 0 34px; background: linear-gradient(145deg, #f4f8ed, #fff 58%); }
.editorial-hero h1,
.travel-place-page .article-header h1 { font-size: clamp(2.35rem, 6vw, 4rem); }
.editorial-hero h1 { max-width: 1050px; margin: 14px 0 18px; line-height: 1.02; letter-spacing: -.045em; }
.editorial-hero h1.editorial-title-long { max-width: none; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }
.editorial-dek { max-width: 900px; color: var(--uv-muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.editorial-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; color: var(--uv-blue-900); font-size: .86rem; font-weight: 800; }
.editorial-cover img { width: 100%; height: clamp(300px, 49vw, 610px); object-fit: cover; border-radius: var(--uv-radius); }
.carnival-editorial-cover { position: relative; }
.carnival-editorial-cover img { object-position: center 58%; }
.carnival-editorial-cover .editorial-cover-credit { position: absolute; top: 12px; right: 12px; max-width: calc(100% - 24px); margin: 0; padding: 6px 9px; border-radius: 999px; background: rgba(5,34,52,.82); color: #fff; line-height: 1.25; text-align: right; }
.editorial-shell { width: min(1080px, calc(100% - 34px)); margin: -36px auto 70px; padding: clamp(28px, 5vw, 64px); position: relative; background: #fff; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); box-shadow: 0 20px 55px rgba(15,53,72,.09); }
.editorial-summary { max-width: 900px; margin: 0 auto 28px; color: var(--uv-blue-900); font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.55; }
.editorial-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; max-width: 900px; margin: 0 auto 28px; }
.editorial-facts > div { padding: 18px; background: var(--uv-green-050); border: 1px solid rgba(106,165,11,.18); border-radius: var(--uv-radius-sm); }
.editorial-facts span,.editorial-facts strong { display: block; }
.editorial-facts span { color: var(--uv-green-700); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.editorial-facts strong { margin-top: 6px; color: var(--uv-blue-900); }
.editorial-index { max-width: 900px; margin: 0 auto 44px; padding: 22px 24px; background: var(--uv-blue-050); border-left: 5px solid var(--uv-blue); border-radius: 0 var(--uv-radius-sm) var(--uv-radius-sm) 0; }
.editorial-index > strong { color: var(--uv-blue-900); font-size: 1.1rem; }
.editorial-index ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 30px; margin: 14px 0 0; padding-left: 22px; }
.editorial-index a { color: var(--uv-blue-900); }
.editorial-body { max-width: 900px; margin-inline: auto; }
.editorial-body section { scroll-margin-top: 100px; }
.editorial-body h2 { margin-top: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--uv-line); }
.faq h2 { padding-bottom: 0; border-bottom: 0; }
.editorial-body p { font-size: 1.06rem; line-height: 1.8; }
.abruzzo-story-page .editorial-body .video-shell {
  margin: clamp(34px, 5vw, 46px) 0 14px;
}
.abruzzo-story-page .editorial-body .video-shell + p {
  margin-top: 0;
  margin-bottom: clamp(34px, 5vw, 46px);
  color: var(--uv-muted);
  font-size: .96rem;
  text-align: center;
}
.article-back-action { margin: clamp(42px, 6vw, 58px) 0 0; }
.editorial-callout { margin: 34px 0; padding: 24px 26px; background: #f2f7e8; border-left: 5px solid var(--uv-green); border-radius: 0 var(--uv-radius-sm) var(--uv-radius-sm) 0; }
.editorial-callout p { margin: 8px 0 0; }
/* The shell already supplies opening space: do not stack the callout's section margin when it is the first article element. */
.magazine-article-page .editorial-body > .editorial-callout:first-child { margin-top: 0; }
.editorial-wide-media { width: min(1080px, calc(100vw - 36px)); margin: 44px 50% 44px; transform: translateX(-50%); }
.editorial-wide-media img { width: 100%; max-height: 720px; object-fit: contain; background: #eef3f4; border-radius: var(--uv-radius-sm); }
.editorial-wide-media figcaption { margin-top: 10px; color: var(--uv-muted); font-size: .84rem; }
.editorial-media-scroll { overflow-x: auto; overscroll-behavior-inline: contain; border-radius: var(--uv-radius-sm); }
.editorial-media-scroll img { display: block; }
.editorial-body table { width: 100%; border-collapse: collapse; }
.editorial-body th,.editorial-body td { padding: 14px; border: 1px solid var(--uv-line); text-align: left; vertical-align: top; }
@media (max-width: 900px) {
  .time-zone-clock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .editorial-hero h1,
  .travel-place-page .article-header h1 { font-size: clamp(2.1rem, 11vw, 3.25rem); }
  .editorial-hero h1.editorial-title-long { font-size: clamp(1.85rem, 7.8vw, 2.3rem); line-height: 1.1; }
  .editorial-shell { width: min(100% - 20px,1080px); margin-top: -18px; padding: 24px 16px 38px; }
  .editorial-facts,.editorial-index ol { grid-template-columns: 1fr; }
  .editorial-wide-media { width: calc(100vw - 20px); }
  .editorial-media-scroll img { width: 900px; max-width: none; }
  .editorial-body table,.editorial-body thead,.editorial-body tbody,.editorial-body tr,.editorial-body th,.editorial-body td { display: block; width: 100%; }
  .editorial-body table caption { display: block; width: 100%; }
  .editorial-body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .editorial-body tr { margin-bottom: 14px; overflow: hidden; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); }
  .editorial-body td { display: grid; grid-template-columns: minmax(105px,38%) 1fr; gap: 12px; border: 0; border-bottom: 1px solid var(--uv-line); }
  .editorial-body td:last-child { border-bottom: 0; }
  .editorial-body td::before { content: attr(data-label); color: var(--uv-green-700); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
}

.webcam-article-page .editorial-hero { padding: 18px 0 30px; border-bottom: 1px solid var(--uv-line); }
.webcam-article-page .editorial-hero .breadcrumbs { margin-bottom: 20px; }
.webcam-article-page .editorial-shell { width: min(calc(100% - 40px), var(--uv-max)); margin: 0 auto 70px; padding: 44px 0 64px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.webcam-article-page .editorial-body { max-width: 900px; margin-inline: 0; }
.webcam-article-page .editorial-body > p:first-child { margin-top: 0; }
.webcam-lead-visual { margin: 30px 0 48px; }
.webcam-lead-visual img { display: block; width: 100%; height: auto; border-radius: var(--uv-radius-sm); box-shadow: var(--uv-shadow); }
.webcam-lead-visual figcaption { margin: 10px 0 0; color: var(--uv-muted); font-size: .84rem; text-align: center; }
.webcam-direct-link { display: flex; align-items: center; gap: 12px; margin: 18px 0 30px; padding: 14px 16px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: var(--uv-blue-050); }
.webcam-direct-link > img { flex: 0 0 30px; width: 30px; height: 24px; }
.webcam-direct-link a { color: var(--uv-blue-900); font-weight: 850; line-height: 1.35; }
.webcam-archive-figure { margin: 24px 0 42px; }
.webcam-archive-figure img { display: block; width: auto; max-width: 100%; max-height: 540px; margin: 0 auto; border-radius: var(--uv-radius-sm); box-shadow: var(--uv-shadow); }
.webcam-archive-figure-small img { max-width: min(100%, 540px); }
.webcam-archive-figure figcaption { max-width: 760px; margin: 10px auto 0; color: var(--uv-muted); font-size: .84rem; text-align: center; }

@media (max-width: 900px) {
  .time-zone-clock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .webcam-article-page .editorial-hero { padding: 14px 0 24px; }
  .webcam-article-page .editorial-shell { width: min(calc(100% - 28px), var(--uv-max)); margin-bottom: 52px; padding: 32px 0 44px; }
  .webcam-lead-visual { margin: 26px 0 38px; }
  .webcam-direct-link { align-items: flex-start; margin-bottom: 26px; padding: 13px 14px; }
  .webcam-direct-link > img { margin-top: 1px; }
  .webcam-archive-figure { margin-bottom: 34px; }
  .webcam-archive-figure img { width: 100%; max-height: none; }
  .webcam-lead-visual figcaption { text-align: left; }
  .webcam-archive-figure figcaption { text-align: left; }
}

/* Place articles use the same left-aligned editorial column as Magazine articles.
   Opt-in page state: existing destination and Pineto layouts retain their contract. */
.editorial-place-page .place-nav { position: relative; top: auto; max-width: 900px; margin-left: 0; justify-content: flex-start; }
.editorial-place-page .editorial-body [id] { scroll-margin-top: 100px; }
.editorial-place-page .editorial-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.18; letter-spacing: -.025em; }
.editorial-place-page .editorial-body > .answer-box + .place-intro { margin-top: 24px; }
.editorial-place-page .crete-place-gallery .crete-gallery-card { display: block; }
.editorial-place-page .crete-place-gallery figcaption { padding: 10px 14px; }

/* Magazine article template */
.magazine-article-page .editorial-body h2,
.travel-place-page .article-body h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
:is(.magazine-article-page, .editorial-place-page) .editorial-hero { padding: 18px 0 30px; border-bottom: 1px solid var(--uv-line); }
:is(.magazine-article-page, .editorial-place-page) .editorial-hero .breadcrumbs { margin-bottom: 20px; }
:is(.magazine-article-page, .editorial-place-page) .editorial-shell { width: min(calc(100% - 40px), var(--uv-max)); margin: 0 auto 70px; padding: 44px 0 64px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
:is(.magazine-article-page, .editorial-place-page) .editorial-body { max-width: 900px; margin-inline: 0; }
:is(.magazine-article-page, .editorial-place-page) .editorial-body > p:first-child { margin-top: 0; }
.editorial-lead-media,.editorial-figure { margin: 30px 0 44px; }
.editorial-lead-media img,.editorial-figure img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--uv-radius-sm); box-shadow: var(--uv-shadow); }
.editorial-lead-media img { width: 100%; max-height: 680px; object-fit: contain; background: #eef3f4; }
.editorial-lead-media-compact img { width: auto; max-height: 440px; background: transparent; }
.editorial-lead-media figcaption,.editorial-figure figcaption { max-width: 760px; margin: 10px auto 0; color: var(--uv-muted); font-size: .84rem; text-align: center; }
.editorial-figure-small img { max-width: min(100%,540px); }
/* Embedded documents need a portrait reading area instead of the video aspect ratio. */
.document-frame { display: block; width: 100%; height: clamp(520px, 85vh, 1000px); margin: 24px 0; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #f4f6f7; }
.editorial-figure-small .place-photo-open { max-width: min(100%,540px); height: auto; margin-inline: auto; }
.editorial-figure-tall img { max-height: 780px; }
.editorial-operator-heading { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 34px 0 16px; padding: 10px 16px 10px 11px; border: 1px solid rgba(50,131,183,.2); border-radius: 999px; background: linear-gradient(135deg,var(--uv-blue-050),#fff); color: var(--uv-blue-900); font-size: clamp(1.12rem,2vw,1.35rem); line-height: 1.25; box-shadow: 0 7px 18px rgba(15,53,72,.06); }
.editorial-operator-icon { display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(50,131,183,.18); font-size: 1.08rem; }
.editorial-operator-heading + .editorial-figure { margin-top: 16px; }
.editorial-media-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin: 30px 0 44px; }
.editorial-media-grid-three { align-items: start; grid-template-columns: repeat(3,minmax(0,1fr)); }
.editorial-media-grid-three .place-photo-open { height: auto; }
.editorial-media-grid-three .editorial-figure { justify-content: flex-start; }
.editorial-feature-image img { width: 100%; }
/* Viewport-fitted editorial graphics keep portrait programmes visible in one glance. */
.editorial-figure-fit-screen .place-photo-open { width: fit-content; max-width: 100%; height: auto; }
.editorial-figure-fit-screen img { width: auto; max-width: 100%; max-height: min(620px, calc(100svh - 200px)); object-fit: contain; margin-inline: 0; }
.editorial-figure-fit-screen figcaption { margin-inline: 0; text-align: left; }
@media (min-width: 769px) {
  .rich-place-page .crete-place-content > .editorial-figure .place-photo-open { height: auto; }
  .rich-place-page .crete-place-content > .editorial-figure .place-photo-open img {
    /* Use the HTML dimensions even while a lazy image has no intrinsic size. */
    width: min(100%, var(--photo-width, 100%), calc(680px * var(--photo-ratio, 1)), calc((100svh - 230px) * var(--photo-ratio, 1)));
    max-width: 100%;
    max-height: 680px;
    max-height: min(680px, calc(100svh - 230px));
    object-fit: contain;
  }
}
.editorial-media-grid .editorial-figure { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 18px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fbfcfb; }
.editorial-media-grid .editorial-figure img { max-height: 620px; box-shadow: none; }
.editorial-media-grid .seat-map-figure { justify-content: flex-start; }
.seat-map-link { display: block; border-radius: var(--uv-radius-sm); cursor: zoom-in; }
.editorial-media-grid .seat-map-figure img { width: 100%; max-height: none; }
.seat-map-figure figcaption strong { color: var(--uv-ink); }
.ita-seat-map-grid .seat-map-figure:last-child:nth-child(odd) { grid-column: 1 / -1; width: 100%; max-width: 439px; justify-self: center; }
.editorial-media-grid-narrow { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
.editorial-device-grid .editorial-figure { justify-content: flex-start; }
.time-zone-clock-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 30px 0 44px; }
.time-zone-clock { display: flex; min-height: 190px; flex-direction: column; justify-content: center; margin: 0; padding: 28px 22px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fbfcfb; text-align: center; }
.time-zone-clock h3 { margin: 0 0 16px; color: var(--uv-ink); font-size: 1.4rem; line-height: 1.2; }
.time-zone-clock .clock-time { margin-top: 0; color: var(--uv-blue-900); font-size: 2.1rem; letter-spacing: -.03em; }
.time-zone-clock p { margin: 11px 0 6px; color: var(--uv-muted); font-size: .92rem; line-height: 1.4; }
.time-zone-clock small { display: block; color: var(--uv-green-700); font-size: .82rem; font-weight: 700; }
.editorial-link-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 24px 0 34px; }
.editorial-link-list a { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: var(--uv-blue-050); color: var(--uv-blue-900); text-decoration: none; }
.editorial-link-list a:hover { border-color: var(--uv-blue); transform: translateY(-1px); }
.editorial-link-list span { color: var(--uv-muted); font-size: .9rem; font-weight: 500; }
.editorial-direct-link { margin: 24px 0 34px; }
.editorial-direct-link a { display: inline-flex; padding: 13px 17px; border-radius: 999px; background: var(--uv-blue); color: #fff; font-weight: 850; text-decoration: none; }
.editorial-table-wrap { margin: 22px 0 46px; }
/* A table and its expansion controls form one unit; separation follows the controls. */
.editorial-table-group { margin: 22px 0 46px; }
.editorial-table-group .editorial-table-wrap { margin: 0; }
.editorial-table-group > .button-row { margin: 12px 0 0; }
.editorial-body table caption { padding: 0 0 12px; color: var(--uv-muted); font-size: .82rem; line-height: 1.5; text-align: left; }
.editorial-body thead th { background: var(--uv-blue-050); color: var(--uv-blue-900); }
.editorial-body tbody tr:nth-child(even) { background: #fafcf8; }
.editorial-body .train-live-action { text-align: center; vertical-align: middle; }
.train-live-link { display: inline-flex; align-items: center; gap: 5px; color: var(--uv-blue-900); font-weight: 800; line-height: 1.35; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.train-live-link:hover { color: var(--uv-blue); }
.train-live-link:focus-visible { outline: 3px solid rgba(50,131,183,.22); outline-offset: 4px; border-radius: 3px; }
@media (max-width: 900px) {
  .time-zone-clock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  :is(.magazine-article-page, .editorial-place-page) .editorial-hero { padding: 14px 0 24px; }
  :is(.magazine-article-page, .editorial-place-page) .editorial-shell { width: min(calc(100% - 28px),var(--uv-max)); margin-bottom: 52px; padding: 32px 0 44px; }
  .editorial-media-grid,.editorial-link-list { grid-template-columns: 1fr; }
  .editorial-lead-media,.editorial-figure { margin: 26px 0 38px; }
  .editorial-lead-media figcaption,.editorial-figure figcaption:not(.editorial-video-caption) { text-align: left; }
  .editorial-media-grid .editorial-figure img { max-height: none; }
  .train-live-link { justify-self: start; }
}
@media (max-width: 520px) {
  .time-zone-clock-grid { grid-template-columns: 1fr; gap: 14px; }
  .time-zone-clock { min-height: 164px; padding: 22px 18px; }
  .time-zone-clock h3 { font-size: 1.35rem; }
  .time-zone-clock .clock-time { font-size: 2rem; }
}

/* Live transport strike calendar */
.strike-feed {
  width: min(1120px, calc(100vw - 36px));
  margin: 58px 50% 54px;
  padding: clamp(24px, 4vw, 38px);
  transform: translateX(-50%);
  border: 1px solid #cadbe3;
  border-radius: var(--uv-radius);
  background: linear-gradient(155deg, #f5f9fb, #fff 44%);
  box-shadow: 0 18px 50px rgba(15,53,72,.08);
}
.strike-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.strike-feed-heading h2 { margin: 7px 0 0; }
.strike-source-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--uv-blue-900); color: #fff; font-size: .84rem; font-weight: 850; text-decoration: none; }
.strike-source-link:hover { background: var(--uv-blue); color: #fff; transform: translateY(-1px); }
.strike-feed-status { display: flex; align-items: center; gap: 9px; margin: 14px 0 24px; color: var(--uv-muted); font-size: .85rem !important; }
.strike-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--uv-green); box-shadow: 0 0 0 5px rgba(106,165,11,.13); }
.strike-feed-warning,.strike-feed-error { margin: 20px 0 26px; padding: 18px 20px; border-radius: var(--uv-radius-sm); background: #fff6df; border: 1px solid #ebcc78; color: #5c4614; }
.strike-feed-error { background: #fff4f1; border-color: #e9b6aa; color: #6d3024; }
.strike-feed-warning strong,.strike-feed-error strong { display: block; margin-bottom: 5px; }
.strike-feed-error p { margin: 5px 0 12px; font-size: .96rem; }
.strike-controls { display: grid; grid-template-columns: minmax(260px,1.5fr) repeat(2,minmax(180px,1fr)) auto; gap: 12px; align-items: end; margin: 26px 0 18px; padding: 18px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fff; }
.strike-controls label { display: grid; gap: 7px; margin: 0; }
.strike-controls label > span { color: var(--uv-blue-900); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.strike-controls input,.strike-controls select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b8cbd4; border-radius: 10px; background: #fff; color: var(--uv-ink); font: inherit; }
.strike-controls input:focus,.strike-controls select:focus { outline: 3px solid rgba(50,131,183,.18); border-color: var(--uv-blue); }
.strike-reset { min-height: 46px; padding: 10px 15px; border: 1px solid #b8cbd4; border-radius: 10px; background: var(--uv-blue-050); color: var(--uv-blue-900); font-weight: 850; cursor: pointer; }
.strike-reset:hover { border-color: var(--uv-blue); background: #fff; }
.strike-result-count { margin: 0 0 16px; color: var(--uv-muted); font-size: .9rem !important; }
.strike-result-count strong { color: var(--uv-blue-900); }
.strike-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.strike-card { min-width: 0; overflow: hidden; border: 1px solid #cbdbe2; border-radius: var(--uv-radius-sm); background: #fff; box-shadow: 0 9px 25px rgba(15,53,72,.055); }
.strike-card[hidden] { display: none; }
.strike-card-header { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 17px; align-items: start; padding: 20px 20px 16px; }
.strike-date { display: grid; place-items: center; min-height: 96px; overflow: hidden; border: 1px solid #bcd1dc; border-radius: 13px; background: var(--uv-blue-050); color: var(--uv-blue-900); line-height: 1; }
.strike-date span { padding-top: 10px; font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }
.strike-date strong { font-size: .72rem; letter-spacing: .1em; }
.strike-date small { width: 100%; padding: 7px 4px; background: var(--uv-blue-900); color: #fff; font-size: .68rem; text-align: center; }
.strike-card-title { min-width: 0; }
.strike-card-title h3 { margin: 10px 0 0; color: var(--uv-ink); font-size: clamp(1rem,1.8vw,1.16rem); line-height: 1.35; }
.strike-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.strike-badges span { padding: 5px 8px; border-radius: 999px; background: #eef2f4; color: #435761; font-size: .66rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.strike-badges .strike-sector { background: #e5f2f9; color: #155b82; }
.strike-badges .strike-sector-air { background: #fff0e8; color: #9a4726; }
.strike-badges .strike-sector-local { background: #edf5dd; color: #496f0b; }
.strike-badges .strike-sector-other { background: #f0ecf7; color: #655179; }
.strike-official-language { display: block; margin-top: 8px; color: var(--uv-muted); font-size: .72rem; }
.strike-facts { display: grid; gap: 0; margin: 0; padding: 0 20px 16px; }
.strike-facts div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--uv-line); }
.strike-facts dt,.strike-details dt { color: var(--uv-green-700); font-size: .69rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.strike-facts dd,.strike-details dd { min-width: 0; margin: 0; color: #344c59; font-size: .88rem; line-height: 1.5; overflow-wrap: anywhere; }
.strike-facts dd small { color: var(--uv-muted); }
.strike-details { border-top: 1px solid var(--uv-line); background: #fafcfb; }
.strike-details-toggle { width: 100%; padding: 13px 20px; border: 0; background: transparent; color: var(--uv-blue-900); font-size: .82rem; font-weight: 850; text-align: left; cursor: pointer; }
.strike-details-toggle::before { content: "▸"; display: inline-block; margin-right: 6px; transition: transform .18s ease; }
.strike-details-toggle[aria-expanded="true"]::before { transform: rotate(90deg); }
.strike-details-body[hidden] { display: none; }
.strike-details dl { display: grid; gap: 10px; margin: 0; padding: 0 20px 18px; }
.strike-details dl div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; }
.strike-empty { padding: 32px; border: 1px dashed #b9cbd3; border-radius: var(--uv-radius-sm); background: #fff; text-align: center; }
.strike-empty p { margin: 7px 0 0; font-size: .92rem; }
.strike-checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 26px 0 38px; padding: 0; counter-reset: strike-step; list-style: none; }
.strike-checklist li { position: relative; min-height: 116px; padding: 20px 20px 18px 62px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: var(--uv-blue-050); counter-increment: strike-step; }
.strike-checklist li::before { content: counter(strike-step); position: absolute; top: 18px; left: 18px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--uv-blue-900); color: #fff; font-size: .78rem; font-weight: 900; }
.strike-checklist strong,.strike-checklist span { display: block; }
.strike-checklist strong { color: var(--uv-blue-900); line-height: 1.35; }
.strike-checklist span { margin-top: 6px; color: var(--uv-muted); font-size: .88rem; line-height: 1.45; }
@media (max-width: 980px) {
  .strike-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .strike-search { grid-column: 1 / -1; }
  .strike-reset { width: 100%; }
}
@media (max-width: 760px) {
  .strike-feed { width: calc(100vw - 20px); margin-top: 44px; padding: 20px 14px 24px; }
  .strike-feed-heading { align-items: flex-start; flex-direction: column; }
  .strike-source-link { align-self: flex-start; }
  .strike-controls { grid-template-columns: 1fr; padding: 14px; }
  .strike-search { grid-column: auto; }
  .strike-list,.strike-checklist { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .strike-card-header { grid-template-columns: 66px minmax(0,1fr); gap: 13px; padding: 16px 14px 14px; }
  .strike-date { min-height: 88px; }
  .strike-date span { font-size: 1.75rem; }
  .strike-facts { padding-inline: 14px; }
  .strike-facts div { grid-template-columns: 1fr; gap: 4px; }
  .strike-details-toggle { padding-inline: 14px; }
  .strike-details dl { padding-inline: 14px; }
  .strike-details dl div { grid-template-columns: 1fr; gap: 4px; }
}
.strike-more { display: block; min-height: 46px; margin: 22px auto 0; padding: 11px 20px; border: 0; border-radius: 999px; background: var(--uv-blue); color: #fff; font-weight: 900; cursor: pointer; }
.strike-more:hover { background: var(--uv-blue-900); transform: translateY(-1px); }
.strike-more[hidden] { display: none; }
/* Formula 1 calendar and live circuit clocks */
.formula1-calendar-article .editorial-hero { background: linear-gradient(145deg, #eef5f8, #fff 54%, #f5f8ee); }
.formula1-calendar-article .f1-alert { border-left-color: #e10600; background: #fff4f2; }
.f1-map-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #edf5f8; box-shadow: var(--uv-shadow); }
.f1-map-figure figcaption { margin-top: 10px; color: var(--uv-muted); font-size: .84rem; }
.f1-map-key { margin: 18px 0 44px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: #fbfcfb; }
.f1-map-key summary { padding: 16px 18px; color: var(--uv-blue-900); font-weight: 850; cursor: pointer; }
.f1-map-key ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 18px; margin: 0; padding: 4px 18px 20px; list-style: none; }
.f1-map-key li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 1px 9px; align-items: center; min-width: 0; }
.f1-map-key li > span { grid-row: 1 / 3; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #e10600; color: #fff; font-size: .72rem; font-weight: 900; }
.f1-map-key li strong,.f1-map-key li small { min-width: 0; overflow-wrap: anywhere; }
.f1-map-key li strong { color: var(--uv-blue-900); font-size: .85rem; }
.f1-map-key li small { color: var(--uv-muted); font-size: .72rem; }
.f1-race-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 30px 0 50px; }
.f1-race-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid var(--uv-line); border-radius: var(--uv-radius-sm); background: linear-gradient(180deg,#fff,#f8fbfc); box-shadow: 0 12px 32px rgba(15,53,72,.07); }
.f1-race-card h3 { margin: 20px 0 12px; color: var(--uv-blue-900); font-size: clamp(1.25rem,2vw,1.55rem); line-height: 1.15; }
.f1-race-head { display: flex; align-items: center; gap: 13px; }
.f1-round { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #e10600; color: #fff; font-weight: 900; }
.f1-race-head div span,.f1-race-head div strong { display: block; }
.f1-race-head div span,.f1-circuit > span,.f1-local-clock > span { color: var(--uv-green-700); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.f1-race-head div strong { margin-top: 2px; color: var(--uv-ink); font-size: .93rem; }
.editorial-body .f1-circuit { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--uv-line); font-size: .95rem; line-height: 1.45; }
.f1-circuit > span,.f1-circuit a,.f1-circuit small { display: block; }
.f1-circuit a { margin-top: 4px; color: var(--uv-blue-900); font-weight: 850; overflow-wrap: anywhere; }
.f1-circuit small { margin-top: 3px; color: var(--uv-muted); }
.editorial-body .f1-place-note { flex: 1; margin: 14px 0 20px; color: var(--uv-muted); font-size: .94rem; line-height: 1.62; }
.f1-local-clock { padding: 16px 17px; border-radius: 14px; background: var(--uv-blue-900); color: #fff; }
.f1-local-clock > span { color: #d7efad; }
.f1-local-clock > strong { display: block; margin: 6px 0 4px; font-family: ui-monospace,"SFMono-Regular",Consolas,monospace; font-size: clamp(1.65rem,4vw,2.25rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1; }
.f1-local-clock small { display: block; color: rgba(255,255,255,.74); line-height: 1.35; text-transform: capitalize; }
.f1-local-clock .f1-clock-zone { margin-top: 8px; color: rgba(255,255,255,.58); font-size: .7rem; text-transform: none; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .f1-map-key ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .f1-race-grid,.f1-map-key ol { grid-template-columns: 1fr; }
  .f1-race-card { padding: 20px 18px; }
  .f1-map-figure { margin-inline: -7px; }
  .f1-map-key li { grid-template-columns: 32px minmax(0,1fr); }
}

/* Abruzzo locality template */
.abruzzo-locality-page section[id],
.abruzzo-locality-page article[id],
.abruzzo-locality-page div[id] {
  scroll-margin-top: 104px;
}

.prototype-notice {
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: var(--uv-blue-900);
  color: rgba(255,255,255,.78);
  font-size: .78rem;
}

.prototype-notice .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-block: 9px;
}

.prototype-notice strong {
  color: #d7efad;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.locality-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--uv-blue-900);
}

.locality-hero-media,
.locality-hero-media::after {
  position: absolute;
  inset: 0;
}

.locality-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.locality-hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7,42,63,.96) 0%, rgba(7,42,63,.82) 43%, rgba(7,42,63,.28) 78%),
    linear-gradient(0deg, rgba(7,42,63,.72) 0%, transparent 48%);
}

.locality-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding-block: 22px 48px;
  color: #fff;
}

.locality-hero .breadcrumbs,
.locality-hero .breadcrumbs a {
  color: rgba(255,255,255,.72);
}

.locality-hero .breadcrumbs span:not(:last-child)::after {
  color: rgba(255,255,255,.45);
}

.locality-hero .eyebrow {
  margin-top: auto;
  color: #d7efad;
}

.locality-hero h1 {
  max-width: 880px;
  color: #fff;
  font-size: clamp(2.85rem, 6vw, 5rem);
}

.locality-hero .article-dek {
  max-width: 760px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.locality-facts {
  max-width: 940px;
  margin-top: 38px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 45px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}

.locality-section-nav {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: -24px;
  padding: 1px;
  border: 1px solid var(--uv-line);
  border-radius: 18px;
  background: var(--uv-line);
  box-shadow: 0 16px 36px rgba(15,53,72,.1);
}

.locality-section-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 9px 10px;
  background: rgba(255,255,255,.97);
  color: var(--uv-blue-900);
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.locality-section-nav a:hover,
.locality-section-nav a:focus-visible {
  background: var(--uv-green-050);
  color: var(--uv-green-700);
}

.locality-section-nav--extended {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.locality-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, .58fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: start;
}

.locality-story h2 {
  margin-top: 0;
}

.locality-summary-card {
  position: sticky;
  top: 110px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--uv-line);
  border-top: 6px solid var(--uv-green);
  border-radius: var(--uv-radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(15,53,72,.08);
}

.locality-summary-label,
.locality-panel-heading > span {
  color: var(--uv-green-700);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.locality-summary-card h3 {
  margin-top: 8px;
}

.locality-summary-card dl {
  margin: 24px 0 0;
}

.locality-summary-card dl div {
  padding: 15px 0;
  border-top: 1px solid var(--uv-line);
}

.locality-summary-card dt {
  color: var(--uv-blue-900);
  font-weight: 850;
}

.locality-summary-card dd {
  margin: 2px 0 0;
  color: var(--uv-muted);
  font-size: .9rem;
}

.locality-place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.locality-place-card {
  display: grid;
  grid-template-columns: minmax(190px, .85fr) minmax(0, 1.15fr);
  min-width: 0;
}

.locality-place-card .card-media {
  min-height: 100%;
  aspect-ratio: auto;
}

.locality-place-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.locality-place-card p {
  margin-bottom: 12px;
}

.locality-card-action {
  color: var(--uv-blue-700);
  font-size: .88rem;
  font-weight: 850;
}

.locality-nearby-card {
  border-color: rgba(106,165,11,.38);
  background: var(--uv-green-050);
}

.locality-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.locality-photo-panel,
.locality-video-panel {
  min-width: 0;
}

.locality-panel-heading {
  margin-bottom: 18px;
}

.locality-panel-heading h3 {
  margin-top: 6px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.locality-photo-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  grid-template-rows: repeat(2, 170px);
  gap: 8px;
  overflow: hidden;
  border-radius: var(--uv-radius);
  background: var(--uv-blue-050);
  box-shadow: var(--uv-shadow);
}

.locality-photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locality-photo-main {
  grid-row: 1 / -1;
}

.locality-photo-collage > span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: var(--uv-blue-900);
  font-size: .82rem;
  font-weight: 850;
}

.locality-video-panel .video-shell {
  box-shadow: var(--uv-shadow);
}

.locality-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.locality-event-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 28px;
  border: 1px solid rgba(130,101,47,.14);
  border-radius: var(--uv-radius);
  background: rgba(255,255,255,.82);
}

.event-number {
  color: var(--uv-green-700);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  opacity: .42;
}

.locality-event-card small {
  color: var(--uv-green-700);
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.locality-event-card h3 {
  margin-top: 7px;
}

.locality-event-card p {
  margin-bottom: 0;
  color: #4e5e64;
}

.locality-event-visual-card {
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.locality-event-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.locality-event-visual-card:hover,
.locality-event-visual-card:focus-visible {
  border-color: var(--uv-blue);
  transform: translateY(-3px);
}

.locality-event-visual-card .card-media {
  aspect-ratio: 16 / 10;
}

.locality-event-visual-card .card-body {
  display: grid;
  gap: 9px;
}

.locality-event-visual-card .card-meta {
  margin-bottom: 0;
}

.locality-event-visual-card strong {
  color: var(--uv-blue-900);
  font-family: var(--uv-serif);
  font-size: 1.5rem;
  line-height: 1.15;
}

.locality-event-visual-card .card-body > span {
  color: var(--uv-muted);
  font-size: .92rem;
}

.locality-event-actions {
  margin-top: 30px;
}

.locality-map-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: center;
}

.locality-map-frame {
  width: 100%;
  min-width: 0;
  height: clamp(320px, 45vw, 440px);
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  box-shadow: var(--uv-shadow);
}

.locality-map-frame iframe {
  min-height: 0;
}

.locality-practical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 7vw, 84px);
}

.locality-practical-grid article {
  padding: 34px;
  border: 1px solid var(--uv-line);
  border-radius: var(--uv-radius);
  background: #fff;
}

.locality-practical-grid h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.locality-useful-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.locality-useful-grid article {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--uv-line);
  border-radius: var(--uv-radius-sm);
  background: #fff;
}

.locality-useful-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--uv-blue-050);
  color: var(--uv-blue-700);
  font-size: .75rem;
  font-weight: 900;
}

.locality-useful-grid p {
  color: var(--uv-muted);
  font-size: .9rem;
}

.locality-useful-grid a {
  font-size: .87rem;
  font-weight: 850;
}

.locality-weather-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
}

.locality-weather-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(106,165,11,.28);
  border-radius: var(--uv-radius);
  background: rgba(255,255,255,.84);
}

.locality-weather-preview span,
.locality-weather-preview strong {
  padding: 16px 18px;
  border-bottom: 1px solid var(--uv-line);
}

.locality-weather-preview span {
  color: var(--uv-green-700);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.locality-weather-preview strong {
  color: var(--uv-blue-900);
}

.locality-weather-preview > :nth-last-child(-n+2) {
  border-bottom: 0;
}

.locality-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.locality-audience-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--uv-line);
  border-radius: var(--uv-radius);
  background: #fff;
  box-shadow: var(--uv-shadow);
}

.locality-audience-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.locality-audience-card > div {
  padding: 23px;
}

.locality-audience-card .card-meta {
  display: block;
}

.locality-audience-card h3 {
  margin-top: 0;
}

.locality-audience-card p {
  margin-bottom: 0;
  color: var(--uv-muted);
  font-size: .92rem;
}

.locality-profile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.locality-profile-card {
  min-width: 0;
  padding: 25px 20px;
  border: 1px solid var(--uv-line);
  border-radius: var(--uv-radius);
  background: #fff;
  box-shadow: var(--uv-shadow);
  text-align: center;
}

.locality-profile-card img {
  width: auto;
  height: 150px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.locality-profile-card > strong {
  display: block;
  color: var(--uv-blue-900);
  font-size: 1.15rem;
  line-height: 1.25;
}

.locality-profile-card p {
  margin: 10px 0 0;
  color: var(--uv-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.locality-section-intro {
  max-width: 880px;
  margin: -20px 0 34px;
  color: var(--uv-muted);
}

.locality-recognitions-section {
  padding-block: clamp(42px, 5vw, 62px);
  border-block: 1px solid var(--uv-line);
  background: linear-gradient(105deg, var(--uv-green-050), #fff 48%, var(--uv-blue-050));
}

.locality-recognitions-heading {
  margin-bottom: 28px;
}

.locality-recognitions-heading .eyebrow {
  margin-bottom: 10px;
}

.locality-recognitions-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.locality-recognition-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 1px;
  border-radius: var(--uv-radius);
  background: var(--uv-line);
  box-shadow: 0 14px 38px rgba(15,53,72,.08);
}

.locality-recognition-link {
  display: grid;
  grid-template-rows: 92px auto;
  gap: 14px;
  min-width: 0;
  padding: 18px 15px 20px;
  background: #fff;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.locality-recognition-link:hover {
  background: var(--uv-green-050);
  color: inherit;
}

.locality-recognition-link:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--uv-blue);
  outline-offset: -3px;
}

.locality-recognition-media {
  display: grid;
  place-items: center;
  min-width: 0;
}

.locality-recognition-media img {
  width: auto;
  max-width: 112px;
  height: 88px;
  object-fit: contain;
}

.locality-recognition-copy strong {
  display: block;
  color: var(--uv-blue-900);
  font-size: .95rem;
  line-height: 1.25;
}

.locality-recognition-copy small {
  display: block;
  margin-top: 8px;
  color: var(--uv-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.pineto-stay-promo {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  overflow: hidden;
  padding: 16px 22px 16px 16px;
  border: 1px solid rgba(106,165,11,.3);
  border-radius: var(--uv-radius);
  background: linear-gradient(110deg, var(--uv-green-050), var(--uv-blue-050));
  box-shadow: 0 14px 38px rgba(15,53,72,.08);
}

.pineto-stay-promo-media {
  display: block;
  overflow: hidden;
  height: 138px;
  border-radius: calc(var(--uv-radius) - 6px);
}

.pineto-stay-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pineto-stay-promo-copy {
  min-width: 0;
}

.pineto-stay-promo-title {
  display: block;
  color: var(--uv-blue-900);
  font-family: var(--uv-serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.pineto-stay-promo-copy p {
  max-width: 640px;
  margin: 9px 0 0;
  color: var(--uv-muted);
  font-size: .94rem;
}

.pineto-stay-promo-action {
  min-height: 58px;
  padding-inline: 32px;
  background: #c2410c;
  box-shadow: 0 10px 22px rgba(154,52,18,.22);
  color: #fff;
  font-size: 1.05rem;
  white-space: nowrap;
}

.pineto-stay-promo-action:hover {
  background: #9a3412;
  color: #fff;
}

.pineto-stay-promo-action:focus-visible {
  outline: 3px solid rgba(194,65,12,.3);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .locality-recognition-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .locality-place-card {
    grid-template-columns: 1fr;
  }

  .locality-place-card .card-media {
    min-height: 230px;
  }

  .locality-useful-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locality-profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pineto-stay-promo {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .pineto-stay-promo-media {
    grid-row: 1 / span 2;
  }

  .pineto-stay-promo-action {
    grid-column: 2;
    justify-self: start;
  }

}

@media (max-width: 820px) {
  .locality-hero {
    min-height: 540px;
  }

  .locality-hero-content { min-height: 540px; }

  .locality-section-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 14px;
  }

  .locality-intro-grid,
  .locality-media-grid,
  .locality-map-grid,
  .locality-practical-grid,
  .locality-weather-callout {
    grid-template-columns: 1fr;
  }

  .locality-summary-card {
    position: static;
  }

  .locality-event-grid {
    grid-template-columns: 1fr;
  }

  .locality-event-visual-grid,
  .locality-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locality-event-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .locality-hero {
    min-height: 570px;
  }

  .locality-hero-media::after {
    background: linear-gradient(0deg, rgba(7,42,63,.97) 0%, rgba(7,42,63,.8) 67%, rgba(7,42,63,.36) 100%);
  }

  .locality-hero-content {
    min-height: 570px;
    padding-bottom: 44px;
  }

  .locality-facts {
    grid-template-columns: 1fr 1fr;
  }

  .locality-place-grid,
  .locality-useful-grid,
  .locality-event-visual-grid,
  .locality-audience-grid,
  .locality-profile-grid {
    grid-template-columns: 1fr;
  }

  .locality-recognition-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locality-recognition-link {
    grid-template-rows: 78px auto;
    gap: 12px;
    padding: 15px 11px 17px;
  }

  .locality-recognition-media img {
    max-width: 96px;
    height: 74px;
  }

  .locality-recognition-copy strong {
    font-size: .88rem;
  }

  .locality-recognition-copy small {
    font-size: .74rem;
  }

  .locality-photo-collage {
    grid-template-rows: repeat(2, 120px);
  }

  .locality-practical-grid article,
  .locality-summary-card {
    padding: 25px;
  }

  .locality-weather-preview {
    grid-template-columns: 1fr;
  }

  .locality-weather-preview span,
  .locality-weather-preview strong {
    border-bottom: 1px solid var(--uv-line);
  }

  .locality-weather-preview > :last-child {
    border-bottom: 0;
  }

  .pineto-stay-promo {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }

  .pineto-stay-promo-media {
    height: 122px;
  }

  .pineto-stay-promo-title {
    font-size: 1.38rem;
  }

  .pineto-stay-promo-copy p {
    font-size: .86rem;
  }

  .pineto-stay-promo-action {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }
}

.locality-place-card { color: inherit; text-decoration: none; }
.locality-place-card .card-body > strong { margin: 7px 0 8px; color: var(--uv-blue-900); font-family: var(--uv-serif); font-size: 1.42rem; line-height: 1.15; }
.locality-place-card .card-body > span { color: var(--uv-muted); font-size: .92rem; }
.locality-place-card:hover, .locality-event-card:hover { border-color: var(--uv-blue); transform: translateY(-2px); }
.locality-event-card { color: inherit; text-decoration: none; }
.locality-event-card > span:last-child { display: grid; gap: 8px; }
.locality-event-card strong { color: var(--uv-blue-900); font-family: var(--uv-serif); font-size: 1.5rem; }
.section-action { margin-top: 28px; }
.locality-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.locality-directory-card { overflow: hidden; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: #fff; box-shadow: var(--uv-shadow); }
.locality-directory-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.locality-directory-card > div { padding: 28px; }
.locality-event-story { display: grid; gap: 38px; }
.locality-event-story section { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.48fr); gap: clamp(30px, 4vw, 54px); align-items: start; padding-bottom: 38px; border-bottom: 1px solid var(--uv-line); }
.locality-place-cover { width: 100%; border-radius: var(--uv-radius); box-shadow: var(--uv-shadow); }
.locality-event-media { display: block; overflow: hidden; min-height: 230px; margin: 0; border: 1px solid var(--uv-line); border-radius: var(--uv-radius); background: var(--uv-blue-050); box-shadow: var(--uv-shadow); }
.locality-event-media > button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; font: inherit; cursor: zoom-in; }
.locality-event-media img { display: block; width: 100%; height: 100%; min-height: 230px; aspect-ratio: 4 / 3; object-fit: cover; }
.locality-event-story section.is-text-only { grid-template-columns: minmax(0, 1fr); }
.locality-event-story section.is-text-only > div { width: 100%; max-width: 980px; margin-left: 0; }
.locality-event-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.locality-event-gallery .locality-event-media { min-height: 170px; }
.locality-event-gallery .locality-event-media img { min-height: 170px; aspect-ratio: 16 / 10; }
.locality-events-page .crete-info-header { padding-bottom: clamp(18px, 2.2vw, 26px); }
.locality-events-page main > .crete-info-header + .section-tight { padding-top: clamp(18px, 2.2vw, 28px); }
.locality-events-page .crete-info-header h1:not(.article-title-wide) { font-size: clamp(2.7rem, 5vw, 4.6rem); }
.locality-events-page .locality-event-story section > div { text-align: left; }
.locality-events-page .locality-events-back-action { display: flex; flex-direction: column; align-items: flex-start; max-width: none; margin-top: clamp(30px, 4vw, 44px); }
.locality-events-page .locality-event-story > .locality-events-back-action { width: 100%; margin-inline: 0; }
.locality-place-google-action { display: flex; justify-content: flex-start; margin: 18px 0 clamp(30px, 4vw, 42px); }
.pineto-locality-home .pineto-hero { padding-block: 24px 36px; }
.pineto-locality-home .pineto-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; }
.pineto-locality-home .pineto-hero h1 { font-size: clamp(2.15rem, 4vw, 4.25rem); }
.pineto-locality-home .pineto-hero .lede { margin-top: 24px; }
.pineto-locality-home .pineto-art { min-height: 390px; }
.pineto-locality-home .pineto-art > img { position: absolute; inset: 0; }
@media (max-width: 760px) {
  .pineto-locality-home .pineto-hero-grid { grid-template-columns: 1fr; }
  .pineto-locality-home .pineto-art { min-height: 310px; }
}
.silvi-leaflet-map { width: 100%; height: clamp(440px, 62vw, 650px); border-radius: var(--uv-radius); box-shadow: var(--uv-shadow); }
.silvi-map-marker { display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50%; background: #3283b7; color: #fff; font-weight: 900; box-shadow: 0 4px 12px rgba(0,0,0,.28); }
@media (max-width: 820px) {
  .locality-directory-grid, .locality-event-story section { grid-template-columns: 1fr; }
  .locality-event-story section.is-text-only > div { max-width: none; }
}
.trail-map-page .answer-box {
  margin-bottom: 1.5rem;
}

.trail-map,
.trail-map-canvas {
  min-height: 31rem;
}

.trail-map > .place-map,
.trail-map-canvas {
  height: 31rem;
  overflow: hidden;
  border-radius: 1.1rem;
  box-shadow: 0 16px 42px rgba(7, 47, 72, 0.12);
}

.trail-map > .place-map iframe {
  min-height: 31rem;
}

.trail-downloads {
  margin: 1.25rem 0 2rem;
}

.trail-endpoint {
  background: none;
  border: 0;
}

.trail-endpoint span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #6aa50b;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(7, 47, 72, 0.35);
}

.trail-endpoint-end span {
  background: #3283b7;
}

@media (max-width: 640px) {
  .trail-map,
  .trail-map-canvas,
  .trail-map > .place-map,
  .trail-map > .place-map iframe {
    min-height: 24rem;
    height: 24rem;
  }
}

/* Approved panoramic hero: progressive desktop overlay; separate photo above mobile text. */
.locality-hero--panoramic,
.locality-hero--panoramic .locality-hero-content { min-height: 540px; }
.locality-hero--panoramic .locality-hero-content { padding-bottom: 48px; }
.locality-hero--panoramic h1 { font-size: clamp(2.6rem, 4vw, 3.5rem); max-width: 650px; }
.locality-hero--panoramic .article-dek { max-width: 620px; font-size: 1.2rem; }
.locality-hero--panoramic .locality-hero-media img { object-position: 50% 50%; }
.locality-hero--panoramic .button-row { max-width: 650px; }
@media (min-width: 621px) {
  .locality-hero--panoramic .locality-hero-media.is-zoomed img { transform: scale(1.36); transform-origin: 0 55%; }
  .locality-hero--panoramic .locality-hero-media::after {
    background: linear-gradient(90deg, rgba(7,42,63,.96) 0%, rgba(7,42,63,.90) 20%, rgba(7,42,63,.79) 32%, rgba(7,42,63,.63) 42%, rgba(7,42,63,.43) 51%, rgba(7,42,63,.24) 60%, rgba(7,42,63,.10) 69%, rgba(7,42,63,.025) 78%, rgba(7,42,63,0) 86%);
  }
}
@media (max-width: 620px) {
  .locality-hero--panoramic,
  .locality-hero--panoramic .locality-hero-content { min-height: 0; }
  .locality-hero--panoramic .locality-hero-content { padding-top: 280px; padding-bottom: 56px; }
  .locality-hero--panoramic .breadcrumbs { position: absolute; top: 20px; }
  .locality-hero--panoramic .eyebrow { margin-top: 0; }
  .locality-hero--panoramic h1 { font-size: 2.6rem; }
  .locality-hero--panoramic .article-dek { font-size: 1.08rem; margin-bottom: 0; }
  .locality-hero--panoramic .locality-hero-media { height: 270px; }
  .locality-hero--panoramic .locality-hero-media img { transform: none; object-position: 47% 52%; }
  .locality-hero--panoramic .locality-hero-media::after { background: linear-gradient(180deg, rgba(7,42,63,.45), transparent 28%, transparent 60%, #072a3f 100%); }
}

/* Functional route picker: native labelled controls and an accessible SVG city selector.
   Reuses shared buttons, tags and responsive editorial tables; no alternate article skin. */
.journey-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.journey-controls label, .journey-number { display: grid; gap: 7px; font-weight: 700; }
.journey-controls input, .journey-controls select, .journey-number input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #b8cbd4; border-radius: 10px; background: #fff; color: var(--uv-ink); font: inherit; }
.journey-controls :is(input, select):focus-visible, .journey-number input:focus-visible { outline: 3px solid #3283b7; outline-offset: 2px; }
.journey-controls .button-row { margin: 0; align-items: end; }
.journey-number { max-width: 360px; }
.journey-controls[hidden], .journey-number[hidden], .route-map[hidden], .button[hidden], .filter-chip[hidden], [data-train-catalog] tr[hidden], [data-inactive-number][hidden] { display: none; }
.route-map { max-width: 720px; margin: 24px auto; border: 1px solid #bfd4dc; border-radius: 16px; background: #f3f8fb; }
.route-map svg { display: block; width: 100%; height: auto; aspect-ratio: 720 / 780; }
.route-map > .button-row { justify-content: center; margin: 0; padding: 0 16px 22px; }
.route-map-land { fill: #e5eddf; stroke: #9aaf98; stroke-width: 1.5; }
.route-map-link { stroke: #6AA50B; stroke-width: 4; stroke-dasharray: 8 6; }
.route-map-city { cursor: pointer; pointer-events: bounding-box; }
.route-map-target { fill: transparent; }
.route-map-dot { fill: #3283b7; stroke: #fff; stroke-width: 3; }
.route-map-city text { fill: #143d54; font: 600 15px system-ui, sans-serif; paint-order: stroke; stroke: #f3f8fb; stroke-width: 5px; stroke-linejoin: round; }
.route-map-city[aria-pressed="true"] .route-map-dot { fill: #6AA50B; r: 11; }
.route-map-city.is-origin .route-map-dot { fill: #153e57; }
.route-map-city:focus { outline: none; }
.route-map-city:focus-visible .route-map-target, .route-map-city:hover .route-map-target { fill: rgba(50,131,183,.15); stroke: #3283b7; stroke-width: 2; }
@media (max-width: 600px) {
  .journey-controls { grid-template-columns: 1fr; }
  .route-map-city text { font-size: 20px; }
}

/* Compact desktop entry into a content section immediately after the panoramic hero. */
@media (min-width: 821px) {
  .locality-hero--panoramic + .section.section-after-hero { padding-top: 36px; }
}
