/*
Theme Name: MirJournal Swim
Theme URI: https://mirjournal.com/
Author: MirJournal
Author URI: https://mirjournal.com/
Description: 수영 기술, 스포츠지도사, 수상구조사, 장비와 커리어를 연결하는 초경량 편집형 테마입니다.
Version: 1.2.1
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: mirjournal-swim
*/

:root {
  --ink: #101820;
  --ink-2: #2d3033;
  --muted: #756f65;
  --line: #d9d2c5;
  --paper: #fbf9f4;
  --soft: #f1ede5;
  --pool: #a6814c;
  --pool-dark: #72562f;
  --mint: #d6c09a;
  --mint-soft: #eee6d8;
  --coral: #7d3948;
  --coral-soft: #efe1e2;
  --yellow: #c6a66a;
  --radius: 4px;
  --shadow: 0 24px 60px rgba(22, 20, 16, 0.12);
  --wrap: 1220px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pool); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  top: 8px; left: 8px; z-index: 100000;
  width: auto; height: auto; padding: 12px 18px; margin: 0;
  clip: auto; background: #fff; color: var(--ink); box-shadow: var(--shadow);
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}
.utility-bar { background: var(--ink); color: rgba(255,255,255,.76); font-size: 12px; letter-spacing: .08em; }
.utility-bar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-bar nav { display: flex; gap: 22px; letter-spacing: 0; }
.utility-bar a:hover { color: var(--mint); }
.masthead { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-branding { display: flex; align-items: center; gap: 24px; }
.brand-mark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark__symbol {
  display: grid; place-items: center; width: 43px; height: 43px;
  border-radius: 50% 50% 50% 12%; background: var(--pool); color: #fff;
  font-family: var(--serif); font-size: 24px; font-weight: 700; transform: rotate(-4deg);
}
.brand-mark__text { font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.site-tagline { margin: 0; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.custom-logo { max-height: 70px; width: auto; }
.header-cta { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; color: var(--pool-dark); }
.header-cta span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-soft); }
.nav-shell { border-top: 1px solid var(--line); }
.nav-shell__inner { display: flex; align-items: center; min-height: 54px; }
.primary-nav { flex: 1; }
.primary-nav ul { margin: 0; padding: 0; list-style: none; }
.primary-nav > ul { display: flex; align-items: stretch; gap: 8px; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a { display: flex; align-items: center; min-height: 54px; padding: 0 17px; font-size: 14px; font-weight: 800; }
.primary-nav .menu-item-has-children > a::after { content: '⌄'; margin-left: 7px; color: var(--muted); font-size: 12px; }
.primary-nav .sub-menu {
  position: absolute; top: calc(100% - 1px); left: 0; z-index: 20;
  min-width: 230px; padding: 10px; visibility: hidden; opacity: 0; transform: translateY(8px);
  border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: #fff; box-shadow: var(--shadow);
  transition: .18s ease;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.primary-nav .sub-menu a { display: block; padding: 9px 11px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.primary-nav .sub-menu a:hover { background: var(--soft); }
.search-toggle, .menu-toggle { border: 0; background: none; color: var(--ink); cursor: pointer; }
.search-toggle { width: 48px; height: 48px; font-size: 25px; }
.menu-toggle { display: none; align-items: center; gap: 8px; padding: 10px 0; font-weight: 800; }
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after { display: block; width: 22px; height: 2px; background: currentColor; content: ''; }
.menu-toggle__lines { position: relative; }
.menu-toggle__lines::before { position: absolute; top: -7px; }
.menu-toggle__lines::after { position: absolute; top: 7px; }
.header-search { padding: 14px 0; border-top: 1px solid var(--line); background: var(--soft); }
.search-form { display: flex; gap: 8px; max-width: 680px; margin-inline: auto; }
.search-field { flex: 1; min-width: 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.search-submit { padding: 11px 22px; border: 0; border-radius: 9px; background: var(--pool); color: #fff; font-weight: 800; cursor: pointer; }

/* Shared */
.section { padding: 92px 0; }
.section-heading { max-width: 680px; margin-bottom: 36px; }
.section-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading--row > p { max-width: 470px; margin: 0 0 6px; color: var(--muted); }
.section-heading h2 { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading > p { color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--pool); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: var(--mint); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 900; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--pool); color: #fff; box-shadow: 0 9px 24px rgba(10,111,131,.22); }
.button--primary:hover { background: var(--pool-dark); color: #fff; }
.button--ghost { border: 1px solid currentColor; color: var(--ink); }
.button--ghost:hover { color: var(--pool); }
.button--light { background: #fff; color: var(--ink); }
.text-link { color: var(--pool-dark); font-size: 14px; font-weight: 900; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 92px 0 100px; background: linear-gradient(135deg,#edfafa 0%,#f8fbfb 54%,#e8f4f6 100%); }
.hero::before { content: ''; position: absolute; top: -340px; right: -180px; width: 650px; height: 650px; border: 1px solid rgba(10,111,131,.16); border-radius: 48%; }
.hero::after { content: ''; position: absolute; right: 12%; bottom: -230px; width: 540px; height: 320px; border: 70px solid rgba(99,213,193,.14); border-radius: 50%; transform: rotate(-8deg); }
.hero__water { position: absolute; left: -60px; bottom: 42px; width: 43%; height: 18px; opacity: .24; background: repeating-linear-gradient(90deg,var(--pool) 0 70px,transparent 70px 92px); transform: skewX(-35deg); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 80px; }
.hero__eyebrow { margin-bottom: 18px; color: var(--pool); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.hero h1 { max-width: 770px; margin-bottom: 24px; font-family: var(--serif); font-size: clamp(48px, 6.1vw, 76px); line-height: 1.06; letter-spacing: -.055em; }
.hero h1 em { color: var(--pool); font-style: normal; }
.hero__lead { max-width: 650px; margin-bottom: 34px; color: var(--ink-2); font-size: 18px; line-height: 1.75; }
.hero-dashboard { position: relative; padding: 24px; border: 1px solid rgba(8,29,49,.09); border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-dashboard__label { margin-bottom: 13px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.hero-stat { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 16px; background: var(--soft); }
.hero-stat--large { margin-bottom: 10px; padding: 23px; background: var(--ink); color: #fff; }
.hero-stat--large:hover { color: var(--mint); }
.hero-stat__number { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 800; }
.hero-stat strong, .hero-stat small { display: block; }
.hero-stat strong { font-size: 14px; }
.hero-stat small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.hero-stat--large small { color: rgba(255,255,255,.62); }
.hero-stat b { margin-left: auto; }
.hero-dashboard__split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Routes */
.route-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.route-card { position: relative; min-height: 330px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #e9f6fa; transition: .22s ease; }
.route-card:hover { transform: translateY(-7px); color: var(--ink); box-shadow: var(--shadow); }
.route-card--mint { background: var(--mint-soft); }
.route-card--coral { background: var(--coral-soft); }
.route-card--navy { background: var(--ink); color: #fff; }
.route-card--navy:hover { color: #fff; }
.route-card__index { position: absolute; top: 22px; right: 25px; color: rgba(8,29,49,.28); font-family: var(--serif); font-size: 20px; }
.route-card--navy .route-card__index { color: rgba(255,255,255,.32); }
.route-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 44px; border-radius: 17px; background: rgba(255,255,255,.74); font-family: var(--serif); font-size: 27px; font-weight: 800; }
.route-card--navy .route-card__icon { background: rgba(255,255,255,.13); color: var(--mint); }
.route-card h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 23px; line-height: 1.28; letter-spacing: -.025em; }
.route-card p { color: var(--muted); font-size: 13px; }
.route-card--navy p { color: rgba(255,255,255,.65); }
.route-card strong { position: absolute; left: 30px; right: 30px; bottom: 27px; display: flex; justify-content: space-between; font-size: 13px; }

/* Certification */
.certification-section { background: var(--soft); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cert-panel { position: relative; padding: 42px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 12px 35px rgba(5,46,64,.07); }
.cert-panel::after { content: ''; position: absolute; top: -55px; right: -45px; width: 180px; height: 180px; border: 35px solid rgba(10,111,131,.07); border-radius: 50%; }
.cert-panel--red::after { border-color: rgba(255,111,97,.09); }
.cert-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: var(--pool); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.cert-panel--red .cert-panel__head { color: #c2473f; }
.cert-panel__head b { font-family: var(--serif); font-size: 38px; opacity: .2; }
.cert-panel h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 38px; letter-spacing: -.04em; }
.cert-panel > p { max-width: 560px; color: var(--muted); }
.step-list { margin: 30px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step-list li { border-bottom: 1px solid var(--line); }
.step-list a { display: flex; align-items: center; gap: 14px; padding: 16px 0; font-size: 14px; font-weight: 800; }
.step-list span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint-soft); color: var(--pool-dark); font-size: 11px; }
.cert-panel--red .step-list span { background: var(--coral-soft); color: #a43e36; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg,var(--pool-dark),var(--ink)); color: rgba(255,255,255,.15); font-family: var(--serif); font-size: 90px; font-weight: 800; }
.post-card__body { padding: 23px; }
.post-card__title { margin-bottom: 11px; font-family: var(--serif); font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.post-card__body > p { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.post-meta { color: #7d8d97; font-size: 11px; }
.empty-state { padding: 55px; border: 1px dashed #b7cad2; border-radius: var(--radius); background: var(--soft); text-align: center; }
.empty-state strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 25px; }
.empty-state p { margin-bottom: 0; color: var(--muted); }

/* Insight */
.insight-section { background: var(--ink); color: #fff; }
.insight-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.insight-intro h2 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(38px,5vw,58px); line-height: 1.08; letter-spacing: -.05em; }
.insight-intro > p:not(.eyebrow) { margin-bottom: 28px; color: rgba(255,255,255,.64); }
.insight-list { border-top: 1px solid rgba(255,255,255,.15); }
.insight-item { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 18px; min-height: 92px; border-bottom: 1px solid rgba(255,255,255,.15); }
.insight-item:hover { color: var(--mint); }
.insight-item time { color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .08em; }
.insight-item strong { font-family: var(--serif); font-size: 19px; }
.insight-item--placeholder { opacity: .74; }

/* Gear comparison */
.gear-section { background: #fff; }
.comparison-preview { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 32px rgba(5,46,64,.06); }
.comparison-preview__title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 24px 28px; background: var(--soft); }
.comparison-preview__title strong { font-family: var(--serif); font-size: 24px; }
.comparison-preview__title span { color: var(--muted); font-size: 12px; }
.comparison-row { display: grid; grid-template-columns: 1.25fr repeat(3,1fr); border-top: 1px solid var(--line); }
.comparison-row > * { padding: 17px 24px; border-right: 1px solid var(--line); }
.comparison-row > *:last-child { border-right: 0; }
.comparison-row--head { background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.comparison-row:not(.comparison-row--head) span { color: var(--muted); font-size: 13px; }

/* Explore + newsletter */
.explore-section { background: var(--soft); }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.explore-card { position: relative; min-height: 410px; padding: 45px; overflow: hidden; border-radius: 26px; transition: .22s ease; }
.explore-card:hover { transform: translateY(-5px); color: inherit; box-shadow: var(--shadow); }
.explore-card::after { position: absolute; right: -25px; bottom: -40px; font-family: var(--serif); font-size: 240px; line-height: 1; opacity: .07; }
.explore-card--map { background: #d8f2ee; }
.explore-card--map::after { content: '◎'; }
.explore-card--book { background: #ffe5d8; }
.explore-card--book::after { content: 'M'; }
.explore-card h2 { margin-top: 50px; margin-bottom: 16px; font-family: var(--serif); font-size: 43px; line-height: 1.08; letter-spacing: -.04em; }
.explore-card p { color: var(--muted); }
.explore-card > strong { position: absolute; left: 45px; bottom: 40px; font-size: 14px; }
.newsletter-section { padding: 0 0 92px; background: var(--soft); }
.newsletter-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 46px 55px; border-radius: 24px; background: #fff; box-shadow: 0 13px 35px rgba(5,46,64,.07); }
.newsletter-card h2 { margin-bottom: 7px; font-family: var(--serif); font-size: 34px; letter-spacing: -.035em; }
.newsletter-card p:last-child { margin: 0; color: var(--muted); }

/* Inner pages */
.breadcrumbs { display: flex; gap: 9px; padding-top: 15px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.content-wrap { padding: 65px 0 100px; }
.archive-header { max-width: 760px; margin-bottom: 42px; }
.archive-header h1 { margin-bottom: 15px; font-family: var(--serif); font-size: clamp(42px,5vw,62px); line-height: 1.08; letter-spacing: -.05em; }
.archive-description { color: var(--muted); font-size: 17px; }
.navigation.pagination { margin-top: 45px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; }
.page-numbers.current { background: var(--pool); color: #fff; border-color: var(--pool); }
.article-layout { max-width: 900px; padding-top: 60px; padding-bottom: 100px; }
.article-header { margin-bottom: 34px; text-align: center; }
.article-header h1 { margin: 8px auto 22px; font-family: var(--serif); font-size: clamp(40px,5.5vw,64px); line-height: 1.12; letter-spacing: -.05em; }
.article-meta { display: flex; justify-content: center; gap: 13px; color: var(--muted); font-size: 12px; }
.article-meta > * + *::before { content: '·'; margin-right: 13px; }
.article-hero { margin: 0 0 45px; overflow: hidden; border-radius: var(--radius); }
.article-hero img { width: 100%; }
.entry-content { color: #243b4b; font-size: 17px; line-height: 1.9; }
.entry-content > * { max-width: 740px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1040px; margin-left: 50%; transform: translateX(-50%); width: min(1040px,calc(100vw - 40px)); }
.entry-content > .alignfull { max-width: none; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.entry-content h2, .entry-content h3 { margin-top: 2.2em; color: var(--ink); font-family: var(--serif); line-height: 1.3; letter-spacing: -.025em; }
.entry-content h2 { font-size: 32px; }
.entry-content h3 { font-size: 25px; }
.entry-content a { color: var(--pool); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { padding: 20px 25px; border-left: 4px solid var(--mint); background: var(--soft); color: var(--ink-2); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 13px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--soft); }
.article-footer { max-width: 740px; margin: 45px auto 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list a { padding: 7px 11px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 11px; }
.source-note { margin-top: 35px; padding: 22px 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.source-note p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.article-deck { padding-bottom: 25px; border-bottom: 1px solid var(--line); color: var(--ink) !important; font-family: var(--serif); font-size: 23px; line-height: 1.65; letter-spacing: -.02em; }
.article-facts { display: grid; grid-template-columns: repeat(3,1fr); max-width: 900px !important; margin-top: 36px; margin-bottom: 42px; border: 1px solid #927241; background: var(--ink); color: #fff; }
.article-facts > div { min-width: 0; padding: 25px 22px; border-right: 1px solid rgba(213,181,125,.34); }
.article-facts > div:last-child { border-right: 0; }
.article-facts span, .article-facts small { display: block; }
.article-facts span { margin-bottom: 8px; color: #d5b57d; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.article-facts strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; }
.article-facts small { margin-top: 6px; color: rgba(255,255,255,.58); font-size: 11px; }
.entry-content .article-correction { margin-top: 40px; margin-bottom: 55px; padding: 28px 30px; border-left-color: #b98b4a; background: #f4ecdd; }
.entry-content .article-correction p { margin: 0; }
.entry-content .score-table { margin-top: 28px; margin-bottom: 45px; }
.score-table th:nth-child(1), .score-table td:nth-child(1) { min-width: 88px; }
.score-table th:nth-child(2), .score-table td:nth-child(2) { width: 72px; text-align: center; }
.score-table thead th, .score-table tfoot th { background: var(--ink); color: #fff; }
.score-table tbody tr:nth-child(even) { background: #f7f3e9; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); max-width: 900px !important; margin-top: 28px; margin-bottom: 42px; gap: 1px; background: #c9b693; border: 1px solid #c9b693; }
.metric-grid section { padding: 28px 24px; background: #fbf9f4; }
.metric-grid span { color: #8b6736; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.metric-grid h3 { margin: 10px 0 12px; font-size: 23px; }
.metric-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.priority-list { counter-reset: priority; margin-top: 28px; padding: 0; list-style: none; }
.priority-list li { position: relative; min-height: 74px; margin: 0; padding: 20px 18px 20px 76px; border-top: 1px solid var(--line); }
.priority-list li:last-child { border-bottom: 1px solid var(--line); }
.priority-list li::before { counter-increment: priority; content: '0' counter(priority); position: absolute; left: 18px; top: 18px; color: #a57d45; font-family: var(--serif); font-size: 24px; }
.training-table { margin-top: 25px; margin-bottom: 45px; }
.entry-content .safety-note { border-left-color: #a34d3c; background: #f7e9e4; }
.official-links { padding: 24px 25px 24px 48px; border: 1px solid var(--line); background: #fbf9f4; }
.official-links li { margin: 9px 0; }
.article-updated { margin-top: 50px; padding: 24px 26px; border-top: 1px solid #927241; border-bottom: 1px solid #927241; color: #5c4a32; font-size: 13px; }
.post-grid--1 { grid-template-columns: 1fr; }
.post-grid--1 .post-card { display: grid; grid-template-columns: minmax(280px,.8fr) 1.2fr; }
.post-grid--1 .post-card__media { min-height: 330px; aspect-ratio: auto; }
.post-grid--1 .post-card__body { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.post-grid--1 .post-card__title { max-width: 720px; font-size: clamp(28px,3.3vw,44px); }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-navigation > div:last-child { text-align: right; }
.post-navigation span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.post-navigation a { font-family: var(--serif); font-weight: 700; }
.not-found { padding: 110px 0 140px; text-align: center; }
.not-found h1 { margin: 8px auto 22px; font-family: var(--serif); font-size: clamp(45px,6vw,72px); line-height: 1.08; letter-spacing: -.05em; }
.not-found > p:not(.eyebrow) { color: var(--muted); }
.not-found .button-row { justify-content: center; margin-top: 28px; }

/* Footer */
.site-footer { padding: 70px 0 28px; background: #061725; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 70px; }
.brand-mark--footer { color: #fff; }
.footer-brand p { max-width: 430px; margin-top: 22px; color: rgba(255,255,255,.55); font-size: 13px; }
.footer-title { margin-bottom: 18px; color: var(--mint); font-size: 11px; letter-spacing: .12em; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 11px; }
.footer-bottom p { margin: 0; }

/* Luxury editorial edition */
::selection { background: var(--mint); color: var(--ink); }
body { background: var(--paper); }
.site-header { background: rgba(251,249,244,.98); border-color: var(--line); }
.utility-bar { background: #0b1118; color: #cfc2aa; letter-spacing: .16em; }
.utility-bar a:hover { color: #fff; }
.masthead { min-height: 124px; }
.brand-mark__symbol {
  width: 42px; height: 48px; border: 1px solid #b99a66; border-radius: 0;
  background: #111a24; color: #d8c29d; font-size: 20px; transform: none;
}
.brand-mark__text { font-size: 32px; letter-spacing: -.025em; }
.site-tagline { color: #7a746a; letter-spacing: .015em; }
.header-cta { color: var(--pool-dark); letter-spacing: .02em; }
.header-cta span { border: 1px solid var(--pool); border-radius: 0; background: transparent; }
.nav-shell { border-color: var(--line); }
.primary-nav > ul { gap: 2px; }
.primary-nav > ul > li > a { position: relative; font-size: 13px; letter-spacing: .035em; }
.primary-nav > ul > li > a::before {
  content: ''; position: absolute; left: 17px; right: 17px; bottom: 0; height: 1px;
  background: var(--pool); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.primary-nav > ul > li:hover > a::before, .primary-nav > ul > li:focus-within > a::before { transform: scaleX(1); }
.primary-nav .menu-item-has-children > a::after { color: var(--pool); }
.primary-nav .sub-menu {
  min-width: 260px; padding: 12px 18px; border: 1px solid var(--line); border-top: 2px solid var(--pool);
  border-radius: 0; background: var(--paper); box-shadow: 0 20px 45px rgba(16,24,32,.13);
}
.primary-nav .sub-menu a { padding: 11px 2px; border-bottom: 1px solid #e8e2d8; border-radius: 0; font-family: var(--serif); font-size: 14px; font-weight: 700; }
.primary-nav .sub-menu li:last-child a { border-bottom: 0; }
.primary-nav .sub-menu a:hover { padding-left: 7px; background: transparent; color: var(--pool-dark); }
.header-search { background: var(--soft); }
.search-field, .search-submit { border-radius: 0; }
.section { padding: 104px 0; }
.section-heading h2 { font-size: clamp(36px,4vw,54px); font-weight: 500; letter-spacing: -.045em; }
.eyebrow { color: var(--pool-dark); letter-spacing: .18em; }
.button { min-height: 50px; padding-inline: 25px; border-radius: 0; letter-spacing: .04em; }
.button--primary { background: var(--pool-dark); box-shadow: none; }
.button--primary:hover { background: var(--ink); }
.button--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.button--ghost:hover { border-color: var(--mint); color: var(--mint); }
.text-link { color: var(--pool-dark); letter-spacing: .025em; }

.hero {
  padding: 108px 0 116px;
  background: linear-gradient(118deg,#0a1118 0%,#121d27 58%,#2b2723 100%);
  color: #f8f4ec;
}
.hero::before { top: -410px; right: -100px; border-color: rgba(198,166,106,.2); border-radius: 50%; }
.hero::after { right: 8%; bottom: -250px; border-color: rgba(198,166,106,.08); }
.hero__water { opacity: .3; background: repeating-linear-gradient(90deg,#b99a66 0 70px,transparent 70px 92px); }
.hero__eyebrow { color: #c9ad7a; letter-spacing: .24em; }
.hero h1 { max-width: 800px; font-weight: 500; letter-spacing: -.05em; }
.hero h1 em { color: #d8c29d; }
.hero__lead { color: rgba(248,244,236,.7); }
.hero-dashboard { padding: 26px; border: 1px solid rgba(214,192,154,.42); border-radius: 0; background: #f5f0e7; color: var(--ink); box-shadow: 26px 26px 0 rgba(0,0,0,.18); backdrop-filter: none; }
.hero-dashboard__label { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--pool-dark); letter-spacing: .17em; }
.hero-stat { border: 1px solid #ded6c8; border-radius: 0; background: #faf7f1; }
.hero-stat--large { border-color: #17212b; background: #101820; }
.hero-stat--large:hover { color: #dbc8a7; }
.hero-stat__number { border: 1px solid #b99a66; border-radius: 0; background: transparent; color: var(--pool-dark); }
.hero-stat--large .hero-stat__number { color: #dbc8a7; }
.hero-stat small { color: #817a6f; }
.issue-band {
  display: grid; grid-template-columns: .7fr 1.4fr 1fr .8fr; align-items: center; gap: 28px;
  min-height: 68px; padding: 14px max(20px,calc((100vw - var(--wrap))/2));
  border-bottom: 1px solid var(--line); background: #d2b987; color: #141a20;
  font-size: 10px; font-weight: 900; letter-spacing: .13em;
}
.issue-band strong { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.issue-band span:last-child { text-align: right; }

.route-card, .route-card--mint, .route-card--coral, .route-card--navy {
  min-height: 345px; border: 1px solid var(--line); border-radius: 0; background: #f5f1e9; color: var(--ink);
}
.route-card:nth-child(2) { background: #e9e4d9; }
.route-card:nth-child(3) { background: #eee4e2; }
.route-card--navy { border-color: #18222d; background: #101820; color: #f7f3eb; }
.route-card:hover { color: var(--ink); box-shadow: 12px 12px 0 #d6c09a; }
.route-card--navy:hover { color: #fff; box-shadow: 12px 12px 0 #8d6f40; }
.route-card__index { color: rgba(16,24,32,.3); }
.route-card__icon { width: 48px; height: 48px; border: 1px solid #b9a079; border-radius: 0; background: transparent; color: var(--pool-dark); font-size: 18px; }
.route-card--navy .route-card__icon { border-color: #9d7f4f; border-radius: 0; background: transparent; color: #d6c09a; }
.route-card h3 { font-size: 25px; font-weight: 500; }

.certification-section { background: #ece7dd; }
.cert-panel { padding: 46px; border: 1px solid #d2c9ba; border-top: 3px solid var(--pool); border-radius: 0; background: #fbf8f2; box-shadow: none; }
.cert-panel--red { border-top-color: var(--coral); }
.cert-panel::after { border-color: rgba(166,129,76,.08); }
.cert-panel--red::after { border-color: rgba(125,57,72,.08); }
.cert-panel__head { color: var(--pool-dark); }
.cert-panel h3 { font-weight: 500; }
.step-list span { border: 1px solid #c5aa7e; border-radius: 0; background: transparent; }
.cert-panel--red .step-list span { border-color: #af7580; border-radius: 0; background: transparent; }

.edition-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.edition-card { position: relative; min-height: 360px; padding: 38px; background: #f7f3eb; }
.edition-card--dark { background: #101820; color: #f7f3eb; }
.edition-card > span { color: var(--pool-dark); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.edition-card--dark > span { color: #d6c09a; }
.edition-card h3 { max-width: 300px; margin: 62px 0 18px; font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1.18; }
.edition-card p { color: var(--muted); font-size: 13px; }
.edition-card--dark p { color: rgba(255,255,255,.6); }
.edition-card b { position: absolute; left: 38px; bottom: 34px; font-size: 10px; letter-spacing: .12em; }
.edition-card:hover { color: var(--pool-dark); }
.edition-card--dark:hover { color: #d6c09a; }
.post-card { border-radius: 0; background: #fbf9f4; }
.post-card__placeholder { background: linear-gradient(135deg,#72562f,#101820); }
.post-card__title { font-size: 24px; font-weight: 500; }
.empty-state { border: 1px solid var(--line); border-radius: 0; background: var(--soft); }

.insight-section { background: #0a1016; }
.eyebrow--light { color: #d6c09a; }
.insight-intro h2 { font-weight: 500; }
.insight-item:hover { color: #d6c09a; }
.gear-section { background: var(--paper); }
.comparison-preview { border-radius: 0; box-shadow: none; }
.comparison-preview__title { background: #ede8de; }
.comparison-row--head { background: #101820; }
.explore-section { background: #ece7dd; }
.explore-card { border: 1px solid #cfc5b4; border-radius: 0; }
.explore-card--map { background: #dde1da; }
.explore-card--book { background: #e8ddd5; }
.explore-card h2 { font-weight: 500; }
.newsletter-section { background: #ece7dd; }
.newsletter-card { border: 1px solid #d4cbbb; border-radius: 0; background: #f8f5ef; box-shadow: none; }

.breadcrumbs { color: #837c71; letter-spacing: .03em; }
.archive-header h1, .article-header h1 { font-weight: 500; }
.topic-wrap { padding-top: 42px; }
.topic-hero {
  max-width: none; min-height: 390px; margin-bottom: 82px; padding: 68px 0;
  display: grid; grid-template-columns: 1fr 220px; align-items: end; gap: 80px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.topic-hero > div:first-child { max-width: 850px; }
.topic-hero h1 { font-size: clamp(55px,7vw,90px); }
.topic-hero .archive-description { max-width: 760px; font-size: 18px; }
.topic-hero__folio { min-height: 220px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--pool); background: #101820; color: #d6c09a; }
.topic-hero__folio span, .topic-hero__folio small { font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.topic-hero__folio strong { font-family: var(--serif); font-size: 84px; line-height: .8; font-weight: 400; }
.topic-directory, .topic-agenda { margin-bottom: 105px; }
.topic-child-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.topic-child-card { position: relative; min-height: 330px; padding: 34px; background: #f7f3eb; }
.topic-child-card:nth-child(even) { background: #eee9df; }
.topic-child-card > span, .topic-agenda__grid article > span { color: var(--pool-dark); font-family: var(--serif); font-size: 20px; }
.topic-child-card h2 { margin: 48px 0 14px; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.topic-child-card p { color: var(--muted); font-size: 13px; }
.topic-child-card strong { position: absolute; left: 34px; bottom: 30px; font-size: 10px; letter-spacing: .13em; }
.topic-child-card:hover { color: var(--pool-dark); }
.topic-agenda__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.topic-agenda__grid article { min-height: 250px; padding: 30px; border-top: 2px solid var(--pool); background: #f1ece3; }
.topic-agenda__grid h3 { margin: 55px 0 12px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.topic-agenda__grid p { color: var(--muted); font-size: 13px; }
.topic-posts { padding-top: 80px; border-top: 1px solid var(--line); }
.empty-state--editorial span { display: block; margin-bottom: 12px; color: var(--pool-dark); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.empty-state--editorial .text-link { display: inline-block; margin-top: 20px; }

.service-hero { padding: 85px 0 95px; background: #101820; color: #f8f4ec; }
.service-hero__grid { display: grid; grid-template-columns: 1fr 210px; align-items: end; gap: 90px; }
.service-hero h1 { max-width: 850px; margin: 12px 0 24px; font-family: var(--serif); font-size: clamp(54px,7vw,88px); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; }
.service-hero p:not(.eyebrow) { max-width: 730px; color: rgba(255,255,255,.65); font-size: 18px; }
.service-hero__mark { min-height: 210px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #b89966; color: #d6c09a; }
.service-hero__mark span, .service-hero__mark small { font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.service-hero__mark strong { font-family: var(--serif); font-size: 92px; font-weight: 400; line-height: .75; }
.service-content { padding-top: 100px; padding-bottom: 110px; }
.service-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-feature-grid article { min-height: 310px; padding: 35px; background: #f5f1e9; }
.service-feature-grid article:nth-child(2) { background: #ece7dd; }
.service-feature-grid span { color: var(--pool-dark); font-family: var(--serif); font-size: 20px; }
.service-feature-grid h2 { margin: 70px 0 16px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.service-feature-grid p { color: var(--muted); font-size: 13px; }
.service-entry { margin: 70px auto; }
.service-next { margin-top: 85px; padding: 42px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #101820; color: #fff; }
.service-next span { color: #d6c09a; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.service-next h2 { margin: 8px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.article-hero, .source-note { border-radius: 0; }
.entry-content { color: #393b3c; }
.entry-content blockquote { border-color: var(--pool); background: var(--soft); }
.entry-content a { color: var(--pool-dark); }
.page-numbers { border-radius: 0; }
.page-numbers.current { background: var(--pool-dark); border-color: var(--pool-dark); }
.site-footer { background: #080d12; }
.footer-title { color: #d6c09a; }

@media (max-width: 1024px) {
  .site-tagline { display: none; }
  .primary-nav > ul > li > a { padding: 0 10px; font-size: 13px; }
  .hero__grid { gap: 40px; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .route-card { min-height: 300px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .insight-grid { gap: 50px; }
  .topic-child-grid { grid-template-columns: repeat(2,1fr); }
  .topic-hero, .service-hero__grid { grid-template-columns: 1fr 180px; gap: 50px; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .utility-bar nav, .header-cta { display: none; }
  .utility-bar__inner { justify-content: center; }
  .masthead { min-height: 86px; }
  .brand-mark__symbol { width: 38px; height: 38px; }
  .brand-mark__text { font-size: 27px; }
  .nav-shell__inner { justify-content: space-between; }
  .menu-toggle { display: flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 160px); overflow-y: auto; padding: 8px 14px 18px; border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { display: block; }
  .primary-nav > ul > li > a { min-height: 46px; padding: 0 5px; border-bottom: 1px solid var(--line); }
  .primary-nav .sub-menu { position: static; min-width: 0; padding: 2px 0 8px 14px; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; }
  .primary-nav .sub-menu a { padding: 8px 7px; }
  .section { padding: 68px 0; }
  .section-heading--row { display: block; }
  .section-heading--row > p { margin-top: 12px; }
  .hero { padding: 66px 0 75px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(46px,13vw,66px); }
  .hero__lead { font-size: 16px; }
  .hero-dashboard { max-width: 580px; }
  .cert-grid, .insight-grid, .explore-grid { grid-template-columns: 1fr; }
  .insight-grid { gap: 40px; }
  .newsletter-card { display: block; padding: 35px; }
  .newsletter-card .button { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1/-1; }
  .issue-band { grid-template-columns: 1fr 1fr; padding: 16px 20px; }
  .issue-band span:nth-child(3) { display: none; }
  .issue-band span:last-child { text-align: right; }
  .edition-grid, .topic-agenda__grid, .service-feature-grid { grid-template-columns: 1fr; }
  .edition-card { min-height: 310px; }
  .topic-hero, .service-hero__grid { grid-template-columns: 1fr; }
  .topic-hero__folio, .service-hero__mark { display: none; }
  .topic-hero { min-height: 330px; padding: 48px 0; }
  .topic-child-grid { grid-template-columns: 1fr 1fr; }
  .service-next { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .route-grid, .post-grid, .post-grid--three { grid-template-columns: 1fr; }
  .hero-dashboard__split { grid-template-columns: 1fr; }
  .hero-stat--large { padding: 18px; }
  .route-card { min-height: 285px; }
  .cert-panel { padding: 30px 24px; }
  .cert-panel h3 { font-size: 32px; }
  .insight-item { grid-template-columns: 1fr auto; padding: 18px 0; }
  .insight-item time { grid-column: 1/-1; }
  .comparison-preview { overflow-x: auto; }
  .comparison-preview__title, .comparison-row { min-width: 620px; }
  .explore-card { min-height: 370px; padding: 32px; }
  .explore-card h2 { font-size: 36px; }
  .explore-card > strong { left: 32px; bottom: 30px; }
  .article-meta { flex-wrap: wrap; }
  .entry-content { font-size: 16px; }
  .article-deck { font-size: 20px; }
  .article-facts, .metric-grid { grid-template-columns: 1fr; }
  .article-facts > div { border-right: 0; border-bottom: 1px solid rgba(213,181,125,.34); }
  .article-facts > div:last-child { border-bottom: 0; }
  .score-table, .training-table { overflow-x: auto; }
  .score-table table { min-width: 760px; }
  .training-table table { min-width: 600px; }
  .post-grid--1 .post-card { display: block; }
  .post-grid--1 .post-card__media { min-height: 240px; }
  .post-grid--1 .post-card__body { padding: 28px 24px; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation > div:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-note { margin-top: 8px !important; }
  .issue-band { grid-template-columns: 1fr; gap: 2px; padding-block: 13px; }
  .issue-band strong { font-size: 16px; }
  .issue-band span:last-child { display: none; }
  .topic-child-grid { grid-template-columns: 1fr; }
  .topic-child-card { min-height: 290px; }
  .topic-hero h1, .service-hero h1 { font-size: clamp(46px,14vw,66px); }
  .service-hero { padding: 65px 0 70px; }
  .service-content { padding-top: 70px; }
  .service-next { padding: 32px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
