/*
Theme Name: SAKEWHERE
Version: 3.2.7
*/
:root{
 --paper:#f3eee4;--paper2:#ebe2d4;--ink:#24221f;--muted:#706a61;
 --rust:#96543e;--accent:#96543e;--line:#cfc3b2;--dark:#262925;--moss:#596052;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"Helvetica Neue",sans-serif}
a{color:inherit;text-decoration:none}
.site{width:min(1180px,90vw);margin-inline:auto}
.masthead{padding:24px 0;border-bottom:1px solid rgba(36,34,31,.15)}
.masthead__inner{display:flex;align-items:baseline;justify-content:space-between;gap:24px}
.brand{display:block;width:clamp(150px,16vw,220px);line-height:0}
.brand img{display:block;width:100%;height:auto}
.masthead__tag{font-size:10px;letter-spacing:.18em;color:var(--muted)}
.kicker{font-size:10px;letter-spacing:.18em;color:var(--rust);font-weight:800}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}
.home-hero{padding:10vw 0 7vw}
.home-hero h1,.detail-hero h1{font-size:clamp(56px,9vw,118px);line-height:.86;letter-spacing:-.045em;margin:18px 0 28px;max-width:1000px}
.lede{font:clamp(18px,2vw,24px)/1.55 Georgia,serif;max-width:760px;margin:0}
.hero-rule{margin-top:8vw;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;letter-spacing:.16em;font-weight:700}
.section{padding:7vw 0}
.section--border{border-top:1px solid var(--line)}
.section-head{display:grid;grid-template-columns:1.3fr .7fr;gap:60px;align-items:end;margin-bottom:42px}
.section-head h2,.detail-main h2{font-size:clamp(38px,5vw,66px);line-height:.95;letter-spacing:-.03em;margin:12px 0 0}
.section-head>p{font:17px/1.6 Georgia,serif;color:var(--muted);margin:0}
.trip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.trip-card{min-height:390px;border:1px solid var(--line);padding:30px;display:flex;flex-direction:column;transition:.2s ease;background:rgba(255,255,255,.08)}
.trip-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.25)}
.trip-card__top,.entity-card__meta,.detail-meta{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:9px;letter-spacing:.14em;font-weight:800;color:var(--rust)}
.trip-card h3{font-size:clamp(34px,4vw,54px);line-height:.95;margin:70px 0 18px}
.trip-card p,.entity-card p{font:16px/1.55 Georgia,serif;color:var(--muted);margin:0 0 25px}
.text-link{margin-top:auto;font-size:10px;letter-spacing:.14em;font-weight:800}
.entity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.entity-card{padding:25px;min-height:275px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.entity-card h3{font-size:27px;line-height:1.05;margin:50px 0 16px}
.detail-hero{padding:8vw 0 6vw;border-bottom:1px solid var(--line)}
.detail-meta span+span:before{content:"·";margin-right:18px;color:var(--line)}
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:7vw;padding:7vw 0 9vw}
.detail-main h2{margin-bottom:38px}
.body-copy{font:22px/1.65 Georgia,serif;max-width:720px}
.route{border-top:1px solid var(--line)}
.route-stop{display:grid;grid-template-columns:55px 1fr 30px;gap:20px;padding:25px 0;border-bottom:1px solid var(--line);align-items:start}
.route-stop__num{font-size:10px;letter-spacing:.12em;color:var(--rust);padding-top:7px}
.route-stop h3{font-size:30px;margin:0 0 8px}
.route-stop p{font:15px/1.55 Georgia,serif;color:var(--muted);margin:0;max-width:650px}
.route-stop__arrow{text-align:right;font-size:20px}
.field-note{align-self:start;background:var(--dark);color:var(--paper);padding:32px;position:sticky;top:30px}
.field-note .kicker{color:#d69a7f}
.field-note p{font:21px/1.55 Georgia,serif;margin:28px 0 70px}
.field-note__small{font-size:9px;letter-spacing:.15em;color:#bbb2a7;border-top:1px solid #55574f;padding-top:14px}
.facts{margin-top:55px;border-top:1px solid var(--line)}
.fact{display:grid;grid-template-columns:220px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.fact span{font-size:9px;letter-spacing:.12em;color:var(--muted)}
.fact strong{font:400 17px/1.4 Georgia,serif}
.footer{background:var(--dark);color:var(--paper);padding:45px 0}
.footer__inner{display:flex;justify-content:space-between;gap:20px;font-size:11px;letter-spacing:.1em}
@media(max-width:800px){
 .masthead__tag{display:none}
 .home-hero{padding:22vw 0 15vw}
 .home-hero h1,.detail-hero h1{font-size:clamp(52px,17vw,78px)}
 .section{padding:18vw 0}
 .section-head{grid-template-columns:1fr;gap:20px}
 .trip-grid{grid-template-columns:1fr}
 .trip-card{min-height:330px}
 .trip-card h3{margin-top:55px}
 .entity-grid{grid-template-columns:1fr 1fr}
 .detail-hero{padding:18vw 0 14vw}
 .detail-layout{grid-template-columns:1fr;padding:16vw 0 20vw}
 .field-note{position:static}
 .fact{grid-template-columns:1fr;gap:7px}
}
@media(max-width:520px){
 .entity-grid{grid-template-columns:1fr}
 .entity-card{min-height:230px}
 .footer__inner{flex-direction:column}
}

/* v1.6 photo-rich + photo-free states */
.card-photo,.entity-photo,.archive-card__photo{overflow:hidden;background:var(--paper2)}
.card-photo{height:190px;margin:-30px -30px 24px}
.card-photo img,.entity-photo img,.archive-card__photo img,.detail-photo img,.field-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.trip-card--photo h3{margin-top:28px}
.entity-card--photo{padding-top:0}
.entity-photo{height:150px;margin:0 -25px 22px}
.entity-card--photo h3{margin-top:28px}
.detail-photo--hero{margin:65px 0 0;height:min(58vw,650px);overflow:hidden}
.detail-photo--hero figcaption,.field-gallery figcaption{font-size:9px;letter-spacing:.12em;color:var(--muted);padding-top:9px}
.photo-free-mark{margin-top:65px;border-top:1px solid var(--line);padding-top:12px;font-size:9px;letter-spacing:.15em;color:var(--muted)}
.field-gallery{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:70px}
.field-gallery figure{margin:0}
.field-gallery figure:nth-child(3n){grid-column:1/-1}
.field-gallery img{aspect-ratio:4/3}
.archive-page{padding:8vw 0 10vw}
.archive-page>h1{font-size:clamp(55px,8vw,105px);line-height:.9;letter-spacing:-.045em;margin:18px 0 25px}
.archive-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:70px}
.archive-card{border:1px solid var(--line)}
.archive-card__photo{height:300px}
.archive-card__body{padding:28px}
.archive-card h2{font-size:40px;line-height:1;margin:35px 0 15px}
.archive-card p{font:16px/1.55 Georgia,serif;color:var(--muted)}
.intent-row{display:flex;flex-wrap:wrap;gap:8px;margin:55px 0 30px}
.intent-row span{border:1px solid var(--line);padding:10px 13px;font-size:9px;letter-spacing:.11em}
.archive-entities{margin-top:0}
@media(max-width:800px){
 .detail-photo--hero{margin-top:45px;height:70vw}
 .field-gallery{grid-template-columns:1fr}
 .field-gallery figure:nth-child(3n){grid-column:auto}
 .archive-page{padding:18vw 0}
 .archive-grid{grid-template-columns:1fr}
 .archive-card__photo{height:55vw}
}

/* v1.7 explore + route-map */
.discovery-shell{padding:7vw 0 10vw}
.discovery-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:end}
.discovery-hero h1{font-size:clamp(58px,9vw,118px);line-height:.86;letter-spacing:-.055em;margin:18px 0 0}
.discovery-hero .lede{max-width:580px}
.discovery-filters{position:sticky;top:0;z-index:15;background:rgba(244,239,229,.94);backdrop-filter:blur(12px);display:flex;gap:8px;overflow:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:65px 0 35px}
.discovery-filter{appearance:none;border:1px solid var(--line);background:transparent;padding:11px 14px;font:700 9px/1 Arial,sans-serif;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap;cursor:pointer}
.discovery-filter.is-active{background:var(--ink);color:var(--paper)}
.discovery-status{font:700 9px/1.3 Arial,sans-serif;letter-spacing:.12em;color:var(--muted);margin:0 0 22px}
.discovery-cards{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.discovery-card{display:block;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px;min-height:280px;transition:.2s}
.discovery-card:hover{background:rgba(255,255,255,.28)}
.discovery-card__img{height:180px;margin:-26px -26px 25px;overflow:hidden}
.discovery-card__img img{width:100%;height:100%;object-fit:cover}
.discovery-card__meta{display:flex;gap:9px;flex-wrap:wrap;font:700 8px/1 Arial,sans-serif;letter-spacing:.11em;color:var(--accent);text-transform:uppercase}
.discovery-card h2{font-size:32px;line-height:1;margin:34px 0 13px}
.discovery-card p{font:15px/1.55 Georgia,serif;color:var(--muted)}
.discovery-empty{grid-column:1/-1;padding:60px 0;border-bottom:1px solid var(--line);font:18px/1.5 Georgia,serif}

.map-shell{padding:5vw 0 10vw}
.map-layout{display:grid;grid-template-columns:minmax(320px,.72fr) 1.28fr;min-height:72vh;border:1px solid var(--line);margin-top:42px}
.map-list{border-right:1px solid var(--line);max-height:72vh;overflow:auto}
.map-list__head{position:sticky;top:0;background:var(--paper);z-index:3;padding:22px;border-bottom:1px solid var(--line)}
.map-route-card{padding:22px;border-bottom:1px solid var(--line);cursor:pointer}
.map-route-card:hover,.map-route-card.is-active{background:rgba(255,255,255,.34)}
.map-route-card h3{font-size:28px;line-height:1;margin:16px 0 10px}
.map-route-card p{font:14px/1.45 Georgia,serif;color:var(--muted)}
.route-canvas{position:relative;overflow:hidden;background:
  radial-gradient(circle at 20% 20%,rgba(120,90,55,.08),transparent 25%),
  linear-gradient(120deg,rgba(255,255,255,.15),transparent 50%)}
.route-canvas:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(43,39,34,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(43,39,34,.04) 1px,transparent 1px);background-size:34px 34px}
.route-stage{position:relative;min-height:72vh;padding:50px}
.route-stage__eyebrow{font:700 9px/1 Arial,sans-serif;letter-spacing:.13em;color:var(--accent)}
.route-stage h2{font-size:clamp(48px,6vw,84px);line-height:.9;letter-spacing:-.045em;margin:22px 0}
.route-line{position:relative;margin:55px 0 0;padding-left:38px}
.route-line:before{content:"";position:absolute;left:10px;top:10px;bottom:18px;width:1px;background:var(--ink)}
.route-stop{position:relative;padding:0 0 42px}
.route-stop:before{content:"";position:absolute;left:-34px;top:3px;width:13px;height:13px;border-radius:50%;background:var(--paper);border:2px solid var(--ink)}
.route-stop__seq{font:700 9px Arial,sans-serif;letter-spacing:.12em;color:var(--accent)}
.route-stop h3{font-size:27px;line-height:1;margin:10px 0}
.route-stage .route-stop a{text-decoration:underline;text-underline-offset:4px}
.route-notice{margin-top:35px;padding:16px;border:1px solid var(--line);font:13px/1.5 Georgia,serif;color:var(--muted);max-width:600px}
.real-map-ready{display:none}
@media(max-width:900px){
 .discovery-hero{grid-template-columns:1fr}
 .discovery-cards{grid-template-columns:1fr 1fr}
 .map-layout{grid-template-columns:1fr}
 .map-list{max-height:none;border-right:0;border-bottom:1px solid var(--line)}
 .route-stage{min-height:auto}
}
@media(max-width:620px){
 .discovery-shell,.map-shell{padding:16vw 0}
 .discovery-cards{grid-template-columns:1fr}
 .discovery-card{min-height:auto}
 .discovery-card__img{height:56vw}
 .route-stage{padding:28px}
}

.masthead__inner{display:flex;align-items:center;gap:28px}
.masthead__nav{display:flex;gap:20px;margin-left:auto}
.masthead__nav a{font:700 8px/1 Arial,sans-serif;letter-spacing:.14em}
@media(max-width:620px){.masthead__nav{gap:10px}.masthead__tag{display:none}}

/* v1.8 map readability + discovery hierarchy */
.map-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end;margin-bottom:42px}
.map-hero h1{font-size:clamp(58px,9vw,118px);line-height:.86;letter-spacing:-.055em;margin:18px 0 0}
.map-status{font:700 8px/1.45 Arial,sans-serif;letter-spacing:.11em;color:var(--muted);margin:10px 0 0}
.map-route-card{appearance:none;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;color:inherit;padding:22px;cursor:pointer;display:block}
.map-route-card strong{display:block;font:400 28px/1 Georgia,serif;margin:16px 0 10px}
.map-route-card small{font:400 13px/1.4 Georgia,serif;color:var(--muted)}
.route-stage{padding:48px 54px 56px}
.route-stage__top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.route-stage__triplink{font:700 9px/1 Arial,sans-serif;letter-spacing:.12em;border-bottom:1px solid currentColor;padding-bottom:4px}
.route-stage__intro{font:18px/1.6 Georgia,serif;color:var(--muted);max-width:760px;margin:-4px 0 0}
.route-line{margin:46px 0 0;padding:0}
.route-line:before{display:none}
.route-stage .route-stop{display:grid;grid-template-columns:58px minmax(0,1fr);padding:0;border:0;gap:22px}
.route-stage .route-stop:before{display:none}
.route-stage .route-stop__rail{position:relative;min-height:155px;border-right:1px solid var(--ink)}
.route-stage .route-stop__rail:before{content:"";position:absolute;right:-7px;top:7px;width:11px;height:11px;border-radius:50%;background:var(--paper);border:1.5px solid var(--ink)}
.route-stage .route-stop__rail span{display:block;font:700 9px/1 Arial,sans-serif;letter-spacing:.12em;color:var(--rust);padding-top:7px}
.route-stage .route-stop:last-child .route-stop__rail{min-height:70px;border-right-color:transparent}
.route-stage .route-stop__content{padding:0 0 44px}
.route-stage .route-stop__meta{font:700 8px/1.2 Arial,sans-serif;letter-spacing:.12em;color:var(--rust)}
.route-stage .route-stop h3{font-size:clamp(25px,3vw,38px);line-height:1;margin:10px 0 11px}
.route-stage .route-stop p{font:16px/1.58 Georgia,serif;color:var(--muted);max-width:680px;margin:0}
.route-tip{margin:10px 0 34px;padding:25px 28px;background:var(--dark);color:var(--paper);max-width:760px}
.route-tip .kicker{color:#d69a7f}
.route-tip p{font:18px/1.55 Georgia,serif;margin:13px 0 0}
.discovery-card{position:relative;padding-bottom:58px}
.discovery-card__cta{position:absolute;left:26px;bottom:24px;font:700 8px/1 Arial,sans-serif;letter-spacing:.12em}
.discovery-card--text:nth-child(4n+2){background:rgba(255,255,255,.13)}
@media(max-width:900px){
 .map-hero{grid-template-columns:1fr;gap:22px}
 .route-stage{padding:38px 34px 44px}
}
@media(max-width:620px){
 .map-hero h1{font-size:clamp(52px,17vw,78px)}
 .map-layout{margin-top:28px}
 .route-stage{padding:30px 22px 36px}
 .route-stage__top{align-items:flex-start;flex-direction:column}
 .route-stage .route-stop{grid-template-columns:40px minmax(0,1fr);gap:17px}
 .route-stage .route-stop__rail{min-height:145px}
 .route-stage .route-stop__content{padding-bottom:36px}
 .route-stage .route-stop h3{font-size:29px}
 .route-stage .route-stop p{font-size:15px}
}


/* v1.9 photo-rich surfaces */
.detail-photo--hero{position:relative}
.detail-photo--hero:after{content:"FIRSTHAND FIELD PHOTO";position:absolute;left:18px;bottom:18px;background:rgba(36,34,31,.88);color:var(--paper);padding:8px 10px;font:700 8px/1 Arial,sans-serif;letter-spacing:.12em}
.field-gallery{margin-top:48px}
.field-gallery figure{background:rgba(255,255,255,.12)}
.field-gallery figcaption{font:700 8px/1.4 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.photo-free-mark{position:relative;overflow:hidden}
.photo-free-mark:after{content:"PHOTOGRAPHY CAN BE ADDED LATER";display:block;margin-top:9px;font:700 8px/1 Arial,sans-serif;letter-spacing:.12em;color:var(--muted)}


/* v2.0 media propagation: one photo assignment can enrich Trip / Explore / Map */
.trip-route-visuals{position:relative;display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;margin-top:60px;height:min(58vw,620px);overflow:hidden;background:var(--paper2)}
.trip-route-visual{position:relative;overflow:hidden;min-height:0}
.trip-route-visual:first-child{grid-row:1/-1}
.trip-route-visual img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.trip-route-visual:hover img{transform:scale(1.018)}
.trip-route-visual span{position:absolute;left:12px;bottom:12px;background:rgba(36,34,31,.82);color:var(--paper);padding:7px 9px;font:700 8px/1 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.trip-route-visuals__label{position:absolute;right:14px;top:14px;background:rgba(243,238,228,.92);padding:8px 10px;font:700 8px/1 Arial,sans-serif;letter-spacing:.12em}
.trip-route-stop{grid-template-columns:55px minmax(0,1fr) 30px}
.trip-route-stop--photo{grid-template-columns:55px 145px minmax(0,1fr) 30px;align-items:center}
.trip-route-stop__photo{height:105px;overflow:hidden;background:var(--paper2)}
.trip-route-stop__photo img{width:100%;height:100%;object-fit:cover;display:block}
.trip-route-stop__meta{font:700 8px/1.2 Arial,sans-serif;letter-spacing:.12em;color:var(--rust);text-transform:uppercase;margin-bottom:8px}
.trip-route-stop__copy h3{margin-top:0}
.route-stage__photos{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:30px 0 8px;height:155px}
.route-stage__photos a{position:relative;overflow:hidden;background:var(--paper2)}
.route-stage__photos img{width:100%;height:100%;object-fit:cover;display:block}
.route-stage__photos span{position:absolute;left:7px;bottom:7px;right:7px;background:rgba(36,34,31,.78);color:var(--paper);padding:6px;font:700 7px/1.2 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.route-stage .route-stop--photo .route-stop__content{display:grid;grid-template-columns:118px minmax(0,1fr);column-gap:18px;align-items:start}
.route-stage .route-stop__thumb{grid-row:1/4;width:118px;height:92px;overflow:hidden;text-decoration:none}
.route-stage .route-stop__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.route-stage .route-stop--photo .route-stop__meta,.route-stage .route-stop--photo h3,.route-stage .route-stop--photo p{grid-column:2}
@media(max-width:800px){
 .trip-route-visuals{grid-template-columns:1.5fr 1fr;height:78vw}.trip-route-visual:nth-child(n+4){display:none}
 .trip-route-stop--photo{grid-template-columns:40px 92px minmax(0,1fr) 20px;gap:12px}.trip-route-stop__photo{height:82px}
 .route-stage__photos{grid-template-columns:1fr 1fr;height:220px}.route-stage__photos a:nth-child(n+3){display:none}
 .route-stage .route-stop--photo .route-stop__content{grid-template-columns:86px minmax(0,1fr);column-gap:12px}
 .route-stage .route-stop__thumb{width:86px;height:72px}
}
@media(max-width:520px){
 .trip-route-visuals{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;height:92vw}.trip-route-visual:first-child{grid-column:1/-1;grid-row:auto}.trip-route-visual:nth-child(n+4){display:none}
 .trip-route-stop--photo{grid-template-columns:35px minmax(0,1fr) 20px}.trip-route-stop__photo{grid-column:2;height:42vw;margin-bottom:12px}.trip-route-stop__copy{grid-column:2}.trip-route-stop__arrow{grid-column:3;grid-row:1/3}
 .route-stage .route-stop--photo .route-stop__content{display:block}.route-stage .route-stop__thumb{display:block;width:100%;height:42vw;margin:0 0 15px}
}


/* v2.1 contextual photo propagation: Trip cards can borrow one connected Entity photo */
.card-photo--context{position:relative;overflow:hidden}
.card-photo--context img{width:100%;height:100%;object-fit:cover;display:block}
.card-photo--context span{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);background:rgba(36,34,31,.82);color:var(--paper);padding:7px 9px;font:700 7px/1.15 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.trip-card--photo .card-photo--context{height:210px;margin:-30px -30px 26px}
@media(max-width:620px){.trip-card--photo .card-photo--context{height:54vw}}


/* v2.2 reverse graph: Entity → journeys that use it */
.entity-journeys{grid-column:1/-1;border-top:1px solid var(--line);padding-top:48px;margin-top:18px}
.entity-journeys h2{font-size:clamp(38px,5vw,66px);line-height:.92;margin:10px 0 30px;max-width:620px}
.entity-journeys__grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.entity-journey{display:flex;flex-direction:column;min-height:280px;padding:28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:inherit;text-decoration:none;transition:background .18s ease}
.entity-journey:hover{background:var(--paper2)}
.entity-journey span,.entity-journey b{font:700 8px/1.2 Arial,sans-serif;letter-spacing:.12em;color:var(--accent);text-transform:uppercase}
.entity-journey strong{font-family:Georgia,serif;font-size:31px;line-height:.95;font-weight:400;margin:28px 0 16px}
.entity-journey p{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 28px}
.entity-journey b{margin-top:auto;color:var(--ink)}
@media(max-width:760px){.entity-journeys{padding-top:36px}.entity-journeys__grid{grid-template-columns:1fr}.entity-journey{min-height:220px}.entity-journey strong{font-size:29px}}


/* v2.3 route context: a Place can show what comes before / after without guessing geography */
.entity-route-contexts{grid-column:1/-1;border-top:1px solid var(--line);padding-top:48px;margin-top:18px}
.entity-route-contexts h2{font-size:clamp(38px,5vw,66px);line-height:.92;margin:10px 0 30px;max-width:760px}
.route-context{border-top:1px solid var(--line);padding:24px 0 34px}
.route-context__trip{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.route-context__trip span{font:700 8px/1.2 Arial,sans-serif;letter-spacing:.12em;color:var(--accent);text-transform:uppercase}
.route-context__trip strong{font:400 24px/1 Georgia,serif}
.route-context__grid{display:grid;grid-template-columns:1fr 1fr;border-left:1px solid var(--line);border-top:1px solid var(--line)}
.route-context-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;min-height:150px;padding:22px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .18s ease}
.route-context-card:hover{background:var(--paper2)}
.route-context-card--empty{display:block;color:var(--muted)}
.route-context-card__photo{width:96px;height:86px;overflow:hidden;background:var(--paper2)}
.route-context-card__photo img{width:100%;height:100%;object-fit:cover;display:block}
.route-context-card__copy span{font:700 8px/1.2 Arial,sans-serif;letter-spacing:.12em;color:var(--accent);text-transform:uppercase}
.route-context-card__copy strong{display:block;font:400 25px/.98 Georgia,serif;margin:12px 0 8px}
.route-context-card__copy p{font:14px/1.45 Georgia,serif;color:var(--muted);margin:0}
.entity-connections{grid-column:1/-1;border-top:1px solid var(--line);padding-top:48px;margin-top:18px}
.entity-connections h2{font-size:clamp(36px,4.6vw,58px);line-height:.94;margin:10px 0 28px;max-width:700px}
.entity-connections__grid{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid var(--line);border-top:1px solid var(--line)}
.entity-connection{display:flex;flex-direction:column;min-height:210px;padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .18s ease}
.entity-connection:hover{background:var(--paper2)}
.entity-connection span{font:700 8px/1.2 Arial,sans-serif;letter-spacing:.12em;color:var(--accent);text-transform:uppercase}
.entity-connection strong{font:400 27px/1 Georgia,serif;margin:30px 0 12px}
.entity-connection p{font:14px/1.5 Georgia,serif;color:var(--muted);margin:0}
@media(max-width:760px){
 .entity-route-contexts,.entity-connections{padding-top:36px}
 .route-context__trip{align-items:flex-start;flex-direction:column;gap:8px}
 .route-context__grid,.entity-connections__grid{grid-template-columns:1fr}
 .route-context-card{grid-template-columns:82px minmax(0,1fr)}
 .route-context-card__photo{width:82px;height:74px}
 .entity-connection{min-height:175px}
}


/* v2.4 relationship polish: use the full editorial width and remove cramped context cards */
.entity-route-contexts,.entity-connections,.entity-journeys{width:100%}
.route-context__grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
.route-context-card{grid-template-columns:clamp(110px,14vw,170px) minmax(0,1fr);gap:24px;min-height:190px;padding:26px}
.route-context-card__photo{width:100%;height:128px}
.route-context-card__copy{min-width:0}
.route-context-card__copy strong{font-size:clamp(25px,2.4vw,36px);line-height:.96;margin:14px 0 10px;overflow-wrap:anywhere}
.route-context-card__copy p{font-size:15px;line-height:1.52;max-width:48ch}
.entity-connections__grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.entity-connection{min-width:0;min-height:230px;padding:28px}
.entity-connection strong{font-size:clamp(26px,2.3vw,34px);overflow-wrap:anywhere}
.entity-connection p{max-width:44ch}
.entity-journeys__grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.entity-journey{min-width:0}
@media(min-width:801px){
  .entity-route-contexts,.entity-connections,.entity-journeys{grid-column:1/-1}
  .route-context{width:100%}
}
@media(max-width:760px){
 .route-context__grid{grid-template-columns:1fr}
 .route-context-card{grid-template-columns:96px minmax(0,1fr);min-height:150px;padding:20px;gap:16px}
 .route-context-card__photo{height:84px}
 .route-context-card__copy strong{font-size:28px}
 .entity-connections__grid,.entity-journeys__grid{grid-template-columns:1fr}
}
@media(max-width:460px){
 .route-context-card{grid-template-columns:1fr}
 .route-context-card__photo{height:50vw}
}


/* v2.5 guided exploration: a single compact chooser synthesized from the graph */
.entity-next-moves{grid-column:1/-1;border-top:1px solid var(--line);padding-top:54px;margin-top:26px}
.entity-next-moves__head{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:end;margin-bottom:30px}
.entity-next-moves__head h2{font-size:clamp(40px,5.4vw,70px);line-height:.91;margin:10px 0 0;max-width:780px}
.entity-next-moves__head>p{font:17px/1.55 Georgia,serif;color:var(--muted);max-width:420px;margin:0 0 6px}
.entity-next-moves__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.entity-next-move{display:flex;flex-direction:column;min-width:0;min-height:320px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .18s ease}
.entity-next-move:hover{background:var(--paper2)}
.entity-next-move__photo{height:170px;overflow:hidden;background:var(--paper2);border-bottom:1px solid var(--line)}
.entity-next-move__photo img{width:100%;height:100%;object-fit:cover;display:block}
.entity-next-move__body{display:flex;flex:1;flex-direction:column;padding:26px}
.entity-next-move span,.entity-next-move b{font:700 8px/1.25 Arial,sans-serif;letter-spacing:.115em;color:var(--accent);text-transform:uppercase}
.entity-next-move strong{font:400 clamp(27px,2.45vw,36px)/.97 Georgia,serif;margin:30px 0 14px;overflow-wrap:anywhere}
.entity-next-move p{font:14px/1.52 Georgia,serif;color:var(--muted);margin:0 0 30px;max-width:42ch}
.entity-next-move b{margin-top:auto;color:var(--ink)}
.entity-next-move--route{background:rgba(255,255,255,.14)}
@media(max-width:820px){
 .entity-next-moves__head{grid-template-columns:1fr;gap:16px}
 .entity-next-moves__grid{grid-template-columns:1fr}
 .entity-next-move{min-height:220px}
 .entity-next-move__photo{height:50vw;max-height:320px}
 .entity-next-move strong{font-size:32px}
}


/* v2.6 next-move rationale: make the recommendation logic visible */
.entity-next-move__reason{display:block;margin:-2px 0 14px;padding-top:12px;border-top:1px solid var(--line);font:700 9px/1.45 Arial,sans-serif;font-style:normal;letter-spacing:.075em;text-transform:uppercase;color:var(--rust)}
.entity-next-move__reason+p{margin-top:0}
.entity-next-move--trip .entity-next-move__reason{color:var(--muted)}
@media(max-width:820px){.entity-next-move__reason{font-size:8px}}


/* v2.7 next-move navigation: make the recommendation scannable and tactile */
.entity-next-move{position:relative;isolation:isolate;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.entity-next-move:focus-visible{outline:2px solid var(--rust);outline-offset:4px}
.entity-next-move:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(36,34,31,.08)}
.entity-next-move__body>span{display:flex;align-items:center;gap:10px;min-height:22px}
.entity-next-move__body>span:after{content:"";height:1px;flex:1;background:var(--line);opacity:.8}
.entity-next-move__reason{order:2;margin:0 0 20px;padding:10px 12px;border:1px solid var(--line);background:rgba(255,255,255,.16);font:800 9px/1.35 Arial,sans-serif;font-style:normal;letter-spacing:.095em;text-transform:uppercase;color:var(--rust)}
.entity-next-move strong{order:1;margin:24px 0 14px}
.entity-next-move p{order:3;margin:0 0 30px}
.entity-next-move b{order:4;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:18px;border-top:1px solid var(--line)}
.entity-next-move b:after{content:"→";font-size:16px;line-height:1;transition:transform .18s ease}
.entity-next-move:hover b:after{transform:translateX(5px)}
.entity-next-move--route .entity-next-move__reason{background:var(--dark);border-color:var(--dark);color:var(--paper)}
.entity-next-move--connection .entity-next-move__reason{color:var(--rust)}
.entity-next-move--trip .entity-next-move__reason{color:var(--ink)}
.entity-next-moves__grid:has(.entity-next-move:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px}
@media(max-width:820px){
 .entity-next-moves__grid:has(.entity-next-move:nth-child(2):last-child){grid-template-columns:1fr;max-width:none}
 .entity-next-move{min-height:0}
 .entity-next-move__body{padding:24px}
 .entity-next-move strong{font-size:32px;margin-top:22px}
 .entity-next-move__reason{font-size:9px;padding:10px;margin-bottom:18px}
 .entity-next-move b{min-height:44px}
}


/* v2.8 Field Guide */
.entity-field-guide{grid-column:1/-1;border-top:1px solid var(--line);padding-top:54px;margin-top:28px}
.entity-field-guide__head{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:end;margin-bottom:28px}
.entity-field-guide__head h2{font-size:clamp(40px,5.2vw,68px);line-height:.92;margin:10px 0 0;max-width:760px}
.entity-field-guide__head>p{font:17px/1.55 Georgia,serif;color:var(--muted);max-width:430px;margin:0 0 5px}
.entity-field-guide__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.entity-field-note{min-height:230px;padding:28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.08)}
.entity-field-note__top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.entity-field-note__top span{font:800 9px/1.2 Arial,sans-serif;letter-spacing:.12em;color:var(--accent)}
.entity-field-note__top em{font:800 8px/1.2 Arial,sans-serif;font-style:normal;letter-spacing:.09em;padding:7px 9px;border:1px solid var(--line);color:var(--muted)}
.entity-field-note--firsthand .entity-field-note__top em{background:var(--dark);border-color:var(--dark);color:var(--paper)}
.entity-field-note--official .entity-field-note__top em{color:var(--rust)}
.entity-field-note p{font:clamp(20px,2vw,27px)/1.25 Georgia,serif;margin:42px 0 0;max-width:31ch}
.entity-field-guide__visited{margin-top:14px;font:800 8px/1.2 Arial,sans-serif;letter-spacing:.11em;color:var(--muted)}
@media(max-width:760px){.entity-field-guide__head{grid-template-columns:1fr;gap:16px}.entity-field-guide__grid{grid-template-columns:1fr}.entity-field-note{min-height:190px;padding:24px}.entity-field-note p{font-size:22px;margin-top:32px}}


/* v3.0 — public Place hierarchy */
.entity-why,
.entity-plan,
.entity-photo-notes{
  padding:clamp(42px,7vw,88px) 0;
  border-top:1px solid var(--line,#d8d0c2);
}
.entity-why{border-top:0;padding-top:0}
.entity-why h2,
.entity-plan h2{
  margin:.2em 0 .45em;
}
.entity-plan__head{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);
  gap:36px;
  align-items:end;
  margin-bottom:28px;
}
.entity-plan__head>p{
  margin:0;
  max-width:34em;
}
.entity-photo-notes>.kicker{margin-bottom:18px}
@media(max-width:760px){
  .entity-plan__head{grid-template-columns:1fr;gap:10px}
}

/* v3.0.1 mobile map selector: keep selected route visible and move users to its detail panel */
@media(max-width:900px){
 .route-stage{scroll-margin-top:24px}
}

/* v3.1.0 owner-approved SAKEWHERE brand cover */
.home-cover{width:100%;margin:0;background:var(--dark);overflow:hidden}
.home-cover picture,.home-cover img{display:block;width:100%}
.home-cover img{height:auto}
@media(max-width:800px){
 .masthead{padding:18px 0}
 .masthead__inner{align-items:center}
 .brand{width:120px}
}


/* v3.1.3 — opt-in Editorial Guide Pages; no effect on existing Trip/Place templates. */
.sw-guide { padding: clamp(42px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.sw-guide__wrap { width: min(920px, 90vw); margin-inline: auto; }
.sw-guide__breadcrumb { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.sw-guide__breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.sw-guide__head { border-bottom: 1px solid var(--line); padding-bottom: clamp(24px,4vw,48px); margin-bottom: clamp(30px,5vw,54px); }
.sw-guide__head .kicker { margin-bottom: 14px; }
.sw-guide__head h1 { font: normal clamp(36px, 5.5vw, 64px)/1.14 Georgia, serif; max-width: 880px; letter-spacing: -.03em; margin: 0; overflow-wrap: break-word; }
.sw-guide__article { font: 17px/1.78 Arial, 'Helvetica Neue', sans-serif; }
.sw-guide__article > :first-child { margin-top: 0; }
.sw-guide__article h2 { font: normal clamp(27px, 3.3vw, 36px)/1.26 Georgia, serif; letter-spacing: -.018em; margin: 2.35em 0 .65em; }
.sw-guide__article h3 { font: normal clamp(21px, 2.7vw, 27px)/1.3 Georgia, serif; margin: 1.8em 0 .55em; }
.sw-guide__article p, .sw-guide__article ul, .sw-guide__article ol { margin: 0 0 1.4em; }
.sw-guide__article ul, .sw-guide__article ol { padding-left: 1.5em; }
.sw-guide__article li { padding-left: .18em; margin-bottom: .45em; }
.sw-guide__article a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sw-guide__article a:hover, .sw-guide__breadcrumb a:hover { text-decoration-thickness: 2px; }
.sw-guide__article :is(a,button):focus-visible, .sw-guide__breadcrumb a:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.sw-guide__article .wp-block-table { overflow-x: auto; margin: 1.5em 0 2.1em; max-width: 100%; }
.sw-guide__article .wp-block-table table { border-collapse: collapse; min-width: 600px; width: 100%; font-size: 15px; line-height: 1.5; }
.sw-guide__article .wp-block-table th, .sw-guide__article .wp-block-table td { border: 1px solid var(--line); padding: 13px 14px; text-align: left; vertical-align: top; }
.sw-guide__article .wp-block-table th { background: var(--paper2); font-weight: bold; }
.sw-guide__article .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.sw-guide__back { margin-top: 54px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.sw-guide__back a { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.sw-trip-guide-list { margin-top: clamp(40px,6vw,78px); border-top: 1px solid var(--line); padding-top: 40px; }
.sw-trip-guide-list h2 { font: normal clamp(28px,3.7vw,42px)/1.2 Georgia, serif; margin: 12px 0 18px; }
.sw-trip-guide-list__items { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); }
.sw-trip-guide-list__card { padding: 24px; border: 1px solid var(--line); background: var(--paper2); display: flex; flex-direction: column; gap: 14px; }
.sw-trip-guide-list__card strong { font: normal 22px/1.33 Georgia, serif; }
.sw-trip-guide-list__card span { font-size: 12px; color: var(--rust); letter-spacing: .06em; }
.sw-trip-guide-list__card:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
@media(max-width:600px) {
 .sw-guide__article { font-size: 16px; line-height: 1.7; }
 .sw-guide__article .wp-block-table { margin-inline: 0; }
 .sw-guide__article .wp-block-table table { min-width: 570px; }
 .sw-guide__article .wp-block-table th,.sw-guide__article .wp-block-table td { padding: 10px; }
}


/* 3.1.4: SAKEWHERE Guides hub and editorial links; photo-free by design */
.masthead__nav{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(12px,2vw,26px)}
.sw-guides-index{padding:clamp(38px,6vw,88px) 0 clamp(75px,9vw,120px)}
.sw-guides-index__head{border-bottom:1px solid var(--line);padding-bottom:clamp(24px,4vw,55px)}
.sw-guides-index__head h1{font:normal clamp(52px,8vw,100px)/.95 Georgia,serif;letter-spacing:-.045em;margin:20px 0 24px}
.sw-guides-index__head .lede{color:var(--muted)}
.sw-guides-index__group{padding:clamp(42px,6vw,75px) 0 8px;border-bottom:1px solid var(--line)}
.sw-guides-index__group-head{margin-bottom:25px}
.sw-guides-index__group-head h2{font:normal clamp(32px,5vw,56px)/1.12 Georgia,serif;margin:12px 0}
.sw-guides-index__group-head>a{font-size:13px;text-decoration:underline;text-underline-offset:4px;color:var(--rust)}
.sw-guide-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sw-guide-tile{display:flex;flex-direction:column;gap:15px;min-height:230px;padding:25px;border:1px solid var(--line);background:rgba(255,255,255,.15)}
.sw-guide-tile:hover{background:rgba(255,255,255,.3)}
.sw-guide-tile strong{font:normal clamp(21px,2.5vw,28px)/1.26 Georgia,serif;overflow-wrap:break-word}
.sw-guide-tile__excerpt{font:14px/1.55 Georgia,serif;color:var(--muted)}
.sw-guide-tile__action{font:700 11px/1.4 Arial,sans-serif;letter-spacing:.07em;color:var(--rust);margin-top:auto}
.sw-guides-more{margin:24px 0 0;text-align:right;font-size:13px}
.sw-guides-more a{text-decoration:underline;text-underline-offset:4px;color:var(--rust)}
.sw-guide__related{padding:30px;margin:45px 0 15px;border:1px solid var(--line);background:var(--paper2)}
.sw-guide__related h2{font:normal clamp(27px,3vw,36px)/1.25 Georgia,serif;margin:13px 0}
.sw-guide__related p{font:16px/1.6 Georgia,serif;color:var(--muted)}
.sw-guide__related>a{text-decoration:underline;text-underline-offset:4px;color:var(--rust);font-weight:700}
.sw-guide__back{display:flex;flex-wrap:wrap;gap:12px 24px}
.sw-guide-tile:focus-visible,.sw-guides-more a:focus-visible,.sw-guide__related>a:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
.sw-guides-index__empty{padding:40px 0}
@media(max-width:950px){.sw-guide-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sw-guide-card-grid{grid-template-columns:1fr}.sw-guide-tile{min-height:180px}.sw-guides-index__group{padding-top:42px}.sw-guide__related{padding:22px}.masthead__nav{gap:9px 15px}}

.sw-trip-related-guides{padding:clamp(42px,7vw,85px) 0;background:var(--paper2);border-top:1px solid var(--line)}
.sw-trip-related-guides h2{font:normal clamp(30px,5vw,55px)/1.15 Georgia,serif;margin:12px 0 30px}

/* v3.2.0 CPT Guides: native archive filters and pagination. */
.sw-guides-filters{display:flex;align-items:end;gap:12px 18px;flex-wrap:wrap;padding:24px 0;border-bottom:1px solid var(--line)}
.sw-guides-filters label{display:flex;flex-direction:column;gap:8px;font:700 12px/1.3 Arial,sans-serif;letter-spacing:.04em}
.sw-guides-filters select{min-width:170px;max-width:100%;padding:11px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:14px Arial,sans-serif}
.sw-guides-filters button{background:var(--dark);color:var(--paper);border:1px solid var(--dark);padding:12px 18px;font:700 12px Arial,sans-serif;cursor:pointer}
.sw-guides-filters>a{font:13px Arial,sans-serif;color:var(--rust);text-decoration:underline;padding:12px 0}
.sw-guides-featured{max-width:560px;margin:35px 0 12px}
.sw-guides-featured>.kicker{display:block;margin-bottom:15px}
.sw-guides-pagination{padding:34px 0}
.sw-guides-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.sw-guides-pagination a,.sw-guides-pagination span{padding:9px 13px;border:1px solid var(--line);font-size:13px}
.sw-guides-pagination .current{background:var(--dark);color:var(--paper)}
.sw-guide__terms{display:flex;gap:10px;flex-wrap:wrap;font:12px/1.5 Arial,sans-serif;color:var(--rust)}
.sw-guide__terms a{text-decoration:underline;text-underline-offset:3px}
.sw-guide__other{margin:60px 0 20px;border-top:1px solid var(--line);padding-top:32px}
.sw-guide__other h2{font:normal clamp(29px,4vw,44px)/1.2 Georgia,serif}
.sw-guides-filters button:focus-visible,.sw-guides-filters select:focus-visible,.sw-guides-pagination a:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
@media(max-width:600px){.sw-guides-filters>*{width:100%}.sw-guides-filters select{width:100%}}

/* v3.2.1 — Native Guide comparison tables (not WordPress Additional CSS).
 * Covers imported HTML <table> and Gutenberg .wp-block-table while keeping
 * source tables semantically intact. Only applies inside a Guide article. */
.sw-guide__article .sw-guide__table-hint {
  display: none;
  margin: 1.3rem 0 .4rem;
  color: var(--muted);
  font: 700 12px/1.5 Arial, "Helvetica Neue", sans-serif;
  letter-spacing: .02em;
}
.sw-guide__article .sw-guide__table-scroll,
.sw-guide__article .wp-block-table {
  width: 100%;
  max-width: 100%;
  margin: 1.5em 0 2.25em;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.sw-guide__article .sw-guide__table-scroll:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}
.sw-guide__article .sw-guide__table-scroll table,
.sw-guide__article .wp-block-table table {
  width: 100%;
  min-width: 660px;
  table-layout: fixed;
  border: 0;
  border-collapse: collapse;
  font: 15px/1.65 Arial, "Helvetica Neue", sans-serif;
}
.sw-guide__article .sw-guide__table-scroll :is(th, td),
.sw-guide__article .wp-block-table :is(th, td) {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 19px 17px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: normal;
}
.sw-guide__article .sw-guide__table-scroll th,
.sw-guide__article .wp-block-table th {
  font-weight: 700;
}
.sw-guide__article .sw-guide__table-scroll tbody td:first-child,
.sw-guide__article .wp-block-table tbody td:first-child {
  font-weight: 700;
}
.sw-guide__article .sw-guide__table-scroll tr > :first-child,
.sw-guide__article .wp-block-table tr > :first-child {
  width: 28%;
}
@media (max-width: 680px) {
  .sw-guide__article .sw-guide__table-hint { display: block; }
  .sw-guide__article .sw-guide__table-scroll,
  .sw-guide__article .wp-block-table { margin: .35rem 0 2.15rem; }
  .sw-guide__article .sw-guide__table-scroll table,
  .sw-guide__article .wp-block-table table { min-width: 660px; font-size: 15px; }
  .sw-guide__article .sw-guide__table-scroll :is(th, td),
  .sw-guide__article .wp-block-table :is(th, td) {
    padding: 20px 17px;
    line-height: 1.75;
  }
}


/* v3.2.2 — Comparison rows become vertically stacked decision cards on mobile.
 * Header cells remain accessible in the original table, and repeated labels are
 * generated from column headers server-side. No extra CSS / no database edits.
 * Complex tables (spans/nested/missing headers) retain v3.2.1 scroll fallback. */
@media (max-width: 680px) {
  .sw-guide__article .sw-guide__table-scroll--stacked {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    margin: 1.15rem 0 2.75rem;
    -webkit-overflow-scrolling: auto;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked table {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: auto;
    font-size: 15px;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked thead {
    /* Visually hidden, not display:none, so the semantic header remains present. */
    position: absolute;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    height: 1px;
    width: 1px;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody {
    display: block;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody tr {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    border: 1px solid rgba(207,195,178,.95);
    border-radius: 0;
    background: rgba(255,255,255,.34);
    overflow: hidden;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody tr:last-child {
    margin-bottom: 0;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody :is(td, th) {
    display: block;
    width: 100% !important;
    max-width: 100%;
    border: 0;
    padding: 0;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
    background: transparent;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody tr > :first-child {
    margin: 0;
    padding: 14px 16px;
    background: #e8bf79;
    color: #fff;
    border-radius: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.45;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody tr > :not(:first-child) {
    padding: 16px;
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody tr > :not(:first-child) + :not(:first-child) {
    border-top: 1px solid rgba(207,195,178,.95);
  }
  .sw-guide__article .sw-guide__table-scroll--stacked tbody [data-sw-guide-label]::before {
    content: attr(data-sw-guide-label);
    display: block;
    margin: 0 0 8px;
    color: var(--muted);
    font: 700 12px/1.55 Arial, "Helvetica Neue", sans-serif;
    letter-spacing: .015em;
    overflow-wrap: anywhere;
  }
}

/* v3.2.6 — easier Guide→Trip handoff and 48-guide Trip discovery. Rectilinear brand system. */
.sw-guide__journey-shortcut{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;
 border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin:8px 0 30px}
.sw-guide__journey-shortcut span{font:800 10px/1.4 Arial,sans-serif;letter-spacing:.1em;color:var(--muted)}
.sw-guide__journey-shortcut a{font:700 14px/1.5 Arial,sans-serif;color:var(--rust);text-decoration:underline;text-underline-offset:4px}
.sw-guide__journey-shortcut a:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
.sw-guides-filters select{max-width:min(72vw,370px)}
.sw-trip-related-guides .sw-guides-more a+a{margin-left:8px}
