/* Shared navigation additions for the new Blog link. Existing section styles stay in styles.css. */
.nav { z-index: 130; }
.nav__brand, .nav__links a { white-space: nowrap; }
.nav a[aria-current="page"], .menu a[aria-current="page"] { color: var(--gold-soft); text-decoration: underline; text-underline-offset: .45em; }
:where(.nav, .menu, .blog-page) :is(a, button):focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 5px; }
@media (max-width: 1100px) {
  .nav__links, .nav .lang-toggle { display: none; }
  .nav__burger { display: block; }
}
@media (max-height: 650px) {
  .menu { justify-content: flex-start; padding: 100px 24px 24px; overflow-y: auto; gap: 20px; }
  .menu__links { gap: 12px; }
  .menu__links a { font-size: 1.25rem; }
}
.blog-page .nav { background: rgba(22,18,15,.94); border-bottom-color: var(--line); }
.blog-page .nav :is(.nav__brand-text, .nav__links, .lang-toggle, .nav__burger) { mix-blend-mode: normal; }
.blog-page .blog-skip { position: fixed; left: 20px; top: 12px; z-index: 140; transform: translateY(-200%); background: var(--text); color: var(--bg); padding: 12px 20px; }
.blog-page .blog-skip:focus { transform: none; }
.blog-page .blog-intro { max-width: none; padding: 96px 0 0; }
.blog-page .blog-intro__below { max-width: 1160px; padding: 0 var(--gut); margin: auto; }
.blog-page .blog-hero { display: grid; align-items: center; }
.blog-page .blog-hero__copy { --copy-pad: clamp(20px, 3vw, 40px); grid-area: 1 / 1; z-index: 1; margin: 20px 0 20px calc(max(var(--gut), (100% - 1160px) / 2 + var(--gut)) - var(--copy-pad)); padding: var(--copy-pad); width: max-content; max-width: 55%; color: #16221c; background: rgba(239,231,218,.96); pointer-events: none; }
.blog-page .blog-hero__copy .eyebrow { color: #3c503f; }
.blog-page h1#blog-title { font: 400 clamp(3rem, 7vw, 6rem)/1.15 var(--serif); letter-spacing: .03em; }
.blog-page[data-lang="jp"] h1#blog-title { font-family: var(--jp); font-size: clamp(2.8rem, 6vw, 5rem); }
.blog-page .blog-intro__text { max-width: var(--measure-text); margin-top: 24px; color: var(--text); font-size: 1.1rem; }
.blog-page .blog-language { color: var(--dim); font-size: .85rem; margin-top: 14px; }
.blog-page .blog-visual { grid-area: 1 / 1; position: relative; margin: 0; aspect-ratio: 2 / 1; background: var(--green); overflow: hidden; }
.blog-page .blog-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-page .blog-content { max-width: 1160px; padding-top: 64px; scroll-margin-top: 110px; }
.blog-page #soro-blog { min-height: 300px; scroll-margin-top: 110px; }
.blog-page .blog-status { color: var(--dim); padding: 32px 0; }
.blog-page .blog-status a { text-decoration: underline; }
.blog-page .blog-footer { max-width: var(--maxw); margin: auto; padding: 40px var(--gut); border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; }
.blog-page .blog-footer div { display: flex; flex-wrap: wrap; gap: 24px; margin: 28px 0 16px; }
.blog-page .blog-home { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-soft); }
/* Soro owns article data and rendering. These scoped overrides only adapt presentation. */
.blog-page #soro-blog .soro-blog { max-width: none; font-family: "Inter", system-ui, sans-serif; color: var(--text); }
.blog-page #soro-blog .soro-blog-list { gap: 0; }
.blog-page #soro-blog .soro-blog-card { padding: 32px 0; gap: 32px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); box-shadow: none; }
.blog-page #soro-blog .soro-blog-card:hover { border-color: var(--gold); box-shadow: none; }
.blog-page #soro-blog :is(.soro-blog-card-title, .soro-blog-article-title, .soro-blog-article-content h1, .soro-blog-article-content h2, .soro-blog-article-content h3) { font-family: "Newsreader", Georgia, serif; font-weight: 400; color: var(--text); overflow-wrap: anywhere; }
.blog-page #soro-blog .soro-blog-card-title { font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.25; margin-bottom: 12px; }
.blog-page #soro-blog .soro-blog-card-excerpt { font-size: .95rem; line-height: 1.8; color: var(--dim); }
.blog-page #soro-blog :is(.soro-blog-card-date, .soro-blog-article-date, .soro-blog-empty, .soro-blog-loading) { color: var(--dim); }
.blog-page #soro-blog .soro-blog-card-image { width: 200px; height: 145px; border-radius: 0; }
.blog-page #soro-blog .soro-blog-article { max-width: var(--measure-text); margin: auto; }
.blog-page #soro-blog .soro-blog-article-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
.blog-page #soro-blog .soro-blog-article-content { color: var(--text); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.blog-page #soro-blog .soro-blog-article-content :is(h2, h3) { line-height: 1.35; }
.blog-page #soro-blog .soro-blog-article-image, .blog-page #soro-blog .soro-blog-article-content img { border-radius: 0; height: auto; }
.blog-page #soro-blog .soro-blog-article-content a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: .2em; }
.blog-page #soro-blog .soro-blog-back { color: var(--gold-soft); border-color: var(--line); border-radius: 0; font-family: "Inter", system-ui, sans-serif; }
.blog-page #soro-blog .soro-blog-back:hover { background: var(--bg-2); border-color: var(--gold); }
.blog-page #soro-blog .soro-blog-header { margin-bottom: 36px; }
.blog-page #soro-blog .soro-blog-error { color: #f3aaa0; }
.blog-page #soro-blog .soro-blog-spinner { border-color: var(--line); border-top-color: var(--gold-soft); }
@media (max-width: 600px) {
  .blog-page .blog-intro { padding-top: 84px; }
  .blog-page .blog-visual { aspect-ratio: 2 / 1; }
  .blog-page .blog-hero__copy { --copy-pad: 12px; max-width: calc(55% - 12px); margin-block: 12px; }
  .blog-page .blog-hero__copy .eyebrow { font-size: .5rem; letter-spacing: .2em; margin-bottom: 12px; }
  .blog-page h1#blog-title, .blog-page[data-lang="jp"] h1#blog-title { font-size: clamp(2rem, 9vw, 3rem); }
  .blog-page .blog-content { padding-top: 32px; }
  .blog-page #soro-blog .soro-blog-card { gap: 20px; padding: 28px 0; }
  .blog-page #soro-blog .soro-blog-card-image { width: 100%; height: auto; aspect-ratio: 16 / 9; }
}
.blog-page #soro-blog .soro-blog-card[hidden], .blog-page [hidden] { display: none !important; }
.blog-page #blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.blog-page #blog-pagination a { padding: 10px 16px; min-width: 44px; border: 1px solid var(--line); text-align: center; color: var(--text); }
.blog-page #blog-pagination a[aria-current="page"] { border-color: var(--gold-soft); color: var(--gold-soft); }
.blog-page .blog-page-status { color: var(--dim); text-align: center; font: .85rem/1.8 var(--sans); margin-top: 20px; }
.blog-page .blog-article-cta { max-width: var(--measure-text); margin: 64px auto 0; padding: 36px 0 0; border-top: 1px solid var(--line); }
.blog-page .blog-article-cta h2 { font: 400 clamp(1.7rem, 3vw, 2.2rem)/1.3 var(--serif); }
.blog-page .blog-article-cta p { color: var(--dim); margin: 20px 0 28px; }
.blog-page .blog-article-cta .btn { white-space: normal; }
@media (prefers-reduced-motion: reduce) {
  .nav, .menu, .nav__burger span { transition: none; }
  .blog-page #soro-blog .soro-blog-spinner { animation: none; }
}
