/*
Theme Name: World Stories
Description: 世界の物語を、短文と余白で読むミニマルなテーマ。
Version: 0.4.4
Text Domain: world-stories
License: GNU General Public License v2 or later
*/
:root{--paper:#f8f7f2;--ink:#282e29;--muted:#626d63;--line:#d8ddd3;--accent:#47644e}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:16px;line-height:1.9}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:6px}.wrap{width:min(1080px,calc(100% - 80px));margin:auto}.site-header{display:flex;justify-content:space-between;align-items:center;padding:32px 0;border-bottom:1px solid var(--line);gap:24px}.brand{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:21px;letter-spacing:.12em}.site-nav{display:flex;gap:30px;font-size:13px}.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--muted);font-weight:500}.intro{padding:90px 0 76px}.intro h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(32px,4vw,48px);line-height:1.65;font-weight:400;letter-spacing:.09em;margin:18px 0 22px}.intro p{font-size:14px;color:var(--muted);margin:0}.section-label{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:16px;font-size:12px;color:var(--muted)}.featured{display:grid;grid-template-columns:1fr 2fr;gap:64px;padding:48px 0 64px;border-bottom:1px solid var(--line)}.place{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:28px;font-weight:400;margin:8px 0}.place-note{font-size:12px;color:var(--muted)}h2,h3{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400}.featured h2{font-size:32px;margin:0 0 22px;line-height:1.6;letter-spacing:.05em}.featured p{font-size:15px;margin:0 0 28px;max-width:34em}.read-link{font-size:13px;display:inline-block;border-bottom:1px solid var(--accent);padding:4px 0}.read-link span{margin-left:32px}.stories{padding:52px 0 70px}.story-row{display:grid;grid-template-columns:160px 1fr 24px;gap:24px;align-items:center;padding:27px 0;border-bottom:1px solid var(--line)}.story-row h2{font-size:22px;margin:0;line-height:1.6}.story-row .country{font-size:12px;color:var(--muted)}.arrow{color:var(--accent)}.about{padding:55px 0 70px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 2fr;gap:64px}.about h2{font-size:21px;margin:0}.about p{font-size:14px;max-width:38em;margin:0 0 16px}.site-footer{border-top:1px solid var(--line);padding:25px 0 40px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}.reading{max-width:660px;margin:0 auto;padding:75px 0 90px}.reading h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400;font-size:clamp(28px,4vw,38px);line-height:1.65;letter-spacing:.05em;margin:20px 0 60px}.entry-content{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:18px;line-height:2.15;overflow-wrap:anywhere}.entry-content p{margin:0 0 2em}.entry-content a{text-decoration:underline;text-underline-offset:4px}.entry-content img{max-width:100%;height:auto}.entry-content pre{overflow:auto}.entry-content table{display:block;overflow:auto}.entry-content .source{font-family:-apple-system,BlinkMacSystemFont,"Yu Gothic",sans-serif;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:25px;margin-top:55px}.reading-nav{margin-top:65px;border-top:1px solid var(--line);padding-top:24px;font-size:13px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.pagination{margin-top:30px}.pagination .page-numbers{padding:8px}.skip-link{position:absolute;left:16px;top:-100px;background:var(--paper);padding:10px;z-index:10}.skip-link:focus{top:10px}.empty{padding:50px 0}.preview-note{background:#e8ece3;color:#485448;text-align:center;font-size:11px;padding:6px 15px}.entry-content .wp-block-image{margin:2em 0}.entry-content blockquote{border-left:2px solid var(--line);margin:2em 0;padding-left:1em}@media(max-width:640px){.wrap{width:calc(100% - 40px)}.site-header{padding:23px 0;align-items:flex-start}.brand{font-size:17px;letter-spacing:.05em}.site-nav{gap:15px;font-size:11px}.intro{padding:60px 0 50px}.intro h1{font-size:32px}.intro p{font-size:13px}.featured{grid-template-columns:1fr;gap:24px;padding:30px 0 42px}.place{font-size:23px}.featured h2{font-size:27px}.place-note{display:none}.story-row{grid-template-columns:65px 1fr 16px;gap:12px;padding:25px 0}.story-row h2{font-size:19px}.about{grid-template-columns:1fr;gap:20px;padding:35px 0 45px}.stories{padding:40px 0 50px}.reading{padding:45px 0 65px}.reading h1{margin-bottom:44px}.entry-content{font-size:17px;line-height:2.1}.entry-content p{margin-bottom:1.8em}.site-footer{flex-wrap:wrap}.section-label{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.site-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0}.site-nav a{white-space:nowrap}.featured .place{font-size:28px;margin:8px 0}.brand{white-space:nowrap}@media(max-width:640px){.site-header{flex-direction:column;gap:12px}.site-nav ul{gap:20px}.featured .place{font-size:23px}}

/* Warm journey edition: artwork and country navigation; prose spacing is unchanged. */
:root{--paper:#faf8f1;--ink:#343c33;--muted:#697164;--line:#dedecf;--accent:#8e573e}.brand:before{content:'✳';color:#ad7050;margin-right:12px;font-size:23px}.journey-intro{display:grid;grid-template-columns:1fr 1.12fr;gap:35px;align-items:center;padding:65px 0 48px}.journey-intro h1{font-size:clamp(30px,3.5vw,43px);letter-spacing:.07em;line-height:1.7}.intro-copy>.read-link{margin-top:25px;color:var(--accent)}.journey-art{margin:0;transform:rotate(-2deg)}.journey-art img{width:100%;height:auto;display:block}.journey-art figcaption{font-size:11px;color:var(--muted);text-align:right;letter-spacing:.06em;margin-top:15px}.journey-route{display:flex;align-items:center;flex-wrap:wrap;gap:22px;padding:22px 25px;margin:10px 0 55px;background:#efeee2;border-radius:3px;font-size:13px}.journey-route a{border-bottom:1px solid #acb49e}.route-label{font-size:11px;letter-spacing:.1em;color:var(--muted);margin-right:12px}.route-end{font-size:11px;color:var(--muted);margin-left:auto}.featured{grid-template-columns:240px 1fr;gap:52px}.featured-art{width:180px;height:120px;object-fit:cover;margin-bottom:20px;transform:rotate(-3deg);border:5px solid #fffcf5;box-shadow:0 4px 12px #52432a0c}.featured-place .eyebrow{font-size:10px}.featured-place .place{font-size:24px}.story-row{grid-template-columns:100px 100px 1fr 24px;gap:25px}.story-art{width:100px;height:68px;object-fit:cover;border-radius:3px}.about{background:#f0efe4;margin-bottom:40px;padding:38px 35px;border-top:0;border-radius:3px}.about h2:before{content:'✳';display:block;color:#a67853;margin-bottom:15px;font-size:26px}.reading .eyebrow{color:#98664a}.reading h1:after{content:'';display:block;width:32px;height:2px;background:#bc8e63;margin-top:24px}.reading h1{margin-bottom:52px}.site-footer{border-top-color:#d8d8c8}@media(max-width:640px){.journey-intro{grid-template-columns:1fr;gap:34px;padding-top:42px}.journey-intro h1{font-size:32px}.journey-art{max-width:430px;width:100%;margin:auto;transform:rotate(-1deg)}.journey-art figcaption{font-size:10px}.journey-route{gap:13px;padding:18px;margin-bottom:35px}.route-label{width:100%}.route-end{width:100%;margin-left:0}.featured{grid-template-columns:1fr;gap:25px}.featured-place{display:grid;grid-template-columns:110px 1fr;column-gap:20px;align-items:center}.featured-art{grid-row:1/3;width:110px;height:78px;margin:0}.featured-place .eyebrow{align-self:end}.featured-place .place{align-self:start;margin:0}.story-row{grid-template-columns:72px 1fr 16px;column-gap:16px;row-gap:3px;padding:23px 0}.story-art{width:72px;height:58px;grid-row:1/3}.story-row .country{grid-column:2;font-size:10px}.story-row h2{grid-column:2;font-size:18px}.story-row .arrow{grid-column:3;grid-row:1/3}.about{padding:27px 23px}.about h2:before{display:inline;margin-right:12px}.reading h1{margin-bottom:44px}}

@media(max-width:380px){.journey-intro h1{font-size:26px;letter-spacing:.04em}.journey-route{gap:10px}.site-nav{font-size:11px}}

.article-heading{display:flex;align-items:center;gap:26px;margin-bottom:52px}.article-heading-text{min-width:0;flex:1}.article-heading .article-illustration{margin:0;flex:0 0 110px}.article-art{display:block;width:110px;height:auto;border:4px solid #fffcf5;border-radius:3px;transform:rotate(-2deg)}.article-heading h1{font-size:clamp(25px,3.5vw,34px);margin:10px 0 0}.article-heading h1:after{display:none}@media(max-width:640px){.article-heading{gap:16px;margin-bottom:40px}.article-heading .article-illustration{flex-basis:76px}.article-art{width:76px;border-width:3px}.article-heading h1{font-size:23px;line-height:1.6;margin-top:7px}}

/* Postage artwork stays visible; country seals overlap only its lower edge. */
.featured-art,.story-art,.article-art{border:5px solid #fffdf6;outline:1px dashed #c5bda7;outline-offset:2px;border-radius:0;box-shadow:0 3px 8px #53462b12;padding:0;background:#fffdf6;object-fit:contain}
.story-row,.featured-place,.article-illustration{position:relative}
.read-stamp{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;white-space:pre-line;text-align:center;color:#8e6049;border:1px solid currentColor;border-radius:50%;width:67px;height:67px;font:9px/1.5 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:.03em;transform:rotate(-12deg);opacity:.64;outline:1px solid currentColor;outline-offset:-4px;pointer-events:none;background:transparent}
.read-stamp[data-shape="oval"]{width:78px;height:48px;transform:rotate(-9deg);color:#526f68}
.read-stamp[data-shape="ticket"]{width:70px;height:49px;border-radius:5px 12px 5px 12px;transform:rotate(8deg);color:#726183}
.read-stamp[data-shape="diamond"]{width:69px;height:61px;border-radius:28% 8%;transform:rotate(-18deg);color:#877342}
.read-stamp[hidden]{display:none}
.story-row{grid-template-columns:100px 100px 1fr 24px;padding-top:28px;padding-bottom:48px}
.story-row>.read-stamp{left:48px;top:auto;bottom:8px}
.story-row>.arrow{grid-column:4}
.featured-place>.read-stamp{left:120px;top:100px;margin:0}
.article-illustration>.read-stamp{left:57px;top:calc(100% - 15px)}
.article-heading .article-illustration{margin-bottom:35px}
.read-end{display:block;height:1px}
@media(max-width:640px){
.story-row{grid-template-columns:90px 1fr 20px;column-gap:23px;padding-top:23px;padding-bottom:49px}
.story-art{width:90px;height:68px}
.story-row>.arrow{grid-column:3}
.read-stamp{width:59px;height:59px;font-size:8px}
.read-stamp[data-shape="oval"]{width:68px;height:43px}
.read-stamp[data-shape="ticket"]{width:63px;height:44px}
.read-stamp[data-shape="diamond"]{width:61px;height:54px}
.story-row>.read-stamp{left:34px;bottom:7px}
.featured-place>.read-stamp{left:55px;top:64px}
.featured-place{padding-bottom:33px}
.article-heading .article-illustration{flex-basis:90px;margin-bottom:32px}
.article-art{width:90px;border-width:4px}
.article-illustration>.read-stamp{left:35px;top:calc(100% - 12px)}
.article-heading{gap:24px}
}

.read-stamp{flex-direction:column;white-space:normal;padding:5px;gap:2px}.stamp-country{font-size:7px;line-height:1.15;letter-spacing:.02em;overflow-wrap:anywhere;max-width:100%}.stamp-date{white-space:nowrap;font-size:8px}

/* Publication date belongs to the article footer, not listing cards. */
.publication-date{margin:12px 0 0;color:var(--muted);font-family:-apple-system,BlinkMacSystemFont,"Yu Gothic",sans-serif;font-size:12px;line-height:1.8}

/* Read in publication order; discovery links are separate from previous/next. */
.reading-nav{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.reading-nav a{display:flex;flex-direction:column;gap:8px;padding:8px 0;overflow-wrap:anywhere}
.reading-nav-next{text-align:right}.nav-direction{font-size:12px;color:var(--muted)}
.nav-title{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:18px;line-height:1.7}
.reading-destinations{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 28px;margin-top:30px;font-size:13px}
.reading-destinations a{padding:10px 0;text-decoration:underline;text-underline-offset:5px}
/* Keep text legible without making the stamp larger or covering more artwork. */
:root{--muted:#596352}
.read-stamp{opacity:1;color:#704b36}
.read-stamp[data-shape="oval"]{color:#3d5b52}
.read-stamp[data-shape="ticket"]{color:#62516f}
.read-stamp[data-shape="diamond"]{color:#645323}
/* Optional house-banner design; no banner is automatically inserted. */
.house-banner{display:block;margin:40px 0;padding:26px 30px;border:1px solid var(--line);border-radius:4px;background:#efeee2;color:var(--ink)}
.house-banner-label{display:block;font-size:11px;color:var(--muted);letter-spacing:.08em}
.house-banner-title{display:block;margin:8px 0;font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:22px;line-height:1.6}
.house-banner-copy{display:block;font-size:13px;line-height:1.9}
.house-banner-action{display:block;margin-top:15px;font-size:13px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:640px){.nav-title{font-size:16px}.house-banner{padding:22px}.house-banner-title{font-size:20px}}

.house-banner-image{display:block;margin:40px 0;aspect-ratio:5.43;overflow:hidden;border-radius:6px}
.house-banner-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46.5%}
