/* ============================================================
   S Isusom kroz depresiju — public site styles
   Fonts: Fraunces (display + reading), Instrument Sans (UI)
   Themes: kadulja (default) · maslina · jutro  — switch in admin
   ============================================================ */

:root {
  --paper:      #edf4ea;   /* svijetlozelena podloga */
  --paper-deep: #dfebda;   /* tamnija traka */
  --sheet:      #f8fbf5;   /* list na kojem se čita */
  --line:       #c8dac1;
  --moss:       #2e5a3c;   /* naslovi, gumbi */
  --moss-deep:  #1f3f2a;   /* footer */
  --moss-soft:  #5f8a6a;
  --ink:        #223026;
  --ink-soft:   #5b6b5f;
  --honey:      #c39a3e;   /* mali naglasci */
  --honey-soft: #efe2bf;
  --focus:      #b07f1e;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px; --r-md: 18px; --r-lg: 26px;
  --shadow: 0 18px 50px -24px rgba(31, 63, 42, .35);
}
:root[data-theme="maslina"] {
  --paper: #eff1e2; --paper-deep: #e3e7cf; --sheet: #f9f9f1; --line: #d0d4b6;
  --moss: #4a5a2e; --moss-deep: #2f3a1c; --moss-soft: #7a8a52; --ink: #262b1a; --ink-soft: #5e6650; --honey: #b98a34; --honey-soft: #efe4c2;
}
:root[data-theme="jutro"] {
  --paper: #e9f5ef; --paper-deep: #d6ece0; --sheet: #f5fbf7; --line: #bfdccd;
  --moss: #1f6b57; --moss-deep: #154a3d; --moss-soft: #4f9a84; --ink: #1c2b25; --ink-soft: #526860; --honey: #d0a24a; --honey-soft: #f2e6c3;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-ui); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-decoration-color: color-mix(in srgb, var(--honey) 70%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--moss-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--moss-deep); letter-spacing: -.012em; font-variation-settings: "SOFT" 60; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--moss); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), var(--narrow)); }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--tint { background: var(--paper-deep); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section__title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 26px; }
.section__title--sm { font-size: 22px; margin-top: 40px; }
.link { font-weight: 600; font-size: 15px; }
.empty { color: var(--ink-soft); font-size: 18px; text-align: center; padding: 30px 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.btn--primary { background: var(--moss); color: #f6f9f2; border-color: var(--moss); }
.btn--primary:hover { background: var(--moss-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--moss); border-color: var(--moss-soft); }
.btn--ghost:hover { background: var(--sheet); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--moss-deep); }
.brand .mark { color: var(--moss); flex: none; }
.brand__name { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -.01em; font-variation-settings: "SOFT" 80; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; }
.nav > a:hover, .nav > a[aria-current="page"] { background: var(--paper-deep); color: var(--moss-deep); }
.nav__search { display: flex; align-items: center; margin-left: 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--sheet); padding: 2px 4px 2px 14px; }
.nav__search input { border: 0; background: transparent; font: inherit; font-size: 14.5px; width: 130px; color: var(--ink); outline: none; }
.nav__search input:focus { width: 180px; }
.nav__search button { border: 0; background: transparent; color: var(--moss); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; border-radius: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--moss-deep); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 2px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav > a { padding: 12px 14px; font-size: 17px; }
  .nav__search { margin: 10px 0 0; }
  .nav__search input, .nav__search input:focus { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 5vw, 56px); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__kicker { font-size: 15px; color: var(--moss-soft); font-weight: 600; margin-bottom: 18px; }
.hero__title { font-size: clamp(40px, 6vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 22px; font-variation-settings: "SOFT" 100, "opsz" 144; }
.hero__lead { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: min(100%, 460px); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }

/* The arch — the one signature shape (a chapel window). Used on portrait images only. */
.arch { overflow: hidden; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 36% 36% var(--r-lg) var(--r-lg); box-shadow: var(--shadow); background: var(--paper-deep); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch picture { display: block; height: 100%; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; width: min(100%, 380px); aspect-ratio: 4 / 4.6; order: -1; }
  .hero__title { font-size: clamp(36px, 10vw, 52px); }
}

/* ---------- Verse of the week ---------- */
.verse { background: var(--paper-deep); padding: clamp(28px, 4vw, 44px) 0; border-block: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.verse__inner { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; max-width: 860px; }
.verse .mark { color: var(--honey); margin-top: 6px; }
.verse__text { margin: 0; font-family: var(--font-display); }
.verse__text p { font-size: clamp(20px, 2.4vw, 27px); font-style: italic; line-height: 1.4; margin: 0 0 8px; color: var(--moss-deep); font-variation-settings: "SOFT" 100; }
.verse__text cite { font-style: normal; font-family: var(--font-ui); font-size: 14.5px; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 600px) { .verse__inner { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Featured post ---------- */
.feat { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--sheet); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 36px); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.feat__media { display: block; aspect-ratio: 4 / 4.4; }
.feat__title { font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0 14px; }
.feat__title a, .card__title a, .row__title { color: inherit; text-decoration: none; }
.feat__title a:hover, .card__title a:hover, .row__title:hover { text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: .12em; }
.feat__excerpt { font-family: var(--font-display); font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 24px; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } .feat__media { aspect-ratio: 3 / 2; border-radius: var(--r-md); box-shadow: none; } }

/* ---------- Cards & grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--sheet); border-radius: var(--r-md); overflow: hidden; border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.card__media { display: block; aspect-ratio: 3 / 2; background: var(--paper-deep); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--moss-soft); }
.card__placeholder .mark { width: 48px; height: 48px; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 10px; flex-wrap: wrap; }
.card__title { font-size: 22px; line-height: 1.22; margin-bottom: 10px; }
.card__excerpt { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; margin-bottom: 14px; }
.card__read { margin-top: auto; margin-bottom: 0; font-size: 13.5px; color: var(--moss-soft); font-weight: 600; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--paper-deep); color: var(--moss-deep); font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.pill:hover { border-color: var(--moss-soft); }
.pill--big { font-size: 14.5px; padding: 8px 16px; background: var(--sheet); border-color: var(--line); }
.pill--big span { color: var(--moss-soft); font-weight: 500; }
.pill.is-active { background: var(--moss); color: #fff; border-color: var(--moss); }
.pill.is-active span { color: #d8e6d2; }
.pills { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }

.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.row__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-deep); }
.row__media img { width: 100%; height: 100%; object-fit: cover; }
.row__title { font-family: var(--font-display); font-size: 17.5px; font-weight: 500; line-height: 1.3; display: block; color: var(--moss-deep); }
.row__meta { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.two-col { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.about-teaser { background: var(--sheet); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); text-align: center; }
.about-teaser__img { width: 200px; aspect-ratio: 4 / 5; margin: 0 auto 20px; box-shadow: none; }
.about-teaser__title { font-size: 26px; }
.about-teaser p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Newsletter ---------- */
.news { background: var(--moss); color: #eef4ea; padding: clamp(36px, 5vw, 56px) 0; }
.news__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.news__title { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.news__text { color: #d4e2cd; margin: 0; }
.news__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.news__form input[type=email] { padding: 13px 18px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 15.5px; background: #f6f9f2; color: var(--ink); width: 100%; }
.news__form .btn--primary { background: var(--honey); border-color: var(--honey); color: #2a2412; }
.news__form .btn--primary:hover { background: #d5ab4d; }
.news__form .form__msg { grid-column: 1 / -1; margin: 0; font-size: 14.5px; min-height: 1.4em; color: #fff; }
@media (max-width: 760px) { .news__inner { grid-template-columns: 1fr; } .news__form { grid-template-columns: 1fr; } }

/* ---------- Help box ---------- */
.help { background: var(--sheet); border-left: 4px solid var(--honey); border-radius: var(--r-md); padding: 22px 24px; }
.help__title { font-size: 21px; margin-bottom: 8px; }
.help__text { font-size: 15px; color: var(--ink-soft); }
.help__list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.help__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.help__list a { font-weight: 700; white-space: nowrap; text-decoration: none; }
.help__more { font-size: 14.5px; font-weight: 600; }
.help--wide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; padding: 28px 32px; }
.help--wide .help__title, .help--wide .help__text { grid-column: 1; }
.help--wide .help__list { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.help--wide .help__more { grid-column: 1; }
@media (max-width: 760px) { .help--wide { grid-template-columns: 1fr; } .help--wide .help__list { grid-column: 1; grid-row: auto; } }
.help--inline { margin-top: 30px; }

/* ---------- Page head / crumbs ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 10px; }
.page-head__kicker { font-family: var(--font-display); font-size: 40px; color: var(--honey); margin: 0; }
.page-head__title { font-size: clamp(34px, 5vw, 54px); font-weight: 400; letter-spacing: -.02em; margin-bottom: 12px; font-variation-settings: "SOFT" 100, "opsz" 144; }
.page-head__intro { font-family: var(--font-display); font-size: 19px; color: var(--ink-soft); max-width: 40em; margin-bottom: 28px; }
.crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--moss); text-decoration: underline; }
.crumbs span { margin: 0 6px; opacity: .6; }
.notice { background: var(--honey-soft); color: #5c4512; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; display: inline-block; }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; font-size: 15px; color: var(--ink-soft); }
.pager__btn { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--moss-soft); text-decoration: none; font-weight: 600; }

/* ---------- Article ---------- */
.post__head { padding: clamp(28px, 5vw, 56px) 0 0; }
.post__title { font-size: clamp(32px, 5vw, 54px); font-weight: 400; letter-spacing: -.02em; line-height: 1.06; margin-bottom: 16px; font-variation-settings: "SOFT" 100, "opsz" 144; }
.post__lead { font-family: var(--font-display); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-soft); margin-bottom: 18px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 30px; }
.post__meta span:first-child { color: var(--moss); font-weight: 600; }
.post__cover { aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-deep); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__cover--portrait { aspect-ratio: 16 / 7; }
.post__cover--portrait img { object-position: 50% 30%; }
.post__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(28px, 4vw, 48px) 0; }
.post__side { position: sticky; top: 90px; display: grid; gap: 22px; }
@media (max-width: 960px) { .post__layout { grid-template-columns: 1fr; } .post__side { position: static; } }

/* The sheet: the light-green paper she writes on. */
.sheet { background: var(--sheet); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 52px); box-shadow: 0 1px 0 var(--line), var(--shadow); }
.form.sheet { display: grid; gap: 18px; }

.prose { font-family: var(--font-display); font-size: 19px; line-height: 1.72; color: var(--ink); max-width: 68ch; font-variation-settings: "SOFT" 40; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .55em; }
.prose h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.prose h4 { font-size: 20px; margin: 1.2em 0 .4em; font-family: var(--font-ui); font-weight: 700; }
.prose a { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.35em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--moss-soft); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--honey); font-style: italic; color: var(--moss-deep); font-size: 1.06em; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote.verse { border: 0; padding: 26px 30px; text-align: center; background: var(--paper); border-radius: var(--r-md); font-size: 1.15em; line-height: 1.45; }
.prose blockquote cite { display: block; font-style: normal; font-family: var(--font-ui); font-size: 14px; color: var(--ink-soft); margin-top: 8px; font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em auto; width: 40%; }
.prose img { border-radius: var(--r-md); margin: 1.8em auto; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.prose .note { background: var(--honey-soft); padding: 16px 20px; border-radius: var(--r-sm); font-family: var(--font-ui); font-size: 16px; }
.prose .lead { font-size: 1.12em; color: var(--ink-soft); }
.prose strong { font-weight: 700; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--font-ui); font-size: 15.5px; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose code { font-size: .9em; background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.prose::first-letter { }
.is-article .prose > p:first-of-type::first-letter { font-size: 3.4em; float: left; line-height: .82; padding: 6px 10px 0 0; color: var(--moss); font-weight: 500; font-variation-settings: "SOFT" 100, "opsz" 144; }

.tags { margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13.5px; text-decoration: none; background: var(--paper); padding: 4px 10px; border-radius: 999px; color: var(--moss-deep); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; }
.share span { color: var(--ink-soft); }
.share a, .share__copy { font-weight: 600; text-decoration: none; color: var(--moss); }
.share__copy { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; }

.toc, .side-box, .author-box { background: var(--sheet); border-radius: var(--r-md); padding: 20px 22px; border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.toc h2, .side-box h2 { font-size: 17px; margin-bottom: 10px; font-family: var(--font-ui); font-weight: 700; color: var(--ink); }
.toc ol { list-style: none; padding: 0; margin: 0; font-size: 14.5px; display: grid; gap: 6px; }
.toc__l3 { padding-left: 14px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.author-box img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 10px 10px / 36% 36% 10px 10px; }
.author-box__name { font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-bottom: 4px; color: var(--moss-deep); }
.author-box__bio { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 6px; }

.post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 10px 0 clamp(30px, 5vw, 56px); }
.post__nav-link { display: block; text-decoration: none; padding: 16px 20px; border-radius: var(--r-md); background: var(--sheet); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-family: var(--font-display); font-size: 18px; color: var(--moss-deep); }
.post__nav-link small { display: block; font-family: var(--font-ui); font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.post__nav-link--next { text-align: right; }
@media (max-width: 600px) { .post__nav { grid-template-columns: 1fr; } .post__nav-link--next { text-align: left; } }

/* ---------- Forms ---------- */
.form__row { display: grid; gap: 6px; }
.form__row label, .form__check { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--moss-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss-soft) 25%, transparent); }
.form textarea { resize: vertical; font-family: var(--font-display); font-size: 17px; line-height: 1.6; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.form__check input { margin-top: 4px; }
.form__msg { margin: 0; font-size: 15px; font-weight: 600; min-height: 1.4em; color: var(--moss); }
.form__msg.is-error { color: #a33d2c; }
.form__note { margin-top: 18px; font-size: 14.5px; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.site-foot { background: var(--moss-deep); color: #cfdcc8; margin-top: 20px; padding: clamp(40px, 6vw, 64px) 0 24px; }
.site-foot a { color: #e9f1e4; }
.site-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
.site-foot__about p { font-size: 15px; max-width: 34em; }
.brand--foot { color: #fff; margin-bottom: 14px; }
.brand--foot .mark { color: var(--honey); }
.site-foot__col h2 { font-family: var(--font-ui); font-size: 14px; letter-spacing: .02em; color: #fff; font-weight: 700; margin-bottom: 12px; }
.site-foot__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.site-foot__col a { text-decoration: none; }
.site-foot__col a:hover { text-decoration: underline; }
.help__list--foot li { border-color: #3c5a45; font-size: 14.5px; }
.social { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 14px; font-size: 14.5px; }
.site-foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3c5a45; font-size: 13.5px; }
.site-foot__bottom p { margin: 0; }
.site-foot__credit a { color: #b9cbb1; }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */
@media print { .site-head, .site-foot, .post__side, .share, .news, .post__nav { display: none !important; } .sheet { box-shadow: none; } body { background: #fff; } }
