/* Article / inner page styles — extends main.css tokens */

body.article-body { background: var(--parchment); }

.article-wrap { padding: 130px 0 80px; }

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #6a6050;
  font-size: 0.88rem;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--gold); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--navy); }

.article-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid rgba(177, 138, 69, 0.28);
  border-radius: 34px 34px 12px 12px;
  box-shadow: var(--shadow);
  padding: 44px clamp(20px, 5vw, 56px) 52px;
}

.article-content h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 6px;
}

.article-meta {
  color: #7a6f5a;
  font-size: 0.88rem;
  margin: 0 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(182, 144, 63, 0.2);
}

.article-body-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #2c2415;
  max-width: 68ch;
}
.article-body-text p { margin: 0 0 1.2em; }
.article-body-text h2, .article-body-text h3, .article-body-text h4, .article-body-text .extracted-heading {
  font-family: var(--serif);
  color: var(--navy);
  margin: 1.6em 0 0.6em;
  line-height: 1.35;
}
.article-body-text h2, .article-body-text .extracted-heading { font-size: 1.4rem; }
.article-body-text h3 { font-size: 1.2rem; }
.article-body-text h4, .article-body-text h5 { font-size: 1.05rem; }
.article-body-text ul, .article-body-text ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; }
.article-body-text ul.extracted-list { list-style: none; padding-inline-start: 0; }
.article-body-text ul.extracted-list li {
  position: relative;
  padding-inline-start: 1.6em;
  margin-bottom: 0.6em;
}
.article-body-text ul.extracted-list li::before {
  content: "✒";
  position: absolute;
  right: 0;
  color: var(--gold);
}
.extracted-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.2em 0 1.6em;
}
.extracted-stat {
  background: var(--parchment-2);
  border: 1px solid rgba(182, 144, 63, 0.35);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 999px;
}
.article-body-text a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 2px; }
.article-body-text img { border-radius: 10px; margin: 1.4em 0; box-shadow: var(--shadow); max-width: 100%; height: auto; }
.article-body-text strong { color: var(--navy); }
.extracted-figure {
  margin: 1.8em auto;
  text-align: center;
}
.extracted-figure img { margin: 0 auto; }
.extracted-figure figcaption {
  font-size: 0.85rem;
  color: #7a6f5a;
  margin-top: 8px;
  font-style: italic;
}
.extracted-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 1.6em 0;
}
.extracted-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0;
  box-shadow: var(--shadow);
}
.article-body-text blockquote {
  margin: 1.6em 0;
  padding: 4px 20px;
  border-right: 3px solid var(--gold);
  color: #4a4030;
  font-style: italic;
}

.article-form-card {
  max-width: 560px;
  margin: 1.6em auto 0;
  background: var(--parchment-2);
  border: 1px solid rgba(182, 144, 63, 0.3);
  border-radius: var(--radius);
  padding: 30px clamp(20px, 5vw, 36px);
}

.related-articles {
  max-width: 760px;
  margin: 40px auto 0;
}
.related-articles h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.related-articles li {
  background: var(--paper);
  border: 1px solid rgba(177, 138, 69, 0.28);
  border-radius: 10px;
}
.related-articles a {
  display: block;
  padding: 12px 18px;
  color: var(--navy);
  font-weight: 600;
}
.related-articles a:hover { color: var(--burgundy); }

