/* Japan only: the About travel notebook, used quietly beside the opening. */
[data-country="japan"] .japan-notebook{margin:0;max-width:100%;mix-blend-mode:multiply}
[data-country="japan"] .japan-notebook img{display:block;width:100%;height:100%;object-fit:contain}
[data-country="japan"] .country-cover>div>.japan-notebook{width:300px;height:150px;margin-top:24px}
[data-country="japan"] .country-topic-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:32px;align-items:start}
[data-country="japan"] .country-topic-hero>.guide-eyebrow{grid-column:1/-1}
[data-country="japan"] .country-topic-hero>h1,[data-country="japan"] .country-topic-hero>.guide-lead{grid-column:1}
[data-country="japan"] .country-topic-hero>.japan-notebook{grid-column:2;grid-row:2/4;width:220px;height:110px;align-self:center}
@media(max-width:640px){
 [data-country="japan"] .country-cover>div>.japan-notebook{width:260px;height:130px;margin-top:18px}
 [data-country="japan"] .country-topic-hero{grid-template-columns:1fr;row-gap:12px}
 [data-country="japan"] .country-topic-hero>.japan-notebook{grid-column:1;grid-row:auto;width:180px;height:90px;justify-self:start;margin:0}
}

/* One opening image, then the practical guide; the original journey image follows the answers. */
.country-edition[data-country="japan"][data-country-page=""]{display:flex;flex-direction:column}
[data-country="japan"] .country-cover{display:contents}
[data-country="japan"] .country-cover>div{display:grid;grid-template-columns:minmax(0,1fr) 350px;column-gap:48px;row-gap:16px;align-items:center;margin:12px 0 22px}
[data-country="japan"] .country-cover>div>.guide-eyebrow{grid-column:1/-1;margin:0}
[data-country="japan"] .country-cover>div>h1{grid-column:1;margin:0!important}
[data-country="japan"] .country-cover>div>.country-cover-deck{grid-column:1;margin:0;max-width:34ch}
[data-country="japan"] .country-cover>div>.japan-notebook{grid-column:2;grid-row:2/4;width:350px;height:175px;margin:0}
[data-country="japan"] .country-features{order:1}
[data-country="japan"] .country-cover>figure{order:2;margin:32px 0 0;max-width:760px;align-self:center;width:100%}
[data-country="japan"] .country-cover>figure img{height:auto;aspect-ratio:16/7;object-fit:cover}
[data-country="japan"] .country-checklist{order:3;width:100%;box-sizing:border-box}
[data-country="japan"] .guide-editor-note{order:4}
[data-country="japan"] .country-introduction{margin:0 0 8px}
[data-country="japan"] .country-page-nav{margin-bottom:24px}
[data-country="japan"] .country-topic-hero{padding:0 0 22px;column-gap:28px}
[data-country="japan"] .country-topic-hero>h1{margin:10px 0 14px!important}
[data-country="japan"] .country-topic-hero>.guide-lead{margin:0;line-height:1.5}
[data-country="japan"] .country-topic-hero>.japan-notebook:has(img[src*="-internet-"]){position:relative;height:164px;overflow:hidden}
[data-country="japan"] .country-topic-hero>.japan-notebook:has(img[src*="-internet-"]) img{position:absolute;left:50%;top:50%;width:145%;height:145%;max-width:none;transform:translate(-50%,-50%)}
@media(max-width:640px){
 [data-country="japan"] .country-cover>div{grid-template-columns:1fr;row-gap:16px;margin:10px 0 20px}
 [data-country="japan"] .country-cover>div>.japan-notebook{grid-column:1;grid-row:auto;width:260px;height:130px;margin:0}
 [data-country="japan"] .country-cover>figure{margin-top:24px}
 [data-country="japan"] .country-cover>figure img{aspect-ratio:16/9}
 [data-country="japan"] .country-page-nav{margin-top:16px;margin-bottom:20px}
 [data-country="japan"] .country-topic-hero{row-gap:10px;padding-bottom:16px}
 [data-country="japan"] .country-topic-hero>h1{margin:6px 0 8px!important}
 [data-country="japan"] .country-topic-hero>.japan-notebook:has(img[src*="-internet-"]){height:134px}
}

