/*
Theme Name: Data Rights Africa
Description: A mobile-first WordPress theme for Data Rights Africa.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: data-rights-africa
*/
:root {
  color-scheme: light;
  --ink: #142923;
  --muted: #465951;
  --paper: #f8f6ef;
  --line: #cfdbd1;
  --green: #103c30;
  --lime: #d9edaa;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
body:not(.block-editor-page) { overflow-wrap: break-word; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.reading { max-width: 47rem; }
a { color: #185441; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b35725; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .65em; font-weight: 500; }
h1 { font-size: clamp(2.65rem, 6vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.035em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; inset: .5rem auto auto 1rem; z-index: 20; background: white; padding: .65rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; flex-wrap: wrap; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .25rem; color: inherit; font-weight: 600; text-decoration: none; letter-spacing: -.04em; font-size: 1.18rem; }
.brand-mark { width: 1.5rem; height: 1.5rem; display: inline-block; border: 2px solid currentColor; border-radius: 50%; margin-right: .45rem; background: linear-gradient(135deg, transparent 44%, currentColor 46% 54%, transparent 56%); }
nav { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; }
nav a { color: inherit; font-size: .9rem; font-weight: 650; padding-block: .45rem; }
.hero { background: var(--green); color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3.5rem, 9vw, 8rem); }
.hero h1 { font-size: clamp(3.7rem, 9vw, 8rem); line-height: .92; margin-bottom: .28em; }
.hero em, .hero .eyebrow { color: var(--lime); }
.eyebrow { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; color: #285c49; margin-bottom: 1rem; }
.lede { max-width: 36rem; font-size: clamp(1.05rem, 2.2vw, 1.26rem); }
.hero-note { background: #1c4b3d; border: 1px solid #628074; border-top: 4px solid var(--lime); padding: clamp(1.5rem, 4vw, 2.5rem); }
.hero-note .text-link, .hero .actions .text-link { color: var(--lime); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; border: 0; padding: .65rem 1.05rem; border-radius: .25rem; background: var(--green); color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button[hidden] { display: none; }
.button:hover { background: #235c49; }
.hero .button { background: var(--lime); color: var(--ink); }
.hero .button:hover { background: #e7f5c6; }
.section { padding-block: clamp(2rem, 4.5vw, 4rem); }
.section + .section { padding-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards article { background: #fffdf7; border-top: 3px solid #528568; padding: 1.35rem; }
.cards p, .callout p, .footer-inner p { margin-bottom: 0; }
.callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; background: #e8efdf; padding: clamp(1.5rem, 4vw, 2.75rem); }
.page-head { background: #e8efdf; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.reading h2:not(:first-child) { margin-top: 1.3em; }
details { background: #fffdf7; border: 1px solid var(--line); margin-bottom: .65rem; padding: .75rem 1rem; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .65rem 0 .2rem; }
.template { padding: 1.15rem; background: white; border: 1px solid var(--line); }
.template pre { white-space: pre-wrap; font: inherit; margin: 0 0 1rem; }
.template [role="status"] { margin: .5rem 0 0; }
.quiet, .sources { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #eef1e9; }
.footer-inner { align-items: flex-start; padding-block: 2rem; }
.footer-inner p { margin-top: .5rem; }
@media (max-width: 700px) {
  .wrap { width: min(100% - 2rem, 72rem); }
  .hero-grid, .cards { grid-template-columns: minmax(0, 1fr); }
  .header-inner { row-gap: .2rem; }
}

/* Editorial layout and language navigation */
:root {
  --paper: #faf8f1;
  --green: #12382d;
  --lime: #e2edae;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand menu language";
  gap: 1rem 2rem;
}
.header-inner .brand { grid-area: brand; }
.primary-nav { grid-area: menu; justify-content: end; gap: .25rem 1.15rem; }
.primary-nav a { text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current] { text-decoration: underline; }
.language-nav {
  grid-area: language;
  display: inline-flex;
  gap: 0;
  flex-wrap: nowrap;
  justify-self: end;
  background: #e9eee2;
  border: 1px solid #d6dfd0;
  border-radius: 99px;
  padding: .18rem;
}
.language-nav a {
  border-radius: 99px;
  text-decoration: none;
  padding: .55rem .7rem;
  line-height: 1.25;
  font-size: .78rem;
}
.language-nav a[aria-current] { background: var(--green); color: white; }
.language-nav a:hover { text-decoration: underline; }
.skip { z-index: 30; }
#main { scroll-margin-top: 8rem; }
.hero-home {
  position: relative;
  isolation: isolate;
  background: var(--green);
  display: grid;
  align-content: center;
  min-height: clamp(30rem, 44vw, 44rem);
}
.hero-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 44%;
  background: linear-gradient(90deg, var(--green), transparent 34%), url("assets/nairobi.webp") center 43% / cover no-repeat;
}
.hero-home .reading { max-width: 72rem; }
.hero-home .reading > * { max-width: 53%; }
.hero-home h1 { max-width: 7em; font-size: clamp(3.25rem, 7vw, 7.3rem); line-height: .98; }
.hero-home .lede { display: inline-block; max-width: 36rem; color: #edf3e7; }
.page-head .eyebrow { display: inline-block; margin-bottom: 0; }
.resource-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.5rem 2.75rem;
}
.resource-card {
  background: #fffef9;
  border: 1px solid var(--line);
  border-top: 3px solid #4c8468;
  border-radius: .45rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  margin-bottom: 1rem;
}
.resource-card > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  height: 100%;
}
.resource-card h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.resource-card .button { margin-top: auto; }
.resource-grid .resource-card { margin-bottom: 0; }
.callout { display: block; border-radius: .45rem; }
.callout p { margin-bottom: .75rem; }
.wp-block-shortcode { margin-block: .5rem; }
.button + .button { margin-inline-start: .25rem; }
.hero-home .button + .button { background: transparent; color: white; box-shadow: inset 0 0 0 1px #c5d7c4; }
.wp-block-details { margin-block: .8rem; }
.wp-block-preformatted {
  background: #fffef9;
  border: 1px solid var(--line);
  border-inline-start: 4px solid #4c8468;
  border-radius: .25rem;
  padding: 1rem 1.25rem;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.copy-status { display: inline-block; margin: .4rem .8rem; }
.site-footer { background: var(--green); color: #edf3e7; }
.site-footer p { max-width: 63ch; }
@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand language" "menu menu";
    gap: .25rem 1rem;
    padding-block: .65rem .35rem;
  }
  .primary-nav { justify-content: start; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 700px) {
  .hero-home { align-content: start; padding: 2.6rem 0 0; }
  .hero-home::before {
    position: static;
    grid-row: 2;
    min-height: 14rem;
    margin-top: 2rem;
    background-image: linear-gradient(180deg, var(--green), transparent 25%), url("assets/nairobi.webp");
  }
  .hero-home .reading > * { max-width: none; }
  .hero-home h1 { max-width: 8em; }
  .resource-grid > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); }
  .admin-bar .site-header { top: 0; }
  .site-header .brand { font-size: 1rem; }
  .brand-mark { margin-right: .2rem; width: 1.2rem; height: 1.2rem; }
  .primary-nav { gap: 0 .75rem; }
  .primary-nav a { font-size: .79rem; }
}
@media print {
  .site-header, .site-footer, .skip, .copy-template, .copy-status, .hero-home::before {
    display: none !important;
  }
  body, .page-head, .hero, .hero-home .lede, .hero .eyebrow { color: black; background: white; }
  .hero-home { min-height: 0; }
  .wrap { width: 100%; }
  .section, .page-head { padding-block: .75rem; }
  .wp-block-preformatted { break-inside: avoid; }
}

/* Library of guides and workshop materials */
:root {
  --paper: #fbfaf5;
  --line: #d8e1d6;
  --green: #153b30;
  --lime: #e8f0b8;
  --content-width: 46rem;
}
body { font-size: 1.025rem; }
.reading { max-width: var(--content-width); }
.header-inner { column-gap: clamp(1rem, 3vw, 2.6rem); }
.language-nav a { min-height: 2.65rem; display: inline-flex; align-items: center; }
.primary-nav a { min-height: 2.6rem; display: inline-flex; align-items: center; }
.hero-home { border: 0; }
.hero-home::before { inset-inline-start: 42%; }
.hero-home .eyebrow { border-bottom: 1px solid #adbe91; padding-bottom: .55rem; }
.hero-home h1 { margin-bottom: .4em; }
.hero-home .lede { max-width: 33rem; }
.home .hero-home + .section { padding-block-start: clamp(2.5rem, 6vw, 5rem); }
.resource-grid > .wp-block-group__inner-container { gap: clamp(.9rem, 2vw, 1.5rem); }
.resource-card { box-shadow: 0 12px 30px #17392a09; border-radius: .7rem; }
.resource-card h2 { margin: 0 0 .55em; }
.resource-card .button { align-self: start; }
.button { border-radius: .4rem; margin-block: .2rem; }
.journey {
  padding-block: clamp(2rem, 5vw, 4rem);
}
.journey-header { margin-bottom: 1.25rem; }
.journey-header h2 { margin-bottom: .25em; }
.journey-header p, .journey-note { color: var(--muted); }
.journey-choice {
  border-color: var(--line);
  border-radius: .65rem;
  margin: 0 0 .65rem;
  padding: 0;
  background: #fffefa;
  scroll-margin-top: 11rem;
}
.journey-choice[open] { border-color: #8fae9b; box-shadow: 0 10px 32px #17392a0b; }
.journey-choice summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: .95rem clamp(.9rem, 3vw, 1.35rem);
  min-height: 3.5rem;
}
.journey-choice summary::-webkit-details-marker { display: none; }
.journey-choice summary::after {
  content: "";
  border-right: 2px solid #285c49;
  border-bottom: 2px solid #285c49;
  width: .55rem;
  height: .55rem;
  margin-right: .2rem;
  transform: rotate(45deg) translateY(-2px);
}
.journey-choice[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.journey-choice summary:hover, .journey-choice[open] summary { background: #edf2e7; border-radius: .6rem; }
.journey-content { padding: clamp(1rem, 3vw, 1.6rem); }
.journey-content h3 { font-family: inherit; font-size: 1rem; font-weight: 750; margin: 0 0 .35rem; }
.journey-content p { margin: 0 0 1.15rem; }
.journey-content pre { margin: 0 0 .65rem; }
.journey-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; margin-top: .9rem; }
.journey-note { font-size: .9rem; margin-top: 1.25rem; }
.faq-group { padding-top: 0; }
.faq-group details { border-radius: .5rem; margin-block: .6rem; }
.editorial-note {
  padding: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #eef3e9;
}
.editorial-note h2 { font: 750 1.03rem/1.3 system-ui, sans-serif; margin: 0 0 .65rem; }
.editorial-note p, .editorial-links { display: flex; flex-wrap: wrap; gap: .4rem 1.15rem; }
.editorial-note p { margin: 0 0 .6rem; font-size: .92rem; }
.print-sheet {
  padding: clamp(1.15rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .7rem;
  margin-bottom: 1.25rem;
  background: #fffefa;
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .header-inner { column-gap: .5rem; }
  .language-nav a { padding-inline: .55rem; }
  .hero-home h1 { font-size: clamp(3rem, 12vw, 4.7rem); }
  .hero-home + .section { padding-top: 2.4rem; }
}
@media print {
  .print-button, .journey-choice:not([open]) { display: none !important; }
  .print-sheet { background: white; border: 0; padding: 0; }
  body[data-print-part="handout"] .print-facilitator,
  body[data-print-part="facilitator"] .print-handout,
  body[data-print-part] .toolkit .button { display: none !important; }
}

.primary-nav .nav-help {
  color: var(--green);
  background: #e9f0df;
  border-radius: .4rem;
  padding-inline: .7rem;
}
.page-head:not(.hero) {
  background: linear-gradient(125deg, #edf3e7, #e5ecde);
}
.page-head h1 { text-wrap: balance; }
.page-head p:last-child { margin-bottom: 0; }
.hero-home h1 { text-wrap: initial; }
.hero-home > .wp-block-group__inner-container { width: 100%; }
@media (min-width: 921px) {
  .hero-home::before {
    inset: 0 0 0 43%;
    background: linear-gradient(90deg, var(--green), transparent 28%), url("assets/nairobi.webp") center 44% / cover no-repeat;
  }
}
@media (max-width: 700px) {
  .primary-nav .nav-help { padding-inline: .55rem; }
}
@media print {
  .page-head:not(.hero) { background: white; }
}

/* Action tools */
.dra-tools { max-width: 72rem; }
.tools-privacy {
  padding: .85rem 1rem;
  border-inline-start: 3px solid #4c8468;
  background: #edf3e8;
  color: var(--ink);
}
.tool-jumps { margin-block: 1rem; }
.tool-jumps a { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .4rem; }
.tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem,3vw,2rem); align-items: start; }
.tool-grid[hidden], .dra-tools [hidden] { display: none; }
.tool-card {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: .7rem;
  padding: clamp(1.15rem,3.5vw,2rem);
  scroll-margin-top: 12rem;
  min-width: 0;
}
.tool-card > p { color: var(--muted); }
.tool-card label { display: block; margin: .95rem 0 .3rem; font-weight: 680; }
.tool-card input, .tool-card select, .tool-card textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  padding: .6rem .65rem;
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid #74887c;
  border-radius: .35rem;
}
.tool-card textarea { resize: vertical; }
.tool-card :is(input,textarea,select):focus-visible { outline: 3px solid #b35725; outline-offset: 2px; }
.tool-card form .button { margin-top: .9rem; }
.tool-hint { margin: .35rem 0; font-size: .88rem; color: var(--muted); }
.tool-output { border-top: 1px solid var(--line); margin-top: 1rem; }
.tool-actions { display: flex; flex-wrap: wrap; gap: .45rem .6rem; margin-top: .5rem; }
.tool-actions .button { margin-inline: 0; }
.tool-actions .secondary { color: var(--green); background: #ecf2e6; border: 1px solid #cbdcc7; }
.tool-actions .secondary:hover { background: #dfead8; }
.tool-events { margin: 1rem 0; padding-inline-start: 1.3rem; }
.tool-events li { border-bottom: 1px solid var(--line); padding: .4rem 0; overflow-wrap: anywhere; }
.tool-events button { margin-inline-start: .5rem; color: var(--green); background: transparent; border: 0; text-decoration: underline; cursor: pointer; min-height: 2.65rem; }
.tool-status { font-size: .9rem; margin: .55rem 0; }
.tool-status:empty, .tool-events:empty { display: none; }
@media (max-width: 820px) {
  .tool-grid { grid-template-columns: minmax(0,1fr); }
}

/* Navigation assistant and action icons */
.dra-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -0.14em; }
.dra-icon-title { display: flex; align-items: center; gap: .55rem; }
.dra-icon-title .dra-icon { box-sizing: content-box; padding: .33rem; border-radius: .45rem; color: #1b5944; background: #e9f2e1; font-size: .72em; }
.primary-nav .nav-help { gap: .35rem; }
.dra-assistant-launch {
  position: fixed;
  z-index: 20;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1rem;
  min-height: 2.85rem;
  color: white;
  background: var(--green);
  border: 1px solid #709282;
  border-radius: 2rem;
  box-shadow: 0 5px 24px #14312730;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
}
.dra-assistant-launch .dra-icon { color: var(--lime); }
.dra-assistant-launch:hover { text-decoration: underline; }
.dra-assistant {
  width: min(29rem, calc(100% - 1.5rem));
  max-height: min(43rem, calc(100dvh - 1.5rem));
  padding: 0;
  margin: auto max(.75rem, env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fffefa;
  color: var(--ink);
  box-shadow: 0 16px 65px #122c3b44;
}
.dra-assistant::backdrop { background: #122c2490; }
body:has(.dra-assistant[open]) { overflow: hidden; }
.dra-assistant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: .75rem 1rem;
  color: white;
  background: var(--green);
}
.dra-assistant-head h2 { display: flex; align-items: center; gap: .55rem; margin: 0; font: 700 1rem/1.3 system-ui, sans-serif; }
.dra-assistant-close {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.15rem;
  color: inherit;
  background: #ffffff16;
  border: 1px solid #ffffff55;
  border-radius: .4rem;
  cursor: pointer;
}
.dra-assistant-body { padding: 1rem; font-size: .9rem; }
.dra-assistant-chips, .dra-assistant-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin: .75rem 0; }
.dra-assistant-chips button, .dra-ai-submit {
  background: #edf4e8;
  color: var(--green);
  border: 1px solid #c3d7c4;
  border-radius: .5rem;
  padding: .5rem .65rem;
  min-height: 2.75rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.dra-ai-submit:hover, .dra-assistant-chips button:hover { background: #dfebd8; }
.dra-ai-submit:disabled { opacity: .7; cursor: wait; }
.dra-assistant-form label { display: block; font-weight: 700; margin: 1rem 0 .3rem; }
.dra-assistant-form input { box-sizing: border-box; width: 100%; min-height: 2.85rem; border: 1px solid #728a7c; border-radius: .4rem; padding: .5rem; font: inherit; }
.dra-assistant-form input:focus-visible { outline: 3px solid #b35725; outline-offset: 2px; }
#dra-assistant-privacy { color: var(--muted); margin: .4rem 0; font-size: .82rem; }
.dra-assistant-actions .button { margin: 0; }
.dra-assistant-status { margin: .65rem 0 .3rem; }
.dra-assistant-status:empty { margin: 0; }
.dra-assistant-results { margin: 0; padding: 0; list-style: none; }
.dra-assistant-results a { display: block; padding: .65rem .75rem; margin-bottom: .45rem; border: 1px solid var(--line); border-radius: .45rem; text-decoration: none; }
.dra-assistant-results a:hover { background: #edf4e8; }
.dra-assistant-results strong, .dra-assistant-results span { display: block; }
.dra-assistant-results span { color: var(--muted); }
.site-footer { padding-bottom: 3.4rem; }
@media print { .dra-assistant-launch, .dra-assistant { display: none !important; } }

/* Homepage paths and publication */
.dra-path-grid, .dra-news-grid, .dra-kit-grid { display:grid; gap:clamp(1rem,3vw,1.75rem); grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); }
.dra-path, .dra-news-card, .dra-kit-card { display:block; padding:clamp(1rem,2.5vw,1.6rem); border:1px solid var(--line); border-radius:.65rem; background:#fffefa; }
.dra-path { color:var(--ink); text-decoration:none; }
.dra-path:hover { border-color:#709282; background:#f2f7ef; }
.dra-path .dra-icon { color:var(--green); width:1.45rem; height:1.45rem; margin-bottom:.6rem; }
.dra-path p,.dra-news-card p:last-child,.dra-kit-card p:last-child { margin-bottom:0; }
.dra-news-card h2,.dra-kit-card h3 { font-size:clamp(1.2rem,2vw,1.6rem); }
.dra-news-card time,.dra-byline { font-size:.9rem; color:var(--muted); }
.dra-news-filters,.dra-pagination,.dra-article-links { display:flex; flex-wrap:wrap; gap:.65rem 1rem; margin-block:1.25rem; }
.dra-news-filters a,.dra-pagination a { display:inline-block; padding:.35rem .65rem; border:1px solid var(--line); border-radius:.4rem; }
.dra-news-filters a[aria-current] { color:white; background:var(--green); }
.dra-article-body { font-size:1.07rem; }
.dra-article-categories { margin-bottom:.4rem; }
.dra-publication-note { border-top:1px solid var(--line); margin-top:2rem; padding-top:1.3rem; scroll-margin-top:13rem; }
@media (min-width: 1024px) { .primary-nav { column-gap:.75rem; } }
.dra-editorial-page #main > .reading { max-width:70rem; }
.dra-editorial-page #main > .reading > p { max-width:70ch; }
.dra-kit-grid { margin-block:1.2rem 2rem; }
.dra-kit-card a { display:inline-block; margin-top:.8rem; }

/* Focused homepage and organizational walkthrough */
.dra-paths .dra-path { background: #edf3e7; border: 1px solid #a6bc9d; }
.dra-paths .dra-path:hover { background:#dce9d4; }
.dra-paths .dra-path h3 { font-size:clamp(1.35rem,2.25vw,1.85rem); }
.dra-paths .dra-path-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); }
.dra-scenarios { padding-top:1.5rem; }
.dra-scenarios h2 { font-size:clamp(1.45rem,2.8vw,2rem); }
.dra-scenarios .resource-card { padding:.85rem 1rem; box-shadow:none; background:transparent; border:1px solid var(--line); }
.dra-scenarios .resource-card h2 { font-size:1.3rem; }
.dra-scenarios .resource-card .button { color:var(--green); background:transparent; text-decoration:underline; padding-inline:0; }
.dra-feature { padding-block:1rem; }
.dra-feature-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem 2rem; padding:clamp(1rem,3vw,2rem); border-inline-start:.3rem solid #6c9c83; background:#eef3e8; }
.dra-feature-inner > div:first-child { max-width:65ch; }
.dra-feature-inner p:last-child { margin-bottom:0; }
.dra-walkthrough { margin-block:2rem; }
.dra-walkthrough .dra-kit-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); }
.dra-worked-step dt { font-weight:700; }
.dra-worked-step dd { margin:0 0 .5rem; }
.dra-language-note { color:var(--muted); font-size:.94rem; }