.article-cta {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--paper), var(--parchment-2));
  border: 1px solid rgba(181,138,61,.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-cta p { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; margin: 0 0 18px; }
.article-cta .btn { margin: 0 6px; }
.article-cta .btn-outline-dark { border-color: var(--burgundy); color: var(--ink); }
.article-cta .btn-outline-dark:hover { background: var(--gold-light); color: var(--black); }

/* Blog index */
.article-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.article-index-card {
  background: #fffdf7;
  border: 1px solid rgba(182, 144, 63, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.article-index-card h2 { font-size: 1.1rem; margin-bottom: 8px; }
.article-index-card a { color: var(--navy); }
.article-index-card a:hover { color: var(--burgundy); }
.article-index-card p { color: #4a4030; font-size: 0.92rem; margin: 0; }
.article-index-card .article-meta { border: none; padding: 0; margin: 10px 0 0; }

/* Article archive — bright ivory, quiet arches and old gold. */
.article-archive { background: var(--parchment); }
.archive-hero {
  position: relative;
  max-width: 950px;
  margin: 0 auto 30px;
  padding: 46px clamp(24px, 6vw, 74px) 40px;
  text-align: center;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(125deg, var(--paper), var(--parchment-2) 60%, var(--home-fallback, #efe1c7));
  border: 1px solid rgba(214, 185, 120, .72);
  border-radius: 180px 180px 30px 30px;
  box-shadow: 0 22px 42px rgba(77, 56, 40, .13);
}
.archive-hero::before, .archive-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(236, 208, 145, .38);
  border-radius: 50%;
  top: -92px;
}
.archive-hero::before { right: -48px; box-shadow: 0 0 0 20px rgba(236,208,145,.07), 0 0 0 42px rgba(236,208,145,.05); }
.archive-hero::after { left: -48px; box-shadow: 0 0 0 20px rgba(236,208,145,.07), 0 0 0 42px rgba(236,208,145,.05); }
.archive-hero > * { position: relative; z-index: 1; }
.archive-hero .section-eyebrow { color: var(--gold); letter-spacing: .08em; }
.archive-hero h1 { color: var(--ink); font-size: clamp(2rem, 5vw, 3.45rem); margin-bottom: 12px; }
.archive-hero .section-lead { color: #5b4c3e; margin: 0 auto; max-width: 650px; }
.archive-ornament { display: block; color: var(--gold); font-size: 2rem; line-height: 1; margin-bottom: 7px; transform: rotate(180deg); }
.archive-actions { margin-top: 22px; }
.archive-actions .btn-outline-dark { color: var(--ink); border-color: rgba(181,138,61,.85); }
.archive-actions .btn-outline-dark:hover { background: var(--gold-light); color: var(--black); }
.topic-nav { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; max-width: 980px; margin: 0 auto 38px; }
.topic-filter { font: inherit; color: var(--navy); cursor: pointer; border: 1px solid rgba(177,138,69,.52); background: rgba(255,253,248,.78); border-radius: 999px; padding: 9px 17px; transition: .2s ease; }
.topic-filter:hover, .topic-filter.is-active { background: var(--navy); color: #fffaf0; border-color: var(--navy); box-shadow: 0 7px 15px rgba(38,59,74,.16); }
.article-archive .article-index-grid { display: block; max-width: 1080px; }
.article-topic-section { margin: 0 0 46px; scroll-margin-top: 100px; }
.topic-heading { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 19px; color: var(--navy); }
.topic-heading::before, .topic-heading::after { content: ""; width: min(14vw, 126px); height: 16px; border-top: 1px solid rgba(177,138,69,.72); border-bottom: 1px solid rgba(177,138,69,.28); border-radius: 50%; }
.topic-heading span { color: var(--gold); font-size: 1.4rem; }
.topic-heading h2 { color: var(--navy); font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-archive .article-index-card { position: relative; overflow: hidden; min-height: 176px; padding: 26px 26px 23px; border-color: rgba(182,144,63,.36); border-radius: 25px 25px 10px 10px; box-shadow: 0 12px 25px rgba(30,48,61,.09); transition: transform .2s ease, box-shadow .2s ease; }
.article-archive .article-index-card::before { content: ""; position: absolute; top: 0; right: 22px; left: 22px; height: 3px; border-radius: 0 0 999px 999px; background: linear-gradient(90deg, transparent, #c49a4d, transparent); }
.article-archive .article-index-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(30,48,61,.15); }
.article-archive .article-index-card h2 { font-size: 1.16rem; }
.article-archive .article-index-card a { color: var(--navy); }
.article-archive .article-index-card a:hover { color: var(--burgundy); }
.article-archive .article-index-card .article-meta { color: var(--burgundy); font-weight: 600; }

@media (max-width: 720px) {
  .article-wrap { padding: 110px 0 60px; }
  .article-content { padding: 30px 18px 36px; }
  .article-index-grid { grid-template-columns: 1fr; }
  .archive-hero { border-radius: 105px 105px 22px 22px; padding-top: 38px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-heading::before, .topic-heading::after { width: 12vw; }
}

/* ---------- Articles category hub 2026-07-24 ---------- */
.category-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 38px 0 46px;
}
.category-card {
  position: relative;
  min-height: 280px;
  padding: 32px 28px 26px;
  background: linear-gradient(145deg, #fffdf8, #f3e7d2);
  border: 1px solid rgba(181, 138, 61, .36);
  border-radius: 92px 92px 18px 18px;
  box-shadow: 0 14px 32px rgba(77, 55, 32, .09);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.category-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  left: -42px;
  bottom: -48px;
  border: 1px solid rgba(181, 138, 61, .26);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(181, 138, 61, .04);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(77, 55, 32, .15);
  border-color: rgba(181, 138, 61, .7);
}
.category-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #ead7ad;
  color: #5a4330;
  font-weight: 700;
}
.category-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 12px;
}
.category-card p {
  color: #5b4c3e;
  line-height: 1.75;
  margin: 0 0 20px;
}
.category-card strong {
  color: #5a4330;
  border-bottom: 1px solid rgba(90, 67, 48, .45);
}
.category-downloads {
  background: linear-gradient(145deg, #f5ead5, #fffdf8);
}
.download-guides {
  text-align: center;
  margin: 0 0 54px;
  padding: 44px 28px;
  background: #fffdf8;
  border: 1px solid rgba(181, 138, 61, .38);
  border-radius: 34px 34px 12px 12px;
  box-shadow: 0 16px 34px rgba(77, 55, 32, .08);
}
.download-guides h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.download-guides p:not(.section-eyebrow) { margin: 0 auto 22px; color: #5b4c3e; }
.category-results { scroll-margin-top: 92px; }
.category-results[hidden] { display: none !important; }
.results-heading { text-align: center; margin: 0 0 28px; }
.results-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }
.article-index-card[hidden] { display: none !important; }

@media (max-width: 920px) {
  .category-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .category-hub { grid-template-columns: 1fr; gap: 16px; }
  .category-card { min-height: 0; padding: 28px 24px 24px; border-radius: 72px 72px 16px 16px; }
  .download-guides { padding: 34px 20px; }
}

/* Lightweight contextual YouTube video */
.context-video { max-width: 900px; margin: 42px auto; padding: clamp(18px, 3vw, 28px); background: linear-gradient(145deg, #fffdf8, #f3e7d3); border: 1px solid rgba(181,138,61,.36); border-radius: 38px 38px 14px 14px; box-shadow: 0 14px 34px rgba(48,42,38,.09); }
.context-video-copy { margin-bottom: 18px; text-align: center; }
.context-video-copy h2 { margin-bottom: 8px; }
.context-video-copy p { margin: 0 auto; max-width: 720px; color: #5b4c3e; }
.context-video .video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 26px 26px 10px 10px; background: #2f2822; }
.context-video .video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.context-video .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.context-video .video-play { position: absolute; inset: 0; width: 100%; border: 0; display: grid; place-items: center; align-content: center; gap: 10px; cursor: pointer; color: #fff; font: inherit; font-size: 1.1rem; font-weight: 700; background: linear-gradient(180deg, transparent 25%, rgba(32,25,20,.78)); }
.context-video .video-play span { display: grid; place-items: center; width: 64px; height: 64px; padding-right: 4px; border-radius: 50%; color: #2d241c; background: #d8b765; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
@media (max-width: 620px) { .context-video { margin: 30px auto; padding: 14px; border-radius: 28px 28px 12px 12px; } .context-video .video-play { font-size: 1rem; } .context-video .video-play span { width: 54px; height: 54px; } }
