:root {
  --paper:#faf6ee; --cream:#fffaf4; --white:#fffdf9; --sand:#f5eedf;
  --ink:#15291f; --green:#294a2c; --orange:#ac4212; --muted:#635e56;
  --line:#e2dace; --pill:#e8ecd7; --focus:#226c98;
  --content:1248px; --gutter:clamp(15px,4vw,48px);
  --frame:min(var(--content),calc(100% - var(--gutter) * 2));
  --serif:Georgia,'Times New Roman',serif;
}
* { box-sizing:border-box }
body { margin:0; color:var(--ink); background:var(--paper); font:16px/1.45 Arial,sans-serif }
h1,h2,h3,p { margin:0 }
h1,h2,h3,.brand strong { font-family:var(--serif); line-height:1.12 }
h1 { font-size:clamp(36px,4.2vw,58px); letter-spacing:-.035em; color:var(--green) }
h2 { font-size:clamp(25px,2.45vw,34px); color:var(--green) }
h3 { font-size:24px }
a { color:var(--green) }
button,input,select,textarea { font:inherit }
button { cursor:pointer }
:where(a,button,input,select,textarea,[tabindex]):focus-visible { outline:3px solid var(--focus); outline-offset:3px }
button,.action {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  min-height:40px; padding:7px 13px; border:1px solid var(--line); border-radius:8px;
  background:var(--white); color:var(--green); text-decoration:none; font-weight:700;
}
button:hover,.action:hover { background:var(--pill) }
.primary,button.active { background:var(--green); border-color:var(--green); color:white }
.primary:hover,button.active:hover { background:#213d24 }
input,select { max-width:100%; padding:8px 11px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--white) }
[hidden] { display:none!important }
.skip { position:absolute; z-index:20; top:10px; left:10px; transform:translateY(calc(-100% - 14px)); padding:10px 14px; background:var(--white) }
.skip:focus { transform:none }

