/* Hope Chapel — Sermons page (concept mockup)
   Palette + type lifted from the live rt-hope theme:
   https://hope.org/wp-content/themes/rt-hope/css/colorscheme.css */

:root {
  --green:            rgb(118, 150, 88);
  --green-low:        rgb(75, 117, 35);
  --green-alt:        rgb(176, 193, 163);
  --green-dark:       rgb(77, 98, 57);
  --green-dark-high:  rgb(113, 129, 97);
  --green-dark-alt:   rgb(97, 114, 79);
  --green-dark-low:   rgb(41, 52, 31);
  --green-dark-lower: rgb(27, 35, 21);
  --green-light-high: rgb(228, 234, 222);
  --green-light:      rgb(198, 211, 185);
  --green-light-low:  rgb(184, 200, 168);
  --gold-high:        rgb(216, 186, 101);
  --gold:             rgb(204, 164, 52);
  --gold-lower:       rgb(176, 141, 44);
  --blue:             rgb(49, 81, 92);
  --bright-border:    rgb(200, 206, 195);

  --serif: "kepler-std", "Source Serif 4", Utopia, Georgia, Times, serif;
  --sans:  "museo-sans", "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 68rem;
  --radius: 3px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: subpixel-antialiased;
}
@media (min-width: 40em) { body { font-size: 19px; } }
@media (min-width: 64em) { body { font-size: 20px; } }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover, a:focus { color: var(--gold-lower); text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; font-weight: 400; }
h1 { font-size: 2.5rem; }
h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700;
  color: var(--green-dark-alt);
}
h3 { font-size: 1.45rem; line-height: 1.3; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--green-dark-lower);
  padding: .6em 1em; z-index: 99; font-family: var(--sans);
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* ---------- Header (mirrors rt-hope: dark green + blurred hero) ---------- */

.site-header {
  background-color: var(--green-dark-low);
  background-image: url("blog-blur.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  text-shadow: 0 0 .5em rgba(0,0,0,.5);
}
.site-header__bar { background-color: rgba(27, 35, 21, .75); padding: 1.4em 0; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}

/* Logo: the site's own horizontal lockup, cropped out of the theme's SVG sprite */
.logo { display: block; width: 13rem; max-width: 55vw; }
.logo img { width: 100%; height: auto; }
.logo:hover, .logo:focus { opacity: .6; }

.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; }
.nav a {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-light-high);
  padding: .35em .5em;
  display: block;
  border-radius: var(--radius);
}
.nav a:hover, .nav a:focus {
  color: var(--green-dark-low);
  background-color: var(--green-light);
  text-shadow: none;
  text-decoration: none;
}
.nav a[aria-current="page"] { color: var(--gold-high); border-bottom: 2px solid var(--gold-high); }

/* ---------- Page hero ---------- */

.page-hero {
  background-color: var(--green-dark-lower);
  background-image: url("blog-blur.jpg");
  background-size: cover;
  background-position: center 38%;
  color: var(--green-light-high);
  text-shadow: 0 0 .5em rgba(0,0,0,.6);
}
.page-hero__inner { background: rgba(27,35,21,.62); padding: 4.5rem 0 4rem; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); color: #fff; margin-bottom: .2em; text-wrap: balance; }
.page-hero p { max-width: 44rem; margin: 0 auto; font-size: 1.08rem; text-wrap: pretty; }
.page-hero .container { text-align: center; }
.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; font-weight: 700; color: var(--gold-high);
  margin: 0 0 1rem;
}

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }
.section--tint { background: var(--green-light-high); }
.section__head { margin-bottom: 2rem; }
.section__head p { max-width: 48rem; margin: .4rem 0 0; color: var(--green-dark-alt); }
.section__head h3 { color: var(--green-dark-low); }

/* ---------- Featured sermon ---------- */

.featured { display: grid; gap: 2rem; }
@media (min-width: 62em) { .featured { grid-template-columns: 1.35fr 1fr; align-items: start; } }

