/* Editorial directory: original warm-window palette, city-grouped layout with episode covers. */
.pl-hero-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:clamp(24px,5vw,70px);align-items:center}
.pl-hero{padding-block:clamp(18px,3vw,40px)}
.pl-hero h1{font-size:clamp(30px,4.2vw,52px)}
.pl-hero .eg-stats{align-items:center;gap:12px 20px}
.pl-hero .eg-back{margin-bottom:8px}
.pl-filters{scroll-margin-top:12px}
.pl-hero-art{min-width:0;border-bottom:1px solid #8791a6;color:#e3e7ed;padding:20px 0}
.pl-hero-art svg{width:100%;height:auto;display:block}
.pl-hero-art span{font:650 12px/1.5 var(--body);letter-spacing:.08em}
.pl-content{padding-block:clamp(24px,5vw,60px)}
.pl-filters{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr)) auto;gap:12px;align-items:end;background:#fff;border:1px solid #c8cbd1;border-radius:12px;padding:18px}
.pl-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;font:700 14px/1.4 var(--body)}
.pl-filters input,.pl-filters select{display:block;width:100%;min-width:0;min-height:48px;box-sizing:border-box;border:1px solid #9fa8b5;border-radius:7px;background:#fff;color:#202638;padding:10px 12px;font:400 16px/1.3 var(--body)}
.pl-filters select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23202638' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-filters button{min-height:48px;cursor:pointer}

/* City quick-jump strip */
.pl-city-strip{margin:24px 0 8px;padding:18px;background:#fff;border:1px solid #c8cbd1;border-radius:12px;scroll-margin-top:12px}
.pl-city-strip-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:14px}
.pl-city-strip-head h2{font:750 clamp(20px,2.4vw,26px)/1.2 var(--body);margin:2px 0 0}
.pl-city-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:10px}
.pl-city-chip{display:flex;align-items:center;min-width:0;min-height:44px;gap:10px;padding:8px 10px;border:1px solid #d4d8df;border-radius:9px;background:#fafbfc;color:#202638;text-decoration:none;transition:border-color .15s,background .15s}
.pl-city-chip:hover,.pl-city-chip.is-active{background:#fff9e8;border-color:#94772b}
.pl-city-chip.is-active{background:#fff0bd}
.pl-city-chip img{width:36px;height:48px;object-fit:cover;border-radius:5px;flex-shrink:0;background:#e3e7ed}
.pl-city-chip span{display:flex;flex-direction:column;min-width:0}
.pl-city-chip strong{font:700 14px/1.25 var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-city-chip small{font:500 12px/1.3 var(--body);color:#525b6a}

/* City sections */
.pl-city-groups{display:flex;flex-direction:column;gap:34px}
.pl-city-section{scroll-margin-top:16px}
.pl-city-banner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;margin-bottom:14px;background:#202638;color:#f9f3e9;border-radius:12px}
.pl-city-banner-main{display:flex;align-items:center;gap:16px;min-width:0}
.pl-city-thumb{display:block;flex-shrink:0;border-radius:8px;overflow:hidden;border:2px solid rgba(255,212,84,.45)}
.pl-city-thumb img{display:block;width:68px;height:90px;object-fit:cover}
.pl-city-banner .eg-kicker{color:#ffd454;margin:0}
.pl-city-banner h3{font:750 clamp(22px,2.8vw,30px)/1.18 var(--body);margin:2px 0 6px;color:#fff}
.pl-city-banner-links{display:flex;flex-wrap:wrap;gap:4px 16px}
.pl-city-banner .pl-text-link{color:#e3e7ed!important;min-height:36px}
.pl-back-top{display:inline-flex;align-items:center;min-height:40px;padding:6px 12px;border-radius:7px;border:1px solid rgba(255,255,255,.24);color:#ffd454;font:700 13px/1.3 var(--body);text-decoration:none;white-space:nowrap}
.pl-back-top:hover{background:rgba(255,255,255,.08)}

.pl-result-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:28px 0 12px;scroll-margin-top:12px}
.pl-result-head p:not(.eg-kicker),.pl-note{font-size:15px;line-height:1.55;color:#525b6a}
.pl-note{max-width:85ch;margin-bottom:20px!important}
.pl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pl-card,.pl-preview{display:flex;flex-direction:column;min-width:0;gap:10px;background:#fff;border:1px solid #c8cbd1;border-radius:12px;padding:clamp(16px,2.4vw,25px);color:#202638;scroll-margin-top:14px}
.pl-card:target{outline:2px solid #94772b;outline-offset:3px}
.pl-card-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px}
.pl-card-badge{display:inline-flex;align-items:center;gap:8px}
.pl-card-mini-cover{width:28px;height:38px;object-fit:cover;border-radius:4px;background:#e3e7ed;flex-shrink:0}
.pl-category{font:750 12px/1.4 var(--body);color:#565e6b;text-transform:uppercase;letter-spacing:.045em}
.pl-city-link,.pl-text-link{display:inline-flex;align-items:center;min-height:44px;color:#37485d!important;font:700 14px/1.4 var(--body);text-decoration:underline!important;text-underline-offset:3px;overflow-wrap:anywhere}
.pl-card h3,.pl-card h4,.pl-preview h3{font:750 clamp(19px,2.1vw,23px)/1.24 var(--body);overflow-wrap:anywhere;margin:0}
.pl-card p:not(.pl-category),.pl-preview p:not(.pl-category){font:400 16px/1.6 var(--body);margin:0}
.pl-address{color:#525b6a;font-weight:650!important}
.pl-tip{margin-top:4px;padding:12px;background:#fff9e8;border:1px solid #d5c38e;border-radius:7px}
.pl-tip strong{font:750 13px/1.4 var(--body);display:block;margin-bottom:5px}
.pl-tip p{font-size:15px!important}
.pl-card-links{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:auto}
.pl-preview .pl-text-link{margin-top:auto}
.pl-empty{grid-column:1/-1;border:1px dashed #9fa8b5;border-radius:12px;padding:24px;background:#fff}
.pl-empty p{margin:12px 0!important;max-width:65ch}
.pl-empty .eg-link{margin:4px}
#pl-top .pl-city-banner .pl-text-link,#pl-top .pl-back-top{min-height:44px}
#pl-top .pl-empty-actions{display:flex;flex-wrap:wrap;gap:8px}
#pl-top .pl-empty-actions .eg-link{margin:0}
.pl-next{border-top:1px solid #c8cbd1;margin-top:30px;padding:24px 0}
.pl-next p{margin:10px 0 16px!important}
.pl-next>div{display:flex;flex-wrap:wrap;gap:10px}
.pl-community-section+.pl-community-section{border-top:1px solid #c8cbd1}
.pl-intake{max-width:820px;padding:clamp(16px,3vw,26px);background:#fff;border:1px solid #c8cbd1;border-radius:12px}
.pl-intake ol{padding-left:22px;margin:14px 0;line-height:1.65}
.pl-intake li{margin:8px 0}
.pl-intake p{margin:12px 0 18px!important;line-height:1.6;color:#525b6a}
.pl-intake .eg-link{margin:4px 8px 4px 0}
.pl-community-section>.eg-link{margin-bottom:14px}
.pl-event-filter{grid-template-columns:repeat(3,minmax(0,1fr)) auto;max-width:none}
.pl-theme-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.pl-theme-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;border:1px solid #aeb5bf;border-radius:7px;background:#fff;color:#202638;font:700 14px/1.35 var(--body);text-decoration:none}
.pl-theme-links a[aria-current]{background:#fff0bd;border-color:#94772b}
.pl-theme-links a:hover{background:#fff9e8;border-color:#94772b}
@media(max-width:850px){.pl-event-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pl-event-filter{grid-template-columns:1fr}}
.pl-card .pl-event-date{font-weight:750!important;font-variant-numeric:tabular-nums;color:#37485d}
.pl-card .pl-checked{font-size:13px!important;color:#525b6a}
.pl-page :is(a,input,select,button):focus-visible,.pl-preview a:focus-visible{outline:2px solid #202638;outline-offset:3px;box-shadow:0 0 0 5px #ffc400}
.city-premium .cp-jump .cp-jump-links{display:flex;flex-wrap:wrap;gap:0}
.city-premium .cp-jump a{flex:1 1 124px;min-width:0;min-height:44px;border:0!important;white-space:normal}
@media(max-width:850px){.pl-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.pl-hero-layout{grid-template-columns:1fr}.pl-hero-art{padding:8px 0 0;border-bottom:0}}
@media(max-width:600px){.pl-grid,.pl-filters{grid-template-columns:1fr}.pl-result-head{align-items:flex-start;flex-direction:column}.pl-filters{padding:14px}.pl-card,.pl-preview{padding:16px}.pl-card-links{flex-direction:column;align-items:flex-start}.city-premium .cp-jump a{flex:1 1 42%}.pl-city-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.pl-city-chip strong{white-space:normal;overflow-wrap:anywhere}.pl-city-chip small{overflow-wrap:anywhere}}
@media(max-width:440px){.pl-city-strip{padding:12px}.pl-city-chips{gap:7px}.pl-city-chip{padding:8px;min-height:52px}.pl-city-chip img{display:none}.pl-city-chip strong{font-size:13px}}
/* Search is a utility: on a phone keep its illustration as atmosphere,
   not a separate block delaying the form. Desktop retains the full artwork. */
@media(max-width:600px){
  .pl-search-page .pl-hero{position:relative;isolation:isolate;overflow:hidden;padding-block:18px}
  .pl-search-page .pl-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#232a3ff5,#232a3fd9),url("/static/illustrations/search-hero.webp") center/cover no-repeat}
  .pl-search-page .pl-hero-art{display:none}
  .pl-search-page .pl-content{padding-top:16px}
}
@media(max-width:600px){.pl-hero h1{font-size:clamp(28px,8vw,38px)}.pl-hero p:not(.eg-kicker){font-size:15px;margin-top:12px}.pl-hero .eg-stats{margin-top:14px}.pl-hero .eg-stats .eg-link{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.pl-page *{scroll-behavior:auto!important;transition:none!important}}

/* Catalogue and city-route only: less repeated artwork, more reading space. */
#pl-top .pl-city-strip{padding:12px 16px}
#pl-top .pl-city-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none;color:#202638}
#pl-top .pl-city-summary::-webkit-details-marker{display:none}
#pl-top .pl-city-summary>span:first-child{display:grid;gap:4px;min-width:0}
#pl-top .pl-city-summary strong{font:750 17px/1.35 var(--body)}
#pl-top .pl-city-summary small,#pl-top .pl-city-index-note{font:500 13px/1.45 var(--body);color:#525b6a}
#pl-top .pl-city-expand{flex:none;color:#645219;font:750 23px/1 var(--body)}
#pl-top .pl-city-expand::before{content:"+"}
#pl-top .pl-city-strip[open] .pl-city-expand::before{content:"−"}
#pl-top .pl-city-strip[open] .pl-city-strip-head{padding-top:12px;margin-top:8px;border-top:1px solid #d5d8dd}
#pl-top .pl-city-chips{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:7px}
#pl-top .pl-city-chip{min-height:52px}
#pl-top .pl-city-chip strong{white-space:normal;overflow-wrap:anywhere}
#pl-top .pl-city-summary:focus-visible,#city-route a:focus-visible{outline:2px solid #202638;outline-offset:3px;box-shadow:0 0 0 5px #ffc400}
#pl-top .pl-city-section:target{outline:2px solid #94772b;outline-offset:4px;border-radius:12px}
#pl-top .pl-city-banner-main>div{min-width:0}
#pl-top .pl-card{gap:9px}
#pl-top .pl-card .pl-category{padding:4px 8px;border-radius:5px;background:#efeee8;color:#374252}
#pl-top .pl-card .pl-address{padding-bottom:10px;border-bottom:1px solid #d5d8dd}
#pl-top .pl-card .pl-tip{background:#fffaf0;border:0;border-left:3px solid #c8a448}
#pl-top .pl-card-links{border-top:1px solid #d5d8dd;padding-top:4px}
#city-route .cr-route-count{margin:12px 0;color:#525b6a;font:700 14px/1.45 var(--body)}
#city-route .eg-stop-list{grid-template-columns:minmax(0,1fr);gap:10px;max-width:920px}
#city-route .eg-stop-list>li{position:relative;align-items:start;gap:16px;padding:18px;border-radius:10px;scroll-margin-top:16px}
#city-route .eg-stop-list>li:not(:last-child)::after{content:"";position:absolute;left:36px;top:56px;bottom:-12px;width:2px;background:#c8a448;pointer-events:none}
#city-route .eg-stop-number{position:relative;z-index:1}
#city-route .eg-stop-list>li>div{flex:1;min-width:0}
#city-route .eg-stop-list p.cr-stop-address{font-weight:650;color:#525b6a;margin-top:5px!important}
#city-route .cr-stop-actions{display:flex;flex-wrap:wrap;gap:0 18px;margin-top:8px}
#city-route .cr-stop-actions a{min-height:44px;overflow-wrap:anywhere;line-height:1.45}
#city-route .cr-stop-actions .cr-stop-place{color:#202638;font-weight:750}
#city-route .cr-route-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:600px){#pl-top .pl-city-strip{padding:12px}#pl-top .pl-city-chips{grid-template-columns:repeat(2,minmax(0,1fr))}#pl-top .pl-city-banner-main{align-items:flex-start;gap:10px}#pl-top .pl-city-thumb img{width:44px;height:60px}#pl-top .pl-city-banner-links{gap:0 12px}#pl-top .pl-hero-art{max-width:220px}#city-route .eg-stop-list>li{padding:14px;gap:12px}#city-route .eg-stop-list>li:not(:last-child)::after{left:32px;top:52px}#city-route .cr-stop-actions{display:grid;grid-template-columns:minmax(0,1fr)}#city-route .cr-route-actions .eg-link{flex:1 1 100%}}
