*, *::before, *::after { box-sizing: border-box; }

html { background-color: #f4f1e9; }

body {
  margin: 0;
  padding: 0;
  background-color: #f4f1e9;
  color: #221c17;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #7a2331; text-decoration: none; border-bottom: 1px solid rgba(122,35,49,0.35); transition: color 0.15s ease, border-color 0.15s ease; }
a:hover { color: #a7314a; border-bottom-color: #a7314a; }

*:focus-visible { outline: 2px solid #a67c3d; outline-offset: 3px; }

p { margin: 0 0 1.3rem 0; }
em { font-style: italic; }
strong { color: #211c17; font-weight: bold; }

h1 {
  font-weight: normal;
  font-size: 2.3rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #211c17;
  margin: 0 0 0.3rem 0;
}

h2 {
  font-variant: small-caps;
  letter-spacing: 0.04em;
  font-weight: bold;
  color: #7a2331;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  border-bottom: 2px solid #d9cba3;
  padding-bottom: 0.35rem;
}

h3 {
  font-weight: bold;
  color: #221c17;
  font-size: 1.05rem;
  margin: 1.6rem 0 0.5rem 0;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: bold;
  color: #8a6f3f;
  margin-bottom: 0.6rem;
}

.subtitle { color: #4a4033; font-size: 1.05rem; margin-bottom: 1.6rem; }

header.site-head {
  border-bottom: 2px solid #7a2331;
  background: #ece4d2;
}

.head-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

nav.site-nav a {
  margin-left: 1.25rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-bottom: none;
  color: #4a3f33;
}
nav.site-nav a:first-child { margin-left: 0; }
nav.site-nav a:hover { color: #7a2331; }
nav.site-nav a.current { color: #7a2331; border-bottom: 2px solid #7a2331; padding-bottom: 2px; }

.brand { font-size: 1rem; font-weight: bold; letter-spacing: 0.01em; color: #221c17; }

main.page { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }
main.page--wide { max-width: 72rem; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }

@media (min-width: 768px) {
  main.page { padding: 3.5rem 2rem 6rem; }
  main.page--wide { padding: 3.5rem 2rem 6rem; }
}

.hero-portrait {
  float: right;
  width: 170px;
  margin: 0 0 1.5rem 2rem;
  border: 1px solid #c9bc9a;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.hero-portrait img { display: block; width: 100%; height: auto; }
.hero-portrait figcaption { font-size: 0.75rem; color: #6b5f4a; text-align: center; margin-top: 0.4rem; }

@media (max-width: 560px) {
  .hero-portrait { float: none; width: 130px; margin: 0 auto 1.5rem; }
  body { font-size: 16px; }
  h1 { font-size: 1.85rem; }
}

blockquote {
  margin: 1.4rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 4px solid #a67c3d;
  background: #ece2c9;
  font-style: italic;
  color: #2c2416;
}
blockquote p:last-child { margin-bottom: 0; }
.translation {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: #5c5140;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(90,80,60,0.25);
}

.quote-orig {
  font-family: Georgia, serif;
  font-style: normal;
  color: #2c2416;
}

.callout {
  background: #fbf7ec;
  border: 1px solid #c9bc9a;
  border-left: 4px solid #a67c3d;
  border-radius: 3px;
  padding: 1rem 1.3rem;
  margin: 1.5rem 0;
}
.callout h4 { margin: 0 0 0.5rem 0; font-variant: small-caps; letter-spacing: 0.04em; color: #7a2331; font-weight: bold; font-size: 1rem; }

.flag {
  background: #fbf7ec;
  border: 1px solid #c9bc9a;
  border-left: 4px solid #8a6f3f;
  border-radius: 3px;
  padding: 0.9rem 1.2rem;
  margin: 1.4rem 0;
  font-size: 0.93rem;
}
.flag p { margin-bottom: 0; }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: bold;
  color: #f5ead9;
  background: #5c2430;
  border-radius: 3px;
  padding: 0.18rem 0.55rem;
  margin: 0 0.3rem 0.3rem 0;
}

/* Key-facts strip: replaces the old paragraph-in-a-box summary */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.5rem;
  background: #ece4d2;
  border: 1px solid #c9bc9a;
  border-radius: 3px;
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0 2rem;
}
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
}
.facts dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: bold;
  color: #8a6f3f;
  margin: 0 0 0.15rem 0;
}
.facts dd {
  margin: 0;
  font-size: 0.96rem;
  color: #221c17;
}

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 1.1rem 1.6rem;
  border-left: 2px solid #d9cba3;
  font-size: 0.95rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a67c3d;
  border: 2px solid #f4f1e9;
}
.timeline .date { font-size: 0.82rem; font-weight: bold; color: #7a2331; display: block; margin-bottom: 0.15rem; }

.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .doc-grid.doc-grid--2 { grid-template-columns: 1fr 1fr; }
}

.doc-card {
  border: 1px solid #c9bc9a;
  background: #fdfbf5;
  border-radius: 5px;
  overflow: hidden;
}
.doc-card--feature {
  border-left: 4px solid #7a2331;
}
.doc-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171412;
  max-height: 420px;
  overflow: hidden;
}
.doc-card__img img { display: block; width: auto; max-width: 100%; max-height: 420px; height: auto; object-fit: contain; }
.doc-card__body { padding: 1.1rem 1.3rem 1.3rem; }
.doc-card__title { font-size: 1.05rem; font-weight: bold; color: #221c17; margin: 0 0 0.3rem 0; }
.doc-card__meta { font-size: 0.8rem; color: #6b5f4a; margin-bottom: 0.8rem; }
.doc-card__body p { margin-bottom: 0.8rem; font-size: 0.96rem; }
.doc-card__body blockquote { font-size: 0.93rem; margin: 0.8rem 0; }
.doc-card a.view-full { font-size: 0.84rem; font-weight: bold; }

.source-list { margin: 1.5rem 0; padding-left: 1.3rem; }
.source-list li { margin-bottom: 0.7rem; }

table.family-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
table.family-table th, table.family-table td { text-align: left; padding: 0.5rem 0.8rem; border-bottom: 1px solid #d9cba3; }
table.family-table th { color: #7a2331; font-weight: bold; font-variant: small-caps; letter-spacing: 0.03em; }

footer.site-foot {
  border-top: 1px solid #d9cba3;
  margin-top: 3rem;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  color: #6b5f4a;
  font-size: 0.85rem;
}

.lightbox-link { display: inline-block; }
img.zoomable { cursor: zoom-in; }

hr.rule { border: none; border-top: 1px solid #d9cba3; margin: 2.5rem 0; }