/* Japan overview: geographic orientation rather than repeated topic summaries. */
[data-country="japan"] .jp-overview-content{order:1}
[data-country="japan"] .jp-overview-content>section{padding:32px 0;border-bottom:1px solid #cbd3c5}
[data-country="japan"] .jp-overview-content h2{font:400 36px/1.15 Georgia,serif;margin:8px 0 18px}
[data-country="japan"] .jp-overview-content header>p:last-child{max-width:60ch}
[data-country="japan"] .jp-arrival-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:start}
[data-country="japan"] .jp-arrival-layout figure{margin:0}
[data-country="japan"] .jp-geography-map{display:block;width:100%;height:auto;max-width:540px;margin:auto}
[data-country="japan"] .jp-geography-map a:focus{outline:2px solid #ab870e}
[data-country="japan"] .jp-arrival-layout figcaption{font-size:11px;line-height:1.6;color:#697362;margin:4px 0 0}
[data-country="japan"] .jp-arrival-regions{display:grid;grid-template-columns:1fr 1fr;gap:24px 20px;padding-top:20px}
[data-country="japan"] .jp-arrival-regions section{border-top:1px solid #cbd3c5;padding-top:14px;min-width:0}
[data-country="japan"] .jp-arrival-regions h3{font:400 23px/1.2 Georgia,serif;margin:0 0 5px}
[data-country="japan"] .jp-arrival-regions p{font-size:13px;color:#5b675b;margin:0 0 12px;line-height:1.5}
[data-country="japan"] .jp-arrival-regions a{display:block;padding:5px 0;font-size:14px;line-height:1.6;text-underline-offset:4px}
[data-country="japan"] .jp-arrival-regions strong{font-size:12px;letter-spacing:.08em;margin-right:6px}
[data-country="japan"] .jp-arrival-regions small{display:block;font-size:12px;line-height:1.6;color:#5b675b;margin-top:8px}
[data-country="japan"] .jp-peak-grid,[data-country="japan"] .jp-essential-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}
[data-country="japan"] .jp-essential-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-country="japan"] .jp-peak-grid>div,[data-country="japan"] .jp-essential-grid>div{border-top:2px solid #cead35;padding-top:14px}
[data-country="japan"] .jp-overview-content dt{font-weight:600;font-size:17px;margin:0 0 8px}
[data-country="japan"] .jp-overview-content dd{font-size:15px;line-height:1.65;margin:0}
@media(max-width:760px){
 [data-country="japan"] .jp-arrival-layout{grid-template-columns:1fr;gap:14px}
 [data-country="japan"] .jp-arrival-regions{padding-top:0}
 [data-country="japan"] .jp-overview-content>section{padding:24px 0}
 [data-country="japan"] .jp-overview-content h2{font-size:29px}
 [data-country="japan"] .jp-peak-grid{grid-template-columns:1fr;gap:18px}
 [data-country="japan"] .jp-essential-grid{gap:20px 16px}
 [data-country="japan"] .jp-overview-content dd{font-size:14px}
}

/* Compact Japan overview; topic pages keep their accepted reading layout. */
[data-country="japan"][data-country-page=""]{padding-top:24px}
[data-country="japan"][data-country-page=""]>.reading-breadcrumb{margin-bottom:16px}
[data-country="japan"][data-country-page=""] .country-cover>div{grid-template-columns:minmax(0,1fr) 300px;column-gap:36px;row-gap:10px;margin:0 0 16px}
[data-country="japan"][data-country-page=""] .country-cover h1{font-size:76px!important;line-height:1!important}
[data-country="japan"][data-country-page=""] .country-cover h1 span{display:inline;font-size:38px;margin:0 0 0 12px}
[data-country="japan"][data-country-page=""] .country-cover-deck{font-size:20px;line-height:1.5;max-width:38ch}
[data-country="japan"][data-country-page=""] .country-cover>div>.japan-notebook{width:300px;height:150px}
[data-country="japan"][data-country-page=""] .country-page-nav{margin:12px 0 12px;padding:8px 0}
[data-country="japan"][data-country-page=""] .jp-overview-content .guide-eyebrow{display:none}
[data-country="japan"][data-country-page=""] .jp-overview-content>section{padding:24px 0}
[data-country="japan"][data-country-page=""] .jp-overview-content h2{margin:0 0 14px}
[data-country="japan"][data-country-page=""] .jp-geography-map a,[data-country="japan"][data-country-page=""] .jp-geography-map text{color:#24442d;fill:#24442d}
[data-country="japan"][data-country-page=""] .jp-peak-grid{gap:24px;margin:18px 0}
[data-country="japan"][data-country-page=""] .jp-essential-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:20px 0}
[data-country="japan"][data-country-page=""] .jp-essential-grid>div{border:0;padding:0}
[data-country="japan"][data-country-page=""] .jp-essential-grid>div+div{border-left:1px solid #cbd3c5;padding-left:20px}
[data-country="japan"][data-country-page=""] .jp-essential-grid dt{font-size:15px;margin-bottom:8px}
[data-country="japan"][data-country-page=""] .jp-essential-grid dd{font-size:14px;line-height:1.6}
@media(max-width:760px){
 [data-country="japan"][data-country-page=""]{padding-top:18px}
 [data-country="japan"][data-country-page=""] .country-cover>div{grid-template-columns:minmax(0,1fr) 230px;gap:10px 24px}
 [data-country="japan"][data-country-page=""] .country-cover h1{font-size:64px!important}
 [data-country="japan"][data-country-page=""] .country-cover h1 span{font-size:32px}
 [data-country="japan"][data-country-page=""] .country-cover>div>.japan-notebook{width:230px;height:115px}
 [data-country="japan"][data-country-page=""] .jp-essential-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
 [data-country="japan"][data-country-page=""] .jp-essential-grid>div+div{border:0;padding-left:0}
 [data-country="japan"][data-country-page=""] .jp-peak-grid{gap:16px}
}
@media(max-width:600px){
 [data-country="japan"][data-country-page=""] .country-cover>div{grid-template-columns:1fr;gap:10px;margin-bottom:12px}
 [data-country="japan"][data-country-page=""] .country-cover h1{font-size:60px!important}
 [data-country="japan"][data-country-page=""] .country-cover h1 span{font-size:30px;margin-left:10px}
 [data-country="japan"][data-country-page=""] .country-cover-deck{font-size:18px}
 [data-country="japan"][data-country-page=""] .country-cover>div>.japan-notebook{grid-column:1;grid-row:auto;width:210px;height:105px}
 [data-country="japan"][data-country-page=""] .country-page-nav{gap:0 18px;margin:10px 0;padding:4px 0}
 [data-country="japan"][data-country-page=""] .jp-overview-content>section{padding:20px 0}
}