.video-frame {
  position: relative; padding-top: 56.25%;
  background: var(--green-dark-lower);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.featured__meta { font-family: var(--sans); }
.featured__meta h3 {
  font-family: var(--serif); font-size: 2.1rem; color: var(--green-dark-low);
  margin-bottom: .25em;
}
.series-tag {
  display: inline-block; font-family: var(--sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--gold); color: #221a03;
  padding: .38em .8em; border-radius: 100px; margin-bottom: .9rem;
}
.dl-meta { margin: 1.2rem 0 1.6rem; font-size: .88rem; }
.dl-meta div { display: flex; gap: .8rem; padding: .5rem 0; border-top: 1px solid var(--bright-border); }
.dl-meta dt {
  flex: 0 0 5.6rem; text-transform: uppercase; letter-spacing: .1em;
  font-size: .68rem; font-weight: 700; color: var(--green-dark-high); padding-top: .18em;
}
.dl-meta dd { margin: 0; color: var(--green-dark-low); }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .85em 1.4em; border-radius: var(--radius);
  border: 2px solid var(--gold);
  background: var(--gold); color: #221a03;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover, .btn:focus { background: var(--gold-lower); border-color: var(--gold-lower); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--gold-lower); }
.btn--ghost:hover, .btn--ghost:focus { background: var(--gold); color: #221a03; border-color: var(--gold); }

/* Hero pill buttons */
.btn--pill { border-radius: 999px; }
.hero-actions { justify-content: center; margin-top: 1.7rem; }
.hero-actions .btn { text-shadow: none; }
.btn--hero-ghost { background: transparent; color: var(--gold-high); border-color: var(--gold-high); }
.btn--hero-ghost:hover, .btn--hero-ghost:focus { background: var(--gold); border-color: var(--gold); color: #221a03; }

/* ---------- Download-the-notes pills ---------- */

/* Big variant — sits in the .btn-row at the top of a sermon page. */
.btn--dl { display: inline-flex; align-items: center; gap: .55em; }
.btn--dl svg { width: .95em; height: .95em; flex: none; }

/* Small variant — sits beside a "Read the notes" text link. */
.pdf-pill {
  display: inline-flex; align-items: center; gap: .42em;
  font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  padding: .46em .8em .42em;
  border: 1px solid var(--gold-high);
  border-radius: 999px;
  background: #fdfbf3;
  color: var(--gold-lower);
}
.pdf-pill:hover, .pdf-pill:focus {
  background: var(--gold); border-color: var(--gold); color: #221a03; text-decoration: none;
}
.pdf-pill svg { width: .88em; height: .88em; flex: none; }
/* The series strip stacks its link + pill; the cards keep them inline. */
.serieslist__go { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; }

/* ---------- Sermon notes article ---------- */

.notes { display: grid; gap: 2.5rem; }
@media (min-width: 62em) { .notes { grid-template-columns: minmax(0,1fr) 17rem; align-items: start; } }

.notes__body { max-width: 40rem; }
.notes__body > p { margin: 0 0 1.15em; }
.notes__body h3 {
  color: var(--green-dark-low);
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 3px solid var(--green-light);
}
.notes__body h3:first-of-type { margin-top: 1rem; }

.lede { font-size: 1.18rem; line-height: 1.6; color: var(--green-dark-low); }

.bigidea {
  background: var(--green-light-high);
  border-left: 5px solid var(--green);
  padding: 1.3rem 1.5rem;
  margin: 0 0 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.bigidea p { margin: .35rem 0 0; font-size: 1.1rem; line-height: 1.55; color: var(--green-dark-low); }

/* Scripture highlight (FI style) */
.scripture {
  margin: 1.6em 0;
  padding: 1.1rem 1.3rem;
  background: #fdfbf3;
  border: 1px solid var(--gold-high);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.scripture p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--green-dark-low); }
.scripture cite {
  display: block; margin-top: .6rem;
  font-family: var(--sans); font-style: normal;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.scripture cite a { color: var(--gold-lower); }
.scripture cite a::after { content: " ↗"; font-weight: 400; }

.ref { white-space: nowrap; border-bottom: 1px dotted var(--gold); }

/* Timestamp link under a section heading — jumps to that moment in the recording */
.notes__ts {
  margin: -.9rem 0 1.2rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.notes__ts a { color: var(--gold-lower); text-decoration: none; }
.notes__ts a:hover { text-decoration: underline; }

/* Small uppercase label introducing a sub-block */
.notes__kicker {
  margin: 1.8rem 0 .5rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-lower);
}

/* Editorial aside — the note-taker speaking, not the preacher */
.notes__aside {
  font-style: italic;
  color: var(--green-dark-alt);
  font-size: .95rem;
}

/* Material Amy wrote but did not preach, kept separate from the account above */
.fromnotes {
  margin: 2.4rem 0;
  padding: 1.4rem 1.6rem .6rem;
  background: #faf7ef;
  border: 1px solid var(--gold-high);
  border-radius: var(--radius);
}
.fromnotes h3 { margin-top: .2rem; }
.fromnotes .scripture { background: #fff; }

/* Small caps for the divine name as printed in most translations */
.sc { font-variant: small-caps; }
/* Amy's own interpolations inside a quoted verse */
.interp { color: var(--gold-lower); }

.card__note {
  font-size: .78rem; font-style: italic; line-height: 1.5;
  color: var(--green-dark-alt);
}

.pullquote {
  margin: 2rem 0;
  padding: 0 0 0 1.4rem;
  border-left: 5px solid var(--gold-high);
  font-size: 1.3rem;
  line-height: 1.42;
  font-style: italic;
  color: var(--green-dark-low);
}

/* Sidebar */
.sidebar { font-family: var(--sans); font-size: .85rem; }
.card {
  background: #fff;
  border: 1px solid var(--bright-border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}
.card h4 {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--green-dark-high); margin-bottom: .8rem;
}
.card ol, .card ul { margin: 0; padding-left: 1.1rem; }
.card li { margin-bottom: .45rem; line-height: 1.4; }
.card p { margin: 0 0 .7rem; line-height: 1.5; }
.card p:last-child { margin-bottom: 0; }
.card--gold { border-top-color: var(--gold); background: #fdfbf3; }

/* ---------- Archive grid ---------- */

.grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}
.sermon-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--bright-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease;
}
.sermon-card:hover, .sermon-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(41,52,31,.16);
}
.sermon-card__thumb { position: relative; background: var(--green-dark-low); }
.sermon-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sermon-card__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(27,35,21,.55), rgba(27,35,21,0) 55%);
}
.sermon-card__play svg { width: 3rem; height: 3rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.sermon-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.sermon-card__date {
  font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark-high);
  margin-bottom: .45rem;
}
.sermon-card h4 { font-size: 1.08rem; line-height: 1.3; margin-bottom: .4rem; font-weight: 400; }
.sermon-card h4 a { color: var(--green-dark-low); }
.sermon-card h4 a:hover, .sermon-card h4 a:focus { color: var(--gold-lower); text-decoration: none; }
.sermon-card__speaker { font-family: var(--sans); font-size: .8rem; color: var(--green-dark-alt); margin: 0 0 .9rem; }
.sermon-card__speaker.is-unknown { font-style: italic; opacity: .78; }
.sermon-card__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .06em; }

