@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap");
/*--------------------------------------------------------------
# Blog Landing Shell
--------------------------------------------------------------*/

.blog-index {
  --blog-bg: #f7f4ef;
  --blog-bg-alt: #f0ece4;
  --blog-surface: #fffaf2;
  --blog-text: #1c1917;
  --blog-muted: #57534e;
  --blog-border: #e4dfd6;
  --blog-accent: #c8622a;
  --blog-deep: #14231f;
  --blog-shadow: 0 18px 44px rgba(28, 25, 23, 0.08);

  color: var(--blog-text);
  background: var(--blog-bg);
}

.blog-index .section {
  background: transparent;
}

.blog-index .blog-hero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 98, 42, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(20, 35, 31, 0.055), rgba(20, 35, 31, 0)),
    var(--blog-bg);
}

.blog-index .blog-hero::after {
  content: none;
}

.blog-index .blog-hero .container {
  position: relative;
  z-index: 1;
}

.blog-index .blog-hero__inner {
  max-width: 760px;
}

.blog-eyebrow,
.blog-card__meta {
  margin: 0 0 16px;
  color: var(--blog-accent);
  font-family: var(--nav-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.blog-index .blog-hero h1 {
  margin: 0 0 8px;
  color: var(--blog-deep);
  font-family: var(--heading-font);
  font-size: clamp(3.25rem, 6vw, 3.5rem);
  line-height: 1.05;
}

.blog-index .blog-hero__subtitle {
  margin: 0 0 22px;
  color: var(--blog-accent);
  font-family: var(--nav-font);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.blog-index .blog-hero__tagline {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 18px;
  color: var(--blog-deep);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.blog-index .blog-hero__tagline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--blog-accent), rgba(200, 98, 42, 0.18));
}

.blog-index .blog-hero__lead {
  max-width: 62ch;
  margin: 0;
  color: var(--blog-muted);
  font-size: clamp(1.12rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.blog-index .blog-shell {
  padding: 28px 0 96px;
  background: var(--blog-bg-alt);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
}

.blog-content {
  min-width: 0;
}

.blog-featured-card,
.blog-post-card,
.blog-sidebar__panel {
  background: var(--blog-surface);
  border: 1px solid var(--blog-border);
  border-radius: 8px;
  box-shadow: var(--blog-shadow);
}

.blog-featured-card {
  padding: 48px;
  border-top: 4px solid var(--blog-accent);
}

.blog-featured-card__image,
.blog-post-card__image {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--blog-border);
  border-radius: 6px;
  background: var(--blog-bg-alt);
}

.blog-featured-card__image {
  margin-bottom: 24px;
}

.blog-post-card__image {
  margin-bottom: 20px;
}

.blog-featured-card__image img,
.blog-post-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-featured-card h2,
.blog-section-heading h2,
.blog-sidebar__panel h2 {
  color: var(--blog-deep);
  font-family: var(--heading-font);
}

.blog-featured-card h2 {
  max-width: 18ch;
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.blog-featured-card p,
.blog-post-card p,
.blog-sidebar__panel p {
  max-width: 62ch;
  margin: 0;
  color: var(--blog-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.blog-read-more {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blog-accent);
  font-family: var(--nav-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-read-more:hover,
.blog-read-more:focus {
  color: var(--blog-deep);
}

.blog-latest {
  margin-top: 48px;
  padding: 0;
  background: transparent;
  color: var(--blog-text);
}

.blog-section-heading {
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.blog-section-heading h2 {
  margin: 0;
  color: var(--blog-deep);
  font-size: clamp(1.75rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.blog-post-grid {
  display: grid;
  gap: 24px;
  background: transparent;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: var(--blog-surface);
  border-color: var(--blog-border);
  box-shadow: 0 14px 34px rgba(28, 25, 23, 0.07);
  overflow: hidden;
}

.blog-post-card .blog-card__meta {
  margin-bottom: 12px;
}

.blog-post-card h3 {
  max-width: 22ch;
  margin: 0 0 16px;
  color: var(--blog-deep);
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.blog-sidebar {
  display: grid;
  gap: 24px;
}

.blog-sidebar__panel {
  padding: 32px;
}

.blog-sidebar__panel h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.blog-sidebar__panel--accent {
  background: color-mix(in srgb, var(--blog-surface), var(--blog-bg-alt) 32%);
  border-color: color-mix(in srgb, var(--blog-accent), var(--blog-border) 68%);
  border-top: 4px solid var(--blog-accent);
}

.blog-sidebar__panel--accent h2 {
  color: var(--blog-deep);
}

.blog-sidebar__panel--accent a {
  color: var(--blog-deep);
}

.blog-sidebar__panel--accent a:hover,
.blog-sidebar__panel--accent a:focus {
  color: var(--blog-accent);
}

.blog-search__label {
  display: block;
  margin-bottom: 8px;
  color: var(--blog-muted);
  font-family: var(--nav-font);
  font-size: 0.88rem;
  font-weight: 700;
}

.blog-search__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--blog-border);
  border-radius: 8px;
  background: var(--blog-bg);
  color: var(--blog-muted);
}

.blog-link-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-link-list a {
  color: var(--blog-deep);
  font-weight: 700;
}

.blog-link-list a:hover,
.blog-link-list a:focus {
  color: var(--blog-accent);
}

.blog-muted {
  color: var(--blog-muted);
}

@media (max-width: 991.98px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .blog-index .blog-hero {
    padding: 46px 0 30px;
  }

  .blog-index .blog-hero::after {
    top: 34%;
    right: -150px;
    width: 300px;
  }

  .blog-index .blog-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.15rem);
  }

  .blog-index .blog-hero__subtitle {
    margin-bottom: 18px;
  }

  .blog-index .blog-hero__lead {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .blog-index .blog-shell {
    padding: 22px 0 64px;
  }

  .blog-featured-card,
  .blog-post-card,
  .blog-sidebar__panel {
    padding: 24px;
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Blog article sample page */
.blog-article {
  --article-shell-width: 1280px;
  --article-text-width: 68ch;
  background: var(--blog-bg);
  color: var(--blog-text);
}

.blog-article .container {
  max-width: var(--article-shell-width);
}

.article-hero {
  padding: 80px 0 72px;
  background:
    linear-gradient(135deg, rgba(20, 35, 31, 0.96), rgba(34, 45, 55, 0.92)),
    var(--blog-deep);
  color: #f3eadb;
}

.article-hero__inner {
  max-width: 1040px;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 24px;
  color: #eab07b;
  font-family: var(--nav-font);
  font-size: clamp(0.78rem, 0.76rem + 0.12vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 840px;
  margin: 0 0 24px;
  color: #f7f0e6;
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.article-deck {
  max-width: 680px;
  margin: 0 0 24px;
  color: #e7dccf;
  font-size: clamp(1.125rem, 1.04rem + 0.28vw, 1.25rem);
  line-height: 1.6;
}

.article-byline {
  margin: 0;
  color: #f0d4b6;
  font-family: var(--nav-font);
  font-size: 0.95rem;
  font-weight: 700;
}

.blog-article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 1040px;
  margin: 0 0 40px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blog-deep);
  box-shadow: 0 24px 64px rgba(7, 18, 15, 0.28);
}

.blog-article-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-shell {
  padding: 64px 0 80px;
  background: var(--blog-bg);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(288px, 320px);
  gap: 56px;
  align-items: start;
  justify-content: center;
}

.article-body {
  width: 100%;
  max-width: 760px;
  padding: 48px;
  border: 1px solid var(--blog-border);
  border-radius: 8px;
  background: var(--blog-surface);
  box-shadow: 0 24px 64px rgba(28, 25, 23, 0.08);
}

.article-body p,
.article-body li {
  color: var(--blog-text);
  font-size: clamp(1.0625rem, 1.02rem + 0.16vw, 1.125rem);
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body h2 {
  margin: 48px 0 16px;
  color: var(--blog-deep);
  font-family: var(--heading-font);
  font-size: clamp(1.875rem, 1.72rem + 0.48vw, 2rem);
  line-height: 1.18;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 40px 0 16px;
  color: var(--blog-deep);
  font-family: var(--heading-font);
  font-size: clamp(1.375rem, 1.26rem + 0.36vw, 1.5rem);
  line-height: 1.24;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding-left: 24px;
}

.article-pullquote {
  margin: 40px 0;
  padding: 32px;
  border-left: 4px solid var(--blog-accent);
  border-radius: 8px;
  background: var(--blog-alt-bg);
}

.article-pullquote p {
  margin: 0;
  color: var(--blog-deep);
  font-family: var(--heading-font);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.4;
}

.article-figure-placeholder {
  margin: 40px 0;
}

.article-figure-placeholder__box {
  display: grid;
  min-height: 240px;
  place-items: center;
  padding: 32px;
  border: 1px dashed rgba(200, 98, 42, 0.48);
  border-radius: 8px;
  background: var(--blog-alt-bg);
  color: var(--blog-accent);
  font-family: var(--nav-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.article-figure-placeholder figcaption {
  max-width: 56ch;
  margin: 16px 0 0;
  color: var(--blog-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-bottom-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--blog-border);
}

.article-sidebar {
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 320px;
}

.article-details-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.article-details-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--blog-border);
}

.article-details-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-details-list dt {
  margin-bottom: 4px;
  color: var(--blog-muted);
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-details-list dd {
  margin: 0;
  color: var(--blog-text);
  font-weight: 700;
}

.article-details-related__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-details-related__list a {
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 1199.98px) {
  .article-layout {
    grid-template-columns: minmax(0, 720px) minmax(280px, 300px);
    gap: 48px;
  }
}

@media (max-width: 991.98px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .article-body {
    max-width: none;
  }

  .article-sidebar {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .article-hero {
    padding: 64px 0 56px;
  }

  .article-hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  .blog-article-hero-image {
    margin-bottom: 32px;
  }

  .article-shell {
    padding: 48px 0 64px;
  }

  .article-body {
    padding: 24px;
  }

  .article-pullquote {
    margin: 32px 0;
    padding: 24px;
  }

  .article-pullquote p {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }

  .article-figure-placeholder__box {
    min-height: 192px;
    padding: 24px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Blog index generated-post visual cleanup
   Keeps generated post cards on the warm page background and
   prevents older dark section/card-grid styling from creating
   heavy dividers between cards.
========================================================= */

.blog-index .blog-latest {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: 32px;
  padding: 0;
}

.blog-index .blog-latest .blog-section-heading {
  background: transparent;
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}

.blog-index .blog-latest .blog-section-heading h2,
.blog-index .blog-latest #latest-posts-title {
  color: #1c1917;
}

.blog-index .blog-latest .blog-section-heading p {
  color: #c8622a;
}

.blog-index .blog-post-grid {
  background: transparent;
  display: grid;
  gap: 24px;
  padding: 0;
}

.blog-index .blog-post-card {
  background: #fffaf2;
  border: 1px solid #e4dfd6;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
  margin: 0;
  padding: 32px;
}

.blog-index .blog-sidebar__panel--accent {
  background: #102c24;
  color: #f7f4ef;
}

.blog-index .blog-sidebar__panel--accent h2,
.blog-index .blog-sidebar__panel--accent a,
.blog-index .blog-sidebar__panel--accent em {
  color: #f7f4ef;
}

.blog-index .blog-sidebar__panel--accent a:hover,
.blog-index .blog-sidebar__panel--accent a:focus {
  color: #f2b38c;
}

/* =========================================================
   Blog article hero-to-body rhythm adjustment
   Pulls the article body/sidebar closer to the deck/byline so
   the post reads as one continuous editorial composition.
========================================================= */

.blog-article .article-shell {
  padding-top: 24px;
}

.blog-article .article-hero {
  padding-bottom: 32px;
}

@media (max-width: 991.98px) {
  .blog-article .article-shell {
    padding-top: 24px;
  }

  .blog-article .article-hero {
    padding-bottom: 24px;
  }
}

@media (max-width: 767.98px) {
  .blog-article .article-shell {
    padding-top: 16px;
  }

  .blog-article .article-hero {
    padding-bottom: 16px;
  }
}

/* =========================================================
   Blog article hero/body alignment refinement
   Keeps the body/sidebar grid aligned with the hero content
   instead of centering it as a separate island.
========================================================= */

.blog-article .article-hero__inner,
.blog-article .article-layout {
  width: min(100%, 1136px);
  max-width: 1136px;
  margin-inline: 0 auto;
}

.blog-article .article-layout {
  justify-content: start;
}

.blog-article .article-shell {
  padding-top: 16px;
}

.blog-article .article-hero {
  padding-bottom: 24px;
}

@media (max-width: 1199.98px) {
  .blog-article .article-hero__inner,
  .blog-article .article-layout {
    width: min(100%, 1068px);
    max-width: 1068px;
  }
}

@media (max-width: 991.98px) {
  .blog-article .article-hero__inner,
  .blog-article .article-layout {
    width: 100%;
    max-width: none;
  }

  .blog-article .article-shell {
    padding-top: 16px;
  }
}

/* =========================================================
   Blog article manual seam/alignment correction
   Final tightening pass after browser review. The article body
   should read as a continuation of the hero/deck/byline, not as
   a separate centered island below it.
========================================================= */

.blog-article .article-hero {
  padding-bottom: 8px;
}

.blog-article .article-shell {
  padding-top: 0;
}

.blog-article .article-layout {
  width: min(100%, 1136px);
  max-width: 1136px;
  margin-inline: 0 auto;
  justify-content: start;
  align-items: start;
  gap: 48px;
}

.blog-article .article-body {
  width: 100%;
  max-width: 760px;
  margin: 0;
}

.blog-article .article-sidebar {
  width: 100%;
  max-width: 320px;
  margin: 0;
}

@media (max-width: 1199.98px) {
  .blog-article .article-layout {
    width: min(100%, 1068px);
    max-width: 1068px;
    gap: 40px;
  }
}

@media (max-width: 991.98px) {
  .blog-article .article-hero {
    padding-bottom: 16px;
  }

  .blog-article .article-shell {
    padding-top: 0;
  }

  .blog-article .article-layout {
    width: 100%;
    max-width: none;
    gap: 32px;
  }

  .blog-article .article-body,
  .blog-article .article-sidebar {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .blog-article .article-hero {
    padding-bottom: 8px;
  }

  .blog-article .article-layout {
    gap: 24px;
  }
}

/* =========================================================
   Blog article body axis correction
   The article body was visually offset from the hero/deck because
   the body container retained a 48px internal card padding. On the
   dark article template, the body should flow from the same axis as
   the hero instead of reading as an inset card.
========================================================= */

.blog-article .article-body {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.blog-article .article-body > :first-child {
  margin-top: 0;
}

.blog-article .article-layout {
  align-items: start;
}

@media (max-width: 991.98px) {
  .blog-article .article-body {
    padding: 0 !important;
  }
}




/* =========================================================
   Blog article body reading font test: Source Sans 3
   Applies only to generated article body paragraphs and lists.
   Headings, deck, metadata, sidebar, and buttons retain the
   existing Gates of Erin typography.
========================================================= */

.blog-article .article-body p,
.blog-article .article-body li {
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.005em;
}

.blog-article .article-body p {
  max-width: 66ch;
}

/* =========================================================
   Blog article Source Sans reading adjustment
   Keeps Source Sans 3 for long-form readability, but restores
   a more generous article measure and larger reading size.
========================================================= */

.blog-article .article-body p,
.blog-article .article-body li {
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.125rem, 1.05rem + 0.24vw, 1.25rem);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.002em;
}

.blog-article .article-body p {
  max-width: 72ch;
}

.blog-article .article-body {
  max-width: 800px;
}

@media (max-width: 991.98px) {
  .blog-article .article-body p {
    max-width: 68ch;
  }
}

@media (max-width: 767.98px) {
  .blog-article .article-body p,
  .blog-article .article-body li {
    font-size: 1.0625rem;
    line-height: 1.72;
  }

  .blog-article .article-body p {
    max-width: none;
  }
}

/* =========================================================
   Blog article Source Sans final readable scale
   Slightly increases body copy while tightening measure and rhythm
   so larger text remains comfortable on the dark article template.
========================================================= */

.blog-article .article-body p,
.blog-article .article-body li {
  font-size: clamp(1.1875rem, 1.1rem + 0.28vw, 1.3125rem);
  line-height: 1.72;
  letter-spacing: 0.001em;
}

.blog-article .article-body p {
  max-width: 68ch;
  margin-bottom: 24px;
}

.blog-article .article-body {
  max-width: 780px;
}

.blog-article .article-body h2 {
  margin-top: 56px;
  margin-bottom: 24px;
}

.blog-article .article-body h3 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.blog-article .article-body ul,
.blog-article .article-body ol {
  max-width: 68ch;
  margin-top: 0;
  margin-bottom: 32px;
}

.blog-article .article-body li + li {
  margin-top: 8px;
}

.blog-article .article-body a {
  color: #eab07b;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.blog-article .article-body a:hover,
.blog-article .article-body a:focus {
  color: #f0c29a;
  text-decoration-thickness: 0.12em;
}

@media (max-width: 991.98px) {
  .blog-article .article-body p,
  .blog-article .article-body li {
    font-size: 1.1875rem;
    line-height: 1.72;
  }

  .blog-article .article-body p,
  .blog-article .article-body ul,
  .blog-article .article-body ol {
    max-width: 66ch;
  }
}

@media (max-width: 767.98px) {
  .blog-article .article-body p,
  .blog-article .article-body li {
    font-size: 1.125rem;
    line-height: 1.72;
  }

  .blog-article .article-body p,
  .blog-article .article-body ul,
  .blog-article .article-body ol {
    max-width: none;
  }

  .blog-article .article-body h2 {
    margin-top: 48px;
    margin-bottom: 16px;
  }
}

/* =========================================================
   Blog article reading mode
   Scoped to generated article pages. Dark is the no-JS fallback;
   light mode is applied by assets/js/blog-reading-mode.js.
========================================================= */

.blog-article {
  --blog-reading-bg: #101a16;
  --blog-reading-bg-alt: #14231f;
  --blog-reading-surface: #fffaf2;
  --blog-reading-text: #f3eadb;
  --blog-reading-muted: #d8cab7;
  --blog-reading-border: rgba(243, 234, 219, 0.18);
  --blog-reading-accent: #eab07b;
  --blog-reading-deep: #14231f;
}

.blog-article[data-reading-mode="dark"] {
  --blog-bg: var(--blog-reading-bg);
  --blog-bg-alt: var(--blog-reading-bg-alt);
  --blog-surface: var(--blog-reading-surface);
  --blog-text: var(--blog-reading-text);
  --blog-muted: var(--blog-reading-muted);
  --blog-border: var(--blog-reading-border);
  --blog-accent: var(--blog-reading-accent);
  --blog-deep: var(--blog-reading-deep);
}

.blog-article[data-reading-mode="light"] {
  --blog-bg: #f7f4ef;
  --blog-bg-alt: #f0ece4;
  --blog-surface: #fffaf2;
  --blog-text: #1c1917;
  --blog-muted: #57534e;
  --blog-border: #e4dfd6;
  --blog-accent: #c8622a;
  --blog-deep: #14231f;
  background: #f7f4ef;
  color: #1c1917;
}

.article-byline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.article-reading-mode-toggle {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(240, 212, 182, 0.42);
  border-radius: 999px;
  background: rgba(247, 240, 230, 0.08);
  color: #f0d4b6;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.article-reading-mode-toggle:hover,
.article-reading-mode-toggle:focus {
  border-color: #eab07b;
  color: #f7f0e6;
}

.blog-article[data-reading-mode="light"] .article-hero {
  background:
    linear-gradient(180deg, rgba(20, 35, 31, 0.08), rgba(20, 35, 31, 0)),
    #f7f4ef;
  color: #1c1917;
}

.blog-article[data-reading-mode="light"] .article-meta-row {
  color: #c8622a;
}

.blog-article[data-reading-mode="light"] .article-hero h1 {
  color: #14231f;
}

.blog-article[data-reading-mode="light"] .article-deck {
  color: #57534e;
}

.blog-article[data-reading-mode="light"] .article-byline {
  color: #3f3a34;
}

.blog-article[data-reading-mode="light"] .article-shell {
  background: #f7f4ef;
}

.blog-article[data-reading-mode="light"] .article-body,
.blog-article[data-reading-mode="light"] .article-body p,
.blog-article[data-reading-mode="light"] .article-body li {
  color: #1c1917;
}

.blog-article[data-reading-mode="light"] .article-body h2,
.blog-article[data-reading-mode="light"] .article-body h3 {
  color: #14231f;
}

.blog-article[data-reading-mode="light"] .article-body a {
  color: #a84f20;
}

.blog-article[data-reading-mode="light"] .article-body a:hover,
.blog-article[data-reading-mode="light"] .article-body a:focus {
  color: #7c3a18;
}

.blog-article[data-reading-mode="light"] .article-pullquote {
  background: #f0ece4;
  border-left-color: #c8622a;
}

.blog-article[data-reading-mode="light"] .article-pullquote p {
  color: #14231f;
}

.blog-article[data-reading-mode="light"] .blog-sidebar__panel {
  background: #fffaf2;
  border-color: #e4dfd6;
  color: #1c1917;
}

.blog-article[data-reading-mode="light"] .blog-sidebar__panel h2,
.blog-article[data-reading-mode="light"] .blog-sidebar__panel a,
.blog-article[data-reading-mode="light"] .article-details-list dd {
  color: #14231f;
}

.blog-article[data-reading-mode="light"] .blog-sidebar__panel p,
.blog-article[data-reading-mode="light"] .article-details-list dt {
  color: #57534e;
}

.blog-article[data-reading-mode="light"] .blog-sidebar__panel--accent {
  background: #f0ece4;
  border-color: color-mix(in srgb, #c8622a, #e4dfd6 64%);
}

.blog-article[data-reading-mode="light"] .article-reading-mode-toggle {
  border-color: #d9cfc2;
  background: #fffaf2;
  color: #14231f;
}

.blog-article[data-reading-mode="light"] .article-reading-mode-toggle:hover,
.blog-article[data-reading-mode="light"] .article-reading-mode-toggle:focus {
  border-color: #c8622a;
  color: #9f4e22;
}

@media (max-width: 767.98px) {
  .article-byline-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   Blog article deck, byline rhythm, and blockquote refinement
   CSS-only. Applies to generated blog article pages.
========================================================= */

/* Slightly larger deck with proportional rhythm adjustments */
.blog-article .article-deck {
  max-width: 740px;
  margin-bottom: 28px;
  font-size: clamp(1.25rem, 1.12rem + 0.42vw, 1.4375rem);
  line-height: 1.58;
}

/* Add a small amount of breathing room below byline + reading mode */
.blog-article .article-byline-row {
  padding-bottom: 14px;
}

/* Reference-inspired pull quote treatment */
.blog-article .article-body blockquote {
  display: block;
  position: relative;
  max-width: 68ch;
  margin: 40px 0;
  padding: 34px 0 18px;
  border-width: 1px 0;
  border-style: solid;
  border-color: rgba(240, 212, 182, 0.34);
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.blog-article .article-body blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3.5rem;
  height: 2rem;
  transform: translate(-50%, -50%);
  background: #08170f;
  color: #f0d4b6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  line-height: 1;
  text-align: center;
}

.blog-article .article-body blockquote p {
  max-width: none;
  margin: 0;
  color: inherit;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.1875rem, 1.08rem + 0.28vw, 1.3125rem);
  line-height: 1.66;
}

/* Optional future support if blockquotes are ever given cite="Name" */
.blog-article .article-body blockquote[cite]::after {
  content: "\2013\2003" attr(cite);
  display: block;
  margin-top: 14px;
  color: #f2b38c;
  font-family: var(--nav-font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: right;
}

/* Light reading mode version */
.blog-article[data-reading-mode="light"] .article-body blockquote {
  border-color: #e4dfd6;
}

.blog-article[data-reading-mode="light"] .article-body blockquote::before {
  background: #f7f4ef;
  color: #57534e;
}

.blog-article[data-reading-mode="light"] .article-body blockquote[cite]::after {
  color: #c8622a;
}

@media (max-width: 767.98px) {
  .blog-article .article-deck {
    font-size: 1.1875rem;
    line-height: 1.58;
    margin-bottom: 24px;
  }

  .blog-article .article-byline-row {
    padding-bottom: 10px;
  }

  .blog-article .article-body blockquote {
    margin: 32px 0;
    padding-top: 30px;
  }

  .blog-article .article-body blockquote::before {
    font-size: 4.75rem;
  }
}

/* =========================================================
   Blog article blockquote background + margin correction
   Keeps the editorial quote style but removes the card feeling.
========================================================= */

.blog-article .article-body blockquote {
  max-width: calc(68ch - 48px);
  margin: 48px 32px;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.blog-article .article-body blockquote::before {
  background: #08170f;
}

.blog-article .article-body blockquote p {
  background: transparent !important;
}

/* Light reading mode: quote mark cutout should match the main page background */
.blog-article[data-reading-mode="light"] .article-body blockquote,
.blog-article[data-reading-mode="light"] .article-body blockquote p {
  background: transparent !important;
}

.blog-article[data-reading-mode="light"] .article-body blockquote::before {
  background: #f7f4ef;
}

@media (max-width: 767.98px) {
  .blog-article .article-body blockquote {
    max-width: none;
    margin: 40px 16px;
  }
}

/* =========================================================
   Blog article blockquote scale tune
   Slightly increases quote text and adjusts surrounding rhythm.
========================================================= */

.blog-article .article-body blockquote {
  max-width: calc(72ch - 48px);
  margin: 56px 32px;
  padding: 42px 0 24px;
}

.blog-article .article-body blockquote::before {
  width: 4rem;
  height: 2.25rem;
  font-size: 6.25rem;
}

.blog-article .article-body blockquote p {
  font-size: clamp(1.25rem, 1.12rem + 0.34vw, 1.4375rem);
  line-height: 1.68;
}

.blog-article .article-body blockquote[cite]::after {
  margin-top: 18px;
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .blog-article .article-body blockquote {
    margin: 44px 16px;
    padding: 38px 0 22px;
  }

  .blog-article .article-body blockquote::before {
    width: 3.5rem;
    height: 2rem;
    font-size: 5.25rem;
  }

  .blog-article .article-body blockquote p {
    font-size: 1.1875rem;
    line-height: 1.68;
  }
}

/* =========================================================
   Blog article dark mode continuity correction
   Keeps dark mode visually continuous from hero/deck through
   article body and restores dark sidebar panels.
========================================================= */

.blog-article[data-reading-mode="dark"] {
  background: #08170f;
  color: #f7f0e6;
}

.blog-article[data-reading-mode="dark"] .article-hero,
.blog-article[data-reading-mode="dark"] .article-shell {
  background:
    radial-gradient(circle at top left, rgba(194, 104, 58, 0.08), transparent 36rem),
    linear-gradient(135deg, #0a1711 0%, #10231d 58%, #16232b 100%) !important;
}

.blog-article[data-reading-mode="dark"] .article-layout {
  background: transparent;
}

.blog-article[data-reading-mode="dark"] .article-body {
  background: transparent !important;
  color: #f7f0e6;
}

.blog-article[data-reading-mode="dark"] .article-body p,
.blog-article[data-reading-mode="dark"] .article-body li {
  color: #f7f0e6;
}

.blog-article[data-reading-mode="dark"] .article-body h2,
.blog-article[data-reading-mode="dark"] .article-body h3 {
  color: #f8efe5;
}

/* Restore sidebar panels to dark mode */
.blog-article[data-reading-mode="dark"] .article-sidebar > *,
.blog-article[data-reading-mode="dark"] .article-details,
.blog-article[data-reading-mode="dark"] .article-related,
.blog-article[data-reading-mode="dark"] .article-card,
.blog-article[data-reading-mode="dark"] .article-panel {
  background: rgba(10, 23, 17, 0.86) !important;
  border-color: rgba(240, 212, 182, 0.22) !important;
  color: #f7f0e6 !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.blog-article[data-reading-mode="dark"] .article-sidebar h2,
.blog-article[data-reading-mode="dark"] .article-sidebar h3,
.blog-article[data-reading-mode="dark"] .article-sidebar p,
.blog-article[data-reading-mode="dark"] .article-sidebar li,
.blog-article[data-reading-mode="dark"] .article-sidebar a,
.blog-article[data-reading-mode="dark"] .article-sidebar strong {
  color: #f7f0e6 !important;
}

.blog-article[data-reading-mode="dark"] .article-sidebar small,
.blog-article[data-reading-mode="dark"] .article-sidebar .article-detail-label,
.blog-article[data-reading-mode="dark"] .article-sidebar .article-meta-label {
  color: #f0d4b6 !important;
}

.blog-article[data-reading-mode="dark"] .article-sidebar a:hover,
.blog-article[data-reading-mode="dark"] .article-sidebar a:focus {
  color: #f2b38c !important;
}

.blog-article[data-reading-mode="dark"] .article-body blockquote::before {
  background: #10231d;
}

/* =========================================================
   Blog article dark mode single-canvas correction
   Prevents the hero and article body from appearing as two
   different dark sections by using one continuous dark field.
========================================================= */

.blog-article[data-reading-mode="dark"] {
  background:
    radial-gradient(circle at top left, rgba(194, 104, 58, 0.08), transparent 36rem),
    linear-gradient(135deg, #0a1711 0%, #10231d 58%, #16232b 100%) !important;
  color: #f7f0e6;
}

.blog-article[data-reading-mode="dark"] .article-hero,
.blog-article[data-reading-mode="dark"] .article-shell {
  background: transparent !important;
}

.blog-article[data-reading-mode="dark"] .article-layout,
.blog-article[data-reading-mode="dark"] .article-body {
  background: transparent !important;
}

/* Keep sidebar cards dark, but slightly lifted from the single canvas */
.blog-article[data-reading-mode="dark"] .article-sidebar > *,
.blog-article[data-reading-mode="dark"] .article-details,
.blog-article[data-reading-mode="dark"] .article-related,
.blog-article[data-reading-mode="dark"] .article-card,
.blog-article[data-reading-mode="dark"] .article-panel {
  background: rgba(7, 20, 15, 0.72) !important;
  border-color: rgba(240, 212, 182, 0.24) !important;
}

/* =========================================================
   Blog article sidebar book promo
   Standard Gates of Erin promo card for generated article pages.
========================================================= */

.blog-article .article-book-promo {
  overflow: hidden;
}

.blog-article .article-book-promo__cover {
  max-width: 210px;
  margin: 0 auto 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(28, 25, 23, 0.18);
}

.blog-article .article-book-promo__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-article .article-book-promo__content {
  text-align: center;
}

.blog-article .article-book-promo__eyebrow {
  margin: 0 0 8px;
  color: #c8622a;
  font-family: var(--nav-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-article .article-book-promo h2 {
  margin-bottom: 12px;
}

.blog-article .article-book-promo p {
  margin: 0 0 20px;
}

.blog-article .article-book-promo__actions {
  display: grid;
  gap: 10px;
}

.blog-article .article-book-promo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(194, 98, 42, 0.45);
  border-radius: 999px;
  color: #17342b;
  font-family: var(--nav-font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.blog-article .article-book-promo__button:hover,
.blog-article .article-book-promo__button:focus {
  border-color: #c8622a;
  background: rgba(194, 98, 42, 0.1);
  color: #0a1711;
  transform: translateY(-1px);
}

.blog-article .article-book-promo__button--primary {
  border-color: #c8622a;
  background: #c8622a;
  color: #fffaf2;
}

.blog-article .article-book-promo__button--primary:hover,
.blog-article .article-book-promo__button--primary:focus {
  background: #a94f22;
  color: #fffaf2;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__cover {
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.blog-article[data-reading-mode="dark"] .article-book-promo__eyebrow {
  color: #f2b38c;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__button {
  border-color: rgba(240, 212, 182, 0.36);
  color: #f7f0e6;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__button:hover,
.blog-article[data-reading-mode="dark"] .article-book-promo__button:focus {
  border-color: #f2b38c;
  background: rgba(242, 179, 140, 0.12);
  color: #fffaf2;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__button--primary {
  border-color: #c8622a;
  background: #c8622a;
  color: #fffaf2;
}

@media (max-width: 991.98px) {
  .blog-article .article-book-promo {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .blog-article .article-book-promo__cover {
    margin: 0;
  }

  .blog-article .article-book-promo__content {
    text-align: left;
  }

  .blog-article .article-book-promo__actions {
    max-width: 360px;
  }
}

@media (max-width: 575.98px) {
  .blog-article .article-book-promo {
    display: block;
  }

  .blog-article .article-book-promo__cover {
    max-width: 180px;
    margin: 0 auto 22px;
  }

  .blog-article .article-book-promo__content {
    text-align: center;
  }

  .blog-article .article-book-promo__actions {
    max-width: none;
  }
}

/* Book promo author byline */
.blog-article .article-book-promo__byline {
  margin: -4px 0 14px;
  color: #57534e;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__byline {
  color: #f0d4b6;
}

/* =========================================================
   Blog article book promo type rhythm refinement
   Tightens title/byline spacing and makes the description a
   centered block with left-aligned text.
========================================================= */

.blog-article .article-book-promo__eyebrow {
  margin-bottom: 10px;
}

.blog-article .article-book-promo h2 {
  margin-bottom: 4px;
}

.blog-article .article-book-promo__byline {
  margin: 0 0 12px;
  line-height: 1.25;
}

.blog-article .article-book-promo__byline + p {
  max-width: 21ch;
  margin: 0 auto 20px;
  text-align: left;
  line-height: 1.55;
}

.blog-article .article-book-promo__actions {
  margin-top: 2px;
}

@media (max-width: 991.98px) {
  .blog-article .article-book-promo__byline + p {
    max-width: 28ch;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  .blog-article .article-book-promo__byline + p {
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   Blog article book promo CTA standardization
   Aligns sidebar book promo buttons with the main site CTA style.
========================================================= */

.blog-article .article-book-promo__cover {
  box-shadow: 0 14px 34px rgba(28, 25, 23, 0.13);
}

.blog-article .article-book-promo__actions {
  gap: 12px;
}

.blog-article .article-book-promo__button {
  position: relative;
  min-height: 46px;
  padding: 12px 44px 12px 20px;
  border: 2px solid rgba(240, 74, 18, 0.75);
  border-radius: 0;
  background: transparent;
  color: #17342b;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: none;
}

.blog-article .article-book-promo__button::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-52%);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.82;
  transition: transform 180ms ease, opacity 180ms ease;
}

.blog-article .article-book-promo__button:hover,
.blog-article .article-book-promo__button:focus {
  border-color: #f04a12;
  background: rgba(240, 74, 18, 0.08);
  color: #0a1711;
  transform: translateY(-1px);
}

.blog-article .article-book-promo__button:hover::after,
.blog-article .article-book-promo__button:focus::after {
  transform: translate(3px, -52%);
  opacity: 1;
}

.blog-article .article-book-promo__button--primary {
  border-color: #f04a12;
  background: #f04a12;
  color: #fffaf2;
  box-shadow: 0 12px 26px rgba(194, 98, 42, 0.18);
}

.blog-article .article-book-promo__button--primary:hover,
.blog-article .article-book-promo__button--primary:focus {
  border-color: #d83d0b;
  background: #d83d0b;
  color: #fffaf2;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__cover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.blog-article[data-reading-mode="dark"] .article-book-promo__button {
  border-color: rgba(240, 74, 18, 0.82);
  background: rgba(255, 250, 242, 0.02);
  color: #fffaf2;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__button:hover,
.blog-article[data-reading-mode="dark"] .article-book-promo__button:focus {
  border-color: #ff6a35;
  background: rgba(240, 74, 18, 0.14);
  color: #fffaf2;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__button--primary {
  border-color: #f04a12;
  background: #f04a12;
  color: #fffaf2;
}

.blog-article[data-reading-mode="dark"] .article-book-promo__button--primary:hover,
.blog-article[data-reading-mode="dark"] .article-book-promo__button--primary:focus {
  border-color: #ff6a35;
  background: #d83d0b;
  color: #fffaf2;
}

/* =========================================================
   Blog index sidebar refinement
   Adds the Gates of Erin promo card and working archive links.
========================================================= */

.blog-sidebar .blog-index-book-promo {
  text-align: center;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__cover {
  max-width: 210px;
  margin: 0 auto 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(28, 25, 23, 0.13);
}

.blog-sidebar .blog-index-book-promo .article-book-promo__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__content {
  text-align: center;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__eyebrow {
  margin: 0 0 10px;
  color: #c8622a;
  font-family: var(--nav-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-sidebar .blog-index-book-promo h2 {
  margin: 0 0 4px;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__byline {
  margin: 0 0 12px;
  color: #57534e;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__byline + p {
  max-width: 22ch;
  margin: 0 auto 20px;
  text-align: left;
  line-height: 1.55;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__actions {
  display: grid;
  gap: 12px;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  padding: 12px 44px 12px 20px;
  border: 2px solid rgba(240, 74, 18, 0.75);
  border-radius: 0;
  background: transparent;
  color: #17342b;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-52%);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.82;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button:hover,
.blog-sidebar .blog-index-book-promo .article-book-promo__button:focus {
  border-color: #f04a12;
  background: rgba(240, 74, 18, 0.08);
  color: #0a1711;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button--primary {
  border-color: #f04a12;
  background: #f04a12;
  color: #fffaf2;
  box-shadow: 0 12px 26px rgba(194, 98, 42, 0.18);
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button--primary:hover,
.blog-sidebar .blog-index-book-promo .article-book-promo__button--primary:focus {
  border-color: #d83d0b;
  background: #d83d0b;
  color: #fffaf2;
}

.blog-archive-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-archive-list a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.blog-archive-list a:hover,
.blog-archive-list a:focus {
  color: #c8622a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-archive-anchor {
  display: block;
  position: relative;
  top: -96px;
  visibility: hidden;
}

@media (max-width: 575.98px) {
  .blog-sidebar .blog-index-book-promo .article-book-promo__byline + p {
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   Blog index sidebar refinement
   Adds the Gates of Erin promo card and working archive links.
========================================================= */

.blog-sidebar .blog-index-book-promo {
  text-align: center;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__cover {
  max-width: 210px;
  margin: 0 auto 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(28, 25, 23, 0.13);
}

.blog-sidebar .blog-index-book-promo .article-book-promo__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__content {
  text-align: center;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__eyebrow {
  margin: 0 0 10px;
  color: #c8622a;
  font-family: var(--nav-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-sidebar .blog-index-book-promo h2 {
  margin: 0 0 4px;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__byline {
  margin: 0 0 12px;
  color: #57534e;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__byline + p {
  max-width: 22ch;
  margin: 0 auto 20px;
  text-align: left;
  line-height: 1.55;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__actions {
  display: grid;
  gap: 12px;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  padding: 12px 44px 12px 20px;
  border: 2px solid rgba(240, 74, 18, 0.75);
  border-radius: 0;
  background: transparent;
  color: #17342b;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-52%);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.82;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button:hover,
.blog-sidebar .blog-index-book-promo .article-book-promo__button:focus {
  border-color: #f04a12;
  background: rgba(240, 74, 18, 0.08);
  color: #0a1711;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button--primary {
  border-color: #f04a12;
  background: #f04a12;
  color: #fffaf2;
  box-shadow: 0 12px 26px rgba(194, 98, 42, 0.18);
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button--primary:hover,
.blog-sidebar .blog-index-book-promo .article-book-promo__button--primary:focus {
  border-color: #d83d0b;
  background: #d83d0b;
  color: #fffaf2;
}

.blog-archive-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-archive-list a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.blog-archive-list a:hover,
.blog-archive-list a:focus {
  color: #c8622a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-archive-anchor {
  display: block;
  position: relative;
  top: -96px;
  visibility: hidden;
}

@media (max-width: 575.98px) {
  .blog-sidebar .blog-index-book-promo .article-book-promo__byline + p {
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Blog archive active link and month heading */
.blog-sidebar .blog-archive-list a {
  color: #17342b;
  opacity: 1;
}

.blog-sidebar .blog-archive-list a:hover,
.blog-sidebar .blog-archive-list a:focus {
  color: #c8622a;
}

.blog-archive-month-heading {
  scroll-margin-top: 112px;
  margin: 0 0 24px;
}

.blog-archive-month-heading h2 {
  margin: 0;
}

/* =========================================================
   Blog index book promo balance refinement
   Narrows the cover/text/buttons so the sidebar promo feels
   less stretched and more like a composed book card.
========================================================= */

.blog-sidebar .blog-index-book-promo {
  padding-inline: clamp(24px, 3vw, 36px);
}

.blog-sidebar .blog-index-book-promo .article-book-promo__cover {
  max-width: 190px;
  margin-bottom: 26px;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__eyebrow {
  margin-bottom: 12px;
}

.blog-sidebar .blog-index-book-promo h2 {
  margin-bottom: 3px;
  font-size: clamp(1.25rem, 1.08rem + 0.45vw, 1.45rem);
}

.blog-sidebar .blog-index-book-promo .article-book-promo__byline {
  margin-bottom: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__byline + p {
  max-width: 20ch;
  margin-bottom: 26px;
  font-size: 1.02rem;
  line-height: 1.5;
  text-align: left;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__actions {
  width: min(100%, 280px);
  margin-inline: auto;
  gap: 10px;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__button {
  min-height: 44px;
  padding-block: 11px;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
}

@media (max-width: 575.98px) {
  .blog-sidebar .blog-index-book-promo {
    padding-inline: 24px;
  }

  .blog-sidebar .blog-index-book-promo .article-book-promo__cover {
    max-width: 180px;
  }

  .blog-sidebar .blog-index-book-promo .article-book-promo__actions {
    width: min(100%, 300px);
  }
}

/* =========================================================
   Blog index book promo width balance refinement
   Enlarges the cover and aligns the text block with the CTA width.
========================================================= */

.blog-sidebar .blog-index-book-promo .article-book-promo__cover {
  max-width: 220px;
  margin-bottom: 28px;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__content {
  max-width: 280px;
  margin-inline: auto;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__byline + p {
  max-width: none;
  width: 100%;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 1.04rem;
  line-height: 1.52;
}

.blog-sidebar .blog-index-book-promo .article-book-promo__actions {
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
}

@media (max-width: 575.98px) {
  .blog-sidebar .blog-index-book-promo .article-book-promo__cover {
    max-width: 210px;
  }

  .blog-sidebar .blog-index-book-promo .article-book-promo__content,
  .blog-sidebar .blog-index-book-promo .article-book-promo__actions {
    max-width: 300px;
  }
}

/* Blog index Celtic rune masthead motif
   Modeled on the homepage About the Book rune animation, scoped to /blog/. */

.blog-index .blog-hero {
  overflow: visible;
  isolation: isolate;
}

.blog-hero-rune {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(1.5rem, 8vw, 8rem);
  width: clamp(18rem, 34vw, 32rem);
  aspect-ratio: 1;
  transform: translateY(-48%);
  pointer-events: none;
  opacity: 0.92;
}

.blog-hero-rune img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  transform-origin: center;
  user-select: none;
}

.blog-hero-rune__halo {
  opacity: 0.42;
  transform: scale(1.16);
  filter: blur(44px) brightness(1.35) sepia(0.45) saturate(2.4);
  animation: blog-rune-halo-drift 18s ease-in-out infinite alternate;
}

.blog-hero-rune__soft {
  opacity: 0.38;
  transform: scale(1.08);
  filter: blur(24px) brightness(1.45) sepia(0.35) saturate(2.1);
  animation: blog-rune-soft-drift 22s ease-in-out infinite alternate;
}

.blog-hero-rune__glow {
  opacity: 0.46;
  transform: scale(1.04);
  filter: blur(14px) brightness(1.6) sepia(0.35) saturate(2.8);
  animation: blog-rune-glow-pulse 14s ease-in-out infinite;
}

.blog-hero-rune__core {
  opacity: 0.48;
  transform: scale(0.98);
  filter: brightness(1.35) sepia(0.45) saturate(3.2);
  animation: blog-rune-core-breathe 16s ease-in-out infinite;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune {
  opacity: 0.72;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune img {
  mix-blend-mode: multiply;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune__halo {
  opacity: 0.24;
  filter: blur(40px) brightness(1.05) sepia(0.25) saturate(1.55) hue-rotate(22deg);
}

.blog-index[data-reading-mode="light"] .blog-hero-rune__soft {
  opacity: 0.20;
  filter: blur(22px) brightness(1.05) sepia(0.28) saturate(1.45) hue-rotate(18deg);
}

.blog-index[data-reading-mode="light"] .blog-hero-rune__glow {
  opacity: 0.22;
  filter: blur(12px) brightness(1.08) sepia(0.35) saturate(1.65) hue-rotate(12deg);
}

.blog-index[data-reading-mode="light"] .blog-hero-rune__core {
  opacity: 0.30;
  filter: brightness(0.82) sepia(0.45) saturate(1.35) hue-rotate(38deg);
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune {
  opacity: 0.98;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune__halo {
  opacity: 0.52;
  filter: blur(50px) brightness(1.45) sepia(0.85) saturate(5.6) hue-rotate(-24deg);
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune__soft {
  opacity: 0.44;
  filter: blur(28px) brightness(1.42) sepia(0.72) saturate(4.6) hue-rotate(-20deg);
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune__glow {
  opacity: 0.56;
  filter: blur(16px) brightness(1.65) sepia(0.8) saturate(5.4) hue-rotate(-22deg);
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune__core {
  opacity: 0.58;
  filter: brightness(1.2) sepia(0.95) saturate(5.8) hue-rotate(-26deg);
}

@keyframes blog-rune-halo-drift {
  0% { transform: scale(1.10) rotate(-2deg); }
  100% { transform: scale(1.18) rotate(3deg); }
}

@keyframes blog-rune-soft-drift {
  0% { transform: scale(1.04) rotate(2deg); }
  100% { transform: scale(1.10) rotate(-3deg); }
}

@keyframes blog-rune-glow-pulse {
  0%, 100% { transform: scale(1.02); opacity: 0.38; }
  50% { transform: scale(1.07); opacity: 0.58; }
}

@keyframes blog-rune-core-breathe {
  0%, 100% { transform: scale(0.97) rotate(0deg); }
  50% { transform: scale(1.01) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero-rune__halo,
  .blog-hero-rune__soft,
  .blog-hero-rune__glow,
  .blog-hero-rune__core {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune {
    right: 50%;
    top: 52%;
    width: min(78vw, 28rem);
    transform: translate(50%, -50%);
    opacity: 0.28;
  }
}

@media (max-width: 575.98px) {
  .blog-hero-rune {
    width: 24rem;
    opacity: 0.18;
  }
}

/* Keep the masthead rune visible below the hero, but behind the post/card section. */
.blog-index .blog-hero .container,
.blog-index .blog-hero__inner {
  position: relative;
  z-index: 2;
}

.blog-index .blog-shell {
  position: relative;
  z-index: 3;
}

.blog-index .blog-layout,
.blog-index .blog-featured-card,
.blog-index .blog-post-card,
.blog-index .blog-sidebar {
  position: relative;
  z-index: 4;
}

.blog-hero-rune {
  z-index: 1;
}

/* Secondary blog index rune motifs
   Adds smaller, softer echoes below the primary masthead rune. */

.blog-hero-rune--primary {
  right: clamp(1.5rem, 8vw, 8rem);
  width: clamp(18rem, 34vw, 32rem);
  opacity: 0.92;
}

.blog-hero-rune--secondary {
  top: 72%;
  right: clamp(5rem, 18vw, 18rem);
  width: clamp(10rem, 18vw, 17rem);
  opacity: 0.22;
  transform: translateY(-50%) rotate(-12deg);
}

.blog-hero-rune--tertiary {
  top: 86%;
  right: clamp(-1rem, 3vw, 4rem);
  width: clamp(8rem, 14vw, 14rem);
  opacity: 0.16;
  transform: translateY(-50%) rotate(16deg);
}

.blog-hero-rune--secondary .blog-hero-rune__soft,
.blog-hero-rune--secondary .blog-hero-rune__core,
.blog-hero-rune--tertiary .blog-hero-rune__soft,
.blog-hero-rune--tertiary .blog-hero-rune__core {
  animation-duration: 24s;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.14;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary {
  opacity: 0.10;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.28;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--tertiary {
  opacity: 0.20;
}

.blog-hero-rune--secondary::after,
.blog-hero-rune--tertiary::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 147, 0, 0.14), transparent 66%);
  filter: blur(18px);
  opacity: 0.5;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary::after,
.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary::after {
  background: radial-gradient(circle, rgba(15, 22, 17, 0.08), transparent 68%);
  opacity: 0.35;
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary,
  .blog-hero-rune--tertiary {
    display: none;
  }
}

/* Blog index reading mode
   Scoped to /blog/index.html so article reading mode remains independent. */

.blog-index[data-reading-mode="light"] {
  --blog-bg: #dfdfdf;
  --blog-bg-alt: #e7f0e3;
  --blog-surface: #fffaf2;
  --blog-text: #0f1611;
  --blog-muted: #4b5b50;
  --blog-deep: #142019;
  --blog-accent: #e94d00;
  --blog-border: rgba(15, 22, 17, 0.16);
  background:
    radial-gradient(circle at top left, rgba(199, 215, 198, 0.55), transparent 34rem),
    linear-gradient(180deg, #f4f1ea 0%, #dfdfdf 38%, #e7f0e3 100%);
  color: var(--blog-text);
}

.blog-index[data-reading-mode="dark"] {
  --blog-bg: #0b120e;
  --blog-bg-alt: #142019;
  --blog-surface: rgba(21, 34, 26, 0.92);
  --blog-text: #e6e2da;
  --blog-muted: #c9c2b6;
  --blog-deep: #f3efe7;
  --blog-accent: #ff9300;
  --blog-border: rgba(255, 242, 231, 0.18);
  background:
    radial-gradient(circle at top left, rgba(255, 147, 0, 0.14), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(33, 61, 36, 0.58), transparent 34rem),
    linear-gradient(180deg, #0b120e 0%, #0f1611 48%, #142019 100%);
  color: var(--blog-text);
}

.blog-index[data-reading-mode] .blog-hero,
.blog-index[data-reading-mode] .blog-shell {
  background: transparent;
}

.blog-index[data-reading-mode] .blog-hero__inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.blog-index[data-reading-mode="dark"] .blog-featured-card,
.blog-index[data-reading-mode="dark"] .blog-post-card,
.blog-index[data-reading-mode="dark"] .blog-sidebar__panel {
  background: rgba(15, 22, 17, 0.76);
  border-color: var(--blog-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.blog-index[data-reading-mode="light"] .blog-featured-card,
.blog-index[data-reading-mode="light"] .blog-post-card,
.blog-index[data-reading-mode="light"] .blog-sidebar__panel {
  background: rgba(255, 250, 242, 0.88);
  border-color: var(--blog-border);
}

.blog-index[data-reading-mode="dark"] .blog-eyebrow,
.blog-index[data-reading-mode="dark"] .blog-card__meta,
.blog-index[data-reading-mode="dark"] .blog-archive-list a,
.blog-index[data-reading-mode="dark"] .blog-sidebar__panel p,
.blog-index[data-reading-mode="dark"] .article-book-promo__byline {
  color: var(--blog-muted);
}

.blog-index[data-reading-mode="dark"] h1,
.blog-index[data-reading-mode="dark"] h2,
.blog-index[data-reading-mode="dark"] .blog-featured-card h2,
.blog-index[data-reading-mode="dark"] .blog-post-card h2,
.blog-index[data-reading-mode="dark"] .blog-sidebar__panel h2,
.blog-index[data-reading-mode="dark"] .article-book-promo h2 {
  color: var(--blog-deep);
}

.blog-index[data-reading-mode="dark"] .blog-hero__lead,
.blog-index[data-reading-mode="dark"] .blog-featured-card p,
.blog-index[data-reading-mode="dark"] .blog-post-card p {
  color: var(--blog-text);
}

.blog-index-reading-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.35rem;
  padding: 0.62rem 1rem;
  border: 1px solid var(--blog-border);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--blog-deep);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.blog-index-reading-mode-toggle span {
  font-weight: 700;
}

.blog-index-reading-mode-toggle:hover,
.blog-index-reading-mode-toggle:focus {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--blog-accent) 55%, var(--blog-border));
  outline: none;
}

.blog-index[data-reading-mode="dark"] .blog-index-reading-mode-toggle {
  background: rgba(255, 242, 231, 0.08);
  color: var(--blog-deep);
  border-color: var(--blog-border);
}

.blog-index[data-reading-mode="dark"] .blog-index-reading-mode-toggle:hover,
.blog-index[data-reading-mode="dark"] .blog-index-reading-mode-toggle:focus {
  background: rgba(255, 147, 0, 0.12);
}

/* Blog index rune stagger refinement
   Move secondary motifs below the primary rune so the masthead does not feel cramped. */

.blog-hero-rune--primary {
  top: 50%;
  right: clamp(1.5rem, 8vw, 8rem);
  width: clamp(18rem, 34vw, 32rem);
  transform: translateY(-48%);
  opacity: 0.88;
}

.blog-hero-rune--secondary {
  top: calc(100% + 1.25rem);
  right: clamp(8rem, 22vw, 22rem);
  width: clamp(8.5rem, 14vw, 14rem);
  transform: translateY(-50%) rotate(-18deg);
  opacity: 0.14;
}

.blog-hero-rune--tertiary {
  top: calc(100% + 7.5rem);
  right: clamp(0rem, 7vw, 7rem);
  width: clamp(6.5rem, 11vw, 11rem);
  transform: translateY(-50%) rotate(22deg);
  opacity: 0.10;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.08;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary {
  opacity: 0.055;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.18;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--tertiary {
  opacity: 0.13;
}

.blog-hero-rune--secondary .blog-hero-rune__soft,
.blog-hero-rune--secondary .blog-hero-rune__core,
.blog-hero-rune--tertiary .blog-hero-rune__soft,
.blog-hero-rune--tertiary .blog-hero-rune__core {
  opacity: 0.72;
}

.blog-hero-rune--secondary::after,
.blog-hero-rune--tertiary::after {
  opacity: 0.22;
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary,
  .blog-hero-rune--tertiary {
    display: none;
  }
}

/* Blog index rune cascade refinement
   Adds a longer, more visible downward rune trail without crowding the masthead. */

.blog-hero-rune--primary {
  top: 50%;
  right: clamp(1.5rem, 8vw, 8rem);
  width: clamp(18rem, 34vw, 32rem);
  transform: translateY(-48%);
  opacity: 0.90;
}

.blog-hero-rune--secondary {
  top: calc(100% + 1.75rem);
  right: clamp(9rem, 24vw, 24rem);
  width: clamp(10rem, 16vw, 16rem);
  transform: translateY(-50%) rotate(-18deg);
  opacity: 0.24;
}

.blog-hero-rune--tertiary {
  top: calc(100% + 8rem);
  right: clamp(2rem, 10vw, 9rem);
  width: clamp(8.5rem, 13vw, 13rem);
  transform: translateY(-50%) rotate(18deg);
  opacity: 0.20;
}

.blog-hero-rune--quaternary {
  top: calc(100% + 14rem);
  right: clamp(12rem, 28vw, 28rem);
  width: clamp(7.5rem, 11vw, 11rem);
  transform: translateY(-50%) rotate(-10deg);
  opacity: 0.16;
}

.blog-hero-rune--quinary {
  top: calc(100% + 20rem);
  right: clamp(4rem, 14vw, 14rem);
  width: clamp(6.5rem, 9vw, 9rem);
  transform: translateY(-50%) rotate(24deg);
  opacity: 0.13;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.15;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary {
  opacity: 0.12;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quaternary {
  opacity: 0.095;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quinary {
  opacity: 0.075;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.30;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--tertiary {
  opacity: 0.25;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quaternary {
  opacity: 0.20;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quinary {
  opacity: 0.16;
}

.blog-hero-rune--secondary .blog-hero-rune__soft,
.blog-hero-rune--secondary .blog-hero-rune__core,
.blog-hero-rune--tertiary .blog-hero-rune__soft,
.blog-hero-rune--tertiary .blog-hero-rune__core,
.blog-hero-rune--quaternary .blog-hero-rune__soft,
.blog-hero-rune--quaternary .blog-hero-rune__core,
.blog-hero-rune--quinary .blog-hero-rune__soft,
.blog-hero-rune--quinary .blog-hero-rune__core {
  opacity: 0.86;
}

.blog-hero-rune--quaternary .blog-hero-rune__soft,
.blog-hero-rune--quaternary .blog-hero-rune__core,
.blog-hero-rune--quinary .blog-hero-rune__soft,
.blog-hero-rune--quinary .blog-hero-rune__core {
  animation-duration: 30s;
}

.blog-hero-rune--secondary::after,
.blog-hero-rune--tertiary::after,
.blog-hero-rune--quaternary::after,
.blog-hero-rune--quinary::after {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 147, 0, 0.16), transparent 68%);
  filter: blur(18px);
  opacity: 0.34;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary::after,
.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary::after,
.blog-index[data-reading-mode="light"] .blog-hero-rune--quaternary::after,
.blog-index[data-reading-mode="light"] .blog-hero-rune--quinary::after {
  background: radial-gradient(circle, rgba(15, 22, 17, 0.10), transparent 70%);
  opacity: 0.32;
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary,
  .blog-hero-rune--tertiary,
  .blog-hero-rune--quaternary,
  .blog-hero-rune--quinary {
    display: none;
  }
}

/* Blog index rune right-gutter cascade
   Keep the secondary runes out from under the post card and let them descend along the right edge. */

.blog-index .blog-hero {
  overflow: visible !important;
}

.blog-index .blog-hero-rune {
  pointer-events: none;
}

.blog-hero-rune--primary {
  top: 50%;
  right: clamp(1.5rem, 8vw, 8rem);
  width: clamp(18rem, 34vw, 32rem);
  transform: translateY(-48%);
  opacity: 0.90;
}

.blog-hero-rune--secondary {
  top: calc(100% + 2.5rem);
  right: clamp(-3rem, 1vw, 2rem);
  width: clamp(12rem, 18vw, 18rem);
  transform: translateY(-50%) rotate(-14deg);
  opacity: 0.34;
}

.blog-hero-rune--tertiary {
  top: calc(100% + 10rem);
  right: clamp(5rem, 11vw, 12rem);
  width: clamp(9.5rem, 14vw, 14rem);
  transform: translateY(-50%) rotate(20deg);
  opacity: 0.28;
}

.blog-hero-rune--quaternary {
  top: calc(100% + 17rem);
  right: clamp(-2rem, 3vw, 4rem);
  width: clamp(8.5rem, 12vw, 12rem);
  transform: translateY(-50%) rotate(-22deg);
  opacity: 0.23;
}

.blog-hero-rune--quinary {
  top: calc(100% + 24rem);
  right: clamp(7rem, 15vw, 16rem);
  width: clamp(7rem, 10vw, 10rem);
  transform: translateY(-50%) rotate(16deg);
  opacity: 0.18;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.22;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary {
  opacity: 0.18;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quaternary {
  opacity: 0.14;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quinary {
  opacity: 0.11;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.40;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--tertiary {
  opacity: 0.34;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quaternary {
  opacity: 0.28;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quinary {
  opacity: 0.22;
}

.blog-hero-rune--secondary .blog-hero-rune__soft,
.blog-hero-rune--secondary .blog-hero-rune__core,
.blog-hero-rune--tertiary .blog-hero-rune__soft,
.blog-hero-rune--tertiary .blog-hero-rune__core,
.blog-hero-rune--quaternary .blog-hero-rune__soft,
.blog-hero-rune--quaternary .blog-hero-rune__core,
.blog-hero-rune--quinary .blog-hero-rune__soft,
.blog-hero-rune--quinary .blog-hero-rune__core {
  opacity: 0.96;
}

@media (min-width: 1200px) {
  .blog-hero-rune--secondary {
    right: calc((100vw - 1180px) / 2 - 7rem);
  }

  .blog-hero-rune--tertiary {
    right: calc((100vw - 1180px) / 2 + 3rem);
  }

  .blog-hero-rune--quaternary {
    right: calc((100vw - 1180px) / 2 - 5rem);
  }

  .blog-hero-rune--quinary {
    right: calc((100vw - 1180px) / 2 + 6rem);
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary,
  .blog-hero-rune--tertiary,
  .blog-hero-rune--quaternary,
  .blog-hero-rune--quinary {
    display: none;
  }
}

/* Blog index rune diagonal right cascade
   Each secondary rune steps lower and farther right so the trail moves away from the card column. */

.blog-index .blog-hero {
  overflow: visible !important;
}

.blog-hero-rune--primary {
  top: 50%;
  right: clamp(1.5rem, 8vw, 8rem);
  width: clamp(18rem, 34vw, 32rem);
  transform: translateY(-48%);
  opacity: 0.90;
}

.blog-hero-rune--secondary {
  top: calc(100% + 3rem);
  right: calc((100vw - 1180px) / 2 - 1rem);
  width: clamp(11rem, 16vw, 16rem);
  transform: translateY(-50%) rotate(-12deg);
  opacity: 0.36;
}

.blog-hero-rune--tertiary {
  top: calc(100% + 10rem);
  right: calc((100vw - 1180px) / 2 - 4.5rem);
  width: clamp(9.5rem, 13vw, 13rem);
  transform: translateY(-50%) rotate(18deg);
  opacity: 0.30;
}

.blog-hero-rune--quaternary {
  top: calc(100% + 17rem);
  right: calc((100vw - 1180px) / 2 - 7.5rem);
  width: clamp(8rem, 11vw, 11rem);
  transform: translateY(-50%) rotate(-18deg);
  opacity: 0.24;
}

.blog-hero-rune--quinary {
  top: calc(100% + 24rem);
  right: calc((100vw - 1180px) / 2 - 10rem);
  width: clamp(6.75rem, 9vw, 9rem);
  transform: translateY(-50%) rotate(22deg);
  opacity: 0.19;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.24;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary {
  opacity: 0.20;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quaternary {
  opacity: 0.16;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quinary {
  opacity: 0.13;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.44;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--tertiary {
  opacity: 0.36;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quaternary {
  opacity: 0.29;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quinary {
  opacity: 0.23;
}

@media (max-width: 1199.98px) {
  .blog-hero-rune--secondary {
    right: -1rem;
  }

  .blog-hero-rune--tertiary {
    right: -3.5rem;
  }

  .blog-hero-rune--quaternary {
    right: -5.5rem;
  }

  .blog-hero-rune--quinary {
    right: -7rem;
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary,
  .blog-hero-rune--tertiary,
  .blog-hero-rune--quaternary,
  .blog-hero-rune--quinary {
    display: none;
  }
}

/* Blog index rune lower cascade refinement
   Push each secondary rune clearly below the previous one, avoiding overlap with the primary. */

.blog-hero-rune--primary {
  top: 50%;
  right: clamp(1.5rem, 8vw, 8rem);
  width: clamp(18rem, 34vw, 32rem);
  transform: translateY(-48%);
  opacity: 0.90;
}

.blog-hero-rune--secondary {
  top: calc(100% + 9rem);
  right: calc((100vw - 1180px) / 2 - 2rem);
  width: clamp(10.5rem, 15vw, 15rem);
  transform: translateY(-50%) rotate(-12deg);
  opacity: 0.34;
}

.blog-hero-rune--tertiary {
  top: calc(100% + 18rem);
  right: calc((100vw - 1180px) / 2 - 5rem);
  width: clamp(9rem, 12.5vw, 12.5rem);
  transform: translateY(-50%) rotate(18deg);
  opacity: 0.28;
}

.blog-hero-rune--quaternary {
  top: calc(100% + 27rem);
  right: calc((100vw - 1180px) / 2 - 8rem);
  width: clamp(7.75rem, 10.5vw, 10.5rem);
  transform: translateY(-50%) rotate(-18deg);
  opacity: 0.22;
}

.blog-hero-rune--quinary {
  top: calc(100% + 36rem);
  right: calc((100vw - 1180px) / 2 - 11rem);
  width: clamp(6.5rem, 8.5vw, 8.5rem);
  transform: translateY(-50%) rotate(22deg);
  opacity: 0.17;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.22;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--tertiary {
  opacity: 0.17;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quaternary {
  opacity: 0.13;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--quinary {
  opacity: 0.10;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.42;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--tertiary {
  opacity: 0.34;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quaternary {
  opacity: 0.27;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--quinary {
  opacity: 0.21;
}

@media (max-width: 1199.98px) {
  .blog-hero-rune--secondary {
    top: calc(100% + 8rem);
    right: -2rem;
  }

  .blog-hero-rune--tertiary {
    top: calc(100% + 16rem);
    right: -4.5rem;
  }

  .blog-hero-rune--quaternary {
    top: calc(100% + 24rem);
    right: -6.5rem;
  }

  .blog-hero-rune--quinary {
    top: calc(100% + 32rem);
    right: -8rem;
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary,
  .blog-hero-rune--tertiary,
  .blog-hero-rune--quaternary,
  .blog-hero-rune--quinary {
    display: none;
  }
}

/* Blog index primary rune static refinement
   Keep the main masthead rune still while allowing lower echoes to remain atmospheric. */

.blog-hero-rune--primary .blog-hero-rune__halo,
.blog-hero-rune--primary .blog-hero-rune__soft,
.blog-hero-rune--primary .blog-hero-rune__glow,
.blog-hero-rune--primary .blog-hero-rune__core {
  animation: none !important;
}

.blog-hero-rune--primary .blog-hero-rune__halo {
  transform: scale(1.16);
}

.blog-hero-rune--primary .blog-hero-rune__soft {
  transform: scale(1.08);
}

.blog-hero-rune--primary .blog-hero-rune__glow {
  transform: scale(1.04);
}

.blog-hero-rune--primary .blog-hero-rune__core {
  transform: scale(0.98);
}

/* Blog index extended rune cascade
   Adds additional low-opacity right-edge echoes for a deeper atmospheric trail. */

.blog-hero-rune--senary {
  top: calc(100% + 45rem);
  right: calc((100vw - 1180px) / 2 - 14rem);
  width: clamp(6rem, 7.5vw, 7.5rem);
  transform: translateY(-50%) rotate(-14deg);
  opacity: 0.15;
}

.blog-hero-rune--septenary {
  top: calc(100% + 54rem);
  right: calc((100vw - 1180px) / 2 - 17rem);
  width: clamp(5.5rem, 7vw, 7rem);
  transform: translateY(-50%) rotate(20deg);
  opacity: 0.125;
}

.blog-hero-rune--octonary {
  top: calc(100% + 63rem);
  right: calc((100vw - 1180px) / 2 - 20rem);
  width: clamp(5rem, 6.5vw, 6.5rem);
  transform: translateY(-50%) rotate(-24deg);
  opacity: 0.105;
}

.blog-hero-rune--nonary {
  top: calc(100% + 72rem);
  right: calc((100vw - 1180px) / 2 - 23rem);
  width: clamp(4.75rem, 6vw, 6rem);
  transform: translateY(-50%) rotate(16deg);
  opacity: 0.085;
}

.blog-hero-rune--denary {
  top: calc(100% + 81rem);
  right: calc((100vw - 1180px) / 2 - 26rem);
  width: clamp(4.25rem, 5.5vw, 5.5rem);
  transform: translateY(-50%) rotate(-18deg);
  opacity: 0.07;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--senary {
  opacity: 0.095;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--septenary {
  opacity: 0.08;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--octonary {
  opacity: 0.065;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--nonary {
  opacity: 0.052;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--denary {
  opacity: 0.044;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--senary {
  opacity: 0.19;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--septenary {
  opacity: 0.16;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--octonary {
  opacity: 0.13;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--nonary {
  opacity: 0.105;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--denary {
  opacity: 0.085;
}

.blog-hero-rune--senary .blog-hero-rune__soft,
.blog-hero-rune--senary .blog-hero-rune__core,
.blog-hero-rune--septenary .blog-hero-rune__soft,
.blog-hero-rune--septenary .blog-hero-rune__core,
.blog-hero-rune--octonary .blog-hero-rune__soft,
.blog-hero-rune--octonary .blog-hero-rune__core,
.blog-hero-rune--nonary .blog-hero-rune__soft,
.blog-hero-rune--nonary .blog-hero-rune__core,
.blog-hero-rune--denary .blog-hero-rune__soft,
.blog-hero-rune--denary .blog-hero-rune__core {
  opacity: 0.92;
  animation-duration: 34s;
}

@media (max-width: 1199.98px) {
  .blog-hero-rune--senary {
    top: calc(100% + 40rem);
    right: -9.5rem;
  }

  .blog-hero-rune--septenary {
    top: calc(100% + 48rem);
    right: -11rem;
  }

  .blog-hero-rune--octonary {
    top: calc(100% + 56rem);
    right: -12.5rem;
  }

  .blog-hero-rune--nonary {
    top: calc(100% + 64rem);
    right: -14rem;
  }

  .blog-hero-rune--denary {
    top: calc(100% + 72rem);
    right: -15.5rem;
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--senary,
  .blog-hero-rune--septenary,
  .blog-hero-rune--octonary,
  .blog-hero-rune--nonary,
  .blog-hero-rune--denary {
    display: none;
  }
}

/* Blog index secondary rune scale refinement
   Make the second rune much larger while keeping it below and right of the primary rune. */

.blog-hero-rune--secondary {
  top: calc(100% + 11rem);
  right: calc((100vw - 1180px) / 2 - 7rem);
  width: clamp(18rem, 28vw, 29rem);
  transform: translateY(-50%) rotate(-12deg);
  opacity: 0.30;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.19;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.38;
}

@media (max-width: 1199.98px) {
  .blog-hero-rune--secondary {
    top: calc(100% + 10rem);
    right: -7rem;
    width: clamp(17rem, 34vw, 27rem);
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary {
    display: none;
  }
}

/* Blog index secondary rune placement refinement
   Push the second large rune much farther right and lower so it no longer crowds the primary rune. */

.blog-hero-rune--secondary {
  top: calc(100% + 19rem);
  right: calc((100vw - 1180px) / 2 - 18rem);
  width: clamp(18rem, 27vw, 28rem);
  transform: translateY(-50%) rotate(-12deg);
  opacity: 0.28;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--secondary {
  opacity: 0.17;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--secondary {
  opacity: 0.36;
}

@media (max-width: 1199.98px) {
  .blog-hero-rune--secondary {
    top: calc(100% + 17rem);
    right: -15rem;
    width: clamp(17rem, 32vw, 27rem);
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--secondary {
    display: none;
  }
}

/* Blog index primary rune light-mode softening
   Keep dark mode strong, but make the main rune subtler in light mode. */

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary {
  opacity: 0.46;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__halo {
  opacity: 0.12;
  filter: blur(46px) brightness(1.02) sepia(0.18) saturate(1.1) hue-rotate(22deg);
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__soft {
  opacity: 0.10;
  filter: blur(28px) brightness(1.02) sepia(0.18) saturate(1.05) hue-rotate(18deg);
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__glow {
  opacity: 0.11;
  filter: blur(16px) brightness(1.02) sepia(0.22) saturate(1.1) hue-rotate(12deg);
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__core {
  opacity: 0.18;
  filter: brightness(0.92) sepia(0.22) saturate(0.95) hue-rotate(38deg);
}

/* Blog index primary rune scale refinement
   Make the main masthead rune substantially larger while preserving light/dark mood. */

.blog-hero-rune--primary {
  top: 50%;
  right: clamp(-2rem, 3vw, 3rem);
  width: clamp(28rem, 52vw, 52rem);
  transform: translateY(-48%);
  opacity: 0.86;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary {
  opacity: 0.32;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__halo {
  opacity: 0.08;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__soft {
  opacity: 0.075;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__glow {
  opacity: 0.08;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__core {
  opacity: 0.13;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--primary {
  opacity: 0.96;
}

@media (max-width: 1199.98px) {
  .blog-hero-rune--primary {
    right: -5rem;
    width: clamp(24rem, 58vw, 44rem);
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--primary {
    right: 50%;
    width: min(92vw, 34rem);
    transform: translate(50%, -50%);
  }
}

/* Blog index primary rune scroll drift
   Lets the main masthead rune move downward slightly as the reader scrolls. */

.blog-hero-rune--primary {
  transform: translateY(calc(-48% + var(--blog-primary-rune-scroll-y, 0px)));
}

@media (max-width: 991.98px) {
  .blog-hero-rune--primary {
    transform: translate(50%, calc(-50% + var(--blog-primary-rune-scroll-y, 0px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero-rune--primary {
    transform: translateY(-48%);
  }

  @media (max-width: 991.98px) {
    .blog-hero-rune--primary {
      transform: translate(50%, -50%);
    }
  }
}

/* Blog index rune horizontal overflow fix
   Prevent the right-side rune trail from creating a horizontal scrollbar or exposing body background. */

html:has(.blog-index),
body:has(.blog-index) {
  overflow-x: hidden;
}

.blog-index {
  max-width: 100vw;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .blog-index {
    overflow-x: hidden;
  }
}

.blog-index .blog-hero,
.blog-index .blog-shell {
  max-width: 100vw;
}

.blog-index .blog-hero-rune {
  will-change: transform;
}

/* Blog index rune horizontal overflow fix
   Prevent the right-side rune trail from creating a horizontal scrollbar or exposing body background. */

html:has(.blog-index),
body:has(.blog-index) {
  overflow-x: hidden;
}

.blog-index {
  max-width: 100vw;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .blog-index {
    overflow-x: hidden;
  }
}

.blog-index .blog-hero,
.blog-index .blog-shell {
  max-width: 100vw;
}

.blog-index .blog-hero-rune {
  will-change: transform;
}

/* Blog index secondary rune parallax refinement
   Lower decorative runes drift downward at different rates as the page scrolls. */

.blog-hero-rune--secondary {
  transform: translateY(calc(-50% + var(--blog-secondary-rune-scroll-y, 0px))) rotate(-12deg);
}

.blog-hero-rune--tertiary {
  transform: translateY(calc(-50% + var(--blog-tertiary-rune-scroll-y, 0px))) rotate(18deg);
}

.blog-hero-rune--quaternary {
  transform: translateY(calc(-50% + var(--blog-quaternary-rune-scroll-y, 0px))) rotate(-18deg);
}

.blog-hero-rune--quinary {
  transform: translateY(calc(-50% + var(--blog-quinary-rune-scroll-y, 0px))) rotate(22deg);
}

.blog-hero-rune--senary {
  transform: translateY(calc(-50% + var(--blog-senary-rune-scroll-y, 0px))) rotate(-14deg);
}

.blog-hero-rune--septenary {
  transform: translateY(calc(-50% + var(--blog-septenary-rune-scroll-y, 0px))) rotate(20deg);
}

.blog-hero-rune--octonary {
  transform: translateY(calc(-50% + var(--blog-octonary-rune-scroll-y, 0px))) rotate(-24deg);
}

.blog-hero-rune--nonary {
  transform: translateY(calc(-50% + var(--blog-nonary-rune-scroll-y, 0px))) rotate(16deg);
}

.blog-hero-rune--denary {
  transform: translateY(calc(-50% + var(--blog-denary-rune-scroll-y, 0px))) rotate(-18deg);
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero-rune--secondary,
  .blog-hero-rune--tertiary,
  .blog-hero-rune--quaternary,
  .blog-hero-rune--quinary,
  .blog-hero-rune--senary,
  .blog-hero-rune--septenary,
  .blog-hero-rune--octonary,
  .blog-hero-rune--nonary,
  .blog-hero-rune--denary {
    transform: translateY(-50%);
  }
}

/* Blog index rune visibility and nonary scale refinement
   Make the primary light-mode rune slightly more visible and enlarge the second-to-last rune. */

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary {
  opacity: 0.42;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__halo {
  opacity: 0.11;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__soft {
  opacity: 0.10;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__glow {
  opacity: 0.105;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--primary .blog-hero-rune__core {
  opacity: 0.18;
}

.blog-hero-rune--nonary {
  top: calc(100% + 88rem);
  right: calc((100vw - 1180px) / 2 - 19rem);
  width: clamp(13rem, 19vw, 21rem);
  transform: translateY(calc(-50% + var(--blog-nonary-rune-scroll-y, 0px))) rotate(16deg);
  opacity: 0.16;
}

.blog-index[data-reading-mode="light"] .blog-hero-rune--nonary {
  opacity: 0.10;
}

.blog-index[data-reading-mode="dark"] .blog-hero-rune--nonary {
  opacity: 0.22;
}

@media (max-width: 1199.98px) {
  .blog-hero-rune--nonary {
    top: calc(100% + 76rem);
    right: -13rem;
    width: clamp(12rem, 24vw, 20rem);
  }
}

@media (max-width: 991.98px) {
  .blog-hero-rune--nonary {
    display: none;
  }
}


/* Blog article featured image caption and attribution */
.blog-article-hero-caption {
  display: grid;
  gap: 0.18rem;
  max-width: min(100%, 74rem);
  margin: 0.75rem auto 0;
  padding-inline: clamp(0.25rem, 1vw, 0.75rem);
  color: color-mix(in srgb, var(--blog-text, #1d2722) 64%, transparent);
  font-family: var(--blog-sans, "Inter", sans-serif);
  font-size: clamp(0.78rem, 0.74rem + 0.18vw, 0.9rem);
  line-height: 1.45;
  text-align: center;
}

.blog-article-hero-caption__text {
  font-style: italic;
}

.blog-article-hero-caption__credit {
  font-size: 0.82em;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--blog-text, #1d2722) 52%, transparent);
}

.blog-article-hero-caption__text:empty,
.blog-article-hero-caption__credit:empty {
  display: none;
}

.blog-article[data-reading-mode="dark"] .blog-article-hero-caption {
  color: color-mix(in srgb, var(--blog-text, #f5efe5) 72%, transparent);
}

.blog-article[data-reading-mode="dark"] .blog-article-hero-caption__credit {
  color: color-mix(in srgb, var(--blog-text, #f5efe5) 58%, transparent);
}

/* Blog article hero caption visibility refinement
   Let the figure include the caption while keeping the image itself cropped and rounded. */
.blog-article-hero-image {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.blog-article-hero-image img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  background: var(--blog-deep);
  box-shadow: 0 24px 64px rgba(7, 18, 15, 0.28);
}

.blog-article-hero-caption {
  position: relative;
  z-index: 1;
}

/* Blog article hero caption elegant inline refinement
   Remove the figure-box effect and render caption/credit as small readable text below the image. */
.blog-article-hero-image {
  overflow: visible;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.blog-article-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  background: var(--blog-deep);
  box-shadow: 0 24px 64px rgba(7, 18, 15, 0.28);
}

.blog-article-hero-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem;
  max-width: min(100%, 64rem);
  margin: 0.55rem auto 0;
  padding: 0;
  color: color-mix(in srgb, var(--blog-text, #1d2722) 78%, transparent);
  font-family: var(--blog-sans, "Inter", sans-serif);
  font-size: clamp(0.72rem, 0.69rem + 0.12vw, 0.8rem);
  line-height: 1.35;
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.blog-article-hero-caption__text {
  font-style: italic;
}

.blog-article-hero-caption__credit {
  font-size: 1em;
  letter-spacing: 0.015em;
  text-transform: none;
  color: color-mix(in srgb, var(--blog-text, #1d2722) 70%, transparent);
}

.blog-article-hero-caption__text:not(:empty) + .blog-article-hero-caption__credit:not(:empty)::before {
  content: "|";
  margin-right: 0.35rem;
  color: color-mix(in srgb, var(--blog-text, #1d2722) 42%, transparent);
}

.blog-article[data-reading-mode="dark"] .blog-article-hero-caption {
  color: color-mix(in srgb, var(--blog-text, #f5efe5) 82%, transparent);
}

.blog-article[data-reading-mode="dark"] .blog-article-hero-caption__credit {
  color: color-mix(in srgb, var(--blog-text, #f5efe5) 72%, transparent);
}

.blog-article[data-reading-mode="dark"] .blog-article-hero-caption__text:not(:empty) + .blog-article-hero-caption__credit:not(:empty)::before {
  color: color-mix(in srgb, var(--blog-text, #f5efe5) 48%, transparent);
}
