/* ===== Базовое ===== */
:root {
  --ink: #161616;
  --ink-soft: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e5e5e5;
  --paper: #ffffff;
  --gray-bg: #f4f4f4;
  --red: #d3222e;
  --red-dark: #b01c26;
  --navy: #263846;
  --navy-2: #2f4356;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px;
}
.skip:focus { left: 8px; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 12px 20px; border: 0; cursor: pointer;
  border-radius: 2px; transition: background .15s, color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover, .btn-red:focus-visible { background: var(--red-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink);
  cursor: pointer; border-radius: 2px; font-weight: 700; font-size: 12px;
  transition: background .15s, color .15s;
}
.icon-btn:hover, .icon-btn:focus-visible { background: var(--gray-bg); color: var(--red); }

/* ===== Шапка ===== */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.logo { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark { color: var(--ink); }
.logo-dot { color: var(--red); }
.logo-tld { color: var(--red); }

.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-weight: 600; font-size: 14px; color: var(--ink-soft); position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--red); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
}

.header-tools { display: flex; align-items: center; gap: 10px; }

/* ===== Тикер ===== */
.ticker { background: var(--ink); color: #d8d8d8; font-size: 13px; }
.ticker-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 8px; padding-bottom: 8px; overflow: hidden; }
.ticker-item { white-space: nowrap; }
.ticker-sep { color: #555; }
.ticker-links { margin-left: auto; display: flex; gap: 14px; }
.soc-link { color: #e6e6e6; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.10); transition: color .15s, background .15s; }
.soc-link:hover { color: #fff; background: rgba(255,255,255,.22); }

/* ===== Кикеры ===== */
.kicker {
  display: inline-block; font-weight: 700; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 10px;
}
.kicker-red { color: var(--red); }
.kicker-gray { color: var(--muted); }
.kicker-red-light { color: #ff6b72; }

/* ===== Hero ===== */
.hero { padding-top: 34px; padding-bottom: 40px; }
.hero-grid { position: relative; }
.hero-grid-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-slide.is-hidden { display: none; }
.hero-content h1 { font-size: 42px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero-lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 18px; max-width: 60ch; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.hero-meta .kicker { margin-bottom: 0; }
.hero-cat { color: var(--red); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 12px; }

/* Точки слайдера */
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #d5d5d5; cursor: pointer; padding: 0; transition: background .15s, transform .15s; }
.hero-dot:hover { background: #b5b5b5; }
.hero-dot.active { background: var(--red); transform: scale(1.2); }

.hero-media .video-thumb, .article-media .video-thumb {
  position: relative; display: block; border-radius: 4px; overflow: hidden;
  aspect-ratio: 16/10; background: #000;
}
.hero-media img, .article-media img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px;
  background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.35); transition: transform .15s;
}
.play svg { transform: translateX(2px); }
.video-thumb:hover .play, .video-thumb:focus-visible .play { transform: scale(1.06); }
.video-time {
  position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.7); color: #fff;
  font-size: 12px; padding: 3px 8px; border-radius: 3px; font-variant-numeric: tabular-nums;
}

/* ===== Сетки ===== */
.grid-section { padding-bottom: 56px; }
.top-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 40px; }

.card { border-top: 3px solid var(--red); padding-top: 16px; }
.card .kicker, .dark-card .kicker { margin-bottom: 8px; }
.card-img-link { display: block; border-radius: 3px; overflow: hidden; margin-bottom: 14px; background: var(--gray-bg); }
.card-img-link img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .3s; }
.card-img-link:hover img { transform: scale(1.02); }
.card h3, .dark-card h3 { font-size: 18px; line-height: 1.3; margin: 0 0 12px; letter-spacing: -0.01em; }
.card h3 a:hover, .dark-card h3 a:hover { color: var(--red); }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.card-meta .icon-btn { width: 30px; height: 30px; }
.card-meta.light { color: #9aa4ae; }

/* ===== Две колонки: тёмные карточки + сайдбар ===== */
.layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding-bottom: 48px; }
.dark-grid { display: grid; gap: 16px; align-content: start; }
.dark-card {
  background: var(--navy); color: #fff; padding: 24px 24px 20px; border-radius: 4px;
}
.dark-card h3 { font-size: 18px; line-height: 1.3; margin: 0 0 12px; }
.dark-card:nth-child(2) { background: var(--navy-2); }

/* Сайдбар */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.important { background: var(--navy); color: #fff; border-radius: 4px; padding: 26px 24px; }
.important-title, .sidebar-title { font-size: 18px; margin: 0 0 16px; letter-spacing: 0.02em; text-transform: uppercase; }
.important-list { list-style: none; margin: 0 0 18px; padding: 0; }
.important-list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.important-list li:first-child { border-top: 0; padding-top: 0; }
.important-list a { display: block; font-size: 15px; line-height: 1.35; }
.important-list a:hover { color: #ff6b72; }
.imp-date { display: block; font-size: 12px; color: #9aa4ae; margin-bottom: 3px; }

/* ===== Подписка ===== */
.subscribe-cta { background: var(--gray-bg); border-radius: 6px; padding: 44px 40px; text-align: center; }
.subscribe-cta h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.01em; }
.subscribe-cta p { margin: 0 0 24px; color: var(--ink-soft); }
.subscribe-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; font-family: inherit;
}
.subscribe-form input:focus-visible { outline: 2px solid var(--red); outline-offset: -1px; }

/* ===== Статья ===== */
.article-main { padding-bottom: 56px; }
.article-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; padding-top: 38px; }
.article-title { font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.article-lead { font-size: 18px; color: var(--ink-soft); font-style: italic; margin: 0 0 24px; max-width: 65ch; }

.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.author-name { display: block; font-weight: 700; font-size: 14px; }
.author-date { display: block; font-size: 13px; color: var(--muted); }
.share { display: flex; gap: 6px; align-items: center; }

.article-media { margin-bottom: 8px; }
.caption { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.article-body { font-family: var(--font-serif); font-size: 18px; line-height: 1.7; color: #222; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; }
.article-body a:hover, .article-body a:focus-visible { color: var(--red-dark); background: rgba(211,34,46,.06); }
.article-body p { margin: 0 0 20px; }
.article-body h2 { font-family: var(--font-sans); font-size: 24px; margin: 34px 0 14px; letter-spacing: -0.01em; }
.article-body blockquote {
  margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--red); background: var(--gray-bg);
  font-style: italic; font-size: 19px;
}
.article-body blockquote p { margin: 0 0 8px; }
.article-body blockquote cite { font-style: normal; font-size: 14px; color: var(--muted); font-family: var(--font-sans); }

.figure { margin: 28px 0; }
.figure img { border-radius: 4px; width: 100%; }
.figure figcaption { font-family: var(--font-sans); font-size: 13px; color: var(--muted); margin-top: 8px; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; }
.tag { background: var(--gray-bg); padding: 7px 14px; border-radius: 20px; font-size: 13px; color: var(--ink-soft); }

/* Сайдбар статьи */
.popular { background: var(--navy); color: #fff; border-radius: 4px; padding: 26px 24px; }
.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.popular-list li { counter-increment: pop; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.popular-list li:first-child { border-top: 0; padding-top: 0; }
.popular-list a { display: block; font-size: 15px; line-height: 1.3; padding-left: 28px; position: relative; }
.popular-list a::before {
  content: counter(pop); position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--red); font-size: 16px;
}
.popular-list a:hover { color: #ff6b72; }
.popular-list .imp-date { margin-top: 4px; }

.cta-subscribe { background: var(--red); color: #fff; border-radius: 4px; padding: 26px 24px; }
.cta-subscribe h3 { margin: 0 0 8px; font-size: 20px; }
.cta-subscribe p { margin: 0 0 16px; color: #ffe0e2; font-size: 14px; }
.cta-subscribe .btn-red { background: #fff; color: var(--red); }
.cta-subscribe .btn-red:hover { background: #f2f2f2; color: var(--red-dark); }

.cta-dark { background: var(--navy); color: #fff; border-radius: 4px; padding: 26px 24px; }
.cta-dark h3 { margin: 0 0 8px; font-size: 20px; }
.cta-dark p { margin: 0 0 16px; color: #9aa4ae; font-size: 14px; }

/* Похожие */
.related { padding-top: 52px; }
.related-title { font-size: 22px; margin: 0 0 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ===== Страница видео ===== */
.video-main { padding-bottom: 12px; }
.video-top { padding-top: 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.video-title { font-size: 36px; line-height: 1.12; letter-spacing: -0.02em; margin: 0; max-width: 24em; }

.video-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 44px; align-items: start; }

.video-player .video-player-frame { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: #000; }
.video-player .video-player-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-player .caption { margin-top: 12px; }

.video-description { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 22px; }
.video-desc-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.video-desc-title { font-size: 24px; margin: 0 0 14px; letter-spacing: -0.01em; }
.video-description p { font-family: var(--font-serif); font-size: 17px; line-height: 1.7; color: #222; margin: 0 0 16px; max-width: 70ch; }

.video-share { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.video-share-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-right: 6px; }

.video-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; }

.video-related { padding-bottom: 48px; }

/* ===== Футер ===== */
.site-footer { background: var(--navy); color: #cfcfcf; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 46px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 14px; }
.footer-col p { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.footer-logo { width: 110px; height: auto; margin-bottom: 16px; border-radius: 4px; }
.footer-col a { color: #ff9aa0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #3a4a5c; padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.age-note { font-size: 12px; color: #9aa4ae; }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: #fff; }
.age { margin-left: auto; border: 1px solid #5a6b7d; padding: 1px 7px; border-radius: 3px; font-size: 12px; color: #dfe4ea; }

/* ===== Гамбургер ===== */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 0; background: var(--ink);
  cursor: pointer; padding: 10px; border-radius: 4px; align-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Адаптив ===== */
@media (max-width: 940px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav a { display: block; padding: 14px 20px; font-size: 16px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--red); }
  .nav-toggle { display: flex; }
  .hero-grid-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-content h1 { font-size: 32px; }
  .top-grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .video-layout { grid-template-columns: 1fr; }
  .video-side { position: static; }
  .video-title { font-size: 28px; }
}

@media (max-width: 640px) {
  .header-inner { height: 60px; gap: 10px; }
  .logo { font-size: 20px; }
  .header-tools .btn { padding: 9px 12px; font-size: 11px; white-space: nowrap; }
  .header-tools .icon-btn { width: 36px; height: 36px; }
  .nav-toggle { width: 36px; height: 36px; flex-shrink: 0; }
  .header-tools { flex-shrink: 0; }
  .top-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-title { font-size: 30px; }
  .subscribe-cta { padding: 32px 20px; }
  .subscribe-form { flex-direction: column; }
  .ticker-sep, .ticker-links { display: none; }
  .age { margin-left: 0; }
}

/* ===== WP-специфичное ===== */

/* Меню из wp_nav_menu */
.main-nav .menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu a {
  font-weight: 600; font-size: 14px; color: var(--ink-soft); position: relative; padding: 4px 0;
}
.main-nav .menu a:hover { color: var(--ink); }
.main-nav .menu .current-menu-item > a,
.main-nav .menu .current_page_item > a { color: var(--red); font-weight: 700; }

/* Поисковая строка, скрытая кнопкой лупы */
.header-search { background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 0; }
.header-search .search-form { display: flex; gap: 10px; max-width: 520px; }
.header-search .search-field {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 2px; font-size: 15px; font-family: inherit;
}
.header-search .search-submit { background: var(--red); color: #fff; border: 0; padding: 0 18px; border-radius: 2px; cursor: pointer; font-weight: 700; }

/* Кастомный логотип */
.custom-logo { max-height: 60px; width: auto; }

/* Обложки в карточках и hero (object-fit, чтобы не рваться) */
.card-img-link img, .hero-media img, .article-media img, .single-thumb { width: 100%; height: auto; object-fit: cover; }
.card-img-link img { aspect-ratio: 16/10; }
.hero-media img, .article-media img.single-thumb { aspect-ratio: 16/9; }

/* Видео-iframe: блок 16:9 */
.video-frame { position: relative; }
.video-frame iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; border-radius: 6px; }

/* Галерея новости */
.yardrey-gallery { position: relative; }
.yardrey-gallery-item { overflow: hidden; border-radius: 6px; }
.yardrey-gallery-item img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.yardrey-gallery-prev, .yardrey-gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 24px; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.yardrey-gallery-prev { left: 12px; }
.yardrey-gallery-next { right: 12px; }
.yardrey-gallery-prev:hover, .yardrey-gallery-next:hover { background: var(--red); }

/* Пагинация */
.pagination { grid-column: 1 / -1; display: flex; justify-content: center; gap: 6px; padding-top: 30px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination a, .pagination .current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 3px; font-weight: 600;
}
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination a:hover { border-color: var(--red); color: var(--red); }

/* Архив и таблицы */
.archive-main { padding: 40px 0 60px; }
.archive-header { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.archive-title { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.01em; }
.archive-desc { color: var(--ink-soft); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-body img, .article-body .aligncenter { border-radius: 4px; max-width: 100%; height: auto; }
.article-body .wp-caption { max-width: 100%; }
.page-links { padding-top: 12px; font-weight: 600; }

/* Таймер чтения, тэги */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; }
.tag { background: var(--gray-bg); padding: 7px 14px; border-radius: 20px; font-size: 13px; color: var(--ink-soft); }
.share-thumb { display: none; }

/* Склейка меню в футере */
.foot-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.foot-menu a:hover { color: #fff; }

/* ===== Статические страницы (page.php) ===== */
.page-main { padding: 48px 0 64px; }
.page-main .container { max-width: 900px; }
.page-title { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 26px; }
.page-body { font-family: var(--font-serif); font-size: 18px; line-height: 1.7; color: #222; }
.page-body p { margin: 0 0 18px; }
.page-body h2 { font-family: var(--font-sans); font-size: 24px; margin: 30px 0 14px; letter-spacing: -0.01em; }
.page-body h3 { font-family: var(--font-sans); font-size: 20px; margin: 26px 0 12px; letter-spacing: -0.01em; }
.page-body ul, .page-body ol { margin: 0 0 18px; padding-left: 24px; }
.page-body li { margin-bottom: 6px; }
.page-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.page-body blockquote { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--red); background: var(--gray-bg); font-style: italic; }
.page-body img { max-width: 100%; height: auto; border-radius: 4px; }

/* ===== Страница «О нас» ===== */
.about-main .container { max-width: 980px; }
.about-hero { display: flex; gap: 48px; align-items: center; margin-bottom: 44px; }
.about-hero-logo { flex: 0 0 auto; width: 300px; }
.about-hero-logo .custom-logo-link { display: block; }
.about-hero-logo img {
  width: auto; height: auto; max-width: 300px; max-height: 360px; display: block;
}
.about-hero-text { flex: 1 1 auto; }
.about-title { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.about-subtitle { font-size: 17px; color: var(--ink-soft); font-style: italic; margin: 0 0 16px; }
.about-intro { font-family: var(--font-serif); font-size: 18px; line-height: 1.7; color: #222; }
.about-intro p { margin: 0 0 16px; }
.about-blocks { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-block {
  background: var(--navy); color: #fff; border-radius: 6px; padding: 26px 24px;
}
.about-block.about-contacts { background: var(--red); color: #fff; }
.about-block-title { font-size: 16px; margin: 0 0 16px; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.about-block p { margin: 8px 0; font-size: 15px; line-height: 1.5; }
.about-block a { color: #ff9aa0; }
.about-block a:hover { color: #fff; }
.about-contacts a { color: #ffe0e2; }
.about-contacts a:hover { color: #fff; }

@media (max-width: 940px) {
  .about-blocks { grid-template-columns: 1fr 1fr; }
  .about-hero { gap: 24px; }
}
@media (max-width: 640px) {
  .about-blocks { grid-template-columns: 1fr; }
  .about-hero { flex-direction: column; align-items: center; text-align: center; }
  .about-hero-logo { flex: none; }
}

@media (max-width: 940px) {
  .main-nav .menu { flex-direction: column; gap: 0; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .archive-grid { grid-template-columns: 1fr; }
}