.archive-foot { margin-top: 2.2rem; text-align: center; }

/* ---------- Why-this-matters strip ---------- */
.why { display: grid; gap: 1.6rem; }
@media (min-width: 48em) { .why { grid-template-columns: repeat(3, 1fr); } }
.why h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lower); margin-bottom: .5rem; }
.why p { margin: 0; font-size: .97rem; color: var(--green-dark); }

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--green-dark-lower);
  background-image: url("blog-blur.jpg");
  background-size: cover; background-position: center bottom;
  color: var(--green-light);
  margin-top: 0;
}
.site-footer__inner { background: rgba(27,35,21,.88); padding: 3rem 0 2rem; }
.site-footer a { color: var(--gold-high); }
.footer-cols { display: grid; gap: 2rem; }
@media (min-width: 48em) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { color: var(--green-light); margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: .85rem; }
.site-footer li { margin-bottom: .4rem; }
.footer-copy { font-family: var(--sans); font-size: .82rem; line-height: 1.7; }
.footer-copy p { margin: 0 0 .5rem; }
.mockup-note {
  margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(228,234,222,.2);
  font-family: var(--sans); font-size: .72rem; letter-spacing: .04em;
  color: rgba(228,234,222,.62);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Key takeaways (restored from email edition) */
.takeaways {
  background: #fdfbf3;
  border: 1px solid var(--gold-high);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem 1.2rem;
  margin: 0 0 2.2rem;
}
.takeaways h2 { color: var(--gold-lower); margin-bottom: .9rem; }
.takeaways ul { list-style: none; margin: 0; padding: 0; }
.takeaways li {
  position: relative;
  padding: 0 0 .85rem 1.5rem;
  line-height: 1.6;
  color: var(--green-dark-low);
}
.takeaways li::before {
  content: "\25C6";
  position: absolute; left: 0; top: .15rem;
  color: var(--gold);
  font-size: .8rem;
}
.takeaways li:last-child { padding-bottom: 0; }

/* ---------- In this series ---------- */
.serieslist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 40em) { .serieslist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .serieslist { grid-template-columns: repeat(4, 1fr); } }
.serieslist li {
  background: var(--green-light-high);
  border: 1px solid var(--bright-border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  font-family: var(--sans);
  display: flex; flex-direction: column;
}
.serieslist li.is-current { border-top-color: var(--green-low); background: #fff; }
.serieslist__date {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-lower); font-weight: 700; margin: 0 0 .35rem;
}
.serieslist li.is-current .serieslist__date { color: var(--green-low); }
.serieslist h4 { font-family: var(--serif); font-size: 1.12rem; margin: 0 0 .3rem; font-weight: 400; }
.serieslist h4 a { color: var(--green-dark-low); }
.serieslist h4 a:hover, .serieslist h4 a:focus { color: var(--gold-lower); }
.serieslist__speaker { font-size: .82rem; color: var(--green-dark-alt); margin: 0 0 .85rem; }
.serieslist__go { margin: auto 0 0; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Sermon archive page ---------- */

.archive-back {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 1.6rem;
}

.archive-tools {
  background: var(--green-light-high);
  border: 1px solid var(--bright-border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.1rem;
  margin: 0 0 2.4rem;
  font-family: var(--sans);
}
.archive-tools label {
  display: block;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark-high);
  margin: 0 0 .35rem;
}
.archive-tools input[type="search"],
.archive-tools select {
  width: 100%;
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--green-dark-low);
  background: #fff;
  border: 1px solid var(--bright-border);
  border-radius: var(--radius);
  padding: .62em .7em;
}
.archive-tools input[type="search"] { font-size: 1rem; padding: .7em .8em; }
.archive-tools input[type="search"]:hover,
.archive-tools select:hover { border-color: var(--green-dark-high); }
.archive-tools__search { margin-bottom: 1.1rem; }

.archive-tools__filters { display: grid; gap: .9rem; }
@media (min-width: 34em) { .archive-tools__filters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58em) { .archive-tools__filters { grid-template-columns: repeat(4, 1fr); } }
.archive-tools__filters .field { margin: 0; }

.archive-tools__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem;
  margin-top: 1.15rem; padding-top: .95rem;
  border-top: 1px solid var(--bright-border);
}
.archive-count {
  margin: 0; margin-right: auto;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-dark-alt);
}

