:root {
  --bg: #f7f5ef; --fg: #2c3528; --muted: #6a7462; --accent: #4f7a3a; --accent-dark: #3a5d29;
  --card: #fff; --line: #e6e1d3; --soft: #eef2e6;
  --winter: #dfeaf1; --spring: #e4efd3; --summer: #f6ecc6; --autumn: #f6dfc8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(60, 50, 30, .06), 0 6px 18px rgba(60, 50, 30, .07);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.25; }
h1 { font-size: 34px; margin: 6px 0 10px; }
h2 { color: var(--accent-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.lead { color: var(--muted); font-size: 18px; margin-top: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.kicker, .tag { text-transform: uppercase; letter-spacing: .09em; font-size: 11.5px; color: var(--muted); margin: 0; font-weight: 600; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 9px 18px; border-radius: 999px; font-size: 15px; transition: background .15s; }
.btn:hover { background: var(--accent-dark); }
.more { text-decoration: none; font-size: 14px; color: var(--accent); }

/* шапка */
.top { background: rgba(247, 245, 239, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { color: var(--fg); text-decoration: none; font: 21px var(--serif); display: inline-flex; align-items: center; gap: 10px; }
.top nav { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 15px; }
.top nav a { color: var(--fg); text-decoration: none; padding: 5px 12px; border-radius: 999px; }
.top nav a:hover { background: var(--soft); }
.top nav a[aria-current] { background: var(--accent); color: #fff; }

main { padding-top: 22px; padding-bottom: 56px; }

/* главная */
.hero { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #d6e8f0; }
.hero-text { position: absolute; left: 36px; top: 30px; max-width: 420px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(3px); border-radius: 12px; padding: 20px 24px 22px; }
.hero-text h1 { font-size: 40px; margin: 0 0 6px; }
.hero-text p { margin: 0 0 14px; color: var(--muted); }

.now { display: flex; gap: 26px; align-items: center; border-radius: 14px; padding: 22px 28px; margin: 28px 0 8px; box-shadow: var(--shadow); }
.now img { flex: none; width: 110px; }
.now h2 { margin: 2px 0 6px; font-size: 26px; }
.now h2 a { text-decoration: none; }
.now p { margin: 0 0 8px; }
.now ul { margin: 0 0 14px; padding-left: 20px; }

.s-winter { background: var(--winter); } .s-spring { background: var(--spring); }
.s-summer { background: var(--summer); } .s-autumn { background: var(--autumn); }

.head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 14px; }
.head h2 { margin: 0; font-size: 26px; }
.head a { font-size: 15px; text-decoration: none; }

.grid { display: grid; gap: 16px; }
.grid.months { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.grid.articles { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d5ceb9; }
.card h3 { margin: 2px 0 4px; font-size: 20px; color: var(--accent-dark); }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.card.month { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--card); }
.card.month img { flex: none; width: 64px; }
.card.month.current { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.card.article { overflow: hidden; display: flex; flex-direction: column; }
.card.article img { aspect-ratio: 2 / 1; width: 100%; object-fit: cover; }
.card.article .body { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card.article .more { margin-top: auto; padding-top: 8px; }

/* месяц */
.band { display: flex; gap: 26px; align-items: center; border-radius: 16px; padding: 24px 30px; }
.band img { flex: none; width: 120px; }
.band h1 { margin: 2px 0 6px; }
.band .lead { margin: 0; color: #4f5948; }
.boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 16px; margin-top: 20px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 22px 14px; }
.box h2 { font-size: 21px; margin: 14px 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--soft); }
.box ul { list-style: none; padding: 0; margin: 6px 0; }
.box li { position: relative; padding-left: 22px; margin: 7px 0; }
.box li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 0 60% 0 60%; background: #8fbf6a; transform: rotate(-20deg); }
.pager { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.pager a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px 4px 6px; }
.pager a:last-child { padding: 4px 6px 4px 14px; }

/* статья */
.text { max-width: 720px; }
.text h2 { font-size: 24px; margin: 30px 0 8px; }
.text ul { padding-left: 22px; }
.text li { margin: 5px 0; }
.cover { width: 100%; border-radius: 14px; margin: 18px 0 8px; box-shadow: var(--shadow); }
.notfound img { width: 120px; margin-top: 20px; }

/* подвал */
.bottom { margin-top: 20px; }
.strip { width: 100%; height: 44px; object-fit: cover; object-position: left; }
.foot { background: #e9e4d6; color: var(--muted); font-size: 14px; padding: 22px 0 34px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.foot b { color: var(--fg); font: 17px var(--serif); }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--fg); text-decoration: none; }
.copy { width: 100%; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  .hero { display: flex; flex-direction: column-reverse; background: var(--card); }
  .hero-text { position: static; max-width: none; background: none; backdrop-filter: none; padding: 18px 18px 6px; }
  .hero-text h1 { font-size: 30px; }
  .now, .band { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; }
  .now img { width: 76px; } .band img { width: 84px; }
  .grid.months { grid-template-columns: 1fr; }
  .top nav a { padding: 4px 9px; }
}
