/* GreenFelt — современный светлый editorial */
:root {
  --bg: #f3f6f2;
  --bg-soft: #e7eee8;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --ink: #152019;
  --muted: #5c6a60;
  --muted-2: #7a877e;
  --line: rgba(21, 32, 25, 0.1);
  --line-strong: rgba(21, 32, 25, 0.16);
  --accent: #0b6b42;
  --accent-hover: #085433;
  --accent-soft: rgba(11, 107, 66, 0.08);
  --accent-2: #9a7214;
  --gold: #d4af37;
  --danger: #c45a32;
  --shadow-sm: 0 1px 2px rgba(21, 32, 25, 0.04);
  --shadow-md: 0 8px 28px rgba(21, 32, 25, 0.07);
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 72rem;
  --pad: clamp(1.15rem, 3.5vw, 2.25rem);
  --read: 40rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(11, 107, 66, 0.06) 0%, transparent 45%),
    radial-gradient(90% 60% at 100% 0%, rgba(154, 114, 20, 0.05) 0%, transparent 40%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.18s ease;
}
a:hover { color: var(--accent-hover); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: var(--pad); top: 0.5rem; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(243, 246, 242, 0.86);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.18s ease;
  flex-shrink: 0;
}
.brand:hover { opacity: 0.85; color: var(--ink); }
.brand span { color: var(--accent); }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent-soft);
}
.badge-18 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--danger);
  color: var(--danger);
  padding: 0.28rem 0.5rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Home hero */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(14rem, 28vw, 20rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(10, 32, 22, 0.88) 0%, rgba(10, 32, 22, 0.55) 42%, rgba(10, 32, 22, 0.28) 100%),
    url("../img/hero.jpg") center / cover no-repeat,
    #0b6b42;
  animation: hero-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero .hero__eyebrow { color: var(--gold); }
.hero h1 { color: #f7faf7; }
.hero .hero__lead { color: #d5e5db; }
.hero .btn--ghost {
  color: #f5f8f4;
  border-color: rgba(245, 248, 244, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.hero .btn--ghost:hover {
  border-color: #f5f8f4;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content {
  padding: clamp(2rem, 5vw, 3rem) 0;
  max-width: 40rem;
}
.hero__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  max-width: 34rem;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}
.intro-block {
  max-width: var(--read);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 1.25rem;
}
.intro-block p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}
.intro-block p:last-child { margin-bottom: 0; }

.section-title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.025em;
  color: var(--ink);
}

.page-head {
  padding: 2.25rem 0 1.5rem;
}
.page-head h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Layout */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding-bottom: 3.5rem;
}

.sidebar {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 901px) {
  .sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; top: auto; }
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem 0.75rem;
    padding: 0.75rem 0;
  }
  .nav {
    order: 3;
    width: 100%;
    gap: 0.15rem 0.2rem;
  }
  .nav a {
    font-size: 0.82rem;
    padding: 0.35rem 0.55rem;
  }
  .badge-18 {
    margin-left: auto;
  }
  .article-hero {
    min-height: 0;
  }
  .article-hero h1 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }
  .article-hero__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-author {
    margin-top: 0.85rem;
  }
  .hero {
    min-height: clamp(12rem, 52vw, 16rem);
  }
  .hero h1 {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }
}
.sidebar h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.sidebar-nav a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.sidebar-nav a:hover,
.sidebar-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: rgba(11, 107, 66, 0.18);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
}

/* Feed */
.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.feed-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.35rem;
  padding: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.feed-card:hover {
  border-color: rgba(11, 107, 66, 0.28);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.feed-card:hover .feed-card__media img {
  transform: scale(1.04);
}
.feed-card:hover .feed-card__title {
  color: var(--accent);
}

.feed-card__media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 150px;
  background: var(--bg-soft);
}
.feed-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 150px;
  aspect-ratio: 16/10;
  transition: transform 0.45s ease;
}
.feed-card__overlay-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
  color: #fff;
}

.feed-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.15rem 0.15rem 0.15rem 0;
}
.feed-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.feed-card__cat {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.feed-card__date {
  color: var(--muted-2);
  font-size: 0.84rem;
  white-space: nowrap;
}
.feed-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.3vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--ink);
  transition: color 0.18s ease;
  text-wrap: balance;
}
.feed-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: auto;
  padding-top: 0.65rem;
  color: var(--muted-2);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
}
.feed-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.feed-meta svg {
  width: 15px;
  height: 15px;
  opacity: 0.8;
  stroke: var(--accent);
}

@media (max-width: 720px) {
  .feed-card { grid-template-columns: 1fr; }
  .feed-card__media img { min-height: 190px; }
}

.topics-section { padding: 0 0 3rem; }
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topics a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.topics a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Article hero */
.article-hero {
  position: relative;
  min-height: clamp(14rem, 28vw, 18rem);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.article-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: hero-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.article-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 28, 18, 0.28) 0%, rgba(8, 28, 18, 0.72) 42%, rgba(8, 28, 18, 0.55) 72%, rgba(243, 246, 242, 0.98) 100%);
}
.article-hero__content {
  padding: clamp(1.75rem, 4.5vw, 2.75rem) 0 1.75rem;
}
.article-hero__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 1.1rem;
  max-width: min(100%, 48rem);
}
.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  color: rgba(247, 250, 247, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
}
.article-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.article-hero__meta svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  opacity: 0.9;
}
.article-hero h1 {
  margin: 0 0 0.4rem;
  max-width: min(100%, 38rem);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-align: left;
  color: #f7faf7;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.15rem;
  max-width: var(--read);
}
.article-author__photo {
  width: 52px;
  height: 52px;
  max-width: 52px;
  max-height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.article-author__photo--marina {
  object-position: center 14%;
}
.author-hero__photo.article-author__photo--marina {
  object-position: center 14%;
}
.article-author__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.article-author__name {
  margin: 0.12rem 0;
  font-weight: 700;
  font-size: 1rem;
}
.article-author__name a {
  color: #f7faf7;
  text-decoration: none;
}
.article-author__name a:hover { color: var(--gold); }
.article-author__job {
  margin: 0;
  color: #cfe0d5;
  font-size: 0.86rem;
}
.authors-grid {
  display: grid;
  gap: 1.15rem;
  margin: 1.5rem 0 2rem;
}
.author-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.author-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.author-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.author-card__job {
  margin: 0 0 0.55rem;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
}
.author-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.article-hero + .wrap { padding-top: 0.5rem; }
.article-hero__lead {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.breadcrumbs {
  padding: 0.75rem 0 0;
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.45;
}
.breadcrumbs span { color: var(--ink); font-weight: 600; }
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); }

