/* Travel-only editorial presentation. The existing theme host still owns the preference. */
body[data-ptj-reader-kind=travel]{--j-ink:var(--ptj-reading-ink,var(--white));--j-muted:var(--ptj-reading-muted,var(--muted));--j-line:var(--ptj-reading-line,var(--line));--j-accent:var(--ptj-reading-accent,var(--gold));font-family:PTJBody,'Noto Sans TC',sans-serif;line-height:1.85}
body[data-jornada] :is(.shell,.events-shell){max-width:1280px;margin-inline:auto;padding-inline:48px}
body[data-jornada] a:hover{text-decoration:none;}
body[data-jornada] :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--j-accent);outline-offset:5px}
body[data-jornada] :is(h1,h2,h3){text-wrap:pretty;overflow-wrap:anywhere}
body[data-jornada] .j-masthead{display:flex;flex-wrap:wrap;gap:0 24px;align-items:center;padding-top:22px;min-height:0;border-bottom:0}
body[data-jornada] .j-masthead .brand{display:flex;align-items:baseline;gap:13px;font:400 27px/1.5 PTJHandTC,cursive;min-height:44px;color:var(--j-ink)}
body[data-jornada] .brand>span{font:11px/1.5 PTJBody,sans-serif;letter-spacing:.08em;color:var(--j-muted)}
body[data-jornada] .j-masthead .brand{flex-shrink:0}
body[data-jornada] .j-masthead .j-breadcrumb{flex:1;min-width:0;margin:0;padding-left:24px;border-left:1px solid var(--j-line);font-size:13px;line-height:1.6;gap:0 10px}
body[data-jornada] .j-masthead .j-breadcrumb>a:first-child{white-space:nowrap}
body[data-jornada] .j-masthead .j-breadcrumb [aria-current]{overflow-wrap:anywhere}
.j-utilities{display:flex;gap:22px;font-size:12px;color:var(--j-muted)}
.j-utilities a{display:inline-flex;align-items:center;min-height:44px}
.j-series-nav{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 38px;padding:11px 0 3px;margin-top:14px;border-top:0;font-size:14px}
.j-series-nav a{display:inline-flex;align-items:center;min-height:48px;position:relative}
.j-series-nav a[aria-current=page]{color:var(--j-accent)}