.viewtoggle {
  display: inline-flex;
  border: 1px solid var(--bright-border);
  border-radius: 100px;
  background: #fff;
  overflow: hidden;
}
.viewtoggle__btn {
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .6em 1.05em;
  border: 0; background: transparent; color: var(--green-dark-alt);
  cursor: pointer;
}
.viewtoggle__btn:hover { color: var(--gold-lower); }
.viewtoggle__btn.is-on { background: var(--gold); color: #221a03; }

.archive-clear {
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: transparent; border: 0; cursor: pointer;
  color: var(--gold-lower); padding: .6em 0;
  border-bottom: 1px dotted var(--gold);
}
.archive-clear:hover { color: var(--green-dark-low); }

/* Series blocks */
.series-block { margin: 0 0 2.6rem; }
.series-block__head {
  border-bottom: 3px solid var(--green-light);
  padding-bottom: .55rem; margin-bottom: .3rem;
}
.series-block__head h3 { color: var(--green-dark-low); margin: 0 0 .15em; }
.series-block__meta {
  margin: 0;
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--gold-lower);
}

/* Text-only sermon rows */
.slist { list-style: none; margin: 0; padding: 0; }
.slist__row {
  display: grid; gap: .2rem .9rem;
  padding: 1.05rem 0 1.1rem;
  border-bottom: 1px solid var(--bright-border);
}
@media (min-width: 46em) {
  .slist__row {
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
    align-items: baseline;
  }
}
.slist__date {
  margin: 0;
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark-high);
  padding-top: .2rem;
}
.slist__main { min-width: 0; }
.slist__main h4 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .18em; font-weight: 400; }
.slist__main h4 a { color: var(--green-dark-low); }
.slist__main h4 a:hover, .slist__main h4 a:focus { color: var(--gold-lower); text-decoration: none; }
.slist__meta {
  margin: 0; font-family: var(--sans); font-size: .82rem; color: var(--green-dark-alt);
}
.slist__meta .is-unknown { font-style: italic; opacity: .78; }

