.guide-page { background: var(--paper-light); }
.guide-page .site-header { background: rgba(23, 21, 15, 0.82); backdrop-filter: blur(12px); }
.guide-page .site-header.scrolled { background: rgba(242, 234, 220, 0.97); }
.guide-hero {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  padding: 10rem var(--pad) 5rem;
  color: white;
  background: var(--blue) center / cover no-repeat;
  overflow: hidden;
}
.guide-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 14, 18, 0.48); }
.guide-hero::after {
  content: attr(data-label);
  position: absolute;
  right: -0.2em;
  bottom: -0.3em;
  color: rgba(255,255,255,0.08);
  font-family: var(--serif);
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: .8;
  white-space: nowrap;
  pointer-events: none;
}
.guide-hero-inner { position: relative; z-index: 1; width: min(76rem, 100%); }
.guide-hero h1 { max-width: 73rem; font-size: clamp(3.9rem, 9vw, 9rem); }
.guide-hero p:not(.eyebrow) { max-width: 48rem; margin: 2rem 0 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; }
.guide-hero-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin-top: 2.2rem; font-size: .62rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.guide-breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; font-size: .65rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.guide-breadcrumbs a { color: inherit; text-underline-offset: .2rem; }
.guide-breadcrumbs span { opacity: .65; }

