/* Don't Follow Me (designed by Codex, 2026-10-25). Same Fredoka/Nunito and rounded surfaces as the Stardew
   section, with its own plum, parchment and brass palette in both themes. */
:root {
  --bg: #f7f2ea; --bg-decoration: #eadfe7; --card: #fffdf9; --btn: #fffdf9;
  --ink: #382d38; --muted: #73616f; --primary: #69405f; --primary-dark: #583650;
  --accent: #85602c; --border: #e2d6de; --pick-bg: #eee2ed; --pick-border: #69405f;
  --brass: #b99559; --soft: #f1e9ef; --margin-paper: #f1e7d9; --margin-line: #d8c9b7;
  --essay-emphasis: #834511; --inset-bg: #e6d9ed; --inset-border: #ad8dbb;
  --shadow: 0 5px 20px rgba(71, 44, 64, .045); --shadow-hover: 0 8px 24px rgba(71, 44, 64, .10);
}
html.dark {
  --bg: #211b26; --bg-decoration: #332438; --card: #302635; --btn: #392d3e;
  --ink: #f3eaf1; --muted: #c4b2c4; --primary: #d9b5dc; --primary-dark: #ead1ec;
  --accent: #d9b77b; --border: #514056; --pick-bg: #49354e; --pick-border: #d9b5dc;
  --brass: #d3b075; --soft: #3b2d42; --margin-paper: #392e36; --margin-line: #5b4953;
  --essay-emphasis: #f0cc88; --inset-bg: #514161; --inset-border: #a58ab7;
  --shadow: 0 5px 20px rgba(0, 0, 0, .12); --shadow-hover: 0 8px 24px rgba(0, 0, 0, .22);
}
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body, html.dark body { padding: 0 24px; background: var(--bg); background-image: radial-gradient(ellipse at 88% 9%, var(--bg-decoration), transparent 39%); }
body { font-size: 16px; }
a { color: var(--primary); }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 500; letter-spacing: -.02em; }
h1, html.dark h1 { color: var(--ink); }
p { margin-top: 0; }
.site-shell { max-width: 1080px; margin: auto; }
main { max-width: none; }
.topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 29px 65px 23px 0; border-bottom: 1px solid var(--border); font-size: .83rem; }
.home-link { color: var(--muted); text-decoration: none; font-weight: 700; }
.home-link:hover { color: var(--primary); }
.section-nav { display: flex; gap: 8px; padding-top: 23px; flex-wrap: wrap; }
.section-nav a { text-decoration: none; color: var(--muted); font-size: .86rem; font-weight: 700; padding: 8px 16px; border-radius: 11px; border: 1px solid transparent; }
.section-nav a:hover { background: var(--soft); color: var(--primary); }
.section-nav .selected { color: var(--primary); border-color: var(--border); background: var(--card); box-shadow: var(--shadow); }
.journal-hero { display: grid; grid-template-columns: 1fr 310px; align-items: center; gap: 35px; padding: 42px 0 44px; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .66rem; font-weight: 700; color: var(--muted); margin: 0 0 14px; }
.journal-hero h1 { font-size: clamp(2.8rem, 5.7vw, 4.6rem); line-height: 1.06; margin: 0 0 15px; letter-spacing: -.035em; }
.title-dot { color: var(--brass); }
.series-title { color: var(--primary); font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; }
.hero-intro { color: var(--muted); max-width: 510px; line-height: 1.8; margin-bottom: 0; }
.book-illustration { position: relative; transform: translateX(-56px) rotate(-3deg); }
.book-illustration img { width: 100%; height: auto; display: block; }
.margin-note { display: block; text-align: center; font-family: Georgia, serif; font-style: italic; font-size: .95rem; color: var(--primary); transform: rotate(3deg); margin-top: -5px; }
.featured { display: grid; grid-template-columns: 1.5fr 1fr; border: 1px solid var(--border); border-left: 5px solid var(--primary); border-radius: 22px; background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.featured-main { padding: 33px 36px 36px; }
.featured-main .eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; letter-spacing: .1em; }
.small-spark { color: var(--accent); font-size: 1rem; }
.sample-tag { font-size: .61rem; text-transform: none; letter-spacing: .02em; padding: 3px 7px; border-radius: 5px; background: var(--soft); }
.topic-chip { display: inline-block; font-size: .71rem; font-weight: 700; color: var(--primary); background: var(--pick-bg); border-radius: 7px; padding: 4px 9px; }
.featured h2 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.12; margin: 14px 0; }
.featured-main > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; font-size: .95rem; max-width: 450px; margin-bottom: 23px; }
.primary-link { display: inline-flex; align-items: center; gap: 29px; background: var(--primary); color: var(--bg); padding: 12px 18px; border: 1px solid var(--primary); border-radius: 11px; text-decoration: none; font-weight: 700; font-size: .87rem; transition: transform .2s, box-shadow .2s; }
.primary-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.featured-margin { position: relative; align-self: center; background: var(--margin-paper); border: 1px solid var(--margin-line); border-radius: 4px 4px 16px 4px; padding: 29px 27px 23px; margin: 27px 30px 27px 0; transform: rotate(1.5deg); }
.featured-margin .eyebrow { color: var(--muted); margin-bottom: 14px; }
.paperclip { position: absolute; top: -13px; right: 28px; width: 14px; height: 40px; border: 2px solid var(--brass); border-radius: 9px; transform: rotate(-12deg); }
.paperclip::after { content: ""; position: absolute; left: 3px; top: 4px; width: 5px; height: 25px; border: 1.5px solid var(--brass); border-radius: 6px; }
.margin-question { font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.45; font-style: italic; margin-bottom: 18px; }
.ruled-line { height: 1px; background: var(--margin-line); margin: 0 0 19px; }
.essay-outline { padding: 0; list-style: none; display: grid; gap: 10px; font-size: .8rem; margin: 0 0 18px; }
.essay-outline span { color: var(--accent); margin-right: 12px; font-size: .65rem; font-weight: 700; }
.handwritten { font-family: Georgia, serif; font-style: italic; font-size: .85rem; color: var(--primary); }
.archive { padding-top: 12px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { font-size: 2rem; margin: 0; }
.result-count { font-size: .78rem; color: var(--muted); padding-bottom: 5px; white-space: nowrap; }
.archive-tools { margin-bottom: 23px; }
.search-box { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 13px 17px; color: var(--muted); }
.search-box:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.search-box input { min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: .88rem; outline: none; }
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.topic-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.filter { border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; background: transparent; color: var(--muted); font-size: .76rem; font-weight: 700; }
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.active { background: var(--pick-bg); border-color: var(--primary); color: var(--primary); }
.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.essay-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: 15px; padding: 23px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.essay-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.essay-card-art { display: block; width: 100%; height: 150px; object-fit: contain; margin-bottom: 18px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 22px; }
.essay-icon { width: 35px; height: 35px; padding: 7px; border-radius: 10px; color: var(--primary); background: var(--soft); }
.essay-number { color: var(--muted); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.essay-card .topic-label { font-size: .66rem; color: var(--accent); font-weight: 700; margin-bottom: 7px; }
.essay-card h3 { font-size: 1.36rem; line-height: 1.25; margin: 0 0 12px; }
.essay-card p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin: 0 0 23px; }
.card-link { color: var(--primary); font-size: .78rem; font-weight: 700; margin-top: auto; display: flex; justify-content: space-between; }
.sample-note { color: var(--muted); font-size: .76rem; margin: 17px 0 0; }
.featured-main .featured-scripture { font-size: .76rem !important; font-weight: 700; color: var(--primary) !important; margin-top: -10px; }
.essay-grid.single-entry { grid-template-columns: minmax(0, 1fr); }
.single-entry .essay-card { padding: 25px 29px; }
.single-entry .card-top { margin-bottom: 12px; }
.single-entry .essay-card p { max-width: 720px; }
.single-entry .essay-card.with-art { position: relative; padding-right: 245px; min-height: 230px; }
.single-entry .essay-card-art { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); width: 195px; height: 150px; margin: 0; }
.empty-state { padding: 35px; text-align: center; border: 1px dashed var(--border); border-radius: 15px; }
.empty-state h3 { font-size: 1.6rem; margin: 0 0 8px; }
.empty-state p { color: var(--muted); }
.text-button { background: transparent; border: 0; color: var(--primary); padding: 3px; font-weight: 700; }
.about-panel { display: grid; grid-template-columns: 65px 1fr; gap: 21px; background: var(--soft); border: 1px solid var(--border); border-radius: 17px; padding: 31px; margin-top: 45px; }
.about-symbol { width: 57px; height: 57px; border: 1px solid var(--border); border-radius: 50%; color: var(--primary); background: var(--card); font-family: Georgia, serif; font-size: 2.5rem; font-style: italic; text-align: center; }
.about-panel .eyebrow { margin-bottom: 7px; }
.about-panel h2 { font-size: 1.75rem; margin: 0 0 10px; }
.about-panel p:not(.eyebrow) { color: var(--muted); font-size: .9rem; max-width: 750px; line-height: 1.8; }
.about-panel .about-footnote { font-size: .78rem !important; margin: 0; }
.journal-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: left; border-top: 1px solid var(--border); padding: 25px 0 32px; margin-top: 38px; color: var(--muted); font-size: .74rem; }
.journal-footer a { text-decoration: none; font-weight: 700; }
.theme-toggle { background: var(--card); color: var(--primary); border-color: var(--border); width: 38px; height: 38px; font-size: 1.1rem; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 12px; background: var(--card); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
/* Essay view */
.article-back { display: inline-block; color: var(--muted); font-size: .84rem; margin: 33px 0; text-decoration: none; font-weight: 700; }
.article-head { max-width: 760px; margin-bottom: 32px; }
.article-head.has-art { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; align-items: center; }
.article-header-art { margin: 0; }
.article-header-art img { width: 100%; height: auto; display: block; }
.article-head h1 { font-size: clamp(2.5rem, 5.5vw, 3.9rem); line-height: 1.1; margin: 16px 0; }
.article-deck { color: var(--muted); font-size: 1.13rem; line-height: 1.8; max-width: 650px; }
.article-byline { font-size: .85rem; color: var(--muted); margin: 15px 0 12px; }
.article-lesson { display: flex; gap: 7px 16px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; margin-top: 17px; }
.article-lesson a { font-weight: 700; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.article-contents { position: sticky; top: 30px; border-top: 2px solid var(--brass); padding-top: 17px; }
.article-contents .eyebrow { font-size: .74rem; }
.rebuttal-links { margin: 15px 0; }
.article-contents .rebuttals-nav-title { margin: 0 12px 4px; color: var(--accent); font-family: "Nunito", sans-serif; letter-spacing: .15em; }
.article-contents a { display: block; padding: 11px 12px; color: var(--primary); text-decoration: none; font-size: 1.05rem; font-weight: 600; line-height: 1.5; border-radius: 8px; }
.article-contents a:hover, .article-contents a:focus-visible { background: var(--pick-bg); color: var(--primary-dark); }
.essay-body { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 39px 42px; }
.essay-body section + section { margin-top: 37px; }
.essay-body h2 { font-size: 1.65rem; line-height: 1.25; margin: 0 0 15px; }
.essay-body p, .essay-body li { font-size: 1rem; line-height: 1.9; }
.essay-body strong, .essay-body b { color: var(--essay-emphasis); font-weight: 700; }
.essay-body strong a, .essay-body b a { color: inherit; }
.essay-body p:last-child { margin-bottom: 0; }
.essay-body ul { padding-left: 22px; }
.essay-body li { margin-bottom: 10px; }
.essay-body a { text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.essay-body a[href*="/study/scriptures/"][href*="id=p"] { font-style: italic; }
.essay-body h2 { scroll-margin-top: 28px; }
.essay-body :target { outline: 2px solid var(--brass); outline-offset: 6px; border-radius: 3px; }
.essay-glance { padding: 22px 24px 14px; background: var(--inset-bg); border: 1px solid var(--inset-border); border-left-width: 4px; border-radius: 12px; margin: 28px 0 34px; }
.essay-glance p { font-size: .9rem; }
.essay-glance ul { margin-bottom: 0; }
.essay-glance li { font-size: .9rem; line-height: 1.8; }
.essay-body > h2 { margin-top: 38px; clear: both; }
.essay-spot-art { float: right; width: 190px; margin: 5px 0 18px 24px; }
.essay-spot-art img { display: block; width: 100%; height: auto; }
.essay-spot-art figcaption { text-align: center; color: var(--muted); font-size: .73rem; font-style: italic; margin-top: 5px; }
.essay-body .note-ref { font-size: .7em; line-height: 0; vertical-align: super; white-space: nowrap; margin-left: 2px; }
.note-ref a { font-weight: 700; text-decoration: none; }
.source-notes { padding-left: 24px; }
.essay-body .source-notes li { font-size: .83rem; line-height: 1.85; margin-bottom: 15px; padding-left: 3px; }
.note-backlinks { white-space: nowrap; margin-left: 5px; }
.note-backlinks a { display: inline-block; padding: 0 3px; text-decoration: none; font-size: .75rem; }
.article-note { border-left: 3px solid var(--inset-border); background: var(--inset-bg); padding: 15px 19px; border-radius: 0 9px 9px 0; color: var(--ink); font-size: .82rem !important; line-height: 1.7 !important; }
.essay-pullquote { margin: 28px 0; padding: 20px 0 20px 22px; border-left: 3px solid var(--brass); color: var(--primary); font-family: Georgia, serif; font-style: italic; font-size: 1.5rem; line-height: 1.5; }
.article-end { margin-top: 24px; display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: .84rem; }
.article-end a { text-decoration: none; font-weight: 700; }
@media (max-width: 850px) {
  .journal-hero { grid-template-columns: 1fr 230px; gap: 15px; }
  .journal-hero h1 { font-size: 3.2rem; }
  .series-title { font-size: 1rem; }
  .featured-main { padding: 28px; }
  .featured-margin { margin-right: 22px; padding: 25px 21px; }
  .margin-question { font-size: 1.2rem; }
  .essay-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 24px; }
  .article-head.has-art { grid-template-columns: minmax(0, 1fr) 200px; gap: 22px; }
  .essay-spot-art { width: 150px; margin-left: 18px; }
  .essay-body { padding: 28px; }
}
@media (max-width: 600px) {
  body, html.dark body { padding: 0 18px; }
  .topline { padding-top: 22px; padding-right: 43px; align-items: flex-start; font-size: .75rem; }
  .section-nav { gap: 2px; padding-top: 17px; }
  .section-nav a { padding: 8px 10px; font-size: .76rem; }
  .journal-hero { position: relative; display: block; padding: 35px 0 29px; }
  .journal-hero h1 { font-size: clamp(2.5rem, 9.6vw, 3.2rem); }
  .journal-hero .eyebrow { max-width: 220px; font-size: .61rem; }
  .series-title { font-size: .97rem; margin-bottom: 15px; }
  .hero-intro { font-size: .9rem; }
  .book-illustration { width: 205px; margin: 8px auto 0; }
  .margin-note { font-size: .8rem; }
  .featured { grid-template-columns: 1fr; }
  .featured-main { padding: 25px; }
  .featured h2 { font-size: 2.45rem; }
  .featured-margin { margin: 0 25px 28px; padding: 23px; }
  .margin-question { font-size: 1.23rem; }
  .archive { padding-top: 12px; }
  .section-heading h2 { font-size: 1.75rem; }
  .result-count { font-size: .68rem; }
  .section-heading .eyebrow { font-size: .6rem; }
  .topic-filters { gap: 7px; }
  .filter { font-size: .71rem; padding: 7px 11px; }
  .essay-grid { grid-template-columns: 1fr; }
  .card-top { margin-bottom: 13px; }
  .about-panel { grid-template-columns: 1fr; padding: 24px; gap: 15px; }
  .about-panel h2 { font-size: 1.55rem; }
  .about-symbol { width: 43px; height: 43px; font-size: 1.8rem; }
  .journal-footer { gap: 13px; }
  .journal-footer > span { order: 3; flex-basis: 100%; }
  .article-layout { grid-template-columns: 1fr; gap: 23px; }
  .article-contents { position: static; }
  .article-contents a { display: inline-block; padding: 10px 12px; font-size: 1rem; }
  .article-head h1 { font-size: 2.6rem; }
  .article-head.has-art { grid-template-columns: 1fr; gap: 17px; }
  .article-header-art { width: min(100%, 270px); justify-self: center; }
  .essay-spot-art { float: none; width: min(100%, 190px); margin: 20px auto; }
  .single-entry .essay-card.with-art { padding: 25px 23px; }
  .single-entry .essay-card-art { position: static; width: 170px; height: 115px; transform: none; align-self: center; margin-bottom: 18px; }
  .article-deck { font-size: 1rem; }
  .essay-body { padding: 25px 22px; }
  .article-end { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .essay-card, .primary-link { transition: none; } }
/* The lesson's passages, shown under each shelf card's summary. */
.card-passages { display: block; margin-top: 6px; color: var(--primary); font-weight: 700; font-size: .8rem; }
/* Brass is 2.5:1 on the light parchment; the deeper accent keeps the title's full stop visible. */
html:not(.dark) .title-dot { color: var(--accent); }
/* The second part of an essay title ("Main title: Second part") sits under the h1. */
.article-subtitle { margin: -4px 0 18px; font-family: "Fredoka", "Nunito", sans-serif; font-weight: 500; font-size: clamp(1.45rem, 3.4vw, 2.1rem); line-height: 1.25; letter-spacing: -.01em; color: var(--primary); }
