/*
Theme Name: YOUNGTIMER Editorial Refined
Description: Approved editorial layout. Parent theme remains available for rollback.
Author: YOUNGTIMER
Template: youngtimer-theme
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: youngtimer
*/


@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/variable/woff2/SUIT-Variable.css");

:root {
  --yt-ink: #111313;
  --yt-paper: #f7f6f2;
  --yt-white: #fff;
  --yt-muted: #6d706d;
  --yt-line: #d4d1c9;
  --yt-signal: #f4511e;
  --yt-max: 1480px;
  --yt-copy: 760px;
  --yt-wide: 1120px;
  --yt-display: "SUIT Variable", "SUIT", "Wanted Sans Variable", "Wanted Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--yt-ink);
  background: var(--yt-paper);
  font-family: "Wanted Sans Variable", "Wanted Sans", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.008em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--yt-signal); }
img { display: block; max-width: 100%; height: auto; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.yt-shell {
  width: min(var(--yt-max), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: color-mix(in srgb, var(--yt-paper) 94%, transparent);
  border-bottom: 1px solid var(--yt-ink);
  backdrop-filter: blur(12px);
}

.admin-bar .site-header { top: 32px; }

.site-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.site-branding { display: flex; align-items: baseline; gap: 16px; }

.site-title {
  font-family: var(--yt-display);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.site-description {
  margin: 0;
  color: var(--yt-muted);
  font-size: 0.78rem;
}

.primary-menu,
.primary-menu ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.site-main { min-height: 60vh; }

.yt-kicker,
.post-meta,
.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yt-kicker { color: var(--yt-signal); }

.yt-home-intro {
  padding: 34px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid var(--yt-line);
}

.yt-home-intro p { margin: 0; color: var(--yt-muted); }
.yt-home-intro .issue { color: var(--yt-ink); font-size: 0.74rem; letter-spacing: 0.08em; }

.yt-hero {
  position: relative;
  min-height: min(780px, calc(100vh - 138px));
  overflow: hidden;
  color: var(--yt-white);
  background: var(--yt-ink);
  border-bottom: 1px solid var(--yt-ink);
}

.yt-hero__media {
  position: absolute;
  inset: 0;
  background: #d7d4cd;
}

.yt-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 7, .76) 0%, rgba(5, 7, 7, .25) 55%, rgba(5, 7, 7, .08) 100%), linear-gradient(0deg, rgba(5, 7, 7, .48), transparent 55%);
}

.yt-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.yt-hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(var(--yt-max), calc(100% - 64px));
  min-height: inherit;
  margin-inline: auto;
  padding: clamp(42px, 6vw, 92px) 0;
}

