@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* ========== Тема ========== */
:root {
  --bg: #f7f6f3;
  --bg-soft: #efeeea;
  --surface: #ffffff;
  --surface-2: #fbfaf8;
  --ink: #161a22;
  --ink-2: #3d4350;
  --muted: #7a8090;
  --line: #e5e3df;
  --accent: #e5484d;
  --accent-hover: #cf3439;
  --accent-soft: #fdecec;
  --navy: #141a26;
  --shadow: 0 18px 50px rgba(20, 26, 38, .07);
  --shadow-hover: 0 26px 60px rgba(20, 26, 38, .12);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1240px;
}

[data-theme="dark"] {
  --bg: #0d1118;
  --bg-soft: #121722;
  --surface: #171d28;
  --surface-2: #1b2230;
  --ink: #f2f4f8;
  --ink-2: #c9cfdb;
  --muted: #8e97a8;
  --line: #29313f;
  --accent: #ff6669;
  --accent-hover: #ff7c7f;
  --accent-soft: #332026;
  --navy: #080b10;
  --shadow: 0 18px 50px rgba(0, 0, 0, .3);
  --shadow-hover: 0 26px 60px rgba(0, 0, 0, .45);
}

/* ========== Базовое ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.serif { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ========== Шапка ========== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 76px; display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px; font-weight: 800; line-height: 1;
  box-shadow: 0 6px 16px rgba(229, 72, 77, .3);
}
.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 25px; font-weight: 800; letter-spacing: -.02em;
}
.logo-text small {
  display: block; font-family: 'Manrope', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-top: -5px;
}
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: 18px; }
.main-nav a {
  position: relative; font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 26px 0; transition: color .2s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); transition: .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 0;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 700;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(229, 72, 77, .25); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f0f0f0; }
.burger { display: none; }

/* ========== Бегущая строка ========== */
.ticker {
  height: 44px; background: var(--navy); color: rgba(255, 255, 255, .86);
  display: flex; align-items: center; overflow: hidden;
}
.ticker-label {
  flex: 0 0 auto; height: 100%; display: flex; align-items: center; gap: 8px;
  padding: 0 22px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex; width: max-content; animation: marquee 55s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding: 0 28px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ticker-track span::before { content: '◆'; color: var(--accent); margin-right: 14px; font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========== Hero ========== */
.hero { padding: 42px 0 26px; }
.hero-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.hero-top h2 {
  margin: 8px 0 0; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.02em;
}
.hero-date { font-size: 13px; color: var(--muted); white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(300px, 1fr); gap: 20px; }

.hero-feature {
  position: relative; min-height: 500px; border-radius: 26px; overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate;
  box-shadow: var(--shadow);
}
.hero-feature .media-bg { position: absolute; inset: 0; z-index: -2; }
.hero-feature::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 12, 20, .04) 0%, rgba(8, 12, 20, .32) 42%, rgba(8, 12, 20, .94) 100%);
}
.hero-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hero-feature:hover img { transform: scale(1.05); }
.hero-feature-content { padding: clamp(24px, 4vw, 46px); color: #fff; max-width: 780px; }
.hero-feature .badge {
  display: inline-block; padding: 6px 12px; border-radius: 100px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-feature h3 {
  margin: 0 0 14px; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.02em;
}
.hero-feature p { margin: 0 0 22px; color: rgba(255, 255, 255, .78); font-size: 15px; max-width: 620px; }
.hero-feature .meta-light { color: rgba(255, 255, 255, .68); font-size: 12px; font-weight: 600; }
.read-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
}
.read-link span { transition: transform .2s; }
.read-link:hover span { transform: translateX(5px); }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.hero-mini {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 240px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow); isolation: isolate;
}
.hero-mini .media-bg { position: absolute; inset: 0; z-index: -2; }
.hero-mini::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 14, 22, .1), rgba(10, 14, 22, .9));
}
.hero-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hero-mini:hover img { transform: scale(1.06); }
.hero-mini-content { padding: 22px 24px; color: #fff; }
.hero-mini-content h4 {
  margin: 8px 0 6px; font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px; line-height: 1.25;
}
.hero-mini-content p { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .7); }
.hero-mini .cat-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .18); padding: 5px 10px; border-radius: 100px;
  backdrop-filter: blur(6px);
}

