.edda-guide-page {
  --edda-ink: #14273b;
  --edda-paper: #f1eee5;
  --edda-rust: #8e432f;
  --edda-gold: #b8893d;
  --edda-moss: #365e61;
  background: #fbfaf7;
  color: var(--edda-ink);
}

.edda-guide-page .site-header {
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.ed.edda-guide-page .edda-hero {
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(184, 137, 61, .2), transparent 30%),
    linear-gradient(135deg, #f3ede1 0%, #dce4e1 100%);
  border-bottom: 1px solid rgba(23, 38, 42, .13);
}

body.ed.edda-guide-page .edda-hero .wrap {
  width: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 24px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  border-bottom: 0;
}

body.ed.edda-guide-page .edda-hero .wrap > * { margin-left: 0; }

.edda-hero-copy { max-width: 720px; }
.edda-hero .eyebrow { color: var(--edda-rust); }
body.ed.edda-guide-page .edda-hero h1 {
  max-width: 760px;
  margin: .45rem 0 1.15rem;
  color: var(--edda-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 6vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.045em;
}
body.ed.edda-guide-page .edda-hero-copy > p {
  max-width: 680px;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.62;
  color: #405155;
}
.edda-hero .guide-meta { color: #59676a; }

.edda-hero-media {
  position: relative;
  margin: 0;
  padding: 13px;
  background: #fffaf0;
  border: 1px solid rgba(54, 38, 24, .28);
  box-shadow: 0 28px 70px rgba(54, 38, 24, .24);
  transform: rotate(-1deg);
}
.edda-hero-media::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(159, 77, 47, .4);
  pointer-events: none;
  z-index: 1;
}
.edda-hero-media img {
  display: block;
  width: 100%;
  height: clamp(360px, 42vw, 510px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: sepia(.1) contrast(1.06);
}
.edda-hero-media figcaption,
.edda-manuscript figcaption {
  margin-top: 11px;
  color: #6d6257;
  font-size: .78rem;
  line-height: 1.4;
}

.edda-guide-page .article-body {
  max-width: none;
}
.edda-guide-page .article-body h2 {
  color: var(--edda-ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
.edda-guide-page .article-body h3 { color: var(--edda-ink); }
.edda-guide-page .article-body a { text-underline-offset: 3px; }
.edda-guide-page .ed-toc { border-top-color: var(--edda-rust); }
.edda-guide-page .ed-toc a:hover { color: var(--edda-rust); }

.edda-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  line-height: 1.55;
  color: #2e3d40;
}

.edda-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 52px;
}
.edda-fact {
  min-height: 120px;
  padding: 18px;
  background: var(--edda-paper);
  border: 1px solid #ddcfbb;
  border-radius: 5px;
}
.edda-fact b {
  display: block;
  margin-bottom: 9px;
  color: var(--edda-rust);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.edda-fact span { line-height: 1.38; }

.edda-manuscript {
  margin: 42px 0 56px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: center;
  background: #172b3d;
  border-radius: 7px;
  color: #f5efe4;
}
.edda-manuscript figure { margin: 0; }
.edda-manuscript img {
  display: block;
  width: 100%;
  border: 8px solid #e9ddc7;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.edda-manuscript figcaption { color: #cfc6b9; }
.edda-manuscript h3 {
  margin-top: 0;
  color: #fff9ed !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}
.edda-manuscript p { color: #ded8cd; }

.edda-timeline {
  position: relative;
  margin: 30px 0 54px;
  padding-left: 25px;
  border-left: 2px solid var(--edda-gold);
}
.edda-timeline div {
  position: relative;
  padding: 0 0 25px 16px;
}
.edda-timeline div:last-child { padding-bottom: 0; }
.edda-timeline div::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 5px;
  width: 11px;
  height: 11px;
  background: var(--edda-rust);
  border: 3px solid #fbfaf7;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--edda-rust);
}
.edda-timeline b { display: block; color: var(--edda-rust); }
.edda-timeline span { color: #586568; line-height: 1.5; }

.edda-type-grid,
.edda-place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 25px 0 46px;
}
.edda-type-card,
.edda-place-card {
  padding: 20px;
  border: 1px solid #ddd7cb;
  border-radius: 6px;
  background: #fff;
}
.edda-type-card h3,
.edda-place-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.edda-type-card p,
.edda-place-card p { margin: 0; color: #5b686a; line-height: 1.52; }
.edda-type-card em {
  display: block;
  margin-bottom: 6px;
  color: var(--edda-rust);
  font-size: .84rem;
  font-weight: 800;
}

.edda-reading-list {
  list-style: none;
  counter-reset: edda-read;
  margin: 28px 0 52px;
  padding: 0;
}
.edda-reading-list li {
  counter-increment: edda-read;
  position: relative;
  min-height: 58px;
  padding: 0 0 24px 66px;
}
.edda-reading-list li::before {
  content: counter(edda-read, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -4px;
  color: var(--edda-rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
}
.edda-reading-list strong { display: block; margin-bottom: 4px; }
.edda-reading-list span { color: #59676a; line-height: 1.5; }

.edda-distinction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0 50px;
  overflow: hidden;
  border: 1px solid #d9d2c6;
  border-radius: 7px;
}
.edda-distinction > div { padding: 24px; }
.edda-distinction > div:first-child { background: #f2e8d8; }
.edda-distinction > div:last-child { background: #e6ece8; }
.edda-distinction h3 { margin: 0 0 9px; }
.edda-distinction p { margin: 0; color: #4c5a5c; line-height: 1.55; }

.edda-note {
  margin: 34px 0 50px;
  padding: 24px 26px;
  background: #f7eadf;
  border-left: 4px solid var(--edda-rust);
}
.edda-note strong { display: block; margin-bottom: 7px; }
.edda-note p { margin: 0; }

.edda-faq details {
  border-color: #d8d1c5;
}
.edda-faq summary { color: var(--edda-ink); }
.edda-sources {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #d8d1c5;
  font-size: .93rem;
}
.edda-sources li { margin-bottom: 10px; }

.edda-guide-page .related-guides { background: var(--edda-paper); }
.edda-guide-page .related-grid a:hover { border-color: var(--edda-rust); }

.edda-verse {
  margin: 34px 0 50px;
  padding: 26px 28px;
  background: #eef2f0;
  border-top: 1px solid #bacac4;
  border-bottom: 1px solid #bacac4;
  color: #263c48;
}
.edda-verse p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.58;
}
.edda-verse small {
  display: block;
  margin-top: 10px;
  color: #637176;
}

@media (max-width: 980px) {
  .edda-guide-page .site-header { grid-template-columns: auto 1fr; }
  .edda-guide-page .site-header nav {
    position: static;
    display: flex;
    justify-content: flex-end;
    max-height: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  body.ed.edda-guide-page .edda-hero .wrap { width: auto; grid-template-columns: 1fr; padding-top: 110px; }
  .edda-hero-media { max-width: 520px; transform: none; }
  .edda-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .edda-guide-page .site-header { padding: 12px 16px; }
  .edda-guide-page .site-header .brand strong { display: none; }
  .edda-guide-page .site-header nav { gap: 12px; font-size: .82rem; }
  .edda-guide-page .site-header nav a:first-child,
  .edda-guide-page .site-header nav a:nth-child(3) { display: none; }
  body.ed.edda-guide-page .edda-hero { padding-top: 0; }
  body.ed.edda-guide-page .edda-hero .wrap { width: auto; padding: 100px 18px 46px; }
  .edda-hero h1 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .edda-hero-media { padding: 9px; }
  .edda-hero-media img { height: 300px; }
  .edda-facts,
  .edda-type-grid,
  .edda-place-grid,
  .edda-distinction,
  .edda-manuscript { grid-template-columns: 1fr; }
  .edda-manuscript { padding: 18px; }
  .edda-fact { min-height: 0; }
}
