/*
 * Normandy Giverny — Main Stylesheet
 * @import parent CSS + component overrides
 */
@import url('../../style.css');

/* ─── PRINT ─────────────────────────────────────────────────── */
@media print {
  .site-header,.site-footer,.cta-banner,.gyg-widget-section,
  .trust-bar,.lang-switcher,.sidebar,.btn,.reading-progress { display:none!important; }
  body { font-size:11pt; color:#000; }
  a { color:#000; text-decoration:underline; }
  h1,h2,h3 { color:#000; page-break-after:avoid; }
  p,li { orphans:3; widows:3; }
}

/* ─── ACCESSIBILITY ─────────────────────────────────────────── */
.skip-link { position:absolute; top:-100px; left:0; background:var(--color-primary); color:#fff; padding:.5rem 1rem; z-index:9999; transition:top .2s; }
.skip-link:focus { top:0; }
.screen-reader-text { border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; word-wrap:normal!important; }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
.faq-answer.open { animation:fadeSlide .2s ease; }
@keyframes fadeSlide { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

/* ─── TOC ACTIVE ────────────────────────────────────────────── */
.toc a.active { color:var(--color-primary); font-weight:700; }

/* ─── GYG RESPONSIVE ────────────────────────────────────────── */
.gyg-widget-wrapper iframe, .gyg-widget-wrapper>div { max-width:100%; }

/* ─── LANG BODY ─────────────────────────────────────────────── */
body.lang-ja { word-break:break-all; line-height:1.9; }
body.lang-zh { word-break:break-all; }

/* ─── ARTICLE BODY ENHANCEMENTS ────────────────────────────── */
.article-body > p:first-of-type::first-letter {
  float:left; font-family:var(--font-serif); font-size:3.5rem; line-height:.85;
  margin:0 .1em -.1em 0; color:var(--color-primary); font-weight:700;
}
.article-body h2 { border-bottom:2px solid var(--color-bg-alt); padding-bottom:var(--space-3); }
.article-body h3 { color:var(--color-secondary); }
.article-body a { text-decoration:underline; text-underline-offset:2px; }

/* ─── STRUCTURED DATA HOOK ─────────────────────────────────── */
[itemscope] { display:block; }