/* Shared masthead and content frame. */
.site-header {
  display:grid; grid-template-columns:max-content minmax(0,1fr) max-content; grid-template-areas:'brand nav weather';
  align-items:center; min-height:80px; column-gap:clamp(14px,3vw,48px);
  padding:10px max(var(--gutter),calc((100% - var(--content)) / 2)); background:var(--cream); border-bottom:1px solid var(--line);
}
.masthead { display:contents }
.brand { grid-area:brand; display:flex; align-items:center; gap:11px; width:max-content; color:var(--green); text-decoration:none; white-space:nowrap }
.brand svg { box-sizing:border-box; flex:none; width:48px; height:48px; padding:3px; border-radius:12px; background:#f9efda }
.brand strong { display:block; font-size:29px; letter-spacing:-.02em }
.brand small { display:block; margin-top:3px; color:var(--orange); font-size:9px; letter-spacing:.025em; font-weight:700 }
.nav-shell { grid-area:nav; min-width:0 }
.site-header nav { display:flex; align-items:center; flex-wrap:wrap; gap:4px }
.site-header nav a,.menu-toggle { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:7px 13px; border:0; border-radius:8px; color:var(--green); background:none; font-size:15px; font-weight:700; text-decoration:none }
.site-header nav a:is(:hover,.active,[aria-current="page"]),.menu-toggle[aria-expanded="true"] { background:var(--pill) }
.menu-toggle,.site-header .quick-nav { display:none }
.menu-icon { width:28px; height:28px; flex:none }
.weather-slot { grid-area:weather; text-align:right; color:var(--muted); font-size:12px; line-height:1.35 }
.weather-data,.chiang-weather { display:flex; flex-direction:column; align-items:flex-end; gap:2px; max-width:100% }
.weather-main { color:var(--green); font-size:15px; font-weight:700; white-space:nowrap }
.weather-condition,.weather-reading { color:var(--muted) }

.hero,.layout,.all-wrap,.calendar-wrap,.detail-layout,.about-wrap,.today-controls,.detail-back,#main>.affiliate-card,.cm-extras,body>footer {
  width:var(--frame); margin-inline:auto; min-width:0;
}
.hero {
  display:flex; flex-direction:column; justify-content:center; min-height:220px; margin-top:22px; padding:24px clamp(20px,3vw,36px);
  border-radius:17px; background-color:#f4e8d4; background-repeat:no-repeat; background-size:cover; background-position:center 52%;
}
.hero { background-image:linear-gradient(90deg,#f4e8d4 0%,#f4e8d4f2 30%,#f4e8d4bd 52%,#f4e8d41c 86%),var(--panorama-image,url('assets/panorama.webp')) }
.hero h1 { max-width:850px; overflow-wrap:anywhere }
.hero p { margin-top:11px; max-width:580px; font-size:clamp(15px,1.65vw,19px) }
.hero .hero-kicker { display:block; margin:0 0 8px; color:var(--orange); font:700 12px/1.3 Arial,sans-serif; text-transform:uppercase; letter-spacing:.04em }
body>footer { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; border-top:1px solid var(--line); padding:15px 0 22px; color:var(--muted); font-size:12px }
body>footer a { display:inline-flex; align-items:center; min-height:44px; font-weight:700; text-underline-offset:3px }

/* Today, category and shared event cards. */
.today-controls { margin-block:13px 0 }
.layout { display:grid; grid-template-columns:minmax(0,2.1fr) minmax(0,1fr); align-items:start; gap:clamp(18px,2.4vw,30px); padding:14px 0 30px }
.layout>section { min-width:0 }
.week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; width:min(100%,504px); margin:0 0 12px }
.week button { width:100%; min-width:0; min-height:56px; flex-direction:column; gap:1px; padding:5px 1px; border-radius:9px }
.week span { font-size:11px; color:var(--muted) }
.week strong { font-size:20px; line-height:1.15 }
.week .active span { color:inherit }
.filter-panel {
  display:grid; grid-template-columns:minmax(0,202px) minmax(0,1fr); align-items:start;
  gap:5px 12px; width:100%; min-width:0; margin:0 0 15px;
}
.search-control,.category-control { min-width:0 }
.filter-panel label { display:block; margin-bottom:5px; color:var(--green); font-size:13px; font-weight:700 }
.search-row { display:flex; gap:7px }
.search-control input,.category-control select { width:100%; min-width:0; min-height:44px; font-size:16px }
.search-row button { flex:none; min-height:44px; padding-inline:9px; font-size:14px }
.search-hint { grid-column:1/-1; color:var(--muted); font-size:12px }
.day-heading { display:flex; align-items:baseline; justify-content:space-between; gap:8px 14px; flex-wrap:wrap; margin:0 0 15px }
.day-heading p { font-size:14px; font-weight:700; color:var(--green) }
.event-list { display:grid; gap:9px; min-width:0 }
.event-card {
  position:relative; display:grid; grid-template-columns:minmax(80px,147px) minmax(0,1fr) auto; gap:0 14px; align-items:start;
  min-width:0; min-height:88px; padding:8px; border:1px solid var(--line); border-radius:12px; background:var(--white);
}
.event-card>img { grid-column:1; grid-row:1/3; align-self:stretch; display:block; width:100%; height:100%; min-height:70px; max-height:116px; object-fit:cover; border-radius:8px }
.event-card .time { grid-column:3; grid-row:1; justify-self:end; padding:3px 3px 0 0; color:var(--green); font-size:14px; text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums }
.card-body { grid-column:2; grid-row:1/3; min-width:0; padding:1px 0 }
.card-body h3 { margin:3px 0 2px; overflow-wrap:anywhere; font-size:clamp(19px,1.7vw,24px) }
.card-body p { color:var(--muted); font-size:13px; overflow-wrap:anywhere }
.card-body .venue { margin-top:2px }
.card-body .event-summary { margin-top:4px }
.card-body>p:not(.venue):not(.source-line) { display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical }
.badge { display:inline-flex; padding:2px 8px; border-radius:20px; background:var(--pill); color:var(--green); font-size:12px; font-weight:700; line-height:1.45 }
.event-link { color:inherit; text-decoration:none }
.event-link::after { content:''; position:absolute; inset:0; z-index:1; border-radius:12px }
.event-link:focus-visible { outline:none }
.event-link:focus-visible::after { outline:3px solid var(--focus); outline-offset:2px }
.event-card:has(.event-link) { min-height:104px; padding-block:13px }
.event-card:has(.event-link)>img { max-height:132px }
@media (hover:hover) {
  .event-card:has(.event-link):hover { border-color:#a9a48f; background:#fffdf7 }
}
.event-card:not(.upcoming-card):has(.event-link):not(:has(.card-actions a))::after { content:'›'; grid-column:3; grid-row:2; align-self:end; justify-self:end; margin:0 3px 0 0; color:var(--green); font-size:19px; font-weight:700; pointer-events:none }
.card-actions { grid-column:3; grid-row:2; justify-self:end; align-self:end; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px }
.card-actions .action,.card-actions button { min-height:36px; padding:4px 8px; font-size:12px }
.event-card :is(.time-chip,.card-actions a,.card-actions button,.directions-link) { position:relative; z-index:2 }
.time-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:7px }
.time-chip { display:inline-flex; align-items:center; min-height:40px; max-width:100%; padding:4px 8px; border:1px solid #d2d5be; border-radius:7px; color:var(--green); background:var(--pill); font-size:13px; font-weight:700; text-decoration:none; overflow-wrap:anywhere }
.time-chip:hover { background:#dce5c7 }
.time-chip.selected { color:#fff; background:var(--green); border-color:var(--green) }
.session-count,.source-line { display:block; margin-top:7px; color:var(--muted); font-size:13px }
.sidebar { align-self:start; min-width:0; border:1px solid var(--line); background:var(--sand); border-radius:14px; padding:17px 19px }
.layout>.sidebar { margin-top:42px }
.sidebar h2 { margin-bottom:7px; font-size:29px }
.sidebar>p { margin:0 0 15px; color:var(--muted); font-size:14px }
.sidebar>h2:not(:first-child) { margin-top:15px }
.festival-sidebar h2 { font-size:24px }
.festival-sidebar-list { list-style:none; display:grid; gap:6px; margin:0; padding:0 }
.festival-sidebar-link { display:grid; grid-template-columns:40px minmax(0,1fr) auto; align-items:center; gap:9px; min-height:48px; padding:5px 9px 5px 5px; border:1px solid var(--line); border-radius:9px; background:var(--white); color:var(--green); text-decoration:none }
.festival-sidebar-link img { display:block; width:40px; height:36px; border-radius:5px; object-fit:cover }
.festival-sidebar-link:hover { background:#fffdf7; border-color:#a9a48f }
/* Upcoming cards don't reserve a third column for the date. */
.sidebar .upcoming-card { grid-template-columns:58px minmax(0,1fr); gap:0 10px; padding-block:10px }
.upcoming-card>img { grid-row:1; height:68px; min-height:0 }
.sidebar .upcoming-card .card-body { grid-area:1/2/2/-1; padding-inline-end:0 }
.upcoming-card h3 { font-size:18px }
.upcoming-meta { display:flex; flex-wrap:wrap; gap:3px 6px; align-items:center; justify-content:space-between }
.upcoming-meta time { color:var(--green); font-size:11px; font-weight:700; white-space:nowrap }
.upcoming-sessions { grid-column:1/-1 }
@media(max-width:960px) {
  .layout { grid-template-columns:minmax(0,1fr) }
  .layout>.sidebar { margin-top:0 }
}
.notice,.empty,.range-listing { background:var(--sand); border:1px solid var(--line); border-radius:10px; padding:12px 14px; color:var(--muted); overflow-wrap:anywhere }
.notice { margin:14px 0; font-size:14px }
.notice strong { color:var(--green) }
.empty { border-style:dashed }
.empty strong { display:block; color:var(--green); margin-bottom:5px }
.review-section { margin-top:18px }
.review-section .event-card { margin:10px 0 }
.section-label { margin-bottom:7px }

/* Date index, month grid and details. */
.all-wrap,.calendar-wrap,.detail-layout,.about-wrap { padding-block:18px 30px }
.all-date-group { margin:24px 0 30px }
.all-date-group .day-heading { padding-bottom:11px; border-bottom:1px solid var(--line) }
.all-date-group .event-list { grid-template-columns:repeat(2,minmax(0,1fr)) }
.all-date-group .event-card { grid-template-columns:minmax(70px,101px) minmax(0,1fr) auto; column-gap:11px }
.all-date-group .card-body h3 { font-size:20px }
.range-listing p { margin:7px 0 }
.calendar-month { margin:0 0 13px }
.calendar-key { display:flex; flex-wrap:wrap; gap:8px 16px; margin:9px 0; color:var(--muted); font-size:13px }
.calendar-key span::before { content:''; display:inline-block; width:10px; height:10px; margin-right:6px; border-radius:2px; background:var(--pill) }
.calendar-key span:last-child::before { background:#f7dfca }
.calendar-scroll { min-width:0; overflow:auto; overscroll-behavior-inline:contain; border:1px solid var(--line); border-radius:11px }
.calendar-mobile-hint { display:none }
.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1px; background:var(--line) }
.weekday { padding:9px 4px; text-align:center; background:var(--white); color:var(--green); font-size:13px; font-weight:700 }
.cell { display:flex; flex-direction:column; gap:4px; min-width:0; min-height:84px; padding:6px; background:var(--white) }
.cell.blank { background:#f5efe5 }
.cell:is(.today,.selected) { background:var(--pill); box-shadow:inset 0 0 0 1px var(--green) }
.cell>button { align-self:flex-start; justify-content:flex-start; min-width:36px; min-height:36px; padding:4px; border:0; background:transparent }
.cell .calendar-event { display:block; width:100%; min-width:0; min-height:28px; padding:4px 5px; border:0; border-radius:5px; color:var(--green); background:#f2f2e8; font-size:13px; line-height:1.3; text-align:left; text-decoration:none; overflow-wrap:anywhere }
.cell .calendar-event.orange { background:#f7dfca }
.cell .calendar-event:hover,.cell>button:hover { background:var(--pill) }
body[data-view='detail'] .hero h1 { font-size:clamp(30px,3.9vw,53px) }
.detail-back { margin-top:13px }
.detail-back .action { min-height:44px }
.detail-layout { display:grid; grid-template-columns:minmax(0,2.1fr) minmax(0,1fr); gap:clamp(18px,2.4vw,30px); align-items:start }
.facts { display:flex; flex-wrap:wrap; gap:5px 15px; max-width:850px; margin-top:5px; font-size:15px }
.facts p { display:flex; align-items:baseline; gap:5px; overflow-wrap:anywhere }
.fact-icon { flex:none; color:var(--green) }
.panel { min-width:0; padding:17px 20px; border:1px solid var(--line); border-radius:13px; background:var(--white) }
.panel h2,.panel h3 { margin-bottom:9px; color:var(--green) }
.description { font-size:17px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere }
.divider { border:0; border-top:1px solid var(--line); margin:19px 0 }
.session { display:flex; align-items:center; gap:10px; margin-top:8px; padding:8px 11px; border:1px solid var(--line); border-radius:8px }
.session-group { flex-direction:column; align-items:flex-start; gap:4px }
.session-group .time-chips { margin:0 }
.practical-grid { display:grid; grid-template-columns:minmax(90px,135px) minmax(0,1fr); gap:9px 14px }
.practical-grid dt { font-weight:700; color:var(--green) }
.practical-grid dd { margin:0; overflow-wrap:anywhere }
.selected-session { padding:9px; background:var(--pill); color:var(--green)!important; border-radius:7px; font-weight:700 }
.contact-panel { display:grid; gap:10px; background:var(--sand) }
.contact-panel .action,.contact-panel button { min-height:42px; overflow-wrap:anywhere }
.contact-panel p { color:var(--muted); font-size:14px; overflow-wrap:anywhere }
/* Shared calendar card and dialog on regular and festival details. */
.calendar-save { display:grid; justify-items:start; gap:10px; padding:12px; border:1px solid var(--line); border-radius:11px; background:var(--pill); min-width:0 }
.calendar-title-row { display:flex; gap:8px; align-items:center; color:var(--green) }
.calendar-title-row h3 { margin:0; font-size:17px }
.calendar-glyph { position:relative; width:18px; height:16px; border:1.5px solid currentColor; border-radius:3px; flex:none }
.calendar-glyph::before { content:''; position:absolute; inset:4px 0 auto; border-top:1.5px solid currentColor }
.calendar-copy p { margin:5px 0 0; font-size:13px }
.calendar-dialog { width:min(440px,calc(100% - 24px)); max-height:calc(100dvh - 24px); margin:auto; padding:18px; overflow:auto; color:var(--ink); border:1px solid var(--line); border-radius:16px; background:var(--white) }
.calendar-dialog::backdrop { background:#1a1926a0 }
.calendar-dialog-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px }
.calendar-dialog-top h2 { margin:0; font-size:22px; color:var(--green) }
.contact-panel .calendar-close { display:grid; place-items:center; width:44px; min-height:44px; padding:0; font-size:23px; line-height:1; flex:none }
.calendar-facts { display:grid; gap:4px; margin-bottom:14px }
.calendar-facts p { margin:0 }
.calendar-facts .calendar-timezone,.contact-panel .calendar-note { font-size:12px }
.calendar-reminders { display:grid; gap:6px; border:0; border-top:1px solid var(--line); padding:10px 0 0; margin:0 0 14px; min-width:0 }
.calendar-reminders legend { padding-right:8px; color:var(--green); font-size:13px; font-weight:700 }
.calendar-option { display:flex; align-items:center; gap:9px; min-height:44px; padding:7px 10px; border:1px solid var(--line); border-radius:8px; color:var(--ink); cursor:pointer }
.calendar-option:has(:checked) { background:var(--pill); border-color:var(--green) }
.calendar-option input { accent-color:var(--green) }
.calendar-save-button { width:100% }
.contact-panel .calendar-note { margin:8px 0 0 }
@media(max-width:540px) {
 .calendar-dialog { inset:auto 0 0; width:100%; max-width:none; margin:0; border-radius:17px 17px 0 0; padding-bottom:max(16px,env(safe-area-inset-bottom)) }
}
.share-tools { min-width:0; border-top:1px solid var(--line); margin-top:4px; padding-top:11px }
.share-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px }
.share-action { display:flex; align-items:center; gap:7px; min-width:0; min-height:44px; padding:8px; border:1px solid var(--line); border-radius:8px; background:var(--white); color:var(--green); font-size:13px; text-decoration:none; overflow-wrap:anywhere }
.share-action svg { flex:none; width:17px; height:17px }
.share-action:hover { background:var(--pill) }
.share-note { margin-top:7px; font-size:12px!important }
.share-tools textarea { width:100%; padding:9px; border:1px solid var(--line); border-radius:6px }
.about-wrap { margin-block:18px 30px; padding:20px }
.about-wrap p { margin:8px 0 12px }
.about-wrap h2:not(:first-child) { margin-top:20px }
.about-wrap .action { max-width:100%; margin:3px 8px 8px 0; overflow-wrap:anywhere }

@media(max-width:1060px) {
  .site-header { grid-template-columns:max-content minmax(0,1fr) max-content; column-gap:15px }
  .site-header nav a { padding-inline:8px; font-size:14px }
  .brand strong { font-size:25px }
  .all-date-group .event-list { grid-template-columns:minmax(0,1fr) }
}
@media(max-width:850px) {
  .site-header { grid-template-columns:minmax(0,1fr) max-content; grid-template-areas:'brand weather' 'nav nav'; row-gap:8px }
  .site-header nav a,.menu-toggle { min-height:44px }
  .detail-layout { grid-template-columns:minmax(0,1fr) }
  .event-card { grid-template-columns:minmax(85px,128px) minmax(0,1fr) auto }
  .card-actions .action,.card-actions button,.time-chip { min-height:44px }
}
@media(max-width:640px) {
  :root { --gutter:15px }
  body { font-size:15px }
  .site-header { min-height:auto; padding-block:10px 8px }
  .brand { gap:9px }
  .brand svg { width:42px; height:42px; border-radius:10px }
  .brand strong { font-size:clamp(20px,5.65vw,25px) }
  .brand small { font-size:8px }
  .weather-slot { max-width:min(30vw,120px); font-size:11px; overflow-wrap:anywhere }
  .weather-main { font-size:12px }
  .nav-shell { position:relative; display:grid; grid-template-columns:48px minmax(0,1fr); gap:6px }
  .site-header .quick-nav { display:grid; grid-column:2; grid-template-columns:repeat(3,minmax(0,1fr)) }
  .site-header .quick-nav a { min-width:0; padding-inline:3px; font-size:14px }
  .menu-toggle { display:inline-flex; grid-column:1; grid-row:1; justify-self:start; width:48px; height:48px; padding:0 }
  .menu-icon { width:34px; height:34px }
  .site-header #primary-navigation { display:none; grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); padding-top:3px }
  .site-header #primary-navigation.is-open { display:grid }
  .site-header #primary-navigation :is(#nav-today,#nav-calendar,#nav-map) { display:none }
  .hero { margin-top:14px; min-height:178px; padding:18px 15px; border-radius:13px }
  .hero { background-image:linear-gradient(90deg,#f4e8d4f4 0%,#f4e8d4da 40%,#f4e8d48a 73%,#f4e8d42c 100%),var(--panorama-mobile-image,var(--panorama-image,url('assets/panorama.webp'))); background-position:center }
  h1 { font-size:clamp(28px,8.2vw,43px) }
  .hero p { max-width:25em; line-height:1.4 }
  .week { width:100%; gap:5px }
  .week button { min-height:49px; border-radius:8px }
  .week strong { font-size:17px }
  .week span { font-size:10px }
  .filter-panel { grid-template-columns:minmax(0,44%) minmax(0,1fr); column-gap:8px }
  .search-row input,.search-row button,.category-control select { padding-inline:7px }
  .layout { padding-top:9px }
  .day-heading { margin-bottom:11px }
  .event-card,.all-date-group .event-card { grid-template-columns:minmax(64px,26%) minmax(0,1fr) auto; column-gap:8px }
  .event-card .time { font-size:12px }
  .card-body h3,.all-date-group .card-body h3 { font-size:19px }
  .event-card:has(.event-link) .card-body { grid-column:2/-1; padding-inline-end:10px }
  .event-card:has(.event-link) .card-actions { grid-row:3; grid-column:2/-1; margin-top:3px }
  .event-card:has(.event-link) .card-actions .action { min-height:44px }
  .event-card:has(.event-link) .time { z-index:0 }
  .event-card:has(.event-link) .card-body>.badge { max-width:55%; white-space:normal }
  .event-card:has(.event-link) .time { pointer-events:none }
  .card-actions { gap:2px }
  .card-actions .action,.card-actions button { padding-inline:5px }
  .calendar-mobile-hint { display:block; margin:10px 0; color:var(--muted); font-size:12px }
  .calendar-scroll .calendar-grid { min-width:770px }
  .calendar-grid .cell>button,.calendar-grid .cell .calendar-event { min-height:44px }
  .detail-layout,.calendar-wrap,.all-wrap { padding-top:14px }
  .panel { padding:13px 14px }
  .facts { display:grid; gap:3px; font-size:14px }
}
@media(max-width:370px) {
  .site-header { column-gap:9px }
  .brand { gap:7px }
  .brand strong { font-size:20px }
  .brand svg { width:36px; height:36px }
}
@media(max-width:350px) {
  .filter-panel { grid-template-columns:minmax(0,1fr) }
  .share-actions { grid-template-columns:minmax(0,1fr) }
}

/* Festival guide layout, sharing the site's masthead, week picker and action tokens. */
.festival-water { --festival-accent:#285a4f; --festival-pale:#e5eee2; --festival-night:#082523; --festival-fade:#08252313 }
.festival-sky { --festival-accent:#4a3d64; --festival-pale:#eee8f4; --festival-night:#161426; --festival-fade:#16142613 }
.festival-theme-hero { position:relative; min-height:290px; padding-block:34px; color:#fff7e7; background-color:var(--festival-night); background-image:linear-gradient(90deg,var(--festival-night) 5%,var(--festival-night) 22%,var(--festival-fade) 78%),var(--panorama-image); background-position:center,right center }
.festival-theme-hero h1 { max-width:760px; color:var(--white); font-size:clamp(42px,5.5vw,76px) }
.festival-theme-hero .hero-copy { max-width:60%; min-width:0 }
.festival-theme-hero .hero-kicker,.festival-thai { color:#f5d5a2 }
.festival-theme-hero .hero-copy>p { max-width:470px }
.festival-thai { display:inline-block; margin-left:14px; font-size:.37em; letter-spacing:0; vertical-align:middle }
.festival-theme-hero .festival-subtitle { font:clamp(20px,2.25vw,30px)/1.16 var(--serif); margin-top:8px }
.festival-wrap,.festival-hub { padding-top:17px }
.festival-culture { display:grid; grid-template-columns:minmax(0,1fr) clamp(84px,17vw,160px); gap:clamp(12px,3vw,32px); align-items:start; margin:0 0 24px }
.festival-eyebrow { display:block; margin-bottom:5px; color:var(--orange); font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase }
.festival-culture h2,.festival-map-panel h2 { margin:0 0 9px }
.festival-culture p { max-width:68ch; margin:0 0 11px }
.festival-source { display:inline-block; padding-block:3px; color:var(--festival-accent,var(--green)); text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; font-size:14px; font-weight:700 }
.festival-culture-visual { width:100%; min-width:0; padding:6px; margin:0; border:1px solid var(--line); border-radius:11px; background:var(--festival-pale) }
.festival-infographic-thumb { display:block; width:100%; padding:0; min-height:0; border:0; background:none; border-radius:6px }
.festival-infographic-thumb img { display:block; width:100%; aspect-ratio:1; object-fit:cover; object-position:center 22%; border-radius:6px }
.festival-infographic-dialog { --lightbox-height:calc(100dvh - 24px); width:max-content; max-width:calc(100vw - 24px); max-height:var(--lightbox-height); margin:auto; padding:4px 10px 10px; border:1px solid var(--line); border-radius:12px; background:var(--white); color:var(--ink); overflow:auto }
.festival-infographic-dialog::backdrop { background:rgba(16,25,24,.76) }
/* 64px reserves the close button, gap, padding and border. */
.festival-infographic-full { display:block; max-width:100%; max-height:calc(var(--lightbox-height) - 64px); object-fit:contain; height:auto; width:auto; margin:auto; border-radius:5px }
.festival-infographic-close { position:sticky; top:0; z-index:1; display:flex; width:44px; height:44px; min-height:44px; margin:0 0 4px auto; padding:0; font-size:28px; line-height:1 }
.festival-sr { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap }
.festival-parade-poster { position:relative; display:grid; grid-template-columns:minmax(0,1fr) clamp(84px,16vw,132px); gap:clamp(10px,2.5vw,22px); align-items:center; margin-top:16px; padding:clamp(12px,2.5vw,22px); border:1px solid #8e7246; border-radius:13px; background:#102e2d; color:#fff3dc }
.festival-parade-copy { min-width:0; padding-block:10px }
.festival-parade-copy::before { content:''; display:block; width:70px; height:8px; margin-bottom:12px; background:linear-gradient(45deg,transparent 42%,#e6be72 43% 57%,transparent 58%) 0 0/10px 8px repeat-x,linear-gradient(135deg,transparent 42%,#e6be72 43% 57%,transparent 58%) 0 0/10px 8px repeat-x }
.festival-parade-copy .festival-parade-thai { margin:0 0 4px; color:#f2ce91; font-weight:700 }
.festival-parade-copy h2 { color:#fff3dc; font-size:clamp(20px,3vw,30px); line-height:1.15 }
.festival-parade-poster .festival-infographic-thumb { padding:5px; border:1px solid #ba995e; color:#fff3dc; background:#1d3f3a }
.festival-parade-poster .festival-infographic-thumb img { height:auto; aspect-ratio:9/16; object-fit:contain }
.festival-parade-expand { display:block; padding:5px 1px 1px; font-size:12px; font-weight:700; line-height:1.25; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:2px }
.festival-visitor-notes { margin-bottom:22px }
.festival-visitor-notes h2 { margin-bottom:9px }
.festival-visitor-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr)); gap:8px }
.festival-visitor-card { padding:10px 12px; border:1px solid var(--line); border-inline-start:3px solid var(--festival-accent); border-radius:8px; background:var(--festival-pale) }
.festival-visitor-card h3 { margin-bottom:4px; font-size:clamp(17px,2vw,20px) }
.festival-visitor-card p { margin:0; font-size:14px }
.festival-visitor-card a { margin-top:4px }
.festival-source-summary { margin:3px 0 0; font-size:14px; line-height:1.45 }
.festival-planner,.festival-schedule,.festival-wrap>.festival-map-panel,.festival-related { border-top:1px solid var(--line); padding-top:16px }
.festival-planner-heading,.festival-schedule-heading { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:8px; margin-bottom:12px }
.festival-access-filter { display:flex; align-items:center; gap:8px; color:var(--festival-accent); font-size:14px; font-weight:700 }
.festival-access-filter select { max-width:100%; min-height:44px; font-size:16px }
.festival-picker.week { width:min(100%,720px); grid-template-columns:repeat(10,minmax(0,1fr)); margin:0 0 16px }
.festival-picker.week button.active { background:var(--festival-accent); border-color:var(--festival-accent) }
.festival-highlights { margin:0 0 24px }
.festival-picks { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:11px }
.festival-pick { display:flex; flex-direction:column; gap:3px; min-width:0; padding:10px 12px; border:1px solid var(--line); border-top:3px solid var(--festival-accent); border-radius:10px; background:var(--festival-pale); color:var(--ink); text-decoration:none }
.festival-pick:hover { border-color:var(--festival-accent) }
.festival-pick .festival-eyebrow { color:var(--festival-accent); margin:0 }
.festival-pick strong { font:700 clamp(17px,1.55vw,22px)/1.1 var(--serif) }
.festival-pick small { color:var(--muted); font-size:13px }
.festival-schedule-heading h2 { font-size:clamp(22px,2.4vw,32px) }
.festival-event { position:relative; display:grid; grid-template-columns:minmax(0,1fr); gap:8px 13px; min-width:0; align-items:center; padding:10px 11px; margin:0 0 7px; border:1px solid var(--line); border-radius:9px; background:var(--white); overflow-wrap:anywhere }
.festival-event-time { grid-column:1/-1; padding-bottom:5px; border-bottom:1px solid var(--line); display:flex; flex-wrap:wrap; align-items:center; gap:4px; font-size:13px; color:var(--festival-accent); font-variant-numeric:tabular-nums }
.festival-event-time .time-chip { position:relative; z-index:2; min-height:38px }
.festival-event-copy { min-width:0 }
.festival-event-copy h3 { font-size:clamp(17px,1.7vw,23px); line-height:1.17 }
.festival-event-title { color:var(--ink); text-decoration:none }
.festival-event-title::after { content:''; position:absolute; inset:0; z-index:1; border-radius:9px }
.festival-event-title:focus-visible { outline:none }
.festival-event-title:focus-visible::after { outline:3px solid var(--focus); outline-offset:2px }
@media (hover:hover) {
 .festival-event:hover { border-color:var(--festival-accent) }
 .festival-event-title:hover { text-decoration:underline; text-underline-offset:3px }
}
.festival-venue { color:var(--muted); font-size:13px; margin-top:4px }
.festival-event-summary { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin-top:5px; max-width:85ch; color:var(--ink); font-size:14px }
.festival-event-tail { display:flex; flex-wrap:wrap; align-items:flex-end; gap:5px 7px }
.festival-event-tail .festival-access { max-width:100%; margin-inline-start:auto; text-align:right }
.festival-access { padding:3px 8px; border-radius:16px; color:#663a11; background:#f1e6d5; font-size:12px; font-weight:700 }
.festival-access-free { background:#e5e9d4; color:#284b33 }
.festival-access-paid { background:#f5e1cd; color:#793e17 }
.festival-event-time>strong { flex:1; min-width:0 }
.festival-sold-out { flex:none; margin-inline-start:auto; border-radius:16px; padding:3px 8px; background:#f4ded9; color:#802b28; font-size:12px; font-weight:700; white-space:nowrap }
.festival-pin-note,.festival-disclosure { color:var(--muted); font-size:12px }
.festival-wrap>.festival-map-panel { margin:24px 0 18px }
.festival-map-layout { display:grid; gap:8px }
.festival-location-list { border:1px solid var(--line); border-radius:9px; background:var(--white) }
.festival-location-list summary { padding:10px 13px; min-height:44px; color:var(--festival-accent); font-weight:700; cursor:pointer }
.festival-location-list .festival-map-list { border:none; border-top:1px solid var(--line); border-radius:0 0 9px 9px }
.festival-map-panel .cm-map-live { height:285px; border:1px solid var(--line); border-radius:10px }
.festival-map-panel .cm-map-status { margin:7px 0 }
.festival-map-panel .cm-map-credit { display:inline-block; padding:5px 0 }
.festival-map-list { margin:0; padding:11px 13px 9px 28px; border:1px solid var(--line); border-radius:9px; background:var(--white); color:var(--ink); overflow-wrap:anywhere }
.festival-map-list li { margin-bottom:6px; font-size:14px }
.festival-map-list li:focus { outline:2px solid var(--festival-accent,var(--green)); outline-offset:3px }
.festival-map-list small { display:block; color:var(--muted) }
.festival-event-links { display:flex; flex-wrap:wrap; align-items:center; gap:7px 9px }
.festival-guide-card { display:grid; grid-template-columns:minmax(230px,1fr) minmax(0,1fr); overflow:hidden; margin:11px 0 20px; border:1px solid var(--line); border-radius:11px; background:var(--white) }
.festival-cover { display:block; width:100%; height:100%; min-height:198px; object-fit:cover }
.festival-guide-copy { padding:21px; min-width:0 }
.festival-guide-copy p { margin:8px 0 11px }
.festival-detail-back { display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; font-size:13px; color:var(--muted) }
.festival-detail-hero h1 { font-size:clamp(30px,3.9vw,53px) }
.festival-detail-hero .hero-copy { max-width:min(85%,760px) }
.festival-parade-hero { border:1px solid #8e7246 }
.festival-parade-hero .hero-kicker::after { content:''; display:inline-block; width:42px; height:1px; margin-inline-start:9px; vertical-align:middle; background:#e6be72 }
.festival-event-detail,.festival-detail-back,.festival-detail-extra { --green:var(--festival-accent); --pill:var(--festival-pale) }
.festival-event-detail .contact-panel { background:var(--festival-pale) }
.festival-detail-highlights { padding-inline-start:21px; overflow-wrap:anywhere }
.festival-detail-highlights li+li { margin-top:7px }
.festival-tip { margin-top:13px; padding:9px 11px; border-radius:9px; border:1px solid var(--line); background:var(--festival-pale) }
.festival-occurrences .time-chip.selected { border-color:var(--festival-accent); background:var(--festival-accent) }
.share-disclosure summary.action { width:100%; cursor:pointer; display:list-item; line-height:30px }
.share-disclosure .share-actions { margin-top:8px }
.festival-detail-extra { padding-top:0 }
.festival-related { margin-top:25px }
.festival-related h2 { margin:0 0 9px }
.festival-related-grid { display:grid; gap:10px; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)) }
@media (max-width:760px) {
 .festival-detail-grid { grid-template-columns:minmax(0,1fr) }
 .festival-theme-hero { min-height:285px; background-image:linear-gradient(90deg,var(--festival-night) 0%,var(--festival-night) 15%,var(--festival-fade) 90%),var(--panorama-mobile-image,var(--panorama-image)) }
 .festival-theme-hero .hero-copy { max-width:80% }
 .festival-event { grid-template-columns:minmax(0,1fr); gap:6px }
 .festival-picker.week { grid-template-columns:repeat(5,minmax(0,1fr)) }
 .festival-map-panel .cm-map-live { height:238px }
}
@media (max-width:500px) {
 .festival-theme-hero { justify-content:flex-start; min-height:330px; padding:18px 14px 96px; background-position:bottom,right bottom; background-size:100% 100%,100% auto; background-image:linear-gradient(180deg,var(--festival-night) 37%,transparent 82%),var(--panorama-mobile-image,var(--panorama-image)) }
 .festival-theme-hero .hero-copy { max-width:100% }
 .festival-theme-hero h1 { font-size:clamp(34px,9vw,43px) }
 .festival-thai { margin-left:8px }
 .festival-picks,.festival-guide-card { grid-template-columns:minmax(0,1fr) }
 .festival-pick { padding-block:8px }
 .festival-cover { min-height:0; max-height:175px }
}
.festival-evidence { margin:9px 0 }
.festival-evidence summary { min-height:34px; padding-block:6px; cursor:pointer; font-size:14px; font-weight:700; color:var(--festival-accent) }
.festival-evidence ul { margin:1px 0 0; padding-inline-start:18px }

/* Tha Phae Light Walk, a standalone editorial guide within the shared frame. */
.light-walk {
 --walk-plum:#341e35;
 --walk-night:#211326;
 --walk-gold:#e4b76a;
 --walk-rule:#c79b57;
 --walk-paper:#fff7e8;
 --walk-cream:#f8edd9;
 --walk-ink:#263226;
 width:var(--frame); margin:22px auto 34px; min-width:0; color:var(--walk-ink);
}
.light-walk :where(a,button):focus-visible { outline-offset:4px }
.walk-hero {
 display:flex; align-items:center; min-height:clamp(330px,38vw,475px); min-width:0;
 padding:clamp(23px,5.1vw,69px); overflow:hidden; border-radius:17px;
 color:var(--walk-paper); background-color:var(--walk-night);
 background-image:linear-gradient(90deg,#241527fa 0%,#241527ed 26%,#2415279e 53%,#24152702 86%),var(--walk-hero-image,none);
 background-size:cover; background-position:center, right center; background-repeat:no-repeat;
}
.walk-hero-copy { min-width:0; max-width:min(67%,650px) }
.walk-eyebrow { display:block; font:700 .75rem/1.42 Arial,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:var(--walk-plum) }
.walk-hero .walk-eyebrow { color:#ffe0a4; font-size:clamp(.69rem,1.35vw,.95rem) }
.walk-hero .walk-eyebrow::after { display:block; height:2px; width:clamp(56px,9vw,105px); background:var(--walk-gold); margin:10px 0 17px; content:"" }
.walk-hero h1 { color:var(--walk-paper); margin:0; max-width:10ch; font:700 clamp(48px,6.6vw,90px)/.98 var(--serif); letter-spacing:-.036em; text-wrap:balance }
.walk-hero p { color:#fff6e7; margin-top:16px; max-width:30ch; font:italic clamp(19px,2.45vw,31px)/1.2 var(--serif); text-wrap:pretty }
.walk-overview { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.35fr); align-items:stretch; gap:clamp(12px,2vw,25px); margin:20px 0 13px }
.walk-history { display:grid; align-content:center; min-width:0; gap:7px; padding:12px clamp(7px,1.7vw,19px); }
.walk-history h2,.walk-motifs h2,.walk-stories h2,.walk-notes h2 { color:var(--green) }
.walk-history p { max-width:39ch; font:clamp(17px,1.6vw,22px)/1.35 var(--serif) }
.walk-history small,.walk-history .walk-note { color:var(--muted); font:13px/1.42 Arial,sans-serif }
.walk-motifs,.walk-route,.walk-story,.walk-notes { min-width:0; border:1px solid var(--walk-rule); border-radius:13px; background:var(--walk-paper) }
.walk-motifs { padding:12px clamp(9px,1.4vw,20px); background:linear-gradient(120deg,var(--walk-paper),var(--walk-cream)); }
.walk-motifs h2 { margin:0 0 14px; text-align:center; font-size:clamp(23px,2.25vw,31px) }
.walk-motif-list { display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); align-items:start; gap:clamp(4px,.52vw,8px); margin:0; padding:0; list-style:none }
.walk-motif-list>li { min-width:0 }
.walk-motif { display:flex; flex-direction:column; align-items:center; gap:3px; min-width:0; min-height:44px; text-decoration:none; color:var(--walk-plum); font:700 .81rem/1.16 var(--serif) }
.walk-motif-list>li>a:not(.walk-motif) { color:inherit; text-decoration:none }
.walk-motif-icon { display:grid; place-items:center; width:min(100%,58px); min-width:0; aspect-ratio:.81;
 margin-inline:auto; padding:5px; overflow:hidden; border:1px solid var(--walk-rule); border-radius:45% 45% 5px 5px / 30% 30% 5px 5px; color:#ffe0a2; background:var(--walk-plum); font-size:clamp(14px,2.3vw,26px);
}
.walk-motif-icon :where(svg,img) { display:block; width:100%; height:100%; max-height:42px; object-fit:contain }
.walk-motif-terminal .walk-motif-icon { border-color:#8c6649; color:var(--walk-plum); background:#f5e3b9 }
.walk-motif-number { font-size:.92rem; text-align:center }
.walk-motif:is(:hover,:focus-visible) .walk-motif-icon,.walk-motif-list a:is(:hover,:focus-visible) .walk-motif-icon { background:#572c4d }
.walk-motif-terminal:is(:hover,:focus-visible) .walk-motif-icon { background:#ecd191 }
.walk-route {
 display:grid; grid-template-columns:minmax(74px,1fr) minmax(68px,2.6fr) minmax(74px,1fr);
 align-items:center; gap:clamp(6px,1.4vw,18px); padding:12px clamp(8px,2vw,24px); margin:0 0 17px;
 background:linear-gradient(100deg,var(--walk-cream),var(--walk-paper) 27% 73%,var(--walk-cream));
}
.walk-route-stop { display:grid; align-content:center; justify-items:center; min-width:0; text-align:center; font:700 clamp(16px,2vw,24px)/1.1 var(--serif); overflow-wrap:anywhere }
.walk-route-stop :where(img,svg) { max-width:100%; display:block; width:min(100%,135px); height:48px; object-fit:contain; margin-bottom:5px }
.walk-route-stop :where(a,strong) { color:var(--green) }
.walk-route-line { position:relative; display:grid; align-content:center; min-width:0; min-height:48px; padding-top:19px; text-align:center; font:italic clamp(13px,1.5vw,17px)/1.18 var(--serif); color:#664329 }
.walk-route-line::before { position:absolute; top:calc(50% - 9px); left:0; right:10px; border-top:2px dashed #a36c28; content:"" }
.walk-route-line::after { position:absolute; top:calc(50% - 13px); right:0; width:0; height:0; border-block:5px solid transparent; border-inline-start:9px solid #a36c28; content:"" }
.walk-stories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 18px }
.walk-stories>h2,.walk-stories>.walk-eyebrow,.walk-stories>p { grid-column:1/-1 }
.walk-story { display:grid; grid-template-columns:minmax(118px,42%) minmax(0,1fr); gap:clamp(10px,1.5vw,17px); align-items:start; padding:11px; scroll-margin-block:20px; overflow-wrap:anywhere }
.walk-story:target { outline:3px solid #845462; outline-offset:2px }
.walk-story:not(:has(.walk-story-art)) { grid-template-columns:1fr }
.walk-story-art { display:block; width:100%; height:100%; min-height:0; max-height:250px; margin:0; overflow:hidden; border-radius:8px }
img.walk-story-art,.walk-story-art img { display:block; width:100%; height:100%; min-height:0; aspect-ratio:1.08; object-fit:cover; border-radius:inherit }
.walk-story-copy { display:grid; justify-items:start; align-content:start; min-width:0; gap:7px; padding:4px 0; }
.walk-story-copy .walk-eyebrow { width:100%; padding:0 0 5px; border-bottom:1px solid var(--walk-rule) }
.walk-story-copy :where(h2,h3) { font-size:clamp(22px,2.3vw,31px); color:var(--green); }
.walk-story-copy p { max-width:48ch; font:clamp(16px,1.42vw,19px)/1.34 var(--serif); }
.walk-original { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; max-width:100%; margin-top:3px; padding:7px 12px; border:1px solid transparent; border-radius:9px; background:var(--green); color:#fffdf2; font-size:13px; font-weight:700; text-decoration:none }
.walk-original:hover { background:#1d3d2a; color:#fffdf2 }
.walk-source-links { display:flex; flex-wrap:wrap; align-items:center; gap:5px 14px; padding:0; list-style:none }
.walk-source-links a { display:inline-flex; align-items:center; min-height:44px; font-weight:700; text-underline-offset:3px }
.walk-notes { padding:13px 16px; margin:16px 0; font-size:14px; }
.walk-notes p { margin:7px 0; max-width:80ch }
@media (max-width:840px) {
 .walk-overview { grid-template-columns:minmax(0,1fr); gap:10px }
 .walk-history { justify-items:start; padding-inline:3px }
 .walk-motif-list { max-width:660px; margin-inline:auto }
 .walk-story { grid-template-columns:minmax(90px,34%) minmax(0,1fr) }
}
@media (max-width:600px) {
 .light-walk { margin-top:12px }
 .walk-hero { min-height:clamp(275px,77vw,360px); padding:18px; border-radius:12px;
  background-image:linear-gradient(90deg,#241527f8 0%,#241527d6 24%,#2415278a 54%,#24152710 100%),var(--walk-hero-mobile-image,var(--walk-hero-image,none));
  background-position:center, 67% center }
 .walk-hero-copy { max-width:77% }
 .walk-hero h1 { font-size:clamp(34px,9.9vw,57px) }
 .walk-hero p { margin-top:12px; font-size:clamp(17px,4.7vw,22px) }
 .walk-hero .walk-eyebrow::after { margin:7px 0 13px }
 .walk-overview { margin-top:10px }
 .walk-motif-list { grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px 6px; max-width:380px }
 .walk-motif-icon { width:min(100%,47px); padding:4px }
 .walk-route { padding:10px 9px; }
 .walk-route-stop :where(img,svg) { height:34px }
 .walk-stories,.walk-story { grid-template-columns:minmax(0,1fr); }
 .walk-story { gap:7px; padding:9px }
 .walk-story-art { max-height:160px; }
 img.walk-story-art,.walk-story-art img { height:auto; width:100%; aspect-ratio:2.35; }
 .walk-story-copy { padding:1px 3px 2px }
 .walk-original { width:100% }
}

/* Light Walk renderer details and companion callout on the two festival guides. */
.light-walk.all-wrap { padding:0 }
.walk-back { margin-top:11px; min-height:44px; max-width:100% }
.walk-motifs { min-width:0 }
.walk-motifs p { margin-top:11px; color:#583f3f; text-align:center; font-size:13px }
svg.walk-motif-icon { display:block; height:auto; }
.walk-route-panel { margin:15px 0 22px; }
.walk-route-panel>h2 { margin:3px 0 10px }
.walk-route-panel .walk-route { margin:0 0 10px }
.walk-route-panel>p { max-width:84ch; margin:0 0 6px; color:var(--muted); font-size:14px }
.walk-route-icon { color:#7d4c31 }
.walk-route-panel .walk-original { margin-top:3px }
.walk-story-section { margin-top:23px }
.walk-story-section>h2 { margin:4px 0 7px }
.walk-story-section>p { max-width:70ch; margin:0 0 14px; color:var(--muted); font-size:14px }
.walk-story-art:has(.walk-story-icon) {
 position:relative; display:grid; place-items:center; align-self:stretch;
 min-height:126px; height:auto;
 color:#ffdb93;
 background:radial-gradient(ellipse at 48% 40%,#f4dc971b,transparent 68%),#463043;
}
.walk-story-art:has(.walk-story-icon)::after {
 position:absolute; inset:8px; border:1px solid #ffdb9375; border-radius:7px; pointer-events:none; content:"";
}
.walk-story:nth-child(3n+2) .walk-story-art:has(.walk-story-icon) { background-color:#3f5146 }
.walk-story:nth-child(3n) .walk-story-art:has(.walk-story-icon) { background-color:#674a44 }
.walk-story-icon { display:block; width:67%; max-width:144px; height:auto; aspect-ratio:4/3; filter:drop-shadow(0 1px 6px #0004); }
.walk-story-icon path { stroke-width:1.45 }
.walk-story-copy .walk-thai { color:#68474c; font:500 14px/1.45 Tahoma,Arial,sans-serif }
.walk-notes h2 { margin:0 0 5px; font-size:clamp(22px,2vw,28px) }
.walk-notes h2:not(:first-child) { margin-top:14px }
.walk-notes .walk-source-links { margin:6px 0 0 }
.walk-source-links .walk-original { background:none; color:var(--green); padding:5px 0; text-decoration:underline }
.walk-source-links .walk-original:hover { color:#583f3f }
.walk-promo {
 --walk-plum:#472f48;
 display:grid; grid-template-columns:minmax(0,1fr) auto; gap:11px 22px; align-items:center;
 min-width:0; margin:10px 0 18px; padding:14px clamp(13px,2vw,22px);
 border:1px solid #b49666; border-radius:12px;
 color:#2d2430; background:linear-gradient(102deg,#f5e7d3,#f5eaf1);
}
.walk-promo-nearby { background:linear-gradient(102deg,#f6ebd7,#eff0e3) }
.walk-promo .walk-eyebrow { margin-bottom:3px }
.walk-promo h2 { color:var(--walk-plum); font-size:clamp(24px,3vw,34px) }
.walk-promo p { max-width:70ch; margin-top:5px; font-size:14px }
.walk-promo>.action { min-height:44px; justify-self:end; background:var(--walk-plum); border-color:var(--walk-plum); color:#fffaf1; text-align:center }
.walk-promo>.action:hover { background:#5f3f61 }
@media(max-width:600px) {
 .walk-back { margin-top:8px }
 .walk-route-panel { margin:12px 0 18px }
 .walk-route-panel .walk-original { width:fit-content }
 .walk-story-section { margin-top:17px }
 .walk-story-art:has(.walk-story-icon) { min-height:94px; max-height:118px; }
 .walk-story-icon { width:min(34%,107px) }
 .walk-promo { grid-template-columns:minmax(0,1fr); margin-bottom:15px }
 .walk-promo>.action { justify-self:start }
}

/* Editorial recommendations use the ordinary event card; only the label and action differ. */
.affiliate-card .affiliate-cta {
  grid-column:3; grid-row:1; justify-self:end; padding:3px 3px 0 0;
  display:grid; gap:2px; text-align:right; color:var(--green); font-size:13px; white-space:nowrap;
}
.affiliate-card .affiliate-cta small { color:var(--muted); font-size:12px }
#main>.affiliate-card { margin-block:16px }
.affiliate-card .affiliate-facts { margin-top:5px; color:var(--green); font-weight:700 }
@media (max-width:720px) {
  .affiliate-card .affiliate-cta { grid-column:2/-1; grid-row:3; justify-self:start; text-align:left; padding:4px 10px 0 0 }
}