.yt-hero__title {
  font-family: var(--yt-display);
  max-width: 980px;
  margin: 16px 0 20px;
  font-size: clamp(3.15rem, 6.8vw, 7.3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.yt-hero__excerpt { max-width: 680px; margin: 0; color: rgba(255,255,255,.84); font-size: 1rem; line-height: 1.72; }
.yt-hero .yt-kicker { color: #ff6b39; }
.yt-read { margin-top: 24px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }

.yt-placeholder {
  height: 100%;
  min-height: 520px;
  display: grid;
  place-items: center;
  color: #6f716f;
  background:
    linear-gradient(90deg, transparent 49.8%, #c7c4bc 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, #c7c4bc 50%, transparent 50.2%),
    #dcd9d1;
  background-size: 80px 80px;
}

.yt-placeholder span { padding: 10px 14px; background: var(--yt-paper); border: 1px solid var(--yt-ink); font-size: .72rem; letter-spacing: .1em; }

.yt-section { padding: 72px 0 96px; }

.yt-section__head,
.archive-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--yt-ink);
}

.yt-section__head h2,
.archive-title { margin: 0; font-family: var(--yt-display); font-size: clamp(2rem, 4vw, 4rem); font-weight: 650; line-height: 1.05; letter-spacing: -0.035em; }

.yt-section__head .eyebrow { display: block; margin-bottom: 10px; color: var(--yt-muted); }

.yt-filter { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.yt-filter a { padding: 8px 12px; border: 1px solid var(--yt-line); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.yt-filter a:hover,
.yt-filter .is-active { color: var(--yt-white); background: var(--yt-ink); border-color: var(--yt-ink); }

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 24px;
}

.yt-card { border-top: 1px solid var(--yt-ink); padding-top: 12px; }
.yt-card__media { aspect-ratio: 4 / 3; margin-bottom: 18px; overflow: hidden; background: #d7d4cd; }
.yt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.yt-card:hover .yt-card__media img { transform: scale(1.025); }
.yt-card__title { margin: 10px 0; font-family: var(--yt-display); font-size: clamp(1.3rem, 2.1vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.025em; text-wrap: balance; }
.yt-card__excerpt { margin: 0; color: var(--yt-muted); font-size: .93rem; }

.single-post .site-main { padding-bottom: 120px; }

.entry-header {
  width: min(var(--yt-wide), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 128px) 0 46px;
  border-bottom: 1px solid var(--yt-ink);
}

.entry-title {
  font-family: var(--yt-display);
  max-width: 1050px;
  margin: 18px 0 30px;
  font-size: clamp(2.7rem, 7.2vw, 7.2rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.entry-dek { max-width: 760px; margin: 0; color: #555854; font-size: clamp(1.03rem, 1.6vw, 1.25rem); line-height: 1.68; }

.entry-featured {
  width: min(1380px, calc(100% - 40px));
  margin: 38px auto 74px;
}

.entry-featured img { width: 100%; max-height: 82vh; object-fit: cover; }

.entry-content {
  width: min(var(--yt-copy), calc(100% - 40px));
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.82;
}

.entry-content p { margin: 0 0 1.15em; }
.entry-content h2 { margin: 3.1em 0 .85em; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -.045em; }
.entry-content h3 { margin: 2.4em 0 .75em; font-size: 1.35rem; letter-spacing: -.03em; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.entry-content blockquote { margin: 2.5em 0; padding: 1.2em 0 1.2em 24px; border-left: 4px solid var(--yt-signal); font-size: 1.2em; }

.entry-content .alignwide,
.entry-content .yt-figure {
  width: min(var(--yt-wide), calc(100vw - 40px));
  max-width: none;
  margin: 3.2em 0;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content .alignfull,
.entry-content .yt-figure--hero {
  width: min(1380px, calc(100vw - 40px));
  max-width: none;
  margin: 3.5em 0;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content figure img { width: 100%; }
.entry-content figcaption { max-width: var(--yt-copy); margin: .8em auto 0; color: var(--yt-muted); font-size: 13px; line-height: 1.55; }

.archive-header { padding-top: 72px; }
.archive-description { max-width: 620px; color: var(--yt-muted); }
.pagination { margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--yt-line); }
.nav-links { display: flex; gap: 16px; }

.site-footer {
  color: #efede6;
  background: var(--yt-ink);
  padding: 58px 0 34px;
}

.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.site-footer__brand { margin: 0 0 14px; font-family: var(--yt-display); font-size: clamp(2rem, 5vw, 5.5rem); font-weight: 650; line-height: .95; letter-spacing: -.035em; }
.site-footer p { color: #aaada8; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; align-content: start; }
.site-footer__nav a { padding: 8px 0; border-bottom: 1px solid #343736; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.site-footer__bottom { margin-top: 64px; padding-top: 18px; border-top: 1px solid #343736; display: flex; justify-content: space-between; color: #838783; font-size: .75rem; }

@media (max-width: 980px) {
  .site-description { display: none; }
  .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .admin-bar .site-header { top: 46px; }
  .yt-shell { width: min(100% - 32px, var(--yt-max)); }
  .site-header__inner { min-height: 68px; grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
  .primary-menu ul, .primary-menu { gap: 14px; overflow-x: auto; padding-bottom: 2px; }
  .primary-menu a { font-size: .68rem; white-space: nowrap; }
  .yt-home-intro { align-items: start; flex-direction: column; }
  .yt-home-intro { padding-top: 22px; }
  .yt-home-intro p:first-child { max-width: 250px; }
  .yt-hero { min-height: 72vh; }
  .yt-hero__media, .yt-placeholder { min-height: 100%; }
  .yt-hero__media::after { background: linear-gradient(0deg, rgba(5, 7, 7, .82) 0%, rgba(5, 7, 7, .25) 72%, rgba(5, 7, 7, .06) 100%); }
  .yt-hero__body { width: calc(100% - 32px); padding: 34px 0 42px; }
  .yt-hero__title { font-size: clamp(2.8rem, 14vw, 4.7rem); line-height: 1; }
  .yt-section { padding: 52px 0 72px; }
  .yt-section__head { align-items: start; flex-direction: column; }
  .yt-filter { justify-content: flex-start; }
  .yt-grid { grid-template-columns: 1fr; gap: 40px; }
  .entry-header { padding-top: 52px; }
  .entry-title { font-size: clamp(2.55rem, 14vw, 4.6rem); }
  .entry-featured { margin-bottom: 46px; }
  .entry-content { font-size: 17px; line-height: 1.78; }
  .entry-content .alignwide,
  .entry-content .alignfull,
  .entry-content .yt-figure,
  .entry-content .yt-figure--hero { width: calc(100vw - 24px); }
  .entry-content figcaption { padding-inline: 8px; font-size: 12.5px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }
}

:root{--yt-paper:#faf9f6;--yt-ink:#1d201f;--yt-muted:#656963;--yt-signal:#9a4f32;--yt-copy:680px;--yt-wide:1040px;--yt-max:1280px;--yt-display:"SUIT Variable","SUIT",sans-serif}
body{font-family:var(--yt-display);letter-spacing:-.016em}.site-header{position:relative;background:var(--yt-paper);border-color:#d9dbd5;backdrop-filter:none}.site-header__inner{min-height:88px}.site-title{font-size:27px;font-weight:650;letter-spacing:-.045em}.site-description{display:none}.primary-menu a{font-weight:550;font-size:12px;letter-spacing:.045em}.yt-kicker,.post-meta,.eyebrow{font-weight:550;font-size:11px;letter-spacing:.07em}.intro-new{display:flex;justify-content:space-between;align-items:center;padding:36px 0}.intro-new p{font-size:14px;margin:0}.intro-new span{font-size:11px;color:var(--yt-muted)}.feature-new{display:grid;grid-template-columns:.86fr 1.3fr;gap:64px;align-items:center;margin-top:25px;margin-bottom:68px}.feature-copy h1{font-size:clamp(36px,4.4vw,62px);line-height:1.14;font-weight:550;letter-spacing:-.045em;margin:24px 0}.feature-sub{font-size:24px;line-height:1.4;margin:0 0 25px;font-weight:450}.feature-dek{font-size:15px;color:var(--yt-muted);line-height:1.8}.feature-new figure{margin:0}.feature-new img{aspect-ratio:4/3;object-fit:cover;object-position:58% center}.feature-new figcaption{font-size:11px;color:var(--yt-muted);margin-top:12px}.read-new{display:inline-flex;gap:70px;border-bottom:1px solid var(--yt-ink);padding:15px 0 9px;font-size:13px}.one-story{border-top:1px solid #d9dbd5;padding:24px 0 55px;display:flex;gap:60px;align-items:baseline;font-size:13px}.one-story p{margin:0;color:var(--yt-muted)}.entry-header{padding:68px 0 32px;border-bottom:0;max-width:1040px}.entry-title{font-size:clamp(34px,4.4vw,64px);line-height:1.2;font-weight:550;letter-spacing:-.04em;max-width:980px;margin:22px 0}.title-second{display:block;font-size:.66em;margin-top:10px;font-weight:450;letter-spacing:-.025em}.entry-dek{font-size:18px;line-height:1.7;max-width:660px}.byline{margin-top:25px;font-size:12px;color:#656963}.entry-featured{width:min(1160px,calc(100% - 64px));margin:12px auto 60px}.entry-featured img{aspect-ratio:16/9;object-fit:cover;max-height:none}.entry-featured figcaption{font-size:12px;color:var(--yt-muted);margin-top:12px}.entry-content{font-size:18px;line-height:1.85;letter-spacing:-.01em}.entry-content p{margin-bottom:1.4em}.entry-content h2{font-weight:550;font-size:29px;line-height:1.4;letter-spacing:-.03em;margin:74px 0 24px}.entry-content h3{font-size:23px;line-height:1.45;font-weight:550;margin-top:52px;letter-spacing:-.025em}.entry-content figcaption{font-size:13px;line-height:1.7}.entry-content .yt-figure{margin-top:48px;margin-bottom:54px;width:min(1040px,calc(100vw - 64px))}.entry-content blockquote{border-left:1px solid #9a4f32;padding:0 0 0 24px;font-size:23px;line-height:1.6;margin:55px 0}.data-figure,.role-figure{margin:54px -80px;padding:36px 40px;border-top:1px solid #c6c9c1;border-bottom:1px solid #c6c9c1;background:#f0f0e9}.entry-content .data-figure h2{margin:12px 0 30px;font-size:25px}.data-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:35px;align-items:center}.metric strong{font-size:66px;font-weight:500;letter-spacing:-.05em;line-height:1.1}.metric strong span{font-size:.62em;margin-left:4px}.metric p{font-size:14px;margin:12px 0 0}.bar-label{display:flex;justify-content:space-between;font-size:13px;margin:17px 0 7px}.bar-label b{font-weight:500}.bar-track{height:12px;background:#e0e2d9}.bar-track i{display:block;height:100%;background:#383d3a}.bar-track i.fiber{background:#9d8060}.data-figure figcaption{margin-top:28px}.roles{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:28px}.roles section+section{padding-left:30px;border-left:1px solid #cccfc6}.role-num{font-size:11px;letter-spacing:.07em;color:#6e756a}.entry-content .roles h3{font-size:22px;margin:15px 0 12px}.roles p{font-size:15px;margin-bottom:10px}.source-notes{border-top:1px solid #d9dbd5;margin:22px 0;font-size:14px}.source-notes summary{padding:18px 0;cursor:pointer;font-weight:550}.source-notes h2{font-size:20px}.source-notes a{overflow-wrap:anywhere}.site-footer{background:transparent;color:var(--yt-ink);padding:35px 0 25px;border-top:1px solid #d9dbd5}.site-footer__brand{font-size:27px;font-weight:550}.site-footer p{font-size:13px;color:#656963}.site-footer__bottom{margin-top:30px;border-color:#d9dbd5}.single-post .site-main{padding-bottom:65px}
@media(max-width:760px){.yt-shell{width:calc(100% - 40px)}.site-header__inner{min-height:94px;gap:14px;padding:18px 0}.site-title{font-size:23px}.primary-menu ul{gap:23px}.primary-menu a{font-size:10px}.intro-new{padding:24px 0}.intro-new span{display:none}.feature-new{grid-template-columns:1fr;gap:28px;margin-top:16px;margin-bottom:38px}.feature-copy h1{font-size:40px;line-height:1.17;margin:18px 0}.feature-sub{font-size:23px;margin-bottom:20px}.feature-dek{font-size:14px}.feature-new img{aspect-ratio:4/3}.one-story{display:block;padding-bottom:35px}.one-story p{margin-top:12px}.entry-header{padding:42px 0 26px}.entry-title{font-size:34px;line-height:1.22;margin:20px 0}.title-second{font-size:24px;line-height:1.35;margin-top:14px}.entry-dek{font-size:16px;line-height:1.75}.entry-featured{width:calc(100% - 40px);margin-top:0;margin-bottom:40px}.entry-featured img{aspect-ratio:4/3;object-position:58% center}.entry-featured figcaption{font-size:11px}.entry-content{width:calc(100% - 40px);font-size:17px;line-height:1.82}.entry-content h2{font-size:25px;margin-top:52px}.entry-content h3{font-size:21px}.entry-content .yt-figure{width:calc(100vw - 40px);margin-top:32px;margin-bottom:38px}.data-figure,.role-figure{margin:38px 0;padding:25px 20px}.data-layout{grid-template-columns:1fr;gap:15px}.metric strong{font-size:54px}.roles{grid-template-columns:1fr;gap:20px}.roles section+section{padding-left:0;padding-top:20px;border-left:0;border-top:1px solid #cccfc6}.entry-content figcaption{padding:0;font-size:12px}.entry-content blockquote{font-size:21px}.entry-content .data-figure h2{font-size:22px;line-height:1.4}.byline{font-size:11px}}
@media(max-width:760px){.intro-new{display:none}.feature-new{margin-top:28px;gap:20px}.feature-copy h1{font-size:36px;margin:16px 0}.feature-sub{font-size:21px;margin-bottom:12px}.feature-dek{display:none}.read-new{padding-top:4px}.entry-header{padding-top:30px}}

/* Production refinements and keyboard navigation. */
.admin-bar .site-header{top:0}.feature-new img{width:100%;height:auto;display:block}.feature-copy{min-width:0}.feature-copy h1,.entry-title{overflow-wrap:anywhere;word-break:keep-all}.entry-content .data-title{font-size:25px;margin:12px 0 30px;font-weight:550;line-height:1.4}.byline{display:flex;gap:14px;flex-wrap:wrap}.yt-card__title{font-size:25px;font-weight:550;line-height:1.4}.archive-title{font-size:clamp(36px,5vw,64px);font-weight:550}.yt-filter a{font-weight:500}.site-footer__nav a{font-weight:500;border-color:#d9dbd5}.site-footer__brand{font-size:27px!important;color:var(--yt-ink)!important}.source-notes summary::marker{color:var(--yt-muted)}a:focus-visible,summary:focus-visible{outline:2px solid #9a4f32;outline-offset:5px}.yt-section{padding-top:42px}.empty-category{color:var(--yt-muted);font-size:16px}.source-notes[open]{padding-bottom:16px}.source-notes ul{padding-left:20px}.source-notes li{margin-bottom:12px}
@media(max-width:980px) and (min-width:761px){.feature-new{gap:32px;grid-template-columns:1fr 1.1fr}.feature-copy h1{font-size:40px}.feature-sub{font-size:21px}}
@media(max-width:760px){.data-figure .data-title{font-size:22px}.site-header__inner{grid-template-columns:1fr}.primary-menu ul{flex-wrap:wrap}.entry-content .yt-figure{max-width:none}.feature-new img{aspect-ratio:4/3}.source-notes{font-size:13px}.yt-card__title{font-size:24px}}