/* ========== Лента ========== */
.news-section { padding: 46px 0 30px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 8px 0 0; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.02em;
}
.section-link { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 38px; align-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600;
  transition: .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft), var(--line));
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .card-media img { transform: scale(1.07); }
.card-cat {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 5px 11px; border-radius: 100px; background: rgba(255, 255, 255, .94);
  color: #161a22; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; gap: 12px; align-items: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.feed-updated { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--muted); }

/* Рекламные блоки из админки: пустые слоты не занимают место. */
.ad-slot { margin: 22px 0; text-align: center; }
.ad-slot:empty { display: none; }
.ad-sidebar { margin: 0; }
.ad-sidebar ins, .ad-sidebar iframe, .ad-slot img { max-width: 100%; }
.ad-label { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-title {
  margin: 12px 0 10px; font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px; line-height: 1.3; letter-spacing: -.01em;
}
.news-card:hover .card-title { color: var(--accent); }
.card-excerpt { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.card-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--muted); font-weight: 600;
}
.card-foot .author { display: flex; align-items: center; gap: 7px; }
.mini-avatar {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--ink); font-size: 10px; font-weight: 800;
}
.load-more-wrap { display: flex; justify-content: center; margin-top: 34px; }
.btn-more { padding: 13px 30px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 100px; font-weight: 700; font-size: 14px; }
.btn-more:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.empty-state { padding: 60px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ========== Сайдбар ========== */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.widget {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.widget-title {
  margin: 0 0 18px; font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px; display: flex; align-items: center; gap: 10px;
}
.widget-title::before { content: ''; width: 4px; height: 20px; border-radius: 4px; background: var(--accent); }
.trend-item {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.trend-item:last-child { border-bottom: 0; padding-bottom: 0; }
.trend-item:first-child { padding-top: 0; }
.trend-num { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; line-height: 1; color: var(--accent); }
.trend-item h4 { margin: 0 0 5px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.trend-item h4:hover { color: var(--accent); }
.trend-item span { font-size: 11px; color: var(--muted); }

.newsletter-widget {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 28px 24px; color: #fff; isolation: isolate;
  background: linear-gradient(145deg, #1d2535, #101522);
}
.newsletter-widget::before {
  content: ''; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
  right: -90px; top: -100px; background: radial-gradient(circle, rgba(229, 72, 77, .5), transparent 68%);
}
.newsletter-widget::after {
  content: ''; position: absolute; z-index: -1; width: 180px; height: 180px; border-radius: 50%;
  left: -110px; bottom: -110px; border: 22px solid rgba(255, 255, 255, .05);
}
.newsletter-widget h3 { margin: 0 0 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; }
.newsletter-widget p { margin: 0 0 18px; font-size: 13px; color: rgba(255, 255, 255, .66); }
.subscribe-form { display: flex; flex-direction: column; gap: 9px; }
.subscribe-form input {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px;
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, .45); }
.subscribe-form .btn { width: 100%; padding: 12px; }
.form-note { font-size: 11px; color: rgba(255, 255, 255, .45); margin: 0; }
.form-success { font-size: 13px; color: #8ee0ae; margin: 8px 0 0; font-weight: 600; }

.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.photo-grid a { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-grid a:hover img { transform: scale(1.1); }
.photo-grid figcaption {
  position: absolute; inset: auto 0 0; padding: 16px 8px 7px; font-size: 10px; font-weight: 700;
  color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}

/* ========== Рубрики ========== */
.category-section { padding: 34px 0; border-top: 1px solid var(--line); margin-top: 30px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-card {
  display: flex; gap: 16px; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  transition: .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .thumb { flex: 0 0 104px; height: 104px; border-radius: 12px; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .cat-body { display: flex; flex-direction: column; min-width: 0; }
.cat-card .cat-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.cat-card h4 { margin: 6px 0; font-family: 'Playfair Display', Georgia, serif; font-size: 17px; line-height: 1.3; }
.cat-card time { margin-top: auto; font-size: 11px; color: var(--muted); }

/* ========== Подписка-баннер ========== */
.subscribe-banner {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 40px 0 70px; padding: 52px clamp(24px, 5vw, 64px); border-radius: 28px;
  background: linear-gradient(120deg, #171d2a, #242c3d); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.subscribe-banner::before {
  content: ''; position: absolute; z-index: -1; right: 8%; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 72, 77, .36), transparent 65%);
}
.subscribe-banner::after {
  content: ''; position: absolute; z-index: -1; left: -100px; bottom: -160px;
  width: 340px; height: 340px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .018);
}
.subscribe-banner h2 {
  margin: 10px 0 10px; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.15;
}
.subscribe-banner p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, .65); font-size: 15px; }
.banner-form { display: flex; gap: 10px; flex: 0 0 400px; max-width: 100%; }
.banner-form input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff;
}
.banner-form input::placeholder { color: rgba(255, 255, 255, .45); }

/* ========== Подвал ========== */
.site-footer { background: var(--navy); color: #fff; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin: 18px 0 22px; max-width: 300px; color: rgba(255, 255, 255, .55); font-size: 14px; }
.socials { display: flex; gap: 9px; }
.socials a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 800;
  transition: .2s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-col h5 { margin: 0 0 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255, 255, 255, .58); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255, 255, 255, .4); }

/* ========== Поиск ========== */
.search-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 11, 17, .62);
  backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start;
  padding: 9vh 20px 20px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-panel {
  width: min(720px, 100%); background: var(--surface); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden;
  transform: translateY(-14px); transition: transform .25s;
}
.search-overlay.open .search-panel { transform: translateY(0); }
.search-field { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.search-field svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.search-field input { flex: 1; border: 0; background: transparent; color: var(--ink); font-size: 18px; outline: none; }
.search-close { border: 0; background: var(--bg-soft); color: var(--ink); border-radius: 9px; padding: 6px 10px; font-size: 12px; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 10px 14px 16px; }
.search-hint { padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.search-result { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; }
.search-result:hover { background: var(--bg-soft); }
.search-result img { width: 76px; height: 56px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.search-result h4 { margin: 0 0 3px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.search-result span { font-size: 11px; color: var(--muted); }

/* ========== Мобильное меню ========== */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 110;
  background: var(--surface); box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
  padding: 24px; transform: translateX(100%); transition: transform .3s;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu a { padding: 13px 12px; border-radius: 11px; font-weight: 600; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--bg-soft); color: var(--accent); }

/* ========== Статья ========== */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 70; width: 0; transition: width .1s linear; }
.article-page { padding-bottom: 70px; }
.breadcrumbs { padding: 26px 0 0; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.article-head { max-width: 900px; margin: 0 auto; padding: 38px 20px 30px; text-align: center; }
.article-head .cat-tag {
  display: inline-block; padding: 6px 14px; border-radius: 100px; background: var(--accent-soft);
  color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.article-head h1 {
  margin: 20px 0 18px; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 58px); line-height: 1.12; letter-spacing: -.025em;
}
.article-lead { max-width: 720px; margin: 0 auto 26px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.article-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.article-meta .author-line { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; }
.article-cover { max-width: 1100px; margin: 0 auto 44px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2.1 / 1; background: var(--bg-soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 60px; align-items: start; }
.article-body { max-width: 760px; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.article-body p { margin: 0 0 26px; }
.article-body .lead { font-size: 20px; line-height: 1.75; color: var(--ink); }
.article-body .lead::first-letter {
  float: left; font-family: 'Playfair Display', Georgia, serif;
  font-size: 76px; line-height: .82; padding: 8px 12px 0 0; color: var(--accent);
}
.article-body h2 {
  margin: 42px 0 18px; font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px; line-height: 1.25; color: var(--ink);
}
.pull-quote {
  margin: 38px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--accent);
  font-family: 'Playfair Display', Georgia, serif; font-size: 25px; line-height: 1.45;
  color: var(--ink); font-style: italic;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 42px 0 26px; }
.article-tags a { padding: 7px 14px; border-radius: 100px; background: var(--bg-soft); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.article-tags a:hover { background: var(--accent); color: #fff; }
.share-row { display: flex; align-items: center; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.share-row button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 800; }
.share-row button:hover { border-color: var(--accent); color: var(--accent); }
.author-box { display: flex; gap: 16px; align-items: center; margin: 30px 0 50px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.author-box .big-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; }
.author-box h4 { margin: 0 0 3px; font-size: 16px; }
.author-box p { margin: 0; font-size: 13px; color: var(--muted); }
.article-aside { position: sticky; top: 96px; }
.comments { margin-top: 20px; }
.comments h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; margin: 0 0 20px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface); color: var(--ink); font-size: 14px; resize: vertical;
}
.comment-form .btn { align-self: flex-start; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment strong { font-size: 14px; }
.comment time { margin-left: 10px; font-size: 11px; color: var(--muted); }
.comment p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.related-section { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ========== Простые страницы ========== */
.simple-page { padding: 50px 0 80px; }
.simple-hero { max-width: 760px; margin-bottom: 40px; }
.simple-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 12px 0 18px; }
.simple-hero p { font-size: 18px; color: var(--ink-2); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.info-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.info-card .num { font-family: 'Playfair Display', Georgia, serif; font-size: 40px; color: var(--accent); line-height: 1; }
.info-card h3 { margin: 14px 0 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 21px; }
.info-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.contact-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; margin: 0 0 16px; }
.contact-card p { margin: 0 0 8px; color: var(--ink-2); }

/* ========== Утилиты ========== */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--surface); padding: 12px 20px; border-radius: 12px;
  font-size: 13px; font-weight: 600; z-index: 130; opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { color: var(--accent); border-color: var(--accent); }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ========== Адаптив ========== */
@media (max-width: 1100px) {
  .main-nav { gap: 16px; margin-left: 4px; }
  .news-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); }
  .hero-feature { min-height: 460px; }
  .article-layout { gap: 36px; }
}
@media (max-width: 940px) {
  .main-nav, .header-actions .btn { display: none; }
  .burger { display: grid; margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature { min-height: 460px; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .news-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .subscribe-banner { flex-direction: column; align-items: flex-start; }
  .banner-form { flex-basis: auto; width: min(500px, 100%); }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .header-inner { height: 66px; }
  .logo-text { font-size: 22px; }
  .hero { padding-top: 28px; }
  .hero-top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero-feature { min-height: 460px; border-radius: 20px; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-mini { min-height: 230px; }
  .news-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .filters { gap: 6px; }
  .chip { padding: 7px 13px; font-size: 12px; }
  .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .article-head { padding-top: 26px; }
  .article-cover { border-radius: 16px; aspect-ratio: 1.4 / 1; }
  .article-body { font-size: 16px; }
  .article-body .lead { font-size: 18px; }
  .article-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .subscribe-banner { padding: 36px 24px; border-radius: 20px; }
  .banner-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .ticker-label { padding: 0 14px; font-size: 10px; }
}
@media (max-width: 420px) {
  .logo-text small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