body[data-jornada] .menu-toggle{display:none}
body[data-jornada] .mobile-nav{display:none!important}
.j-mobile-series{display:none}
.j-breadcrumb{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--j-muted);font-size:12px;margin:20px 0 8px}
.j-breadcrumb a{display:inline-flex;align-items:center;min-height:40px}
.j-breadcrumb>span{align-self:center}
body[data-jornada=home] :is(.hero h1,.frame-tools h1){font-family:PTJBody,'Noto Sans TC',sans-serif;font-weight:400;font-size:clamp(30px,3.8vw,50px);line-height:1.4;letter-spacing:0;color:var(--j-ink);margin:0 0 22px}
body[data-jornada] .hero.j-home-intro h1{font-family:PTJEntryHandTC,PTJHandTC,cursive;font-size:clamp(44px,5vw,66px);line-height:1.35;margin-bottom:18px}
body[data-jornada=home] :is(.pt-hand,.hand-pt){font-family:PTJBody,sans-serif;font-size:12px;letter-spacing:.09em;margin-bottom:16px;color:var(--j-muted)}
.j-kicker{font-size:11px;letter-spacing:.1em;color:var(--j-muted);margin:0 0 15px}
body[data-jornada] .j-home-intro{padding:43px 0 35px;border-bottom:1px solid var(--j-line);margin-bottom:0}
body[data-jornada] .j-home-intro .copy{font-size:16px;line-height:1.9;margin:0;color:var(--j-muted)}
.j-series-label{font-size:11px;line-height:1.6;letter-spacing:.05em;color:var(--j-muted)}
body[data-jornada] .j-go{display:inline-flex;align-items:center;gap:25px;min-height:44px;color:var(--j-accent);font-size:14px}
.j-go span{font-size:20px}
body[data-jornada] .count{position:static;display:block;font-size:12px;text-align:left;color:var(--j-muted)}
body[data-jornada] .count strong{display:inline;font:inherit;margin-right:5px}
body[data-jornada] .frame-tools{border-bottom:1px solid var(--j-line);padding-bottom:20px}
body[data-jornada] .frame-tools h1{font-size:34px;margin-bottom:0;flex:1}
body[data-jornada] .unit-frame{border:0;border-radius:0}
body[data-jornada] .card-picture{border-radius:0}
body[data-jornada] .crumbs{display:none}
/* Existing event lifecycle, filters and modal controls retain their original IDs. */
body[data-jornada=events] .event-dialog{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:30px clamp(20px,6vw,80px) 55px;border-radius:0;border:1px solid var(--j-line);color:var(--j-ink);background:var(--ptj-reading-bg,var(--bg))}
body[data-jornada=events] #dialog-content{max-width:72ch;margin:auto}
body[data-jornada=events] #dialog-content>.holiday-date{display:none}
body[data-jornada=events] #dialog-content h2{font:400 clamp(28px,4vw,42px)/1.4 PTJBody,sans-serif;margin:25px 0}
body[data-jornada=events] #dialog-content>p{font-size:16px;line-height:1.9}
body[data-jornada=events] #dialog-content .dialog-image{max-height:400px;object-fit:contain}
body[data-jornada=events] #dialog-content .j-event-date{font-size:12px;line-height:1.8;color:var(--j-muted);border-top:1px solid var(--j-line);padding-top:22px;margin-top:30px}
body[data-jornada=events] #dialog-close{position:sticky;top:0;margin-left:auto;display:block;min-width:44px;min-height:44px}
@media(max-width:960px){
 body[data-jornada] :is(.shell,.events-shell){padding-inline:30px}
}
@media(max-width:700px){
 body[data-jornada] :is(.shell,.events-shell){padding-inline:22px}
 body[data-jornada] .j-masthead{gap:0 14px;padding-top:16px}
 body[data-jornada] .j-masthead .brand{font-size:25px;gap:10px}
 body[data-jornada] .j-masthead .j-breadcrumb{padding-left:14px;gap:0 6px;font-size:12px}
 .j-utilities{display:flex;grid-column:2;grid-row:1;gap:20px;font-size:12px;justify-content:flex-end;justify-self:end;white-space:nowrap}
 .j-series-nav{gap:0 24px;font-size:12px;margin-top:5px;padding-top:8px}
 .j-series-nav a{min-height:44px}
 body[data-jornada=home] .j-masthead{border-bottom:0;padding-bottom:12px}
 body[data-jornada=home] .j-masthead .j-series-nav{display:none}
 body[data-jornada] .j-home-intro{padding:30px 0 0;border-bottom:0}
 body[data-jornada] .j-home-intro h1{font-size:46px}
 body[data-jornada] .j-home-intro .copy{font-size:14px;line-height:1.9}
 .j-kicker{font-size:10px;letter-spacing:.03em}
 .j-mobile-series{display:flex;flex-wrap:wrap;gap:0 24px;border-block:1px solid var(--j-line);padding:8px 0;margin-top:27px;font-size:13px}
 .j-mobile-series a{display:inline-flex;align-items:center;min-height:44px}
 body[data-jornada] .hero{padding-top:28px}
 body[data-jornada=home] .hero h1{font-size:36px}
 body[data-jornada] .frame-tools h1{font-size:29px}
  body[data-jornada=events] .event-dialog{width:100%;max-height:100dvh;height:100dvh;margin:0;padding:18px 22px 70px;border:0}
}
@media(prefers-reduced-motion:reduce){body[data-jornada] *{scroll-behavior:auto}}

