/* User's Phantom references, 2026-10-07: 1464px desktop content span, three cards,
   compact hero, borderless article ending. Blue x Sand and Pretendard are retained.
   Type: display 48/60, feature 34-42/1.32, card 23/33, body 18/31, mobile 17/29.
   Rounded cards and capsule navigation intentionally follow the approved reference. */
:root{--edge:max(clamp(24px,5vw,64px),calc((100vw - 1464px)/2));--muted:#626a70}
.site-header{min-height:106px;padding-top:18px;padding-bottom:18px}
.library-heading{padding-top:28px;padding-bottom:28px}
.library-heading h1,html[lang=en] .library-heading h1{font-size:48px;line-height:60px}
.filters{margin-bottom:28px;align-items:center}
.feature{height:clamp(340px,25vw,410px);min-height:0;grid-template-columns:1fr 1.08fr;border-radius:26px}
.feature-copy{padding:32px 40px;justify-content:center}
.feature h2,html[lang=en] .feature h2{font-size:clamp(30px,2.25vw,42px);line-height:1.32;max-width:600px;margin-bottom:18px;text-wrap:balance}
.feature-copy>p{max-width:470px;font-size:17px;line-height:27px;margin-bottom:22px}
.feature .tags{margin-top:10px}
.feature-art{min-height:0;height:100%;width:100%;object-fit:cover;object-position:center}
.feature-arrow{left:calc(48.077% - 24px);width:48px;height:48px;bottom:25px}
.featured-section{margin-top:52px}
.section-top{margin-bottom:24px}
.section-top h2{background:none;padding:0;border-radius:0;font-size:28px;line-height:38px;font-weight:600}
.card-rail::after{content:none}
.card-rail{gap:28px;scroll-padding-left:var(--edge);scroll-snap-type:x proximity}
.card-rail>.story-card{flex-basis:calc((100vw - var(--edge)*2 - 56px)/3.12)}
.story-card{border-radius:24px}
.story-card img{aspect-ratio:3/2}
.story-card .card-body,.related .story-card .card-body{padding:23px 26px 25px;min-height:207px;gap:15px}
.story-card h3,.related .story-card h3{font-size:23px;line-height:33px;font-weight:400;text-wrap:pretty}
.story-card time{font-size:13px;line-height:21px;color:var(--muted)}
.story-card .tag,.related .story-card .tag{font-size:11px;line-height:17px;padding:6px 9px}
.all-stories{padding-top:62px}
.all-stories h2,.region-explorer>h2{font-size:32px;line-height:42px;margin-bottom:28px}
.story-grid,.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.results{padding-top:10px;padding-bottom:5px}
.results-summary{margin-bottom:25px}
.clear-filter{border:0;text-decoration:none;color:var(--accent-strong)}
.site-footer{border:0;padding-top:36px;padding-bottom:36px;justify-content:flex-start}
.site-footer>small{font-size:13px;line-height:21px;color:var(--muted)}

/* Job: choose a destination in one action, then read its stories.
   Thesis: a quiet, unframed atlas on the existing editorial white page.
   Reference: the user's approved Phantom-derived editorial layout.
   Constraints: Blue x Sand, Pretendard, nine unlabeled geographic shapes.
   Ban: banner containers, decorative circles, duplicate region filter rows. */
.region-explorer{margin:76px var(--edge) 0;scroll-margin-top:140px}
.region-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;background:transparent}
.region-art{display:flex;align-items:center;justify-content:center;min-width:0}
.korea-map{display:block;width:100%;height:auto;max-height:600px;overflow:visible}
.province{cursor:pointer;outline:none}
.province path{fill:#f2e4c6;stroke:#fff;stroke-width:2;stroke-linejoin:round;transition:fill .15s}
.province:nth-of-type(3n) path{fill:#e4c992}
.province[aria-pressed=true] path{fill:#2ba9e9}
.province:hover path{fill:#c08930}
.province:focus-visible path{stroke:#1175a6;stroke-width:3}
.map-islands{pointer-events:none;fill:#c08930}
.region-browser{padding:24px 0;min-width:0}
.region-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.region-top h3{font-size:30px;line-height:41px}
.region-top button{font-size:14px;line-height:22px;color:var(--accent-strong);white-space:nowrap;min-height:44px}

.region-count{font-size:13px;line-height:22px;color:var(--muted);margin:26px 0 15px}
.region-stories{display:flex;flex-direction:column;gap:18px}
.region-story{display:grid;grid-template-columns:95px 1fr 20px;align-items:center;gap:17px}
.region-story img{width:95px;aspect-ratio:3/2;object-fit:cover;border-radius:13px}
.region-story h4{font-size:17px;line-height:25px;font-weight:400;margin:0 0 8px}
.region-story span{font-size:11px;line-height:18px;color:var(--muted)}
.region-story:hover h4{color:var(--accent-strong)}
.region-empty{font-size:17px;line-height:27px;padding:22px 0 30px;color:var(--muted)}

/* The article grid ends at its sources. The related rail is outside that grid,
   so sticky contents/actions stop with the article instead of following cards. */
.article-toc{grid-row:2;top:128px;max-height:calc(100vh - 152px)}
.article-toc h2,.toc-map-link,.sources,.faq details,.site-footer{border:0}
.article-toc h2{margin-bottom:7px;padding-bottom:9px}
.article-toc a.active:before{top:15px}
.toc-map-link{margin-top:11px;padding-top:10px!important}
.sources{padding-top:16px;margin-top:38px}
.sources h2{font-size:19px;line-height:29px}
.source-link{text-decoration:none}
.source-link:hover{text-decoration:underline}
.source-link small{font-size:12px;line-height:21px}
.faq details{padding-top:13px;padding-bottom:14px}
.article-summary{margin-top:52px}
.quick-facts{border:0;background:var(--soft);padding:25px 27px;border-radius:18px}
.place-card,.place-card:first-child,.place-facts,.arrival-note>div,.budget-row,.comparison-pair>div+div,.data-table th,.data-table td{border:0}
.place-card+.place-card{margin-top:12px}
.place-facts{background:var(--soft);padding:22px;border-radius:15px}
.place-source{border:0;border-radius:15px}
.data-table tbody tr:nth-child(even){background:var(--soft)}
.area-map figcaption{justify-content:flex-end}
.related{margin:96px calc(-1*var(--edge)) 0;padding-bottom:15px}
.related .section-top{position:relative;justify-content:center;margin-bottom:43px;min-height:64px}
.related .section-top h2{font-size:52px;line-height:64px;text-align:center}
.related .carousel-controls{position:absolute;right:var(--edge);bottom:8px}
.related .story-card{flex-direction:column}
.related .story-card img{width:100%;aspect-ratio:3/2}
.related .story-card .tags .tag{display:inline-flex}
.related .card-rail>.story-card{flex-basis:calc((100% - 56px)/3)}

@media(max-width:1120px){
 .site-header{position:relative}
 .feature{height:350px}
 .feature-copy{padding:26px}
 .feature h2,html[lang=en] .feature h2{font-size:30px}
 .card-rail>.story-card,.related .card-rail>.story-card{flex-basis:calc((100vw - var(--edge)*2 - 28px)/2.35)}
 .story-grid,.results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .region-layout{grid-template-columns:.9fr 1.1fr;gap:28px}
 .region-browser{padding:24px 0}
 .region-story{grid-template-columns:76px 1fr;gap:13px}
 .region-story img{width:76px}
 .region-story>svg{display:none}
 .article-toc{top:24px;max-height:calc(100vh - 48px)}
}
@media(max-width:700px){
 :root{--edge:22px}
 .site-header{min-height:0;padding-top:16px;padding-bottom:16px;row-gap:17px}
 .site-nav a{padding:10px 12px}
 .library-heading{padding-top:20px;padding-bottom:23px}
 .library-heading h1,html[lang=en] .library-heading h1{font-size:36px;line-height:47px}
 .filters{align-items:flex-start;margin-bottom:23px}
 .feature{height:auto;min-height:0;border-radius:21px}
 .feature-art{aspect-ratio:1.9;height:auto;max-height:210px}
 .feature-copy{padding:23px}
 .feature h2,html[lang=en] .feature h2{font-size:26px;line-height:36px;margin-bottom:13px}
 .feature-copy>p{font-size:17px;line-height:27px;margin-bottom:16px}
 .feature .tags{margin-top:0}
 .featured-section{margin-top:38px}
 .section-top h2{font-size:24px;line-height:34px}
 .card-rail{gap:17px}
 .card-rail>.story-card,.related .card-rail>.story-card{flex-basis:calc(100vw - var(--edge)*2 - 43px)}
 .story-card,.related .story-card{border-radius:20px}
 .story-card .card-body,.related .story-card .card-body{padding:20px;min-height:193px;gap:13px}
 .story-card h3,.related .story-card h3{font-size:21px;line-height:31px}
 .story-card time{font-size:12px}
 .all-stories{padding-top:39px}
 .all-stories h2,.region-explorer>h2{font-size:27px;line-height:37px;margin-bottom:22px}
 .story-grid,.results-grid{grid-template-columns:1fr;gap:25px}
 .region-explorer{margin-top:44px}
 .region-layout{display:flex;flex-direction:column;gap:8px;align-items:stretch}
 .region-art{padding:0}
 .korea-map{max-height:405px}
 .region-browser{padding:12px 0 20px}
 .region-top{margin-bottom:23px}
 .region-top h3{font-size:27px;line-height:36px}
 .region-story{grid-template-columns:76px 1fr;gap:13px}
 .region-story h4{font-size:17px;line-height:25px}
 .quick-facts{padding:22px}
 .place-facts{padding:20px}
 .area-map figcaption{align-items:flex-end}
 .related{margin-top:62px}
 .related .section-top{justify-content:space-between;min-height:45px;margin-bottom:27px}
 .related .section-top h2{font-size:32px;line-height:43px;text-align:left}
 .related .carousel-controls{position:static}
 .related .story-card .tags .tag{display:inline-flex}
 .site-footer{padding-top:24px;padding-bottom:28px}
}
@media(prefers-reduced-motion:reduce){.province path{transition:none}}