/* Article body — читаемость */
.article-body {
  padding: 2.25rem 0 2.25rem;
  max-width: var(--read);
  font-size: 1.08rem;
  line-height: 1.78;
}
.article-layout { padding-bottom: 3rem; }
.article-main { min-width: 0; }
.article-sidebar .sidebar__sub { margin-top: 1.4rem; }
.sidebar-nav--related a {
  font-size: 0.9rem;
  line-height: 1.4;
}
.sidebar-note {
  margin: 1.15rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}
.sidebar-cta {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
  padding: 0.7rem 0 0.2rem;
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
}
.sidebar-cta:hover { color: var(--accent-hover); }

.article-body strong { font-weight: 700; color: var(--ink); }
.article-body h2 {
  margin: 2.4rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: left;
  color: var(--ink);
}
.article-body h3 {
  margin: 1.65rem 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
}
.article-body p {
  margin: 0 0 1.15rem;
  color: var(--ink);
  opacity: 0.92;
}
.article-body li {
  color: var(--ink);
  opacity: 0.9;
  margin-bottom: 0.35rem;
}
.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94rem;
  margin: 1.4rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.article-body th,
.article-body td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
}
.article-body tr:last-child td { border-bottom: 0; }
.article-body th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  margin: 1.4rem 0;
}
.disclaimer-box {
  margin-top: 2.5rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Comments */
.comments {
  max-width: var(--read);
  margin: 0 0 3.5rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}
.comments__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.comments__note {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.comments__form {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.comments__label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.comments__form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  resize: vertical;
  min-height: 7rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.comments__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.comments__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.comments__login {
  font-size: 0.92rem;
  font-weight: 600;
}

/* Auth */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
  max-width: 52rem;
}
@media (max-width: 720px) {
  .auth-grid { grid-template-columns: 1fr; }
}
.auth-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.auth-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.auth-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
  grid-template-columns: none !important;
}
.auth-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.form label.auth-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.55rem;
}

/* Static pages */
.page {
  padding: 2rem 0 4rem;
  max-width: var(--read);
}
.page h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.page p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.page h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page ul { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.page li { color: var(--muted); margin-bottom: 0.35rem; }
.form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.5rem;
  max-width: 28rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.form input,
.form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(11, 107, 66, 0.25);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 107, 66, 0.3);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2.25rem;
  background: rgba(255, 255, 255, 0.45);
  margin-top: 1rem;
}
.site-footer__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.site-footer h3 {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}
.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.site-footer a {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.site-footer a:hover { color: var(--accent); }
.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  padding-left: clamp(0.25rem, 2vw, 1rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.85rem;
}
@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Tags + share + circle links */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin: 2rem 0 1.25rem;
  max-width: var(--read);
}
.article-tags__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.article-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(11, 107, 66, 0.14);
  transition: background 0.15s ease, color 0.15s ease;
}
.tag:hover {
  background: rgba(11, 107, 66, 0.14);
  color: var(--accent-hover);
}

.share-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.share-bar__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(247, 250, 247, 0.9);
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.share-bar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.article-hero .share-btn,
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  min-height: 2.15rem;
  max-width: 2.15rem;
  max-height: 2.15rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #fff;
  color: #3a4540;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  overflow: hidden;
  flex: 0 0 2.15rem;
  line-height: 0;
  box-sizing: border-box;
}
.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  color: #152019;
}
.share-btn--vk:hover { color: #0077ff; }
.share-btn--ok:hover { color: #ee8208; }
.share-btn--copy.is-copied {
  color: var(--accent);
  border-color: rgba(11, 107, 66, 0.45);
}
.article-hero .share-btn .share-ico,
.article-hero .share-btn svg,
.share-btn .share-ico,
.share-btn svg,
.share-ico {
  width: 1rem !important;
  height: 1rem !important;
  max-width: 1rem !important;
  max-height: 1rem !important;
  display: block;
  flex-shrink: 0;
}

/* Author pages */
.author-hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0 1.25rem;
  max-width: 48rem;
}
.author-hero__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}
.author-hero__label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.author-hero h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.author-hero__job {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--accent-2);
}
.author-hero__focus {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.author-bio,
.author-posts {
  max-width: var(--read);
  padding-bottom: 1.5rem;
}
.author-bio h2,
.author-posts h2 {
  margin: 1.5rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.author-bio p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 0.9rem;
}
.author-posts__list {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.author-article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.author-article:hover {
  border-color: rgba(11, 107, 66, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.author-article__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.author-article__go {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.author-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.author-card h3 a:hover { color: var(--accent); }
.author-card__more {
  font-size: 0.9rem;
  font-weight: 700;
}
@media (max-width: 600px) {
  .author-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .hero__media,
  .article-hero__bg { transform: none !important; }
}