.taglist { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 0; padding: 0; }
.tag {
  font-family: var(--sans); font-size: .64rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  background: #fff; color: var(--green-dark-alt);
  border: 1px solid var(--bright-border); border-radius: 100px;
  padding: .3em .72em; cursor: pointer;
}
.tag:hover { border-color: var(--gold); color: var(--gold-lower); background: #fdfbf3; }

.slist__links {
  margin: .5rem 0 0;
  display: flex; flex-wrap: wrap; gap: .3rem .9rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
}
@media (min-width: 46em) { .slist__links { margin: 0; justify-content: flex-end; } }

.archive-empty {
  border: 1px dashed var(--bright-border);
  border-radius: var(--radius);
  padding: 2.4rem 1.5rem;
  text-align: center;
  background: #fdfbf3;
}
.archive-empty h3 { color: var(--green-dark-low); margin-bottom: .3em; }
.archive-empty p { margin: 0; font-family: var(--sans); font-size: .9rem; color: var(--green-dark-alt); }

.archive-note {
  margin: 1.8rem 0 0;
  font-family: var(--sans); font-size: .76rem; line-height: 1.6;
  color: var(--green-dark-high);
  text-align: center;
}

/* Link from the main page down to the full archive */
.archive-foot .btn + .btn { margin-left: .5rem; }

/* ---------- Notes download gate ----------
   Asked once, then never again. Mirrors the calendar's Subscribe popover:
   contact first, then the same Google / Apple-Outlook feed options. */

.ng {
  border: 0; padding: 0; max-width: 27rem; width: calc(100% - 2rem);
  background: #fff;
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(27, 35, 21, .28);
  color: var(--green-dark);
}
.ng::backdrop { background: rgba(27, 35, 21, .58); }
.ng__in { position: relative; padding: 1.9rem 1.8rem 1.6rem; }

.ng__x {
  position: absolute; top: .45rem; right: .6rem;
  border: 0; background: none; cursor: pointer;
  font-family: var(--sans); font-size: 1.5rem; line-height: 1;
  color: var(--green-dark-high); padding: .2rem .35rem;
}
.ng__x:hover, .ng__x:focus { color: var(--green-dark-low); }

.ng__eyebrow {
  margin: 0 0 .35rem;
  font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lower);
}
.ng__h { margin: 0 0 .5rem; font-size: 1.5rem; line-height: 1.2; color: var(--green-dark-low); }
.ng__lede {
  margin: 0 0 1.15rem;
  font-family: var(--sans); font-size: .82rem; line-height: 1.6;
  color: var(--green-dark-high);
}

.ng__field { margin: 0 0 .8rem; }
.ng__field label {
  display: block; margin-bottom: .28rem;
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark-alt);
}
.ng__field input {
  width: 100%; padding: .6rem .7rem;
  font-family: var(--sans); font-size: .92rem; color: var(--green-dark-low);
  background: #fff;
  border: 1px solid var(--bright-border); border-radius: var(--radius);
}
.ng__field input:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light-high);
}

.ng__opts {
  margin: 1.1rem 0 .2rem; padding: .85rem .9rem .6rem;
  background: var(--green-light-high); border-radius: var(--radius);
}
.ng__optshead {
  margin: 0 0 .5rem;
  font-family: var(--sans); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark-alt);
}
.ng__opt {
  display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .45rem;
  font-family: var(--sans); font-size: .8rem; line-height: 1.4;
  color: var(--green-dark); cursor: pointer;
}
.ng__opt input { margin: .15rem 0 0; flex: none; accent-color: var(--green-low); }

.ng__err {
  margin: .8rem 0 0; min-height: 1em;
  font-family: var(--sans); font-size: .76rem; color: #9b2c1f;
}
.ng__go { margin-top: .7rem; width: 100%; text-align: center; border: 0; cursor: pointer; }
.ng__fine {
  margin: .85rem 0 0;
  font-family: var(--sans); font-size: .68rem; line-height: 1.5;
  color: var(--green-dark-high);
}

.ng__feeds { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 0; }