.guide-subnav {
  position: relative;
  z-index: 3;
  display: flex;
  gap: .7rem;
  padding: 1rem var(--pad);
  overflow-x: auto;
  color: white;
  background: var(--ink);
  scrollbar-width: none;
}
.guide-subnav::-webkit-scrollbar { display: none; }
.guide-subnav a { flex: 0 0 auto; padding: .6rem .85rem; border: 1px solid rgba(255,255,255,.25); color: white; text-decoration: none; font-size: .62rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.guide-subnav a:hover, .guide-subnav a[aria-current="page"] { color: var(--ink); background: var(--paper); border-color: var(--paper); }

.guide-intro { display: grid; grid-template-columns: .7fr 1.5fr; gap: clamp(2rem, 7vw, 9rem); padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.guide-intro-mark { color: var(--red); font-family: var(--serif); font-size: clamp(4rem, 8vw, 8rem); font-style: italic; line-height: 1; }
.guide-intro-copy .lead { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.8rem, 3.3vw, 3.1rem); line-height: 1.25; }
.guide-intro-copy > p:not(.lead) { max-width: 49rem; color: #514b42; }

.guide-layout { display: grid; grid-template-columns: minmax(13rem, .62fr) minmax(0, 2fr); gap: clamp(3rem, 7vw, 8rem); padding: 0 var(--pad) clamp(7rem, 12vw, 12rem); }
.guide-toc { position: sticky; top: 7rem; align-self: start; padding-top: 1.2rem; border-top: 1px solid var(--ink); }
.guide-toc h2 { margin-bottom: 1rem; font-family: var(--sans); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.guide-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.guide-toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.guide-toc a { display: grid; grid-template-columns: 2.2rem 1fr; gap: .4rem; padding: .7rem 0; color: #3b3730; text-decoration: none; font-family: var(--serif); font-size: .98rem; line-height: 1.25; }
.guide-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--red); font-family: var(--sans); font-size: .56rem; font-weight: 800; letter-spacing: .1em; }
.guide-toc a:hover { color: var(--red); }

.guide-body { min-width: 0; }
.guide-section { padding: 1.5rem 0 5.5rem; border-top: 1px solid var(--ink); scroll-margin-top: 7rem; }
.guide-section .section-label { margin: 0 0 .8rem; color: var(--red); font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.guide-section h2 { max-width: 54rem; margin-bottom: 1.8rem; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.guide-section h3 { margin: 2.5rem 0 .7rem; font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.15; }
.guide-section p { max-width: 49rem; color: #464139; }
.guide-section p a, .guide-note a, .source-list a { color: var(--red); text-underline-offset: .18rem; }
.guide-section ul:not(.clean-list), .guide-section ol:not(.clean-list) { max-width: 48rem; padding-left: 1.3rem; color: #464139; }
.guide-section li { margin-bottom: .45rem; }
.guide-image { margin: 2.5rem 0; }
.guide-image img { max-height: 38rem; object-fit: cover; }
.guide-image figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .65rem; border-top: 1px solid var(--line); margin-top: .7rem; font-size: .58rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.guide-image figcaption a { color: inherit; }
.tip-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin: 2rem 0; background: var(--line); border: 1px solid var(--line); }
.tip-grid > article { min-height: 12rem; padding: 1.5rem; background: var(--paper-light); }
.tip-grid .tip-number { color: var(--red); font-size: .6rem; font-weight: 800; letter-spacing: .12em; }
.tip-grid h3 { margin: 1rem 0 .55rem; font-size: 1.5rem; }
.tip-grid p { margin: 0; font-size: .9rem; }
.guide-note { max-width: 49rem; margin: 2rem 0; padding: 1.4rem 1.5rem; border-left: 3px solid var(--red); background: var(--paper); color: #3f3a32; }
.guide-note strong { display: block; margin-bottom: .3rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.clean-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.clean-list li { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.clean-list strong { font-family: var(--serif); font-weight: 400; }
.route-card { display: grid; grid-template-columns: 8.5rem 1fr; gap: clamp(1.3rem, 4vw, 4rem); padding: 2rem 0; border-bottom: 1px solid var(--line); }
.route-icon { width: 7rem; height: 7rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-family: var(--serif); font-size: 2.6rem; font-style: italic; }
.route-card h3 { margin-top: 0; }
.route-steps { margin: 1rem 0; padding: 0; list-style: none; counter-reset: route; }
.route-steps li { counter-increment: route; display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.route-steps li::before { content: counter(route); width: 1.45rem; height: 1.45rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); font-size: .58rem; font-weight: 800; }
.app-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.5rem; }
.app-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); text-decoration: none; background: var(--paper); }
.app-link:hover { color: white; background: var(--blue); }
.app-link strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.app-link small { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.faq details { max-width: 50rem; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.1rem 2rem 1.1rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.25rem; }
.faq details p { margin: 0 0 1.2rem; }
.source-list { max-width: 50rem; margin: 0; padding: 0; list-style: none; }
.source-list li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.metro-map { max-width: 54rem; margin: 2rem 0; padding: clamp(1.2rem, 3vw, 2.2rem); color: white; background: var(--ink); }
.metro-line { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.2rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.metro-line:last-child { border-bottom: 0; }
.line-badge { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 50%; color: white; background: #e44d35; font-family: var(--sans); font-size: 1.15rem; font-weight: 850; }
.line-badge.l2 { background: #2974af; }
.line-badge.l6 { background: #276d83; }
.line-badge.fx { background: #6a8233; }
.metro-line h3 { margin: 0 0 .35rem; color: white; font-size: 1.4rem; }
.metro-line p { margin: 0; color: rgba(255,255,255,.76); font-size: .9rem; }
.network-table { width: 100%; margin: 1.5rem 0 2rem; border-collapse: collapse; font-size: .88rem; }
.network-table th, .network-table td { padding: .85rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.network-table th { color: var(--red); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.network-table td:first-child { font-family: var(--serif); font-size: 1.05rem; }

/* Naples A-to-B journey planner */
.route-planner-section { overflow: hidden; border-color: #9fc4d1; background: linear-gradient(145deg, #f8fdff 0%, #fffdf8 62%, #fff4dd 100%); }
.journey-planner { margin: 2rem 0 0; padding: clamp(1rem, 2.5vw, 1.75rem); border: 1px solid #b9cdd5; border-radius: 1.1rem; background: rgba(255,255,255,.9); box-shadow: 0 16px 38px rgba(11,63,91,.08); }
.route-field-grid { display: grid; grid-template-columns: minmax(0,1fr) 3.2rem minmax(0,1fr); align-items: start; gap: .75rem; }
.route-field-wrap > label, .route-modes legend { display: block; margin-bottom: .5rem; color: var(--ink); font-size: .62rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.route-input-shell { display: grid; grid-template-columns: 2.8rem 1fr; align-items: center; min-height: 4.2rem; overflow: hidden; border: 1px solid #9fb7c1; border-radius: .85rem; background: white; transition: border-color 180ms ease, box-shadow 180ms ease; }
.route-input-shell:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,129,168,.13); }
.route-input-shell > span { display: grid; align-self: stretch; place-items: center; color: white; background: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.route-input-shell.destination > span { background: var(--red); }
.route-input-shell input { width: 100%; min-width: 0; height: 100%; padding: .75rem .9rem; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }
.route-input-shell input::placeholder { color: #756e64; }
.route-text-button { margin-top: .6rem; padding: .2rem 0; border: 0; color: var(--blue); background: transparent; font-size: .72rem; font-weight: 750; text-align: left; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18rem; cursor: pointer; }
.route-text-button:hover { color: var(--red); }
.route-swap { width: 3rem; height: 3rem; align-self: center; margin-top: .6rem; border: 1px solid #9fb7c1; border-radius: 50%; color: var(--ink); background: white; font-size: 1.2rem; cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.route-swap:hover { transform: rotate(180deg); color: white; background: var(--ink); }
.route-modes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .6rem; margin: 1.4rem 0; padding: 0; border: 0; }
.route-modes legend { grid-column: 1 / -1; }
.route-modes label { position: relative; cursor: pointer; }
.route-modes input { position: absolute; opacity: 0; pointer-events: none; }
.route-modes span { min-height: 4rem; display: flex; flex-direction: column; justify-content: center; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: .75rem; background: #f7fafb; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.route-modes b, .route-modes small { display: block; }
.route-modes b { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.route-modes small { margin-top: .1rem; color: #655f57; font-size: .58rem; }
.route-modes label:hover span { transform: translateY(-2px); border-color: var(--blue); }
.route-modes input:focus-visible + span { outline: 3px solid rgba(7,129,168,.25); outline-offset: 2px; }
.route-modes input:checked + span { color: white; border-color: var(--ink); background: var(--ink); }
.route-modes input:checked + span b, .route-modes input:checked + span small { color: white; }
.route-submit { width: 100%; min-height: 3.8rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.15rem; border: 0; border-radius: .8rem; color: white; background: var(--red); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform 180ms ease, filter 180ms ease; }
.route-submit:hover { transform: translateY(-2px); filter: brightness(.95); }
.route-submit span:last-child { font-size: 1.2rem; }
.route-status { min-height: 1.4rem; margin: .85rem 0 0 !important; color: #655f57 !important; font-size: .72rem !important; }
.route-status.is-success { color: #29663f !important; }
.route-status.is-error { color: #a33226 !important; }
.quick-routes { margin-top: 2rem; }
.quick-routes-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.quick-routes-head h3 { margin: .25rem 0 0; }
.quick-routes-head > p { margin: 0 !important; color: #655f57 !important; font-size: .78rem !important; }
.quick-route-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.quick-route-grid button { min-height: 6.6rem; padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; color: var(--ink); background: white; text-align: left; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.quick-route-grid button:hover { transform: translateY(-3px); border-color: var(--ochre); box-shadow: 0 8px 20px rgba(11,63,91,.08); }
.quick-route-grid span, .quick-route-grid small { display: block; }
.quick-route-grid span { font-family: var(--serif); font-size: 1.08rem; }
.quick-route-grid small { margin-top: .35rem; color: #655f57; font-size: .61rem; line-height: 1.4; }
.recent-routes { margin-top: 1.5rem; padding: 1.15rem; border: 1px dashed #9fb7c1; border-radius: .85rem; background: rgba(255,255,255,.72); }
.recent-routes h3 { margin: .25rem 0 .7rem; }
.recent-routes [data-recent-route-list] { display: flex; flex-wrap: wrap; gap: .5rem; }
.recent-routes button { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: white; font-size: .67rem; cursor: pointer; }
.recent-routes button:hover { border-color: var(--blue); }
.route-privacy { margin-top: 1.5rem; }

/* Searchable station explorer */
.station-explorer { margin: 2.2rem 0 0; }
.station-filters { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .65rem; margin-bottom: 1rem; }
.station-filter { min-height: 4.5rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .85rem; color: var(--ink); background: #f7fcfd; text-align: left; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.station-filter:hover { transform: translateY(-2px); border-color: var(--blue); }
.station-filter span, .station-filter small { display: block; }
.station-filter span { font-family: var(--serif); font-size: 1.15rem; }
.station-filter small { margin-top: .2rem; font-size: .57rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.station-filter.is-active { color: white; background: var(--ink); border-color: var(--ink); }
.station-filter.line-one.is-active { background: #e44d35; border-color: #e44d35; }
.station-filter.line-six.is-active { background: #238293; border-color: #238293; }
.station-filter.line-two.is-active { background: #2974af; border-color: #2974af; }
.station-search { display: block; margin: 1.2rem 0 .5rem; }
.station-search span { display: block; margin-bottom: .45rem; color: var(--ink); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.station-search input { width: 100%; min-height: 3.5rem; padding: .75rem 1rem; border: 1px solid #aebfc7; border-radius: .8rem; color: var(--ink); background: white; font: inherit; }
.station-search input:focus { outline: 3px solid rgba(7,129,168,.2); border-color: var(--blue); }
.station-results { margin: .65rem 0 1rem !important; color: #676057 !important; font-size: .78rem; }
.station-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; }
.station-card { min-height: 15rem; display: flex; flex-direction: column; padding: 1.1rem; border: 1px solid var(--line); border-radius: .9rem; background: #fbfefe; box-shadow: 0 6px 18px rgba(11,63,91,.035); }
.station-card[hidden] { display: none; }
.station-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.station-line { min-width: 2.35rem; padding: .32rem .45rem; border-radius: 999px; color: white; font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-align: center; }
.station-line.line-one { background: #e44d35; }
.station-line.line-six { background: #238293; }
.station-line.line-two { background: #2974af; }
.station-order { color: #7a7369; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.station-card h3 { margin: 1rem 0 .5rem; font-size: 1.4rem; }
.station-card p { flex: 1; margin: 0 0 1rem; font-size: .82rem; line-height: 1.55; }
.station-card a { align-self: flex-start; color: var(--red); font-size: .62rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-underline-offset: .18rem; }
.station-card.station-featured { border-color: #93b9c8; background: #f3fafc; }
.station-card.station-home { border: 2px solid var(--ochre); background: #fff8e5; }
.station-empty { padding: 2rem; border: 1px dashed #aebfc7; border-radius: .9rem; text-align: center; background: #f7fcfd; }
.station-empty strong, .station-empty span { display: block; }
.station-empty span { margin-top: .35rem; color: #625c52; font-size: .82rem; }

/* Museum directory */
.museum-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem; }
.museum-card { min-height: 20rem; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #f7fcfd; }
.museum-grid.compact .museum-card { min-height: 17rem; }
.museum-card.featured { border-color: var(--ochre); background: #fff8e5; }
.museum-tag { color: var(--red); font-size: .58rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.museum-card h3 { margin: 1rem 0 .75rem; }
.museum-card p { margin: 0 0 .9rem; font-size: .9rem; }
.museum-card .museum-route { color: #625c52; font-size: .76rem; }
.museum-card > a { align-self: flex-start; margin-top: auto; color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-underline-offset: .18rem; }
.museum-card-visual { min-height: 34rem; padding: 0; overflow: hidden; background: white; }
.museum-card-visual > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #dfe8eb; }
.museum-card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 1.35rem; }
.museum-card-body .museum-tag { padding-right: 2.7rem; }
.museum-card-body h3 { margin: .8rem 0 .65rem; }
.museum-card-body > a { align-self: flex-start; margin-top: auto; color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-underline-offset: .18rem; }
.museum-rank { position: absolute; top: 1rem; right: 1.1rem; color: var(--ochre); font-family: var(--serif); font-size: 1.55rem; line-height: 1; }

/* Maradona cultural guide */
.maradona-hero { background-position: center 38%; }
.maradona-hero::before { background: linear-gradient(90deg, rgba(3,35,54,.9) 0%, rgba(3,44,66,.64) 46%, rgba(3,44,66,.16) 82%); }
.maradona-scoreline { width: min(88rem, calc(100% - (2 * var(--pad)))); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 auto clamp(4rem,7vw,7rem); border: 1px solid var(--line); border-radius: 1.2rem; overflow: hidden; background: #062f49; box-shadow: 0 16px 38px rgba(11,63,91,.12); }
.maradona-scoreline article { min-height: 10rem; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.16); }
.maradona-scoreline article:last-child { border-right: 0; }
.maradona-scoreline strong { display: block; margin-bottom: .8rem; color: #ffc85a; font-family: var(--serif); font-size: clamp(1.7rem,3vw,3rem); font-weight: 400; line-height: 1; }
.maradona-scoreline span { color: rgba(255,255,255,.82); font-size: .76rem; line-height: 1.5; }
.maradona-quote { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; margin: 2rem 0; padding: clamp(1.4rem,3vw,2.4rem); border-radius: 1rem; color: white; background: linear-gradient(135deg,#073954,#0b6f91); }
.maradona-quote span { color: #ffc85a; font-family: var(--serif); font-size: clamp(4rem,8vw,8rem); line-height: .7; }
.maradona-quote p { margin: 0 !important; color: white !important; font-family: var(--serif); font-size: clamp(1.35rem,2.4vw,2rem) !important; line-height: 1.3 !important; }
.maradona-story-photo { margin: 2rem 0; }
.maradona-story-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 36%; }
.maradona-feature { margin-top: 1.8rem; }
.maradona-feature img { width: 100%; max-height: 44rem; object-fit: cover; object-position: center 42%; }
.maradona-feature.wide img { aspect-ratio: 16 / 8; }
.maradona-place-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin-top: 2rem; }
.maradona-place-grid article { min-height: 28rem; display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #f7fcfd; }
.maradona-place-grid article:first-child { border-color: var(--ochre); background: #fff8e5; }
.maradona-place-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.maradona-place-grid article:nth-child(3) .maradona-place-image { object-position: center 22%; }
.maradona-place-copy { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.45rem 1.45rem; }
.maradona-place-copy > span { color: var(--red); font-size: .62rem; font-weight: 850; letter-spacing: .12em; }
.maradona-place-grid h3 { margin: 1.1rem 0 .7rem; }
.maradona-place-grid p { margin: 0 0 1rem; font-size: .88rem; }
.maradona-place-grid a { align-self: flex-start; margin-top: auto; color: var(--red); font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-underline-offset: .2rem; }
.place-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.place-actions span { color: #655f57; font-size: .72rem; }
.stadium-practical { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin: 1.8rem 0; }
.stadium-practical article { padding: 1.4rem; border: 1px solid var(--line); border-radius: .9rem; background: #f7fcfd; }
.stadium-practical small { color: var(--red); font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.stadium-practical h3 { margin: .8rem 0 .6rem; }
.stadium-practical p { margin: 0; font-size: .86rem; }
.maradona-route { margin: 2rem 0 0 !important; padding: 0 !important; list-style: none; }
.maradona-route li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; margin: 0; }
.maradona-route li > span { padding-top: .2rem; color: var(--red); font-size: .62rem; font-weight: 850; letter-spacing: .08em; }
.maradona-route li > div { position: relative; padding: 0 0 2.1rem 1.5rem; border-left: 1px solid var(--line); }
.maradona-route li > div::before { content: ""; position: absolute; top: .2rem; left: -.36rem; width: .68rem; height: .68rem; border-radius: 50%; background: var(--ochre); }
.maradona-route li:last-child > div { border-left-color: transparent; }
.maradona-route h3 { margin: 0 0 .5rem; }
.maradona-route p { margin: 0; }

.guide-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0 var(--pad) clamp(7rem, 12vw, 12rem); }
.guide-card { position: relative; min-height: 29rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; overflow: hidden; color: white; text-decoration: none; background: var(--blue); }
.guide-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.guide-card::after { content: ""; position: absolute; inset: 0; background: rgba(10,12,14,.5); }
.guide-card > *:not(img) { position: relative; z-index: 1; }
.guide-card small { font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.guide-card h2 { margin: .7rem 0 1rem; font-size: clamp(2.5rem, 4vw, 4rem); }
.guide-card p { max-width: 29rem; margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.guide-card:hover img { transform: scale(1.035); }

.guide-cta { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 2rem; padding: clamp(4rem, 8vw, 7rem) var(--pad); color: white; background: var(--red); }
.guide-cta h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
.guide-cta p { max-width: 30rem; }
.guide-cta .button { justify-self: end; }
.credits { padding: 1.2rem var(--pad); color: #625c52; background: var(--paper); font-size: .58rem; line-height: 1.5; }
.credits a { color: inherit; }

/* Piazza Duomo & Palazzo Nanà story */
.duomo-hero { background-image: url('/assets/duomo-final-project-render.jpg') !important; background-position: center 50%; }
.duomo-hero::before { background: linear-gradient(90deg, rgba(3,35,54,.9) 0%, rgba(3,44,66,.62) 43%, rgba(3,44,66,.12) 78%); }
.hero-photo-credit { position: absolute; right: var(--pad); bottom: 1rem; z-index: 2; max-width: min(34rem, calc(100% - (2 * var(--pad)))); margin: 0; color: rgba(255,255,255,.9); font-size: .58rem !important; letter-spacing: .04em; text-align: right; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.hero-photo-credit a { color: white; }
.history-stats {
  width: min(88rem, calc(100% - (2 * var(--pad))));
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 0 auto clamp(4rem, 7vw, 7rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 14px 40px rgba(11,63,91,.06);
}
.history-stats article { min-height: 10rem; padding: 1.5rem; border-right: 1px solid var(--line); }
.history-stats article:last-child { border-right: 0; }
.history-stats strong { display: block; margin-bottom: .85rem; color: var(--red); font-family: var(--serif); font-size: clamp(1.65rem, 2.6vw, 2.6rem); font-weight: 400; line-height: 1; }
.history-stats span { display: block; color: #4a443b; font-size: .78rem; line-height: 1.55; }
.history-timeline { margin: 2rem 0 0 !important; padding: 0 !important; list-style: none; }
.history-timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; margin: 0; padding: 0 0 2.2rem; }
.history-timeline li > span { position: relative; padding-top: .28rem; color: var(--red); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.history-timeline li > span::after { content: ""; position: absolute; top: .25rem; right: -1.08rem; width: .62rem; height: .62rem; border: 3px solid white; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 1px var(--ochre); }
.history-timeline li > div { padding: 0 0 2rem 2rem; border-left: 1px solid var(--line); }
.history-timeline li:last-child > div { border-left-color: transparent; }
.history-timeline h3 { margin: 0 0 .55rem; }
.history-timeline p { margin: 0; }
.discovery-grid article { min-height: 14rem; }
.feature-illustration img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.palazzo-callout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(1.5rem,4vw,4rem); margin: 2.4rem 0; padding: clamp(1.5rem,3vw,2.5rem); border-radius: 1rem; color: white; background: linear-gradient(135deg, #082f49, #0b5876); }
.palazzo-callout > span { align-self: start; color: #ffd275; font-family: var(--serif); font-size: clamp(2rem,4vw,4.2rem); line-height: .95; }
.palazzo-callout h3 { margin: 0 0 .8rem; color: white; }
.palazzo-callout p { color: rgba(255,255,255,.82); }
.palazzo-callout .text-link { color: white; }
.source-note { margin-top: 1.2rem; font-size: .78rem; font-style: italic; }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .guide-toc ol { display: grid; grid-template-columns: repeat(2, 1fr); }
  .guide-toc li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 1rem; }
  .guide-toc li:nth-child(even) { padding-left: 1rem; }
  .station-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quick-route-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .guide-hero { min-height: 68svh; padding-top: 8rem; }
  .guide-intro { grid-template-columns: 1fr; }
  .guide-intro-mark { font-size: 4rem; }
  .guide-toc ol { grid-template-columns: 1fr; }
  .guide-toc li:nth-child(odd), .guide-toc li:nth-child(even) { border-right: 0; padding-left: 0; padding-right: 0; }
  .tip-grid, .app-links, .guide-cards { grid-template-columns: 1fr; }
  .clean-list li { grid-template-columns: 1fr; gap: .2rem; }
  .route-card { grid-template-columns: 1fr; }
  .route-icon { width: 5rem; height: 5rem; font-size: 2rem; }
  .guide-cta { grid-template-columns: 1fr; }
  .guide-cta .button { justify-self: start; }
  .guide-card { min-height: 25rem; }
  .metro-line { grid-template-columns: 4rem 1fr; }
  .network-table, .network-table tbody, .network-table tr, .network-table td { display: block; }
  .network-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .network-table tr { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .network-table td { padding: .25rem 0; border: 0; }
  .network-table td::before { content: attr(data-label); display: block; color: var(--red); font-family: var(--sans); font-size: .55rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .history-stats { grid-template-columns: repeat(2, 1fr); }
  .history-stats article { min-height: 8.5rem; border-bottom: 1px solid var(--line); }
  .history-stats article:nth-child(2) { border-right: 0; }
  .history-stats article:nth-last-child(-n+2) { border-bottom: 0; }
  .history-timeline li { grid-template-columns: 1fr; gap: .4rem; padding-bottom: 2rem; }
  .history-timeline li > span::after { display: none; }
  .history-timeline li > div { padding: 0; border: 0; }
  .palazzo-callout { grid-template-columns: 1fr; }
  .station-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .station-grid { grid-template-columns: 1fr; }
  .station-card { min-height: 0; }
  .route-field-grid { grid-template-columns: 1fr; }
  .route-swap { justify-self: center; margin: 0; transform: rotate(90deg); }
  .route-swap:hover { transform: rotate(270deg); }
  .route-modes { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quick-routes-head, .quick-route-grid { grid-template-columns: 1fr; }
  .museum-card-visual { min-height: 0; }
  .maradona-scoreline { grid-template-columns: repeat(2,1fr); }
  .maradona-scoreline article { min-height: 8rem; border-bottom: 1px solid rgba(255,255,255,.16); }
  .maradona-scoreline article:nth-child(2) { border-right: 0; }
  .maradona-scoreline article:nth-last-child(-n+2) { border-bottom: 0; }
  .maradona-place-grid, .stadium-practical { grid-template-columns: 1fr; }
  .maradona-place-grid article { min-height: 0; }
  .maradona-route li { grid-template-columns: 3.4rem 1fr; }
}

/* Tourism-first guide template */
.guide-page { background: #fffdf8; }
.neighborhoods-page .guide-hero { background-image: url('/assets/neighborhoods-quartieri-spagnoli.jpg') !important; }
.itineraries-page .guide-hero { background-image: url('/assets/itineraries-piazza-plebiscito.jpg') !important; }
.metro-page .guide-hero { background-image: url('/assets/metro-toledo-station.jpg') !important; }
.guide-page .site-header,
.guide-page .site-header.scrolled { color: var(--ink); background: rgba(255,253,248,.97); }
.guide-hero {
  min-height: 62svh;
  align-items: center;
  margin-top: 5.2rem;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background-position: center 55%;
}
.guide-hero::before { background: linear-gradient(90deg, rgba(3,44,66,.82), rgba(3,44,66,.26)); }
.guide-hero::after { display: none; }
.guide-hero-inner { width: min(80rem, 100%); margin-inline: auto; }
.guide-hero h1 { max-width: 55rem; font-size: clamp(3.2rem, 7vw, 6.7rem); }
.guide-hero p:not(.eyebrow) { font-family: var(--sans); font-size: clamp(1rem, 1.6vw, 1.22rem); }
.guide-hero-meta span { padding: .42rem .7rem; border-radius: 999px; background: rgba(255,255,255,.14); }
.guide-subnav { position: sticky; top: 4.65rem; color: var(--ink); background: white; box-shadow: 0 8px 25px rgba(11,63,91,.08); }
.guide-subnav a { border-color: var(--line); border-radius: 999px; color: var(--ink); }
.guide-subnav a:hover, .guide-subnav a[aria-current="page"] { color: white; background: var(--blue); border-color: var(--blue); }
.guide-intro { width: min(80rem, 100%); margin-inline: auto; padding-block: clamp(4rem, 7vw, 6rem); }
.guide-intro-mark { color: var(--ochre); }
.guide-intro-copy .lead { font-size: clamp(1.55rem, 2.7vw, 2.55rem); }
.guide-layout { width: min(88rem, 100%); margin-inline: auto; gap: clamp(2rem,5vw,5rem); }
.guide-toc { padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: #f4fbfd; }
.guide-section { margin-bottom: 1.4rem; padding: 2rem clamp(1.1rem, 3vw, 2.5rem) 3rem; border: 1px solid var(--line); border-radius: 1.25rem; background: white; box-shadow: 0 12px 32px rgba(11,63,91,.05); }
.guide-section h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.guide-image img { border-radius: 1rem; }
.tip-grid { gap: .8rem; border: 0; background: transparent; }
.tip-grid > article { border: 1px solid var(--line); border-radius: .9rem; background: #f7fcfd; }
.food-tip-grid > article { min-height: 0; padding: 0; overflow: hidden; background: white; }
.food-tip-grid .tip-photo { width: 100%; height: clamp(10rem, 18vw, 13rem); display: block; object-fit: cover; }
.food-tip-grid .tip-card-copy { min-height: 12rem; padding: 1.35rem 1.5rem 1.55rem; }
.food-tip-grid h3 { margin-top: .8rem; }
.dish-grid { display: grid; gap: .9rem; margin: 2rem 0; }
.dish-card { display: grid; grid-template-columns: minmax(12rem, .8fr) minmax(0, 1.2fr); min-height: 12rem; overflow: hidden; border: 1px solid var(--line); border-radius: .95rem; background: #f7fcfd; }
.dish-card img { width: 100%; height: 100%; min-height: 12rem; display: block; object-fit: cover; }
.dish-card-copy { align-self: center; padding: 1.3rem 1.5rem; }
.dish-card-copy h3 { margin: 0 0 .6rem; }
.dish-card-copy p { margin: 0; font-size: .9rem; }
.food-feature-image img { width: 100%; height: clamp(18rem, 36vw, 31rem); object-fit: cover; }
.guide-note { border-left: 4px solid var(--ochre); border-radius: 0 .8rem .8rem 0; background: #fff7df; }
.route-card { margin: 1rem 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #f7fcfd; }
.route-icon { color: var(--ink); background: #ffe7a3; }
.app-link { border-radius: .8rem; background: #f7fcfd; }
.metro-map { border-radius: 1rem; background: #072f48; }
.guide-cards { width: min(88rem, 100%); margin-inline: auto; }
.guide-card { min-height: 25rem; border-radius: 1.25rem; }
.guide-card::after { background: linear-gradient(0deg, rgba(3,44,66,.82), rgba(3,44,66,.08)); }
.guide-cta { margin-top: 2rem; background: linear-gradient(135deg, var(--blue), #0781a8); }

@media (max-width: 700px) {
  .guide-hero { min-height: 58svh; margin-top: 4.8rem; }
  .guide-subnav { top: 4.8rem; }
  .guide-section { padding-inline: 1rem; border-radius: .9rem; }
  .dish-card { grid-template-columns: 1fr; }
  .dish-card img { height: 13rem; min-height: 0; }
  .museum-grid { grid-template-columns: 1fr; }
  .museum-card, .museum-grid.compact .museum-card { min-height: 0; }
}
