/* Azerbaijan Guide: Caspian colours, buta and the geometry of woven carpets. */
:root {
  --navy: #143f41; --navy-2: #20565a; --navy-3: #28666a;
  --gold: #d5b47b; --gold-d: #87642f; --gold-l: #ead6b5;
  --cream: #faf7f0; --paper: #fffdf8; --tint: #f0eade;
  --ink: #273d3b; --muted: #6c7168; --line: #ded7c7;
  --az-red: #812f40; --az-red-dark: #652334;
  --r: 5px; --r-s: 3px; --shadow: 0 8px 26px #143f410a;
}
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { font-size: 16px; }
:focus-visible { outline-color: var(--az-red); outline-offset: 4px; }
:is(.az-hero, .az-closing, .foot, .station-hero) :focus-visible { outline-color: var(--gold-l); }
.wrap { max-width: 1280px; padding-inline: 36px; }
.topbar { background: var(--cream); color: var(--navy); box-shadow: 0 1px 0 #143f4117; }
.topbar::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, #00a5cf 0 33.33%, #dc3447 33.33% 66.66%, #509b56 66.66%); }
.topbar-in { min-height: 88px; gap: 30px; }
.brand, .brand:hover { color: var(--navy); gap: 12px; flex-shrink: 0; }
.az-brand-mark { width: 47px; height: 47px; }
.brand-text b { font-family: var(--body); font-size: 15px; font-weight: 800; letter-spacing: .13em; }
.az-brand-guide { font-weight: 500; letter-spacing: .05em; }
.brand-text small { color: var(--az-red); font-size: 8px; letter-spacing: .19em; font-weight: 600; margin-top: 8px; }
.mainnav { margin-inline-start: auto; margin-inline-end: 0; gap: 16px; }
.mainnav a { color: var(--navy); padding: 12px 8px; font-size: 13px; border-radius: 0; }
.mainnav a:hover, .mainnav a.on { background: transparent; color: var(--az-red); box-shadow: inset 0 -1px var(--az-red); }
.langmenu summary { color: var(--navy); border: 1px solid var(--line); border-radius: 3px; background: transparent; padding: 8px 12px; font-size: 11px; }
.langmenu[open] summary { background: var(--navy); color: var(--cream); }
.navtoggle span { background: var(--navy); }
.btn { border-radius: 3px; font-size: 13px; letter-spacing: .01em; padding: 15px 22px; }
.btn-gold { background: var(--az-red); color: #fff9ef; }
.btn-gold:hover { background: var(--az-red-dark); color: #fff9ef; }
.btn-ghost { border-width: 1px; }
.az-btn-primary { background: var(--az-red); color: #fff9ef; gap: 24px; min-height: 52px; border: 1px solid var(--az-red); }
.az-btn-primary:hover { background: var(--az-red-dark); border-color: var(--az-red-dark); color: #fff9ef; }
.az-btn-primary > span { font-size: 20px; line-height: 1; font-weight: 400; }
.az-eyebrow { margin: 0 0 20px; font: 700 10px/1.6 var(--body); letter-spacing: .19em; text-transform: uppercase; color: var(--az-red); }
.az-title { margin: 0 0 24px; font: 500 clamp(30px, 3.1vw, 44px)/1.17 var(--display); letter-spacing: -.035em; color: var(--navy); text-wrap: balance; }
.az-lead { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 0; max-width: 56ch; }
.az-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; color: var(--az-red); font-size: 12px; font-weight: 700; padding-block: 12px; border-bottom: 1px solid #812f4045; text-decoration: none; }
.az-text-link:hover { color: var(--az-red-dark); border-bottom-color: currentColor; }
.az-text-link > span { font-size: 22px; font-weight: 400; }
.az-arrow { width: 20px; height: 20px; flex-shrink: 0; }

/* Arrival: the bay and the old city, framed by a carpet border. */
.az-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 650px; color: var(--cream); overflow: hidden; background: #143f41; }
.az-hero-image, .az-hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.az-hero-image { object-fit: cover; object-position: 65% center; }
.az-hero-shade { z-index: -1; background: linear-gradient(90deg, #102c32eb 0%, #14343ac7 30%, #13333a6e 53%, #14343a12 82%), linear-gradient(0deg, #102d365e, transparent 45%); }
html[dir="rtl"] .az-hero-shade { background: linear-gradient(270deg, #102c32ed, #14343ac7 40%, #14343a55); }
.az-hero-in { width: 100%; padding-block: 75px 88px; }
.az-hero-eyebrow { color: #edc88f; display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.az-hero-eyebrow > span { font-size: 20px; line-height: 1; }
.az-hero h1 { font: 500 clamp(44px, 4.6vw, 69px)/1.12 var(--display); letter-spacing: -.035em; margin: 0 0 24px; max-width: 800px; text-wrap: balance; }
.az-hero h1 em { font-weight: 400; color: #efcd99; }
.az-hero-sub { color: #fff7e6ed; max-width: 490px; font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
.az-hero .btnrow { align-items: center; gap: 28px; margin-block: 0; }
.az-hero-link { display: inline-flex; gap: 16px; align-items: center; color: #fff9ef; text-decoration: none; font-size: 12px; font-weight: 600; padding-block: 14px; }
.az-hero-link:hover { color: #edc88f; }
.az-hero-link > span { font-size: 22px; }
.az-welcome { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: #fff7e6cf; font-size: 10px; margin: 40px 0 0; }
.az-welcome > span:first-child { font: italic 21px/1.3 var(--display); color: #efd2a5; }
.az-welcome > span:nth-child(2) { width: 22px; height: 1px; background: #efd2a57a; }
.az-hero-caption { position: absolute; bottom: 26px; inset-inline-end: max(36px, calc((100vw - 1208px) / 2)); display: flex; align-items: center; gap: 12px; color: #fff9ef; text-shadow: 0 1px 8px #102d36; }
.az-hero-caption > svg { width: 20px; height: 20px; }
.az-hero-caption b { display: block; font-size: 11px; font-weight: 500; }
.az-hero-caption small { display: block; opacity: .85; font-size: 9px; margin-top: 3px; }
.az-carpet-band { height: 28px; background: var(--az-red) url('/assets/img/azerbaijan/carpet-border.svg') repeat-x center / 140px 28px; }
.az-discovery-bar { border-bottom: 1px solid var(--line); }
.az-discovery-in { min-height: 86px; display: flex; align-items: center; gap: 32px; }
.az-country { display: inline-flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .14em; font-weight: 700; margin: 0; }
.az-discovery-count { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; font-size: 11px; color: var(--muted); padding-inline-start: 30px; border-inline-start: 1px solid var(--line); margin: 0; }
.az-scroll-link { margin-inline-start: auto; display: flex; align-items: center; gap: 22px; font-size: 10px; color: var(--navy); text-decoration: none; }
.az-scroll-link > span { font-size: 20px; }

/* Craft and hospitality, with a locally hosted photograph when available. */
.az-section { padding-block: 92px; }
.az-culture-intro { display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: 100px; }
.az-culture-copy { padding-block: 16px; }
.az-culture-copy .az-title { max-width: 13em; }
.az-culture-copy .az-text-link { margin-top: 24px; }
.az-craft-art { position: relative; isolation: isolate; height: 355px; display: flex; align-items: center; justify-content: center; margin: 0; background: #ede5d5 url('/assets/img/azerbaijan/buta-ornament.svg') repeat center / 240px; overflow: hidden; }
.az-craft-circle { position: absolute; z-index: -1; width: 260px; height: 260px; background: #f7f1e4; border-radius: 50%; }
.az-craft-rug { width: 187px; height: 275px; object-fit: contain; transform: rotate(-8deg); filter: drop-shadow(12px 16px 9px #422b2929); margin-inline-start: -35px; }
.az-craft-word { position: absolute; inset-inline-end: 20px; top: 43%; font: italic 46px/1 var(--display); color: var(--az-red); transform: rotate(-90deg); opacity: .75; }
.az-craft-art figcaption { position: absolute; bottom: 15px; inset-inline: 10px; text-align: center; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; color: var(--navy); }
.az-heritage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; border-top: 1px solid var(--line); padding-top: 34px; }
.az-heritage-icon { width: 44px; height: 48px; display: flex; align-items: center; color: var(--az-red); margin-bottom: 18px; }
.az-heritage-icon svg { width: 40px; height: 40px; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.az-heritage-icon img { width: 48px; height: 48px; object-fit: contain; }
.az-heritage-item h3 { font: 600 19px/1.4 var(--display); margin: 0 0 10px; color: var(--navy); }
.az-heritage-item p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--muted); }

/* Walking routes, with images of the places along the way. */
.az-routes { background: var(--tint); border-block: 1px solid var(--line); }
.az-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.az-section-head .az-title { max-width: 20ch; margin-bottom: 0; }
.az-section-head .az-text-link { white-space: nowrap; margin-bottom: 5px; }
.az-routes-sub { margin-top: 20px; max-width: 68ch; }
.az-route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.az-route-card { background: var(--paper); display: flex; flex-direction: column; border: 1px solid #d8cebd; transition: transform .2s ease, box-shadow .2s ease; }
.az-route-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px #143f4110; }
.az-route-cover { position: relative; display: block; height: 174px; background: #e4d5bc; overflow: hidden; }
.az-route-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.az-route-card:hover .az-route-cover > img { transform: scale(1.03); }
.az-route-index { position: absolute; top: 12px; inset-inline-start: 12px; padding: 5px 9px; color: var(--navy); background: #faf7f0ed; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.az-route-body { flex: 1; display: flex; flex-direction: column; padding: 22px 20px 16px; }
.az-route-body h3 { font: 600 22px/1.25 var(--display); margin: 0 0 12px; }
.az-route-body h3 a { color: var(--navy); text-decoration: none; }
.az-route-tag { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 12px; }
.az-route-body .facts { font-size: 11px; font-weight: 500; gap: 9px 12px; margin: auto 0 20px; padding-top: 8px; }
.az-route-body .facts .ico-xs { width: 13px; height: 13px; }
.az-route-body .facts li { gap: 4px; }
.az-route-link { display: flex; align-items: center; justify-content: space-between; color: var(--az-red); text-decoration: none; border-top: 1px solid var(--line); padding-top: 14px; font-size: 11px; font-weight: 700; gap: 6px; }
.az-route-link > span { font-size: 21px; font-weight: 400; }
.az-how .az-title { max-width: 20ch; }
.az-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 44px 0 0; gap: 48px; }
.az-steps li { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 28px; }
.az-step-number { font: 400 32px/1 var(--display); color: var(--az-red); }
.az-steps h3 { color: var(--navy); margin: 0 0 8px; font: 600 18px/1.4 var(--display); }
.az-steps p { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0; }
.az-closing { position: relative; isolation: isolate; background: var(--navy); overflow: hidden; padding-block: 70px; color: var(--cream); }
.az-closing::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url('/assets/img/azerbaijan/buta-ornament.svg') repeat center / 240px; opacity: .14; }
.az-closing-in { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.az-closing-in > div { max-width: 660px; }
.az-closing .az-eyebrow { color: #e6c287; }
.az-closing .az-title { color: #fff7e6; }
.az-closing .az-lead { color: #d1d8cc; margin-bottom: 28px; }
.az-closing .az-btn-primary { background: #ead4ad; border-color: #ead4ad; color: var(--navy); }
.az-closing .az-btn-primary:hover { background: #f4e5c9; }
.az-closing-mark { width: 180px; height: 180px; flex-shrink: 0; opacity: .95; margin-inline-end: 50px; }

/* Shared identity carries through to the guide, routes and quiz. */
.foot { background: #102f31; color: #bdccc4; padding-top: 55px; }
.foot-in { grid-template-columns: 1.6fr .7fr 1fr; gap: 70px; }
.az-footer-brand { display: inline-flex; gap: 12px; align-items: center; color: #f6ead3; text-decoration: none; font: 500 25px/1.2 var(--display); }
.az-footer-brand:hover { color: #fff; }
.az-footer-brand img { width: 42px; height: 42px; }
.foot-note { font-size: 12px; line-height: 1.9; max-width: 32ch; margin-top: 20px; }
.az-footer-welcome { color: #d5b47b; font: italic 17px/1.4 var(--display); margin-top: 20px; }
.foot-links a { color: #d4ded5; font-size: 12px; min-height: 36px; }
.foot-links a:hover { color: #ead4ad; }
.foot-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; border-color: #ffffff1c; margin-top: 40px; font-size: 10px; padding-top: 22px; }
.az-footer-country { display: inline-flex; align-items: center; gap: 10px; color: #bdccc4; }
.az-footer-country svg { display: block; }
.pagehead { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: 48px 38px; }
.pagehead::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url('/assets/img/azerbaijan/buta-ornament.svg') repeat right / 250px; opacity: .23; mask-image: linear-gradient(90deg, transparent 30%, #000); }
.pagehead::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 8px; background: url('/assets/img/azerbaijan/carpet-border.svg') repeat-x center / 80px 16px; }
.routerow, .mapbox, .card { box-shadow: none; border: 1px solid var(--line); }
.routerow { border-inline-start: 4px solid var(--az-red); }
.routecard-top { background: var(--navy) url('/assets/img/azerbaijan/buta-ornament.svg') center / 260px; }
.station-hero { background: var(--navy); border-bottom: 8px solid var(--az-red); }
.hero, .hotel-strip { background: var(--navy); }

@media (min-width: 1650px) { .az-hero { min-height: 720px; } }
@media (max-width: 1100px) {
  .topbar-in { gap: 18px; } .mainnav { gap: 4px; } .mainnav a { font-size: 12px; }
  .brand-text b { font-size: 13px; } .az-culture-intro { gap: 50px; }
  .az-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .az-route-cover { height: 220px; }
  .az-heritage-grid { gap: 24px; } .az-discovery-count > span { display: none; } .az-steps { gap: 28px; }
}
@media (max-width: 860px) {
  .wrap { padding-inline: 25px; } .topbar-in { min-height: 75px; }
  .mainnav { margin: 0; background: var(--cream); padding: 12px 25px 20px; border-color: var(--line); box-shadow: 0 10px 18px #143f4110; }
  .mainnav a { font-size: 15px; padding: 13px 8px; }
  .az-brand-mark { width: 41px; height: 41px; } .brand-text small { font-size: 7px; }
  .az-hero { min-height: 620px; } .az-hero h1 { font-size: clamp(40px, 6.5vw, 58px); }
  .az-hero-shade { background: linear-gradient(90deg, #102c32ed, #14343ac4 45%, #14343a3d); }
  .az-hero-caption { inset-inline-end: 25px; } .az-scroll-link { font-size: 9px; gap: 14px; }
  .az-discovery-in { gap: 22px; } .az-discovery-count { padding-inline-start: 20px; }
  .az-section { padding-block: 65px; } .az-culture-intro { gap: 35px; }
  .az-craft-art { height: 320px; } .az-craft-rug { width: 160px; height: 250px; margin: 0; } .az-craft-word { display: none; }
  .az-heritage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 38px; margin-top: 40px; }
  .az-closing-in { gap: 25px; } .az-closing-mark { width: 130px; height: 130px; margin: 0; } .foot-in { gap: 30px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 92px; } .wrap { padding-inline: 22px; }
  .topbar-in { min-height: 72px; gap: 12px; } .brand { gap: 8px; }
  .az-brand-mark { width: 35px; height: 35px; } .brand-text b { font-size: 11px; letter-spacing: .09em; }
  .brand-text small { font-size: 6px; margin-top: 6px; letter-spacing: .11em; }
  .langmenu summary { padding: 5px 8px; min-height: 40px; gap: 4px; font-size: 10px; } .langmenu .globe { width: 13px; height: 13px; }
  .navtoggle { padding: 10px 6px; margin-inline-end: -6px; } .navtoggle span { width: 20px; }
  .az-hero { min-height: 700px; align-items: flex-start; } .az-hero-image { object-position: 74% center; }
  .az-hero-shade { background: linear-gradient(180deg, #102e39f0, #102e39c9 35%, #102e394a 70%, #102e396b), linear-gradient(90deg, #102e395c, transparent); }
  .az-hero-in { padding-top: 56px; padding-bottom: 135px; }
  .az-hero-eyebrow { font-size: 8px; letter-spacing: .14em; margin-bottom: 26px; gap: 7px; }
  .az-hero h1 { font-size: clamp(35px, 9vw, 50px); line-height: 1.18; margin-bottom: 24px; text-wrap: initial; }
  .az-hero-sub { font-size: 13px; line-height: 1.85; max-width: 37ch; margin-bottom: 26px; }
  .az-hero .btnrow { align-items: flex-start; gap: 12px 20px; }
  .az-btn-primary { font-size: 11px; gap: 18px; padding: 14px 18px; min-height: 48px; }
  .az-hero-link { font-size: 11px; gap: 9px; } .az-welcome { margin-top: 28px; font-size: 9px; gap: 10px; }
  .az-welcome > span:first-child { font-size: 19px; }
  .az-hero-caption { inset-inline-start: 22px; inset-inline-end: 22px; bottom: 26px; }
  .az-hero-caption b { font-size: 10px; } .az-hero-caption small { font-size: 8px; }
  .az-carpet-band { height: 24px; background-size: 120px 24px; }
  .az-discovery-in { min-height: 85px; gap: 12px; flex-wrap: wrap; justify-content: space-between; padding-block: 20px; }
  .az-country { font-size: 9px; gap: 7px; letter-spacing: .1em; } .az-country img { width: 22px; height: 22px; }
  .az-discovery-count { padding: 0; border: 0; font-size: 9px; gap: 0; } .az-scroll-link { display: none; }
  .az-section { padding-block: 55px; } .az-eyebrow { font-size: 8px; margin-bottom: 18px; }
  .az-title { font-size: 32px; margin-bottom: 22px; } .az-lead { font-size: 14px; line-height: 1.85; }
  .az-culture-intro { grid-template-columns: 1fr; gap: 30px; } .az-culture-copy { padding: 0; }
  .az-culture-copy .az-title { max-width: 14ch; } .az-culture-copy .az-text-link { margin-top: 18px; }
  .az-text-link { font-size: 11px; } .az-craft-art { height: 310px; } .az-craft-rug { width: 180px; height: 260px; }
  .az-craft-word { display: block; font-size: 40px; inset-inline-end: 13px; } .az-craft-art figcaption { font-size: 7px; }
  .az-heritage-grid { gap: 28px 24px; padding-top: 30px; } .az-heritage-icon { margin-bottom: 12px; }
  .az-heritage-item h3 { font-size: 17px; line-height: 1.35; } .az-heritage-item p { font-size: 12px; line-height: 1.8; }
  .az-section-head { align-items: flex-start; flex-direction: column; gap: 12px; } .az-section-head .az-title { max-width: 17ch; }
  .az-routes-sub { margin-top: 20px; } .az-route-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .az-route-cover { height: 185px; } .az-route-body { padding: 23px 22px 18px; } .az-route-body h3 { font-size: 26px; }
  .az-route-body .facts { font-size: 11px; gap: 12px 14px; } .az-route-link { font-size: 12px; }
  .az-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; } .az-steps li { padding-top: 22px; gap: 22px; }
  .az-steps h3 { font-size: 21px; } .az-steps p { font-size: 13px; }
  .az-closing { padding-block: 52px; } .az-closing .az-title { font-size: 34px; } .az-closing-mark { display: none; }
  .foot { padding-top: 40px; } .foot-in { grid-template-columns: 1fr 1fr; gap: 25px; } .foot-in > div:first-child { grid-column: 1 / -1; }
  .az-footer-brand { font-size: 25px; } .foot-note { max-width: 35ch; } .az-footer-welcome { margin-block: 14px 0; }
  .foot-base { margin-top: 25px; font-size: 9px; } .pagehead { padding-block: 36px 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .az-route-card, .az-route-cover > img { transition: none; } }

/* The public catalogue and practical itineraries extend the same visual language. */
.az-heritage-more { display: inline-flex; align-items: center; gap: 10px; color: var(--az-red); font-size: 11px; font-weight: 700; text-decoration: none; padding-block: 15px 4px; }
.az-heritage-more .az-arrow { width: 16px; height: 16px; }
.az-route-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.az-route-tabs a { padding: 9px 14px; border: 1px solid var(--line); color: var(--navy); background: var(--paper); font-size: 12px; text-decoration: none; }
.az-route-tabs a:hover { border-color: var(--az-red); color: var(--az-red); }
#quiz-routes .routelist { margin-top: 30px; }
.az-place-filters { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto; gap: 22px; align-items: end; }
.az-place-filters label { min-width: 0; }
.az-place-filters label > span { display: block; color: var(--navy); font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.az-place-filters input, .az-place-filters select { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; padding: 12px 15px; }
.az-results { font-size: 12px; color: var(--muted); margin-block: 24px; }
.az-empty { padding: 32px; background: var(--tint); color: var(--navy); border: 1px solid var(--line); }
.az-place-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.az-place-card, .az-plan-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.az-place-card > a, .az-plan-card > a { display: flex; flex: 1; flex-direction: column; text-decoration: none; color: inherit; }
.az-place-card:hover, .az-plan-card:hover { border-color: #b49972; box-shadow: 0 8px 24px #143f4109; }
.az-place-image { position: relative; }
.az-place-image img, .az-plan-card > a > img { width: 100%; aspect-ratio: 480 / 260; object-fit: cover; }
.az-place-image > span { position: absolute; inset-inline-end: 12px; top: 12px; background: var(--navy); color: var(--cream); font-size: 10px; padding: 5px 9px; }
.az-place-body, .az-plan-card > a > div { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.az-place-body .az-eyebrow, .az-plan-card .az-eyebrow { font-size: 9px; margin-bottom: 12px; }
.az-place-body h2, .az-plan-card h3 { font: 600 24px/1.25 var(--display); color: var(--navy); margin: 0 0 14px; }
.az-place-body > p:not(.az-eyebrow), .az-plan-card > a > div > p:not(.az-eyebrow) { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 0 0 24px; }
.az-place-open { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--az-red); font-size: 12px; font-weight: 700; }
.az-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 36px; }
.az-home-plans { border-bottom: 1px solid var(--line); }
.az-plan-detail, .az-place-detail { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 65px; padding-block: 55px 80px; align-items: start; }
.az-place-story .story { margin-block: 30px; }
.az-place-story .story p, .az-plan-intro { font-size: 18px; line-height: 1.9; }
.az-place-story .station-tools { margin-bottom: 30px; }
.az-image-caption, .az-illustration-caption, .az-plan-art figcaption { font-size: 10px; color: var(--muted); margin: 10px 0 0; }
.az-attraction-hero { min-height: 370px; }
.az-attraction-hero > img { object-position: center 60%; }
.az-attraction-hero .eyebrow a { color: inherit; }
.az-practical-card { position: sticky; top: 112px; background: var(--tint); border: 1px solid var(--line); border-top: 3px solid var(--az-red); padding: 26px; }
.az-practical-card .h3 { font-size: 23px; }
.az-practical-card > p:not(.az-eyebrow) { font-size: 13px; line-height: 1.85; color: var(--muted); }
.az-practical-card .az-text-link { max-width: 100%; overflow-wrap: anywhere; gap: 10px; }
.az-practical-card .btn { margin-top: 20px; padding-inline: 15px; }
.az-practical-card dl { margin: 0 0 20px; }
.az-practical-card dt { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 11px; font-weight: 700; color: var(--az-red); }
.az-practical-card dd { font-size: 13px; line-height: 1.85; margin: 8px 0 0; }
.az-sources { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); }
.az-sources summary { color: var(--navy); font-size: 13px; font-weight: 700; padding-block: 8px; cursor: pointer; }
.az-sources ul { padding-inline-start: 22px; font-size: 12px; line-height: 2.2; overflow-wrap: anywhere; }
.az-related-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-block: 30px; }
.az-related-place { display: flex; flex-direction: column; background: var(--paper); padding: 16px; text-decoration: none; color: var(--navy); border: 1px solid var(--line); }
.az-related-place img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 16px; }
.az-related-place > span { font: 600 21px/1.3 var(--display); margin-bottom: 12px; }
.az-related-place > svg { align-self: flex-end; margin-top: auto; color: var(--az-red); }
.az-related-card { min-width: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.az-related-card .az-related-place { border: 0; flex: 1; }
.az-plan-art { margin: 0 0 30px; }
.az-plan-art img { width: 100%; aspect-ratio: 480 / 260; object-fit: cover; }
.az-plan-intro { color: var(--navy); margin: 0 0 45px; }
.az-plan-main > .az-title { font-size: 30px; margin-bottom: 30px; }
.az-day-title { color: var(--az-red); font: 500 27px/1.4 var(--display); margin-block: 35px 18px; }
.az-plan-stops { list-style: none; padding: 0; margin: 0; }
.az-plan-stops > li { display: flex; align-items: flex-start; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.az-stop-number { display: grid; place-items: center; width: 34px; height: 34px; background: var(--navy); color: var(--cream); flex-shrink: 0; font-size: 13px; border-radius: 50%; }
.az-plan-stops h3 { font: 600 23px/1.3 var(--display); margin: 0 0 12px; }
.az-plan-stops h3 a { color: var(--navy); text-decoration: none; }
.az-plan-stops p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.az-plan-stops p.az-eyebrow { color: var(--az-red); font-size: 9px; margin-block: 5px 8px; }
.az-stop-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 10px; }
.az-stop-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--az-red); text-decoration: none; min-height: 36px; }
.az-stop-links .az-arrow { width: 16px; height: 16px; }
.az-photo-credit { font-size: 10px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.az-photo-credit a { color: inherit; text-underline-offset: 2px; }
.az-photo-credit a:hover { color: var(--az-red); }
.az-photo-edit { opacity: .9; }
.az-card-credit { padding: 0 24px 14px; margin-top: 0; color: var(--muted); font-size: 10px; }
.az-card-credit summary { cursor: pointer; padding-block: 6px; }
.az-card-credit[open] summary { color: var(--az-red); }
.az-card-credit .az-photo-credit { display: block; padding-top: 4px; }
.az-route-card > .az-card-credit { padding-inline: 20px; }
.az-hero-caption .az-photo-credit { color: inherit; font-size: inherit; }
.az-hero-caption .az-photo-credit a:hover { color: var(--gold-l); }
.az-hero-caption { max-width: calc(100% - 72px); }
.az-culture-photo { margin: 0; min-width: 0; }
.az-culture-photo > img { display: block; width: 100%; height: 355px; object-fit: cover; border: 1px solid var(--line); }
.az-culture-photo figcaption { margin-top: 10px; line-height: 1.6; }
.az-heritage-with-photos .az-heritage-icon { width: 100%; height: 150px; justify-content: center; background: var(--tint); overflow: hidden; }
.az-heritage-with-photos .az-heritage-icon svg { width: 65px; height: 65px; }
.az-heritage-with-photos .az-heritage-photo img { width: 100%; height: 100%; object-fit: cover; }
.az-heritage-item .az-card-credit { padding: 0; margin-top: 8px; }
.az-station-photo-credit { padding-top: 12px; }
.az-quiz-route-photo { padding-top: 36px; }
.az-quiz-route-photo .az-plan-art { margin-bottom: 0; }
.az-quiz-route-photo img { aspect-ratio: 21 / 8; }
.az-audio-guide { margin-block: 24px 30px; padding: 24px; border: 1px solid var(--line); border-inline-start: 3px solid var(--az-red); background: var(--paper); min-width: 0; }
.az-audio-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.az-audio-heading h2 { display: flex; align-items: center; gap: 10px; font: 600 23px/1.3 var(--display); margin: 0; color: var(--navy); }
.az-audio-duration { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.az-audio-guide audio { display: block; width: 100%; height: 54px; }
.az-audio-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.az-audio-meta p { margin: 0; }
.az-audio-meta a { color: var(--az-red); text-underline-offset: 3px; }
.az-audio-transcript { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.az-audio-transcript summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--navy); padding-block: 6px; }
.az-audio-transcript p { font-size: 14px; line-height: 1.9; color: var(--navy); white-space: pre-line; margin: 12px 0 0; }
.az-audio-error { color: var(--az-red); font-size: 12px; margin: 12px 0 0; }
.az-audio-error button { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.az-audio-pending { display: flex; align-items: flex-start; gap: 8px; margin-block: 20px 26px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.az-audio-pending > svg { flex-shrink: 0; margin-top: 3px; }
.az-audio-draft { margin-block: 24px 30px; }
.az-audio-draft .az-audio-pending { margin-bottom: 10px; }
.az-audio-draft .az-audio-transcript { margin-top: 10px; }
@media (max-width: 1100px) {
  .az-place-grid, .az-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-plan-detail, .az-place-detail { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; }
  .az-place-filters { gap: 15px; }
}
@media (max-width: 760px) {
  .az-plan-detail, .az-place-detail { grid-template-columns: 1fr; gap: 30px; padding-block: 35px 55px; }
  .az-practical-card { position: static; }
  .az-place-filters { grid-template-columns: 1fr 1fr; }
  .az-place-filters .az-search-field { grid-column: 1 / -1; }
  .az-related-places { grid-template-columns: 1fr; }
  .az-related-place { display: grid; grid-template-columns: 110px 1fr auto; gap: 15px; align-items: center; }
  .az-related-place img, .az-related-place > span { margin: 0; }
}
@media (max-width: 520px) {
  .az-place-grid, .az-plan-grid { grid-template-columns: 1fr; gap: 24px; }
  .az-place-body, .az-plan-card > a > div { padding: 23px; }
  .az-place-filters { grid-template-columns: 1fr; }
  .az-place-filters .az-search-field { grid-column: auto; }
  .az-place-filters .btn { justify-self: start; }
  .az-place-body h2, .az-plan-card h3 { font-size: 25px; }
  .az-plan-stops > li { gap: 14px; }
  .az-plan-stops h3 { font-size: 22px; }
  .az-stop-number { width: 30px; height: 30px; }
  .az-related-place { grid-template-columns: 75px 1fr 18px; gap: 10px; }
  .az-related-place > span { font-size: 19px; }
}

/* Attribution page and the founder credit share the local visual system. */
.az-credits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:28px}.az-credit-card{min-width:0;overflow-wrap:anywhere}.az-credit-card img{width:100%;height:220px;object-fit:cover;border-radius:14px}.az-credit-card h2{font-size:1.25rem}.az-founder{max-width:40ch;line-height:1.6}.foot-base{flex-wrap:wrap}
