/*
Theme Name: Stratos News Economy
Theme URI: https://economy.stratos-research.com/
Author: Stratos Research
Description: European editorial elegance for Japanese economic news and market perspectives.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: stratos-news-economy
*/

:root {
  --ink: #17233d;
  --navy: #11213d;
  --soft-navy: #203454;
  --paper: #f5f0e6;
  --ivory: #fffdf8;
  --gold: #b29150;
  --soft-gold: #d9c79c;
  --burgundy: #742d3c;
  --muted: #6f6b63;
  --line: rgba(23, 35, 61, .16);
  --serif: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: Inter, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --shadow: 0 16px 42px rgba(17, 33, 61, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--burgundy); }
img { display: block; width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { z-index: 100000; top: 5px; left: 5px; width: auto; height: auto; padding: 10px 14px; clip: auto; background: #fff; color: #000; }

.site-header { background: var(--navy); color: var(--ivory); border-bottom: 1px solid rgba(217, 199, 156, .42); }
.utility-bar { border-bottom: 1px solid rgba(255,255,255,.16); color: var(--soft-gold); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.utility-inner, .site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.masthead { display: grid; grid-template-columns: 1fr minmax(240px, 560px) 1fr; align-items: center; min-height: 128px; }
.masthead-spacer { min-height: 1px; }
.brand { text-align: center; color: var(--ivory); }
.brand-kicker { margin: 0 0 4px; color: var(--soft-gold); font-size: 10px; letter-spacing: .24em; font-weight: 700; text-transform: uppercase; }
.brand-title { margin: 0; font-family: var(--serif); font-size: clamp(1.65rem, 4vw, 2.8rem); letter-spacing: .045em; line-height: 1.12; }
.brand-title a:hover { color: var(--soft-gold); }
.brand-rule { width: 76px; height: 1px; margin: 14px auto 10px; background: var(--gold); }
.brand-tagline { margin: 0; color: rgba(255,253,248,.78); font-family: var(--serif); font-size: .86rem; letter-spacing: .06em; }
.monogram { justify-self: end; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--soft-gold); font-family: var(--serif); font-size: 1.1rem; letter-spacing: .05em; }
.site-navigation { border-top: 1px solid rgba(255,255,255,.16); }
.site-navigation .site-shell { min-height: 52px; display: flex; justify-content: center; align-items: center; }
.menu, .menu ul { display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; list-style: none; }
.menu a { display: block; padding: 14px 0; color: rgba(255,253,248,.90); font-size: .84rem; letter-spacing: .08em; }
.menu a:hover, .current-menu-item > a { color: var(--soft-gold); }
.menu-toggle { display: none; }

.main-content { padding: 64px 0 84px; }
.section-kicker, .post-kicker { margin: 0 0 8px; color: var(--gold); font-size: .72rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.page-heading { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.18; }
.lead-story { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 430px; margin-bottom: 60px; background: var(--ivory); box-shadow: var(--shadow); }
.lead-image, .lead-image img { height: 100%; min-height: 430px; object-fit: cover; }
.lead-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 64px); }
.entry-meta { color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.entry-meta a { color: var(--burgundy); font-weight: 700; }
.lead-title { margin: 12px 0 18px; font-family: var(--serif); font-size: clamp(1.65rem, 3.3vw, 3rem); line-height: 1.32; }
.lead-excerpt, .card-excerpt { color: #4b4a46; }
.read-more { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--burgundy); font-size: .78rem; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.read-more::after { content: "→"; font-size: 1rem; }
.news-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.news-heading h2 { margin: 0; padding-bottom: 12px; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.15rem); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; background: var(--ivory); border: 1px solid rgba(23,35,61,.10); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image, .card-image img { height: 190px; object-fit: cover; }
.card-image.placeholder, .lead-image.placeholder { background: linear-gradient(135deg, var(--soft-navy), var(--navy)); }
.card-copy { padding: 22px 22px 25px; }
.card-title { margin: 8px 0 11px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; }
.card-excerpt { margin: 0; font-size: .91rem; line-height: 1.7; }

.content-column { width: min(800px, 100%); margin: 0 auto; background: var(--ivory); padding: clamp(28px, 6vw, 74px); box-shadow: var(--shadow); }
.entry-title { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.8rem); line-height: 1.3; }
.featured-image { margin: 30px 0 38px; }
.entry-content { font-size: 1.03rem; }
.entry-content h2, .entry-content h3 { margin-top: 2em; font-family: var(--serif); line-height: 1.4; }
.entry-content h2 { font-size: 1.8rem; }
.entry-content a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 2em 0; padding: 18px 24px; border-left: 3px solid var(--gold); background: #faf6ed; color: #47433d; }
.entry-content img { margin: 1.8em auto; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-navigation a { padding: 17px; background: #faf6ed; font-size: .89rem; }
.post-navigation .nav-next { text-align: right; }

.archive-list { display: grid; gap: 18px; }
.archive-item { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px; background: var(--ivory); border: 1px solid rgba(23,35,61,.10); }
.archive-thumb, .archive-thumb img { height: 128px; object-fit: cover; }
.archive-title { margin: 7px 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.42; }
.archive-excerpt { margin: 0; color: #4b4a46; font-size: .91rem; }
.pagination { margin-top: 42px; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--line); background: var(--ivory); font-size: .85rem; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.empty-state { padding: 44px; background: var(--ivory); border: 1px solid var(--line); text-align: center; }

.site-footer { padding: 56px 0 34px; background: var(--navy); color: rgba(255,253,248,.82); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-brand { margin: 0; color: var(--ivory); font-family: var(--serif); font-size: 1.42rem; letter-spacing: .04em; }
.footer-note { max-width: 470px; margin: 8px 0 0; color: rgba(255,253,248,.66); font-size: .82rem; }
.copyright { margin: 22px 0 0; color: rgba(255,253,248,.58); font-size: .75rem; letter-spacing: .04em; }

@media (max-width: 760px) {
  .utility-inner, .site-shell { width: min(100% - 28px, 1180px); }
  .utility-inner { justify-content: center; }
  .utility-inner span:last-child { display: none; }
  .masthead { min-height: 118px; grid-template-columns: 1fr 42px; }
  .masthead-spacer { display: none; }
  .brand { grid-column: 1; text-align: left; }
  .brand-rule { margin-left: 0; }
  .monogram { grid-column: 2; grid-row: 1; }
  .site-navigation .site-shell { justify-content: flex-start; }
  .menu { width: 100%; gap: 16px; overflow-x: auto; white-space: nowrap; }
  .menu a { font-size: .76rem; }
  .main-content { padding: 38px 0 56px; }
  .lead-story { display: block; min-height: 0; margin-bottom: 42px; }
  .lead-image, .lead-image img { min-height: 240px; height: 240px; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-image, .card-image img { height: 210px; }
  .archive-item { grid-template-columns: 105px 1fr; gap: 15px; padding: 14px; }
  .archive-thumb, .archive-thumb img { height: 80px; }
  .archive-excerpt { display: none; }
  .archive-title { font-size: 1.08rem; }
  .post-navigation { grid-template-columns: 1fr; }
  .footer-inner { display: block; }
}