/* Field journal shared chapter v2. New crop/number rules stay inside the travel home. */
@font-face{font-family:'PTJ Chapter Sans';src:url('/fonts/dm-sans/DMSans-VF.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
/* Approved dual-theme roles are scoped to the travel homepage. */
.j-home{--chapter-ink:#FEFEFE;--chapter-body:#FEFEFE;--chapter-summary:#FEFEFE;--chapter-meta:#C3C9B8;--chapter-accent:#C3C9B8;--chapter-outline:color-mix(in srgb,var(--chapter-ink) 20%,transparent)}
html[data-theme=paper] .j-home{--chapter-ink:#0C1038;--chapter-body:#35404C;--chapter-summary:#35404C;--chapter-meta:#35404C;--chapter-accent:#14589C}
/* Full-width photograph at the very top; the existing header sits on it only at home. */
body[data-jornada=home]:has(.j-home) .shell{max-width:none;padding-inline:0}
body[data-jornada=home]:has(.j-home) .j-masthead{position:absolute;inset:0 auto auto 50%;transform:translateX(-50%);width:calc(100% - 96px);max-width:1200px;z-index:3;border:0;color:#F6F1E7}
body[data-jornada=home]:has(.j-home) .j-masthead :is(.brand,.brand>span,.j-breadcrumb,.j-utilities,.j-series-nav){color:#E6E6E6;border-color:transparent}
body[data-jornada=home]:has(.j-home) .j-masthead .j-series-nav{border:0;margin-top:4px}
body[data-jornada=home] .j-home .j-home-hero{position:relative;isolation:isolate;display:block;width:100%;height:auto;min-height:0;padding:0;margin:0;border:0;overflow:visible;color:#F6F1E7}
.j-hero-photo{position:relative;width:100%}
.j-hero-picture{display:block}
.j-hero-image{position:static;display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.j-hero-shade{position:absolute;inset:0;pointer-events:none}

.j-hero-shade{background:linear-gradient(180deg,rgba(17,17,17,.64),rgba(17,17,17,.5) 140px,transparent 270px)}
.j-hero-content{position:absolute;top:clamp(190px,22vw,360px);left:max(48px,calc((100% - 1200px)/2));width:calc(100% - 96px);max-width:950px;isolation:isolate}
/* Title sits directly on the photograph; no bounded reading veil or panel. */
.j-hero-content:before{content:none}
/* The full photograph meets the reading background without an extension. */
.j-hero-transition{display:none}
body[data-jornada=home] .j-home .j-home-hero h1{font:400 clamp(96px,10vw,156px)/1.2 PTJEntryHandTC,PTJHandTC,cursive;letter-spacing:0;max-width:100%;margin:18px 0 6px;color:#FCFFFF;text-wrap:balance}
.j-home-hero .j-kicker{margin:0;display:flex;align-items:center;gap:24px;font:650 13px/1.7 'PTJ Chapter Sans',PTJBody,sans-serif;letter-spacing:.16em;color:#DDE2D5;text-transform:uppercase}
.j-home-hero .j-kicker:before{content:none}
body[data-jornada=home] .j-home .j-home-hero .copy{font:400 16px/1.85 PTJBody,sans-serif;color:#F6F1E7;max-width:36em;margin:0}
.j-hero-series{display:flex;gap:4px 30px;flex-wrap:wrap;margin-top:34px;font-size:16px;color:#F6F1E7}
.j-hero-series a{display:inline-flex;align-items:center;gap:10px;min-height:44px}
.j-hero-credit{position:absolute;bottom:18px;right:max(32px,calc((100% - 1200px)/2));margin:0;font-size:11px;color:#F6F1E7}
.j-home .j-chapters,.j-home .j-pocket,body[data-jornada=home]:has(.j-home) .footer{width:calc(100% - 96px);max-width:1200px;margin-inline:auto}
.j-home .j-chapters{padding-block:60px;color:var(--chapter-body)}
body[data-jornada=home] .j-home .j-chapter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:'heading photo' 'story photo';grid-template-rows:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(36px,4vw,56px);row-gap:26px;align-items:start;position:relative;min-height:0;padding:62px 0;border:0;border-radius:0;background:transparent}
body[data-jornada=home] .j-home .j-chapter--photo-left{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:'photo heading' 'photo story'}
.j-home .j-chapter-heading{grid-area:heading;position:relative;isolation:isolate;min-width:0;display:block;padding:0;min-height:0;align-self:end}
.j-home .j-chapter-foreground{position:relative;z-index:1;min-width:0}
.j-home .j-chapter-pt{font:650 13px/1.8 'PTJ Chapter Sans',PTJBody,sans-serif;letter-spacing:.15em;color:var(--chapter-accent);margin:0 0 18px}
body[data-jornada=home] .j-home .j-chapter h2{font:400 clamp(40px,3.65vw,52px)/1.4 PTJBody,sans-serif;letter-spacing:0;margin:0;color:var(--chapter-ink);overflow-wrap:anywhere;text-wrap:pretty}
.j-home .j-chapter-story{grid-area:story;min-width:0;align-self:start;padding:0}
.j-home .j-chapter-story>p{font:400 16px/1.7 PTJBody,sans-serif;letter-spacing:0;color:var(--chapter-summary);margin:0 0 22px;max-width:30em}
.j-home .j-chapter-story .j-go{color:var(--chapter-body);font-size:14px;text-decoration:none}
.j-home .j-chapter-story>.j-chapter-count{font-size:12px;margin:20px 0 0}
.j-chapter-photo{grid-area:photo;min-width:0;margin:0;text-align:center;align-self:center}
.j-chapter-photo img{display:block;width:100%;height:430px;object-fit:contain;object-position:center;filter:none}
.j-chapter-photo figcaption{font-size:11px;line-height:1.7;color:var(--chapter-meta);margin-top:12px;text-align:center}
.j-home .j-chapter .j-chapter-photo{align-self:center;margin-top:0}
.j-home .j-chapter .j-chapter-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:var(--chapter-photo-focus,50% 50%)}
body[data-jornada=home] .j-home .j-chapter--text,body[data-jornada=home] .j-home .j-chapter--text:nth-child(even){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:'heading' 'story';align-items:start}
.j-home .j-chapter--text .j-chapter-story{padding:0}
.j-pocket{display:flex;align-items:center;gap:20px 32px;flex-wrap:wrap;padding:26px 0}
.j-pocket p{font-size:13px;color:var(--j-muted);margin:0;flex:1}
/* Series indexes retain their original natural-photo layouts. */
@media(max-width:960px){
 body[data-jornada=home]:has(.j-home) .j-masthead,.j-home .j-chapters,.j-home .j-pocket,body[data-jornada=home]:has(.j-home) .footer{width:calc(100% - 60px)}
 .j-hero-content{left:30px;width:calc(100% - 60px)}
 body[data-jornada=home] .j-home .j-chapter{column-gap:48px;padding-block:48px}
 .j-home .j-chapter-heading{padding:0}
 .j-home .j-chapter-story{padding:0}
}
@media(max-width:700px){
 body[data-jornada=home]:has(.j-home) .j-masthead,.j-home .j-chapters,.j-home .j-pocket,body[data-jornada=home]:has(.j-home) .footer{width:calc(100% - 44px)}
 body[data-jornada=home] .j-home .j-home-hero{height:auto;min-height:0;padding:0}

 .j-hero-shade{display:none}
 body[data-jornada=home] .j-home .j-home-hero h1{font-size:clamp(62px,17.4vw,82px);line-height:1.35;margin-block:18px 6px}
 body[data-jornada=home] .j-home .j-home-hero .copy{font-size:14px;line-height:1.85}
 .j-home-hero .j-kicker{letter-spacing:.1em}
 .j-hero-series{font-size:14px;column-gap:20px;row-gap:2px;margin-top:24px}
 .j-hero-credit{right:22px;bottom:16px;font-size:10px}
 .j-home .j-chapters{padding-block:22px}
 body[data-jornada=home] .j-home .j-chapter,body[data-jornada=home] .j-home .j-chapter--photo-left,body[data-jornada=home] .j-home .j-chapter--text,body[data-jornada=home] .j-home .j-chapter--text:nth-child(even){grid-template-columns:minmax(0,1fr);grid-template-areas:'heading' 'photo' 'story';grid-template-rows:auto auto auto;gap:0;padding:36px 0 42px}
 .j-home .j-chapter-heading{min-height:0;padding:0}
 .j-home .j-chapter-pt{letter-spacing:.13em;margin-bottom:14px}
 body[data-jornada=home] .j-home .j-chapter h2{font-size:34px;line-height:1.5}
 .j-home .j-chapter .j-chapter-photo{margin-top:24px}
 .j-home .j-chapter-story,.j-home .j-chapter--text .j-chapter-story{padding:24px 0 0}
 .j-home .j-chapter-story>p{font-size:16px;line-height:1.7;margin-bottom:20px}
 .j-home .j-chapter-photo figcaption{font-size:10px;margin-top:8px}
 .j-pocket{display:grid;grid-template-columns:1fr;gap:6px;padding-block:24px}
 .j-pocket p{font-size:12px}
}
/* Static first: no chapter opacity or scroll-dependent visibility is applied. */

/* Override legacy masthead rules that hid the final link on narrow screens. */
body[data-jornada] .j-masthead .j-series-nav,body[data-jornada] .j-masthead .j-utilities{margin-left:0;min-width:0;flex-wrap:wrap}
body[data-jornada] .j-masthead nav a:last-child{display:inline-flex}
@media(max-width:700px){
 body[data-jornada] .j-masthead .j-utilities{grid-column:2;grid-row:1;justify-self:end;justify-content:flex-end;flex-wrap:nowrap;gap:20px}
 body[data-jornada] .j-masthead .j-series-nav{gap:0 24px;justify-content:flex-start;width:100%}
}




.j-home .j-chapter-photo-link{display:block}

/* Brand hierarchy: existing handwritten wordmark and clear series roles. */
body[data-jornada] .j-masthead .brand{font-family:PTJHandTC,cursive;font-size:32px;letter-spacing:0;text-decoration:none}
body[data-jornada] .j-masthead .brand:hover{text-decoration:none}
body[data-jornada] .j-series-nav{font:500 15px/1.7 PTJBody,sans-serif}
body[data-jornada] .j-series-nav a{color:var(--j-ink)}
body[data-jornada] .j-series-nav a[aria-current=page]{color:var(--j-accent)}
body[data-jornada=home]:has(.j-home) .j-series-nav a{color:#F6F1E7}
body[data-jornada=home]:has(.j-home) .j-series-nav a:hover{color:#F1C263}
body[data-jornada=home]:has(.j-home) .j-section{font-size:12px;letter-spacing:0}
body[data-jornada=home] .j-home .j-chapter h2{font-family:PTJEntryHandTC,PTJHandTC,cursive;font-size:clamp(64px,5.4vw,78px);line-height:1.25}
.j-home .j-chapter-pt{font-weight:650}
.j-home .j-chapter-story .j-go{font-size:16px;font-weight:500;gap:20px}
.j-home .j-chapter-story>.j-chapter-count{color:var(--chapter-meta);font-size:11px}
.j-home .j-hero-series{display:none}
@media(max-width:700px){
 body[data-jornada] .j-masthead .brand{font-size:30px}
 body[data-jornada] .j-series-nav{font-size:13px}
 .j-home .j-hero-series{display:flex}
 body[data-jornada=home] .j-home .j-chapter h2{font-size:50px;line-height:1.3}
}

/* The restaurant is an existing teaching-unit preview, never an embedded practice runtime. */
.j-home .j-unit-preview>a{display:grid;grid-template-rows:auto minmax(0,1fr) auto;aspect-ratio:4/3;overflow:hidden;background:var(--ptj-reading-surface,var(--card));color:var(--chapter-ink);text-align:left}
.j-unit-preview-top{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:18px 22px}
.j-unit-preview-top>span{font-size:11px;color:var(--chapter-meta)}
.j-unit-preview-top strong{font:500 24px/1.4 'PTJ Chapter Sans',PTJBody,sans-serif}
.j-home .j-chapter .j-unit-preview img{height:100%;width:100%;min-height:0;aspect-ratio:auto;object-fit:cover;object-position:50% 60%}
.j-unit-preview-bottom{display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:10px 22px;font-size:14px;color:var(--chapter-body)}

.j-home .j-chapter-photo .j-preview-disclosure{margin-top:10px;font-size:10px;color:var(--chapter-meta)}
/* Existing public event data, scrolling upward through a soft mask. */
.j-home .j-events-preview{aspect-ratio:4/3;background:var(--ptj-reading-surface,var(--card));padding:18px 24px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;text-align:left;overflow:hidden}
.j-ticker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:12px;color:var(--chapter-meta)}
.j-ticker-heading button{font:12px/1.5 PTJBody,sans-serif;min-height:44px;border:0;padding:8px 0 8px 14px;background:transparent;color:var(--chapter-body)}
.j-ticker-window{min-height:0;overflow-y:auto}
.j-ticker-track{will-change:auto}
.j-ticker-list{list-style:none;padding:0;margin:0}
.j-ticker-list li{padding:24px 0;min-height:122px;box-sizing:border-box}
.j-ticker-list a{display:block;min-height:66px}
.j-ticker-meta{display:flex;flex-wrap:wrap;gap:4px 15px;font:11px/1.7 PTJBody,sans-serif;color:var(--chapter-meta);margin:0 0 9px}
.j-ticker-list h3{font:400 clamp(20px,2vw,25px)/1.5 'PTJ Chapter Sans',PTJBody,sans-serif;color:var(--chapter-ink);margin:0;text-wrap:pretty}
.j-ticker-status{font-size:12px;color:var(--chapter-meta);margin:5px 0 0}
.j-ticker-empty{font-size:14px;line-height:1.8;color:var(--chapter-summary)}
.j-ticker-copy{display:none}
@media(prefers-reduced-motion:no-preference){
 .j-events-preview[data-enhanced=true] .j-ticker-window{overflow:hidden;mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}
 .j-events-preview[data-enhanced=true] .j-ticker-copy{display:block}
 .j-events-preview[data-enhanced=true]:has(.j-ticker-copy) .j-ticker-track{animation-name:j-ticker-up;animation-duration:var(--ticker-duration,48s);animation-timing-function:linear;animation-iteration-count:infinite;will-change:transform}
 .j-events-preview[data-paused=true] .j-ticker-track,.j-events-preview:hover .j-ticker-track{animation-play-state:paused}
 .j-events-preview:focus-within .j-ticker-track{animation:none!important;transform:none}
 .j-events-preview:focus-within .j-ticker-copy{display:none}
 .j-events-preview:focus-within .j-ticker-window{overflow-y:auto;mask-image:none;-webkit-mask-image:none}
 @keyframes j-ticker-up{from{transform:translateY(0)}to{transform:translateY(-50%)}}
}
@media(prefers-reduced-motion:reduce){.j-events-preview [data-j-ticker-pause]{display:none}.j-events-preview .j-ticker-copy{display:none}}
@media(max-width:700px){
 .j-unit-preview-top{padding:12px 16px;gap:10px;align-items:center}
 .j-unit-preview-top strong{font-size:20px}
 .j-unit-preview-top>span{font-size:10px;max-width:5em}
 .j-unit-preview-bottom{padding-inline:16px;font-size:12px;min-height:44px}
 .j-home .j-events-preview{padding:10px 18px}
 .j-ticker-list li{padding:18px 0;min-height:115px}
 .j-ticker-list h3{font-size:21px}
}

.j-home .j-chapter-photo .j-unit-preview-description{margin-top:12px;font:13px/1.7 PTJBody,sans-serif;color:var(--chapter-summary);text-align:left}

/* Translucent event sheet: retain semantic text contrast and a solid fallback. */
body[data-jornada=events] .event-dialog{--event-sheet:rgba(25,26,25,.84);background:var(--event-sheet);color:var(--ptj-reading-ink);border:1px solid rgba(246,241,231,.18);border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.22),inset 0 1px 0 rgba(246,241,231,.09);padding:28px clamp(22px,4vw,48px);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
html[data-theme=paper] body[data-jornada=events] .event-dialog{--event-sheet:rgba(246,241,231,.86);border-color:rgba(104,82,25,.20);box-shadow:0 24px 80px rgba(40,36,33,.14),inset 0 1px 0 rgba(255,255,255,.7)}
body[data-jornada=events] .event-dialog::backdrop{background:rgba(17,17,17,.32);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
html[data-theme=paper] body[data-jornada=events] .event-dialog::backdrop{background:rgba(40,36,33,.16)}
body[data-jornada=events] .dialog-top{margin-bottom:22px}
body[data-jornada=events] .dialog-top button{border:1px solid var(--ptj-reading-line);border-radius:var(--ptj-control-radius,9999px);background:transparent;padding:8px 16px;min-height:44px}
body[data-jornada=events] .event-dialog h2{font-size:clamp(32px,3.5vw,44px);line-height:1.2;margin:18px 0 26px}
body[data-jornada=events] .event-dialog dt{color:var(--ptj-reading-muted)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body[data-jornada=events] .event-dialog{background:var(--ptj-reading-bg)}}
@media(prefers-reduced-transparency:reduce){body[data-jornada=events] .event-dialog{background:var(--ptj-reading-bg);backdrop-filter:none;-webkit-backdrop-filter:none}body[data-jornada=events] .event-dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(max-width:700px){body[data-jornada=events] .event-dialog{border-radius:12px;padding:18px 20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box}}

.j-home-hero .j-kicker{gap:16px}
@media(max-width:700px){.j-home-hero .j-kicker{gap:12px}}

/* Full, uncropped city photograph preserves its original portrait composition. */
.j-home .j-chapter .j-chapter-photo--natural img{height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
@media(min-width:701px){body[data-jornada=home] .j-home .j-chapter{padding-block:50px}.j-home .j-chapter-heading{max-width:100%}.j-home .j-chapter--text .j-chapter-story{padding-top:0}}

@media(max-width:700px){body[data-jornada] .j-masthead .brand{grid-column:1;grid-row:1}}

/* Dates and places share a neutral metadata role; series labels own the accent. */
.j-home :is(.j-ticker-date,.j-ticker-place){color:var(--chapter-meta)}

/* The language index keeps text navigation without a lower divider. */
body[data-jornada=home]:has(#language-catalog) .j-masthead{border-bottom:0}

/* Shared index title: the approved events Mandarin/Portuguese lockup. */
@font-face{font-family:PTJSeriesPT;src:url('/fonts/cormorant-garamond/CormorantGaramond-VF.ttf') format('truetype');font-display:swap}
body[data-jornada][data-ptj-reader-kind=travel] .j-series-title-lockup{min-width:0;margin:0 0 24px}
body[data-jornada][data-ptj-reader-kind=travel] .j-series-title-lockup h1{font-family:PTJHandTC,cursive;font-size:56px;font-weight:400;line-height:1.15;letter-spacing:.035em;margin:0;text-align:left}
body[data-jornada][data-ptj-reader-kind=travel] .j-series-title-lockup .j-series-pt-title{font-family:PTJSeriesPT,serif;font-size:15px;font-weight:400;line-height:1.3;letter-spacing:.08em;color:var(--j-muted);margin:3px 0 0}
body[data-jornada][data-ptj-reader-kind=travel] .events-intro .j-series-title-lockup{margin-bottom:0}
body[data-jornada][data-ptj-reader-kind=travel] .directory-head:has(.j-series-title-lockup){display:block}
@media(max-width:700px){body[data-jornada][data-ptj-reader-kind=travel] .j-series-title-lockup h1{font-size:44px;line-height:1.35}body[data-jornada][data-ptj-reader-kind=travel] .j-series-title-lockup .j-series-pt-title{font-size:13px;margin-top:2px}}

/* One calm route brief combines its story, references and complete station order. */
body[data-jornada=camino] .j-route-brief{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:28px 48px;margin:28px 0 20px;padding:clamp(22px,3vw,40px);background:rgba(156,167,165,.065);border:0;border-radius:2px;color:var(--j-ink)}
body[data-jornada=camino] .route-brief-heading h2{font:400 25px/1.45 PTJBody,sans-serif;color:var(--j-ink);margin:0 0 10px}
body[data-jornada=camino] .route-brief-updated{font-size:11px;line-height:1.6;color:var(--j-muted);margin:0 0 24px}
body[data-jornada=camino] .route-brief-history{font-size:15px;line-height:1.95;color:var(--j-muted);margin:0 0 22px;max-width:58ch}
body[data-jornada=camino] .route-brief-reference{font-size:13px;line-height:1.9;color:var(--j-muted);margin:0 0 22px}
body[data-jornada=camino] .route-brief-reference strong{font-weight:400;color:var(--j-accent);margin-right:5px}
body[data-jornada=camino] .route-profile-sources{font-size:12px;line-height:1.85;color:var(--j-muted)}
body[data-jornada=camino] .route-profile-sources summary{display:inline-flex;align-items:center;min-height:44px;color:var(--j-accent);cursor:pointer}
body[data-jornada=camino] .route-profile-sources summary::before{content:'＋';margin-right:8px}
body[data-jornada=camino] .route-profile-sources[open] summary::before{content:'−'}
body[data-jornada=camino] .route-profile-sources summary::marker{content:''}
body[data-jornada=camino] .route-profile-sources a{text-decoration:none;}
body[data-jornada=camino] .route-source-date{font-size:11px}
body[data-jornada=camino] .route-brief-itinerary h3{font:500 14px/1.6 PTJBody,sans-serif;color:var(--j-accent);margin:2px 0 12px}
body[data-jornada=camino] .route-brief-range{font:400 25px/1.5 PTJSeriesPT,serif;color:var(--j-ink);margin:0 0 20px}
body[data-jornada=camino] .route-station-order{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 26px;list-style:decimal-leading-zero;padding:0 0 0 1.7em;margin:0;font:400 13px/1.65 PTJBody,sans-serif}
body[data-jornada=camino] .route-station-order li{padding-left:3px;min-width:0}
body[data-jornada=camino] .route-station-order li::marker{color:var(--j-accent);font-size:10px}
body[data-jornada=camino] .route-station-order a{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere;color:var(--j-ink)}
body[data-jornada=camino] .route-result-count{font-size:12px;color:var(--j-muted);margin:12px 0 24px;text-align:right}
@media(max-width:1000px){body[data-jornada=camino] .j-route-brief{grid-template-columns:1fr;gap:28px}body[data-jornada=camino] .route-station-order{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){body[data-jornada=camino] .j-route-brief{padding:22px 18px;margin-top:22px}body[data-jornada=camino] .route-brief-heading h2{font-size:22px}body[data-jornada=camino] .route-brief-history{font-size:14px}body[data-jornada=camino] .route-brief-range{font-size:23px}body[data-jornada=camino] .route-station-order{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}}
body[data-jornada] .j-home .j-unit-preview>a,
body[data-jornada] .j-home .j-unit-preview>a:is(:hover,:focus-visible){text-decoration:none}
body[data-jornada] .j-home .j-unit-preview>a:is(:hover,:focus-visible) .j-unit-preview-bottom>span{text-decoration:none}

/* Camino navigation keeps the reading flow open on its index and station pages. */
body[data-jornada=camino] .j-masthead{border-bottom:0}
body[data-jornada=camino]:has(.station-prose) .page-end{border-top:0}
body[data-jornada=camino] .j-series-nav a[aria-current=page]{text-decoration:none}

/* At narrow widths, the full photograph and its title each have their own space. */
@media(max-width:700px){
 body[data-jornada=home]:has(.j-home) .j-masthead{position:relative;inset:auto;transform:none;margin-inline:auto;padding-bottom:16px;color:var(--j-ink)}
 body[data-jornada=home]:has(.j-home) .j-masthead :is(.brand,.brand>span,.j-breadcrumb,.j-utilities,.j-series-nav){color:var(--j-ink)}
 .j-hero-content{position:relative;inset:auto;width:auto;max-width:none;margin:0;padding:30px 22px 20px;color:var(--chapter-body)}
 .j-hero-content:before{content:none}
 body[data-jornada=home] .j-home .j-home-hero h1{font-size:clamp(48px,12.8vw,76px);line-height:1.4;color:var(--chapter-ink);margin:14px 0 4px}
 /* On mobile the subtitle is below the photo, so use the solid-surface accent. */
 .j-home-hero .j-kicker{color:var(--chapter-accent);letter-spacing:.09em;line-height:1.9}
 .j-home .j-hero-series{color:var(--chapter-body);margin-top:14px;column-gap:22px;row-gap:4px;font-size:14px}
 .j-home .j-hero-series a{min-height:44px}
}

/* Travel reading roles now follow the current Blog palette. Event accents are independent. */
body[data-jornada]:not([data-jornada="events"]) {
 --ptj-reading-bg:#F6F6F7;--ptj-reading-surface:#F6F6F7;
 --ptj-reading-ink:#3E474A;--ptj-reading-title:#3E474A;--ptj-reading-muted:#3E474A;
 --ptj-reading-accent:#3E474A;--ptj-reading-line:color-mix(in srgb,#3E474A 22%,#F6F6F7);
 --bg:var(--ptj-reading-bg);--card:var(--ptj-reading-surface);--white:var(--ptj-reading-title);
 --cream:var(--ptj-reading-ink);--champagne:var(--ptj-reading-title);--editorial-title:var(--ptj-reading-title);
 --muted:var(--ptj-reading-muted);--pale:var(--ptj-reading-muted);--line:var(--ptj-reading-line);
 --gold:var(--ptj-reading-accent);--j-ink:var(--ptj-reading-ink);--j-muted:var(--ptj-reading-muted);
 --j-accent:var(--ptj-reading-accent);--j-line:var(--ptj-reading-line);
}
html[data-theme="dark"] body[data-jornada]:not([data-jornada="events"]) {
 --ptj-reading-bg:#040706;--ptj-reading-surface:color-mix(in srgb,#C09350 12%,#040706);
 --ptj-reading-ink:#FFFDFF;--ptj-reading-title:#FFFDFF;--ptj-reading-muted:#C09350;
 --ptj-reading-accent:#C09350;--ptj-reading-line:color-mix(in srgb,#FFFDFF 22%,#040706);
}

/* Reserve the document-top action area even when reader actions load later. */
html body[data-jornada][data-ptj-simple-header] :is(.shell,.events-shell) > .j-masthead {padding-right:100px;align-items:flex-start}
@media(min-width:761px) {html body[data-jornada][data-ptj-simple-header] :is(.shell,.events-shell) > .j-masthead {padding-right:112px;align-items:center}}

html body[data-jornada][data-ptj-simple-header] .j-masthead > .brand {max-width:none;white-space:nowrap}
