/*
Theme Name: KKC Culture Center
Author: KRT
Version: 1.0.2b от 13.04.2026 г.
Text Domain: kkc-theme
Description: Полноценная нативная тема WordPress для Красковского культурного центра. Подходит для размещения афиши мероприятий, новостей, анонсов и информации о площадках. Включает удобную структуру с блоками событий, карточками учреждений, полезными сервисами и промо-разделами (например, «Пушкинская карта»). Дизайн ориентирован на простую навигацию, визуальную презентацию мероприятий и доступность для широкой аудитории.
Requires at least: 6.0
Tested up to: 6.7
*/

/* === ДИЗАЙН-ТОКЕНЫ === */
:root {
  /* Цвета */
  --color-primary: #731637;
  --color-primary-strong: #5f112d;
  --color-secondary: #00323c;
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-bg-muted: #f6f7fb;
  --color-bg-dark: #0b1220;
  --color-bg-dark-2: #050814;
  --color-text: #0f172a;
  --color-text-soft: rgba(15, 23, 42, 0.72);
  --color-text-muted: rgba(15, 23, 42, 0.62);
  --color-text-inverse: #ffffff;
  --color-text-inverse-soft: rgba(255, 255, 255, 0.9);
  --color-text-inverse-muted: rgba(229, 231, 235, 0.65);
  --color-border: rgba(15, 23, 42, 0.1);
  --color-border-soft: rgba(15, 23, 42, 0.06);
  --color-border-inverse: rgba(255, 255, 255, 0.08);
  --color-success: #39ff14;
  --color-accent: #ff0090;
  --color-danger-soft: rgba(248, 113, 113, 0.24);

  /* Градиенты */
  --gradient-hero: linear-gradient(135deg, #e9e4e1 0%, #ffffff 50%, #f8fafc 100%);
  --gradient-footer: linear-gradient(180deg, #0b1220, #050814);
  --gradient-primary-soft: linear-gradient(135deg, rgba(115, 22, 55, 0.12), rgba(0, 50, 60, 0.1));

  /* Типографика — Единая шкала */
  --font-family-base: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-small: 0.75rem;
  --fs-aux: 0.875rem;
  --fs-base: 1rem;
  --fs-large: 1.125rem;
  --fs-heading: 1.25rem;
  --fs-section: 1.5rem;

  /* Веса шрифтов */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* Межстрочные интервалы */
  --lh-tight: 1.15;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;
  --lh-loose: 1.8;

  /* Радиусы скругления */
  --radius-xs: 1rem;
  --radius-sm: 1rem;
  --radius-md: 1rem;
  --radius-lg: 1rem;
  --radius-xl: 1rem;
  --radius-2xl: 1rem;
  --radius-pill: 999px;

  /* Тени */
  --shadow-xs: 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 10px 22px rgba(2, 6, 23, 0.08);
  --shadow-md: 0 16px 34px rgba(2, 6, 23, 0.1);
  --shadow-lg: 0 24px 48px rgba(2, 6, 23, 0.12);
  --shadow-xl: 0 26px 90px rgba(0, 0, 0, 0.28);

  /* Отступы */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Макет */
  --container: 72rem;
  --header-height: 4.5rem;
  --header-height-mobile: 3.75rem;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Эффект стекла */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-blur: blur(20px);

  /* Служебные переменные шапки */
  --kkc-admin-bar-offset: 0px;
  --kkc-bvi-offset: 0px;
  --kkc-header-offset: 16px;
}

/* === БАЗОВЫЕ СТИЛИ === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  font-family: var(--font-family-base);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; display: block; }
a, button, input, textarea, select { font: inherit; }
button { border: 0; background: transparent; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(115, 22, 55, 0.28); outline-offset: 2px; }

/* Без горизонтального дёргания */
html, body { overflow-x: hidden !important; }

/* Прячем полосы прокрутки визуально, но скролл оставляем */
html {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* === УТИЛИТЫ ТИПОГРАФИКИ === */
.text-body { font-size: var(--fs-base); color: var(--color-text); line-height: var(--lh-relaxed); }
.text-muted { font-size: var(--fs-aux); color: var(--color-text-muted); line-height: var(--lh-normal); }
.text-caption { font-size: var(--fs-aux); color: var(--color-text-soft); line-height: var(--lh-normal); }

/* === БАЗОВЫЕ КОМПОНЕНТЫ === */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.glass { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.aspect-a4 { aspect-ratio: 1 / 1.414; }
.aspect-square { aspect-ratio: 1 / 1; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.site-main { flex: 1; }
.site-content-section, .kkc-section { padding: clamp(2.8rem, 5vw, 4.5rem) 0; }
.kkc-grid { display: grid; gap: var(--space-4); }
.kkc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kkc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .kkc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kkc-grid--3, .kkc-grid--2 { grid-template-columns: 1fr; } }

.kkc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.15rem; border-radius: var(--radius-pill); text-decoration: none;
  font-weight: var(--fw-semibold);
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.kkc-btn:hover { transform: translateY(-1px); }
.kkc-btn--primary { background: var(--color-primary); color: var(--color-text-inverse); }
.kkc-btn--ghost { color: var(--color-primary); background: rgba(115, 22, 55, 0.06); border: 1px solid rgba(115, 22, 55, 0.18); }
.kkc-card {
  background: #fff; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: var(--radius-xl);
  padding: var(--space-5); box-shadow: var(--shadow-md);
}
.kkc-card img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-md); }
.kkc-card__title { margin: 0 0 0.75rem; font-size: var(--fs-large); font-weight: var(--fw-semibold); line-height: var(--lh-snug); color: var(--color-text); }
.kkc-card__meta { font-size: var(--fs-aux); line-height: var(--lh-relaxed); color: var(--color-text-soft); }

/* === ШАПКА САЙТА === */
.sticky-header { transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base); }
.sticky-header.scrolled { background: rgba(255, 255, 255, 0.98); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.header-inner { transition: height var(--transition-base), padding var(--transition-base); gap: 1rem; }
.site-header__mobile { display: none; }
.site-header__brand { flex: 0 0 auto; max-width: 18rem; }
.site-header__logo { height: 2.125rem; max-height: 34px; width: auto; transform: scale(0.95); transform-origin: left center; }
.site-header__actions { flex: 0 0 auto; margin-left: auto; position: relative; z-index: 90; }

/* Стабильная шапка */
.site-header__panel {
  position: fixed;
  top: var(--kkc-header-offset, 16px);
  left: 1rem;
  right: 1rem;
  bottom: auto;
  width: auto;
  max-width: min(var(--container), calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
  transform: none;
  z-index: 70;
}

/* Убираем дёргающие transition у шапки */
.sticky-header,
.header-inner,
.site-header__panel,
.site-header__logo,
.site-header__desktop-menu > li > a,
.site-header__desktop-menu > .menu-item-has-children > a::after {
  transition: none !important;
}

/* === ДЕСКТОПНОЕ МЕНЮ === */
.site-header__desktop-nav {
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; justify-content: center;
  transform: translateZ(0); backface-visibility: hidden;
}

.site-header__desktop-menu,
.site-header__desktop-menu ul { list-style: none; margin: 0; padding: 0; }

.site-header__desktop-menu {
  display: flex; align-items: center; justify-content: center; gap: 0; min-width: 0;
  will-change: auto;
  transform: translateZ(0); backface-visibility: hidden;
}

.site-header__desktop-menu > li { position: relative; flex: 0 1 auto; will-change: auto; }

.site-header__desktop-menu > li > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.42rem;
  min-height: 2.75rem; padding: 0.62rem 0.6rem;
  color: var(--color-text); text-decoration: none;
  font-family: var(--font-family-base); font-size: 0.93rem; font-weight: var(--fw-medium);
  line-height: 1.15; white-space: nowrap; border-radius: 0.9rem;
  text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
  transform: none !important; will-change: auto;
}

.site-header__desktop-menu > li:hover > a,
.site-header__desktop-menu > li:focus-within > a,
.site-header__desktop-menu > li.current-menu-item > a,
.site-header__desktop-menu > li.current-menu-ancestor > a,
.site-header__desktop-menu > li.current_page_item > a,
.site-header__desktop-menu > li.current_page_ancestor > a {
  color: var(--color-primary); background: rgba(115, 22, 55, 0.08);
}

.site-header__desktop-menu > .menu-item-has-children > a::after {
  content: ''; flex: 0 0 auto; width: 0.48rem; height: 0.48rem; margin-top: 0;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateZ(0); transform-origin: center;
}

.site-header__desktop-menu > .menu-item-has-children:hover > a::after,
.site-header__desktop-menu > .menu-item-has-children:focus-within > a::after,
.site-header__desktop-menu > .menu-item-has-children.current-menu-ancestor > a::after {
  transform: rotate(225deg) translateZ(0);
}

.site-header__desktop-menu > li.menu-item-has-children::before {
  content: ''; position: absolute; left: 0; top: 100%; width: 100%; height: 1rem; z-index: 79;
}

.site-header__desktop-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 19rem; max-width: 24rem; display: block;
  padding: 1rem 0.65rem 0.65rem;
  background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 1.4rem;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(0.45rem); pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 80;
}

.site-header__desktop-menu li:hover > .sub-menu,
.site-header__desktop-menu li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

.site-header__desktop-menu .sub-menu li { position: relative; }

.site-header__desktop-menu .sub-menu a {
  display: flex; align-items: flex-start; width: 100%; padding: 0.75rem 0.9rem;
  border-radius: 0.95rem; color: var(--color-text); text-decoration: none;
  font-size: 0.93rem; font-weight: var(--fw-medium); line-height: 1.35; white-space: normal;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.site-header__desktop-menu .sub-menu li:hover > a,
.site-header__desktop-menu .sub-menu li:focus-within > a,
.site-header__desktop-menu .sub-menu li.current-menu-item > a,
.site-header__desktop-menu .sub-menu li.current-menu-ancestor > a,
.site-header__desktop-menu .sub-menu li.current_page_item > a,
.site-header__desktop-menu .sub-menu li.current_page_ancestor > a {
  background: rgba(115, 22, 55, 0.06); color: var(--color-primary);
}

.site-header__desktop-menu .sub-menu .sub-menu {
  top: -0.5rem; left: calc(100% + 0.35rem); min-width: 16rem; max-width: 20rem;
}

.site-header__desktop-menu .sub-menu .menu-item-has-children > a {
  justify-content: space-between; gap: 0.9rem;
}

.site-header__desktop-menu .sub-menu .menu-item-has-children > a::after {
  content: ''; flex: 0 0 auto; width: 0.45rem; height: 0.45rem; margin-top: 0.25rem;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}

/* === МОБИЛЬНОЕ МЕНЮ (DRAWER) === */
.site-header__drawer {
  position: fixed;
  top: calc(var(--kkc-header-offset, 16px) + 5rem);
  left: 1rem; right: 1rem; bottom: auto; width: auto;
  max-width: min(var(--container), calc(100vw - 2rem));
  margin-left: auto; margin-right: auto; transform: none; z-index: 65;
  display: none; padding: 1rem;
  background: #fff; border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  max-height: calc(100vh - var(--kkc-header-offset, 16px) - 6rem); overflow-y: auto;
}
.site-header__drawer.is-open { display: block; }

.site-header__drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }

.site-header__drawer > ul > li { position: relative; }
.site-header__drawer > ul > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 1rem; border-radius: var(--radius-md); text-decoration: none;
  background: var(--color-bg-soft); color: var(--color-text);
  font-weight: var(--fw-semibold); font-size: var(--fs-base);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.site-header__drawer > ul > li > a:hover { background: rgba(115, 22, 55, 0.06); color: var(--color-primary); }

.menu-item-has-children > a::after {
  content: ''; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform 0.3s ease; margin-left: 10px;
}
.menu-item-has-children.is-open > a::after { transform: rotate(45deg); }

.site-header__drawer .sub-menu { display: none; margin-top: 0.5rem; padding-left: 0.5rem; gap: 0.25rem; }
.site-header__drawer .menu-item-has-children.is-open > .sub-menu { display: flex; }

.site-header__drawer .sub-menu a {
  display: block; padding: 0.75rem 1rem 0.75rem 2.5rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--color-text-soft); font-size: var(--fs-aux); font-weight: var(--fw-medium);
  background: transparent; transition: color var(--transition-fast), background var(--transition-fast);
}
.site-header__drawer .sub-menu a:hover { color: var(--color-primary); background: rgba(115, 22, 55, 0.04); }

.site-header__drawer .current-menu-item > a,
.site-header__drawer .current_page_item > a,
.site-header__drawer .current-menu-ancestor > a,
.site-header__drawer .current_page_ancestor > a { background: rgba(115, 22, 55, 0.1); color: var(--color-primary); }

.site-eye-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; flex: 0 0 auto;
  border-radius: 0.9rem; border: 1px solid var(--color-border); background: #fff; color: var(--color-primary);
}
.site-eye-btn:hover { background: rgba(115, 22, 55, 0.06); }

/* === ГЛАВНЫЙ ЭКРАН И СЛАЙДЕР === */
.hero-gradient { background: var(--gradient-hero); }
.slider-container { position: relative; height: 500px; }
.slider-container-responsive { min-height: 600px; height: auto; padding: 2rem 0; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  transform: translateX(100%) scale(0.96); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none; z-index: 1;
}
.slide.active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; z-index: 10; }
.slide-card {
  width: 100%; height: 100%; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}
.hero-slide-inner { padding: 2rem 1.5rem; }
.hero-slide-grid { display: grid; gap: 2rem; }
.hero-slide-copy h2 { font-size: clamp(var(--fs-heading), 2.5vw, var(--fs-section)); line-height: 1.08; font-weight: var(--fw-semibold); letter-spacing: -0.02em; }
.hero-slide-copy p { font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--color-text-soft); max-width: 60ch; }
.hero-slide-copy .inline-flex, .space-y-2 .flex { justify-content: flex-start !important; }
.card-3d { transition: transform var(--transition-slow); }
.card-3d:hover { transform: rotateY(4deg) rotateX(2deg) scale(1.02); }

/* === НАВИГАЦИЯ СЛАЙДЕРА === */
.side-nav-arrow {
  position: absolute; top: 50%; z-index: 20; display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; background: #fff; border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); transform: translateY(-50%);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.side-nav-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.side-nav-arrow.prev { left: -25px; }
.side-nav-arrow.next { right: -25px; }
.mobile-slider-nav, .mobile-scroll-hint { position: relative; z-index: 30; pointer-events: auto; }
.mobile-slider-nav { margin-top: 1.5rem; }
.mobile-scroll-hint { margin-top: 1.25rem; }
.nav-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 999px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-arrow:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16); }
.slide-dot { cursor: pointer; transition: all var(--transition-base); }
.slide-dot.active { width: 2rem; border-radius: 1rem; background: var(--color-primary); }

/* === АНИМАЦИИ === */
.fade-in-up { animation: fadeInUp 0.8s ease-out 0.3s both; }
.floating-element { animation: float 6s ease-in-out infinite; }
.floating-element-2 { animation: float2 8s ease-in-out infinite; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(5deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-15px) rotate(-3deg); } }

/* === МОБИЛЬНАЯ НАВИГАЦИЯ И ПОМОЩНИКИ === */
.mobile-has-bottom-nav { padding-bottom: 0; }
.mobile-bottom-nav, .kkc-mobile-bottom-nav { display: none; }
.mobile-stack { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
.mobile-text-center { text-align: center; }
.mobile-padding { padding: 1.25rem !important; }
.mobile-image { width: 100% !important; max-width: 240px; margin: 0 auto; }

.kkc-mobile-bottom-nav, .mobile-bottom-nav {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 70; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.375rem; padding: 0.5rem;
  background: rgb(115 22 55); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(115, 22, 55, 0.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

.kkc-mobile-bottom-nav__list,
.kkc-mobile-bottom-nav > ul {
  list-style: none; margin: 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.375rem;
}

.kkc-mobile-bottom-nav li { min-width: 0; }

.kkc-mobile-bottom-nav a, .mobile-bottom-nav__item {
  min-height: 4.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem; border-radius: 1rem; text-decoration: none; color: rgba(255, 255, 255, 0.92);
  transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  padding: 0.6rem 0.4rem; text-align: center;
}
.kkc-mobile-bottom-nav a .kkc-mobile-bottom-nav__label {
  display: block; overflow: hidden; max-width: 100%;
  font-size: var(--fs-small); font-weight: var(--fw-semibold); line-height: 1.1; text-overflow: ellipsis;
}
.kkc-mobile-bottom-nav svg, .mobile-bottom-nav__item svg { width: 1.25rem; height: 1.25rem; }
.kkc-mobile-bottom-nav li.current-menu-item > a,
.kkc-mobile-bottom-nav li.current_page_item > a,
.kkc-mobile-bottom-nav li.current-menu-ancestor > a,
.kkc-mobile-bottom-nav li.current_page_ancestor > a,
.kkc-mobile-bottom-nav a.is-active,
.mobile-bottom-nav__item.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* === СЕКЦИЯ ПУШКИН === */
.pushkin {
  --bg0: #05060a; --bg1: #070816; --text: #e8edf6; --muted: rgba(232, 237, 246, 0.72);
  --green: #39ff14; --pink: #ff0090; --pink-glow: rgba(255, 0, 144, 0.25);
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem) 0;
  color: var(--text); background: linear-gradient(180deg, var(--bg1), var(--bg0));
  border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pushkin_moving_gradient {
  position: absolute; top: 0; left: 0; width: 250%; height: 100%; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 40% 100% at 90% 50%, var(--pink-glow), transparent 60%);
  animation: pushkin_pink_move 18s ease-in-out infinite alternate;
}
@keyframes pushkin_pink_move { 0% { transform: translateX(-10%); } 100% { transform: translateX(-40%); } }
.pushkin_noise {
  position: absolute; inset: 0; z-index: -1; opacity: 0.045; pointer-events: none;
  background-image: url("image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 200px 200px; mix-blend-mode: overlay;
}
.pushkin_grid {
  position: absolute; inset: -2px; z-index: -3; opacity: 0.08; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(circle at 35% 40%, #000 0%, #000 38%, transparent 72%);
}
.star {
  position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; z-index: -1;
  opacity: 0; box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.4); animation: twinkle 4s ease-in-out infinite;
}
.star-1 { top: 25%; left: 30%; animation-delay: 0s; width: 2px; height: 2px; }
.star-2 { top: 70%; left: 85%; animation-delay: 1.5s; background: var(--green); box-shadow: 0 0 8px 2px rgba(57, 255, 20, 0.5); }
.star-3 { top: 15%; right: 15%; animation-delay: 2.5s; width: 4px; height: 4px; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1.2); } }
.pushkin_container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.pushkin_inner { display: grid; grid-template-columns: 60% 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.pushkin_left { display: flex; justify-content: center; max-width: 100%; }
.pushkin_visual { width: 100%; display: flex; align-items: center; justify-content: center; }
.pushkin_img {
  width: auto; max-width: 100%; height: auto; max-height: 260px; object-fit: contain; display: block;
  animation: pushkin_img_pulse 4s ease-in-out infinite;
}
@keyframes pushkin_img_pulse { 0% { filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.15)); } 50% { filter: drop-shadow(0 0 50px rgba(57, 255, 20, 0.5)); } 100% { filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.15)); } }
.pushkin_right { display: flex; flex-direction: column; }
.pushkin_content { display: flex; flex-direction: column; gap: clamp(0.6rem, 1.2vw, 1rem); max-width: 560px; }
.pushkin_heading { margin: 0; font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: var(--fw-semibold, 600); line-height: 1.25; color: #fff; letter-spacing: -0.01em; }
.pushkin_desc { margin: 0; font-size: var(--fs-base, 1rem); line-height: 1.6; color: var(--muted); }
.pushkin_caption { margin: 0; font-size: var(--fs-small, 0.875rem); line-height: 1.5; color: rgba(232, 237, 246, 0.45); font-weight: 500; }
.pushkin_text_link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 0.8rem; text-decoration: none;
  color: var(--green); font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: var(--fw-semibold, 600);
  letter-spacing: 0.01em; transition: color 0.25s ease, gap 0.25s ease; width: fit-content; cursor: pointer; position: relative;
}
.pushkin_text_link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--green); transition: width 0.3s ease; }
.pushkin_text_link:hover { color: var(--green); gap: 16px; }
.pushkin_text_link:hover::after { width: 100%; }
.pushkin_text_link:hover .pushkin_arrow { transform: translateX(4px); }
.pushkin_arrow { display: inline-block; font-size: 1.3em; line-height: 1; transition: transform 0.25s ease; }
.pushkin_text_link:active { color: var(--green); gap: 12px; }
.pushkin_text_link:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 2px; }

/* === БЫСТРЫЙ ДОСТУП (QN2) === */
.qn2 { padding: 3.25rem 0; background: #fff; }
.qn2__container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.qn2__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.qn2__link { display: block; border-radius: 26px; outline: none; }
.qn2__link:focus-visible { border-radius: 26px; box-shadow: 0 0 0 3px rgba(115, 22, 55, 0.28); }
.qn2__card {
  position: relative; height: 300px; overflow: hidden; border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 26px; background: #e2e8f0; box-shadow: var(--shadow-md); transform: translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.qn2__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.qn2__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02);
  filter: saturate(1.03) contrast(1.02); transition: transform 0.35s ease;
}
.qn2__card:hover .qn2__img { transform: scale(1.06); }
.qn2__underGlow {
  position: absolute; right: 0; bottom: 0; left: 0; height: 62%; opacity: 0.95; pointer-events: none;
  background: linear-gradient(0deg, rgba(233, 228, 225, 0.95) 0%, rgba(233, 228, 225, 0.55) 38%, rgba(233, 228, 225, 0) 62%);
  transition: opacity 0.25s ease;
}
.qn2__card:hover .qn2__underGlow { opacity: 1; }
.qn2__pill {
  position: absolute; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 12px; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 14px;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 22px rgba(2, 6, 23, 0.1);
  text-align: center; line-height: 1.15; font-size: var(--fs-aux); font-weight: var(--fw-semibold);
  color: var(--color-text); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.qn2__pill span { display: -webkit-box; overflow: hidden; max-width: 100%; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* === АФИША (EV2) === */
.ev2 {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: radial-gradient(900px 520px at 18% 18%, rgba(115, 22, 55, 0.08), transparent 55%), radial-gradient(900px 520px at 86% 70%, rgba(0, 50, 60, 0.08), transparent 60%), linear-gradient(180deg, #ffffff, var(--color-bg-muted));
  border-top: 1px solid var(--color-border-soft);
}
.ev2__container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.ev2__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.ev2__title { font-size: clamp(var(--fs-heading), 2.4vw, var(--fs-section)); font-weight: var(--fw-semibold); color: var(--color-text); }
.ev2__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ev2__search {
  display: flex; align-items: center; gap: 8px; min-width: 240px; padding: 10px 12px;
  border: 1px solid var(--color-border); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
}
.ev2__search svg { width: 16px; height: 16px; color: rgba(15, 23, 42, 0.55); }
.ev2__search input { width: 100%; border: none; outline: none; font-size: var(--fs-aux); color: var(--color-text); }
.ev2__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ev2__chip {
  padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); color: rgba(15, 23, 42, 0.75);
  font-size: var(--fs-small); font-weight: var(--fw-semibold); user-select: none; transition: all 0.2s ease;
}
.ev2__chip:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(2, 6, 23, 0.08); }
.ev2__chip.is-active { border-color: rgba(115, 22, 55, 0.22); background: var(--gradient-primary-soft); color: rgba(15, 23, 42, 0.92); }
.ev2__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ev2__card {
  height: 100%; overflow: hidden; border: 1px solid var(--color-border); border-radius: 22px;
  background: #fff; box-shadow: 0 16px 34px rgba(2, 6, 23, 0.07); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ev2__card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(2, 6, 23, 0.1); }
.ev2__media { position: relative; height: 320px; }
.ev2__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.35s ease; }
.ev2__card:hover .ev2__img { transform: scale(1.06); }
.ev2__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.65) 100%); }
.ev2__place {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 10px; border: 1px solid var(--color-border);
  border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: rgba(15, 23, 42, 0.85);
  font-size: var(--fs-small); font-weight: var(--fw-semibold); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.ev2__base { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 2; }
.ev2__name { display: -webkit-box; overflow: hidden; margin-bottom: 6px; color: #fff; text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); font-size: var(--fs-aux); font-weight: var(--fw-semibold); line-height: 1.2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ev2__date, .ev2__panelDate { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.9); font-size: var(--fs-small); }
.ev2__date svg, .ev2__panelDate svg { width: 16px; height: 16px; opacity: 0.9; }
.ev2__panel {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; opacity: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.78) 65%, rgba(0, 0, 0, 0.9) 100%);
  transition: opacity 0.25s ease;
}
.ev2__card:hover .ev2__panel { opacity: 1; }
.ev2__panelTitle { margin-bottom: 6px; color: #fff; font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: 1.2; }
.ev2__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; margin-bottom: 10px; color: rgba(255, 255, 255, 0.86); font-size: var(--fs-small); }
.ev2__meta span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ev2__meta svg { width: 14px; height: 14px; opacity: 0.9; }
.ev2__go {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.92);
  color: #0b1220; text-decoration: none; font-weight: var(--fw-semibold); transition: transform 0.2s ease;
}
.ev2__go svg { width: 18px; height: 18px; }
.ev2__go:hover { transform: translateY(-1px); }
.ev2__go + .ev2__go { margin-left: 0.5rem; }

/* === НОВОСТИ === */
.kkc-news3 { padding: clamp(2.7rem, 4.2vw, 3.6rem) 0; background: #fff; border-top: 1px solid var(--color-border-soft); }
.kkc-news3__container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.kkc-news3__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.kkc-news3__title { margin: 0; padding: 0; color: var(--color-text); font-size: clamp(var(--fs-heading), 2.4vw, var(--fs-section)); font-weight: var(--fw-semibold); }
.kkc-news3__list { display: grid; gap: 12px; }
.kkc-news3__item {
  display: grid; grid-template-columns: 240px 1fr 170px; gap: 14px; overflow: hidden; padding: 12px;
  border: 1px solid var(--color-border); border-radius: 22px; background: #fff;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.06); text-decoration: none; color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.kkc-news3__item:hover { transform: translateY(-2px); box-shadow: 0 24px 48px rgba(2, 6, 23, 0.1); }
.kkc-news3__img { position: relative; height: 130px; overflow: hidden; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 18px; background: #e2e8f0; }
.kkc-news3__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.35s ease; }
.kkc-news3__item:hover .kkc-news3__img img { transform: scale(1.06); }
.kkc-news3__label {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px; background: rgba(115, 22, 55, 0.92); color: #fff;
  font-size: var(--fs-small); font-weight: var(--fw-semibold); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.kkc-news3__content { align-self: center; min-width: 0; }
.kkc-news3__headline { display: -webkit-box; overflow: hidden; margin: 0 0 6px; color: var(--color-text); font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kkc-news3__desc { display: -webkit-box; overflow: hidden; margin: 0; color: var(--color-text-muted); font-size: var(--fs-aux); line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.kkc-news3__side { align-self: center; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; }
.kkc-news3__date { display: flex; align-items: center; gap: 8px; color: rgba(15, 23, 42, 0.62); font-size: var(--fs-aux); font-weight: var(--fw-semibold); }
.kkc-news3__dateDot { width: 8px; height: 8px; border-radius: 999px; background: var(--color-primary); box-shadow: 0 0 14px rgba(115, 22, 55, 0.35); }
.kkc-news3__cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px; background: rgba(255, 255, 255, 0.92); color: rgba(15, 23, 42, 0.86);
  font-size: var(--fs-aux); font-weight: var(--fw-semibold); transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.kkc-news3__item:hover .kkc-news3__cta { transform: translateY(-1px); }
.kkc-news3__ctaIcon {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 10px;
  background: rgba(115, 22, 55, 0.1); color: var(--color-primary); transition: transform 0.2s ease;
}
.kkc-news3__item:hover .kkc-news3__ctaIcon { transform: translateX(2px); }
.kkc-news3__ctaIcon svg { width: 18px; height: 18px; }

/* === ПОДВАЛ САЙТА === */
.kkc-footer { color: var(--color-text-inverse); background: var(--gradient-footer); padding: 3rem 0 1.5rem; border-top: 1px solid var(--color-border-inverse); }
.kkc-footer__container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.kkc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.kkc-footer__col--logos { display: flex; flex-direction: column; gap: 1rem; }
.kkc-footer__logos { display: flex; flex-direction: column; gap: 0.9rem; }
.kkc-footer__logoLink { display: block; opacity: 0.8; transition: opacity var(--transition-fast); }
.kkc-footer__logoLink:hover { opacity: 1; }
.kkc-footer__logoImg { display: block; width: 160px; height: auto; }
.kkc-footer__legalName { color: var(--color-text-inverse-muted); font-size: var(--fs-small); font-weight: var(--fw-semibold); line-height: 1.4; }
.kkc-footer__legalText { color: var(--color-text-inverse-muted); font-size: var(--fs-small); line-height: 1.5; }
.kkc-footer__col h4 { margin: 0 0 1rem; color: #fff; font-size: var(--fs-aux); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; }
.kkc-footer__list { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.kkc-footer__list a, .kkc-footer__contact, .kkc-footer__contact a { color: var(--color-text-inverse-muted); text-decoration: none; font-size: var(--fs-aux); transition: color var(--transition-fast), transform var(--transition-fast); }
.kkc-footer__list a:hover, .kkc-footer__contact a:hover, .kkc-footer__links a:hover { color: #fff; }
.kkc-footer__list a:hover { transform: translateX(2px); }
.kkc-footer__contact { display: flex; flex-direction: column; gap: 0.6rem; font-style: normal; }
.kkc-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border-inverse); }
.kkc-footer__copy, .kkc-footer__links a { color: rgba(229, 231, 235, 0.5); font-size: var(--fs-aux); text-decoration: none; }
.kkc-footer__links { display: flex; align-items: center; gap: 1.25rem; }
.kkc-footer__age { padding: 0.25rem 0.6rem; border: 1px solid var(--color-border-inverse); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: var(--fs-small); font-weight: var(--fw-semibold); }

/* === ОБЩИЕ СТРУКТУРЫ СТРАНИЦ === */
.archive-shell, .single-shell, .page-shell { padding: 8rem 0 4rem; background: var(--color-bg-soft); }
.archive-shell__container, .single-shell__container, .page-shell__container, .search-shell__container, .error-shell__container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.archive-shell__title, .single-shell__title, .page-shell__title, .search-shell__title, .error-shell__title { margin: 0 0 1rem; color: var(--color-text); font-size: var(--fs-section); font-weight: var(--fw-semibold); letter-spacing: -0.02em; }
.archive-shell__lead, .single-shell__lead, .page-shell__lead, .search-shell__lead, .error-shell__lead { max-width: 60ch; color: rgba(15, 23, 42, 0.68); line-height: 1.7; }
.kkc-doc-list { display: grid; gap: 1rem; }
.kkc-doc-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 1rem; background: #fff; }
.kkc-doc-item__title { margin: 0 0 0.35rem; color: var(--color-text); font-weight: var(--fw-semibold); }
.kkc-doc-item__meta { color: rgba(15, 23, 42, 0.68); font-size: var(--fs-aux); }
.kkc-map-placeholder { display: flex; align-items: center; justify-content: center; min-height: 320px; border: 1px dashed rgba(115, 22, 55, 0.28); border-radius: 1.5rem; background: linear-gradient(180deg, #fff, #f8fafc); color: var(--color-primary); font-weight: var(--fw-semibold); }
.single-meta-list { display: grid; gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
.single-meta-item { display: flex; align-items: flex-start; gap: 0.55rem; color: rgba(15, 23, 42, 0.78); }
.single-meta-item strong { color: var(--color-text); }
.wp-block-image img { border-radius: 1rem; }

/* === СТРАНИЦА КОНТАКТЫ === */
#contacts-page { overflow-x: hidden; }
@media (max-width: 767px) {
  #contacts-page .container { padding-left: 1rem; padding-right: 1rem; }
  #contacts-page table { font-size: var(--fs-aux); }
  #contacts-page th, #contacts-page td { vertical-align: top; }
  #staff-table .overflow-x-auto { -webkit-overflow-scrolling: touch; }
}

/* === СТРАНИЦА О НАС === */
#about-live-block.animate-in { opacity: 1 !important; transform: translateY(0) !important; }

/* === СТРАНИЦА ВОПРОСЫ И ОТВЕТЫ === */
#faq-page .faq-content { transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease; opacity: 0; max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; }
#faq-page .faq-content.is-open { opacity: 1; max-height: 2000px; padding-top: 1rem; padding-bottom: 1.25rem; }
#faq-page .faq-button:hover .faq-icon { background-color: var(--color-bg-muted); transform: scale(1.05); }
#faq-page .faq-button:active .faq-icon { transform: scale(0.95); }
#faq-page .faq-icon svg { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
#faq-page .faq-item { transition: transform 0.3s ease, box-shadow 0.3s ease; }
#faq-page .faq-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
#faq-page .faq-content strong { color: var(--color-primary); font-weight: var(--fw-semibold); }
#faq-page .faq-content ul, #faq-page .faq-content ol { margin: 0.75rem 0 0.75rem 1.5rem; }
#faq-page .faq-content li { margin-bottom: 0.25rem; }

/* === КОНТЕНТ ЗАПИСЕЙ И СТРАНИЦ === */
.content-prose {
  color: var(--color-text);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}
.content-prose h2, .content-prose h3, .content-prose h4 { color: var(--color-text); font-weight: var(--fw-semibold); margin-top: 1.75em; margin-bottom: 0.75em; line-height: var(--lh-snug); }
.content-prose h2 { font-size: var(--fs-section); }
.content-prose h3 { font-size: var(--fs-heading); }
.content-prose p { margin-bottom: 1.25em; }
.content-prose p:last-child { margin-bottom: 0; }
.content-prose ul, .content-prose ol { padding-left: 1.4em; margin-bottom: 1.25em; list-style-position: outside; }
.content-prose ul { list-style-type: disc; }
.content-prose ol { list-style-type: decimal; }
.content-prose li { margin-bottom: 0.5em; }
.content-prose a { color: var(--color-primary); text-decoration: none; border-bottom: 1px dashed var(--color-primary); transition: border-bottom-style 0.2s; }
.content-prose a:hover { border-bottom-style: solid; }
.content-prose img { border-radius: var(--radius-xl); margin: 1.5em 0; max-width: 100%; height: auto; }
.content-prose blockquote { border-left: 3px solid var(--color-primary); font-style: italic; color: #4b5563; margin: 1.5em 0; background: var(--color-bg-soft); padding: 1rem 1rem 1rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.content-prose strong, .content-prose b { color: var(--color-text); font-weight: var(--fw-semibold); }
.content-prose hr { border: none; border-top: 1px solid var(--color-border); margin: 2em 0; }

/* === ДОСТУПНОСТЬ И СПЕЦИФИКА === */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; margin: 0; padding: 0.75rem 1rem; background: #fff; color: #0f172a; z-index: 999999; }
.houses-heading-link { color: rgb(115 22 55); }

/* === СТРАНИЦА С КОНТЕНТОМ (kkc-page-prose) === */
.kkc-page-prose { color: #374151; font-size: var(--fs-base); line-height: var(--lh-relaxed); }
.kkc-page-prose > *:first-child { margin-top: 0; }
.kkc-page-prose > *:last-child { margin-bottom: 0; }
.kkc-page-prose h2, .kkc-page-prose h3, .kkc-page-prose h4, .kkc-page-prose h5, .kkc-page-prose h6 { color: #111827; font-weight: 700; line-height: 1.3; margin-top: 1.75em; margin-bottom: 0.75em; }
.kkc-page-prose h2 { font-size: 1.5rem; }
.kkc-page-prose h3 { font-size: 1.25rem; }
.kkc-page-prose h4 { font-size: 1.125rem; }
.kkc-page-prose p { margin-bottom: 1.25em; }
.kkc-page-prose ul, .kkc-page-prose ol { margin-bottom: 1.25em; padding-left: 1.4em; }
.kkc-page-prose ul { list-style-type: disc; }
.kkc-page-prose ol { list-style-type: decimal; }
.kkc-page-prose li { margin-bottom: 0.5em; }
.kkc-page-prose ul ul { list-style-type: circle; margin-top: 0.5em; }
.kkc-page-prose ul ul ul { list-style-type: square; }
.kkc-page-prose ol ol { list-style-type: lower-alpha; margin-top: 0.5em; }
.kkc-page-prose a { color: #731637; text-decoration: none; border-bottom: 1px dashed #731637; transition: all 0.2s ease; }
.kkc-page-prose a:hover { border-bottom-style: solid; }
.kkc-page-prose strong, .kkc-page-prose b { color: #111827; font-weight: 600; }
.kkc-page-prose img { display: block; max-width: 100%; height: auto; margin: 1.5em 0; border-radius: 1rem; }
.kkc-page-prose figure { margin: 1.5em 0; }
.kkc-page-prose figure img { margin: 0; }
.kkc-page-prose figcaption { margin-top: 0.75em; color: #6b7280; font-size: var(--fs-aux); text-align: center; }
.kkc-page-prose blockquote { margin: 1.5em 0; padding: 1rem 1rem 1rem 1.25rem; border-left: 3px solid #731637; border-radius: 0 0.75rem 0.75rem 0; background: #f9fafb; color: #4b5563; font-style: italic; }
.kkc-page-prose hr { border: 0; border-top: 1px solid #e5e7eb; margin: 2em 0; }
.kkc-page-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; border: 1px solid #e5e7eb; border-radius: 1rem; display: block; overflow-x: auto; white-space: nowrap; }
.kkc-page-prose thead { background: #f9fafb; }
.kkc-page-prose th, .kkc-page-prose td { padding: 0.9rem 1rem; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.kkc-page-prose th { color: #111827; font-weight: 600; }
.kkc-page-prose td { color: #4b5563; }
.kkc-page-prose .wp-block-table { margin: 1.5em 0; overflow-x: auto; }
.kkc-page-prose .wp-block-button { margin-top: 1.25em; margin-bottom: 1.25em; }
.kkc-page-prose .wp-block-button__link { background: #731637; color: #fff; border-radius: 0.875rem; padding: 0.85rem 1.15rem; text-decoration: none; border: none; font-weight: 600; }
.kkc-page-prose .wp-block-button__link:hover { background: #5f112d; }
.kkc-page-prose .alignwide, .kkc-page-prose .alignfull { max-width: 100%; }

/* ================== GOSUSLUGI BANNER ================== */
#js-show-iframe-wrapper { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 293px; max-width: 100%; background: var(--pos-banner-fluid-104__background); color: #fff; cursor: pointer; }
#js-show-iframe-wrapper .pos-banner-fluid * { box-sizing: border-box; }
#js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2 { display: block; width: 100%; min-height: 52px; padding: 0; border: none; border-radius: 8px; outline: 0; background: #0d4cd3; color: #fff; font-size: var(--fs-base); line-height: 1.2; font-family: LatoWeb, sans-serif; font-weight: var(--fw-regular); cursor: pointer; }
#js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2:hover { background: #1d5deb; }
#js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2:focus, #js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2:active { background: #2a63ad; }
#js-show-iframe-wrapper .bf-104 { position: relative; display: grid; grid-template-columns: var(--pos-banner-fluid-104__grid-template-columns); grid-template-rows: var(--pos-banner-fluid-104__grid-template-rows); grid-auto-flow: row dense; width: 100%; max-width: var(--pos-banner-fluid-104__max-width); }
#js-show-iframe-wrapper .bf-104__decor { position: relative; background: var(--pos-banner-fluid-104__bg-url) var(--pos-banner-fluid-104__bg-url-position) no-repeat; background-size: cover; background-color: #f8efec; }
#js-show-iframe-wrapper .bf-104__content { display: flex; flex-direction: column; padding: var(--pos-banner-fluid-104__content-padding); grid-row: var(--pos-banner-fluid-104__content-grid-row); background-color: var(--pos-banner-fluid-104__content-bgc); }
#js-show-iframe-wrapper .bf-104__description { display: flex; flex-direction: column; margin: var(--pos-banner-fluid-104__description-margin); }
#js-show-iframe-wrapper .bf-104__text { margin: var(--pos-banner-fluid-104__text-margin); font-size: var(--pos-banner-fluid-104__text-font-size); line-height: 1.3; font-family: LatoWeb, sans-serif; font-weight: var(--fw-semibold); color: #0b1f33; }
#js-show-iframe-wrapper .bf-104__text_small { margin: 0; font-size: var(--pos-banner-fluid-104__text-small-font-size); font-weight: var(--fw-regular); }
#js-show-iframe-wrapper .bf-104__bottom-wrap { display: flex; flex-direction: row; align-items: center; }
#js-show-iframe-wrapper .bf-104__logo-wrap { position: absolute; top: var(--pos-banner-fluid-104__logo-wrap-top); left: 0; padding: var(--pos-banner-fluid-104__logo-wrap-padding); background: #fff; border-radius: 0 0 8px; box-shadow: var(--pos-banner-fluid-104__logo-box-shadow); }
#js-show-iframe-wrapper .bf-104__logo { width: var(--pos-banner-fluid-104__logo-width); margin-left: 1px; }
#js-show-iframe-wrapper .bf-104__slogan { font-family: LatoWeb, sans-serif; font-weight: var(--fw-semibold); font-size: var(--pos-banner-fluid-104__slogan-font-size); line-height: 1; color: #005ca9; }
#js-show-iframe-wrapper .bf-104__btn-wrap { width: 100%; max-width: var(--pos-banner-fluid-104__button-wrap-max-width); }
@keyframes fadeInFromNone { 0% { display: none; opacity: 0; } 1% { display: block; opacity: 0; } 100% { display: block; opacity: 1; } }

@font-face { font-family: LatoWebLight; src: url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Light.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Light.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Light.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-regular); }
@font-face { font-family: LatoWeb; src: url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Regular.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Regular.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Regular.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-regular); }
@font-face { font-family: LatoWebBold; src: url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Bold.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Bold.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Bold.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-semibold); }
@font-face { font-family: RobotoWebLight; src: url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Light.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Light.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Light.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-regular); }
@font-face { font-family: RobotoWebRegular; src: url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Regular.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Regular.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Regular.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-regular); }
@font-face { font-family: RobotoWebBold; src: url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Bold.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Bold.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Roboto/Roboto-Bold.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-semibold); }
@font-face { font-family: ScadaWebRegular; src: url(https://pos.gosuslugi.ru/bin/fonts/Scada/Scada-Regular.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Scada/Scada-Regular.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Scada/Scada-Regular.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-regular); }
@font-face { font-family: ScadaWebBold; src: url(https://pos.gosuslugi.ru/bin/fonts/Scada/Scada-Bold.woff2) format("woff2"), url(https://pos.gosuslugi.ru/bin/fonts/Scada/Scada-Bold.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Scada/Scada-Bold.ttf) format("truetype"); font-style: normal; font-weight: var(--fw-semibold); }
@font-face { font-family: Geometria; src: url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria.eot), url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria.eot?#iefix) format("embedded-opentype"), url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria.ttf) format("truetype"); font-weight: var(--fw-regular); font-style: normal; }
@font-face { font-family: Geometria-ExtraBold; src: url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria-ExtraBold.eot), url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria-ExtraBold.eot?#iefix) format("embedded-opentype"), url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria-ExtraBold.woff) format("woff"), url(https://pos.gosuslugi.ru/bin/fonts/Geometria/Geometria-ExtraBold.ttf) format("truetype"); font-weight: var(--fw-semibold); font-style: normal; }

/* === АДАПТИВНОСТЬ === */
@media (min-width: 1024px) { .slider-container-responsive { min-height: 650px; } }
@media (min-width: 1440px) { .slider-container-responsive { min-height: 700px; padding: 3rem 0; } }
@media (min-width: 1920px) {
  .slider-container-responsive { min-height: 750px; padding: 4rem 0; }
  .hero-slide-inner { padding: 3rem 2rem; }
  .hero-slide-grid { gap: 3rem; }
  .hero-slide-copy h2 { font-size: clamp(var(--fs-heading), 2.5vw, var(--fs-section)); }
  .hero-slide-copy p { font-size: clamp(var(--fs-base), 1.2vw, var(--fs-large)); }
  .floating-element, .floating-element-2 { transform: scale(1.2); }
  .blur-3xl { transform: scale(1.3); }
}
@media (min-width: 2560px) {
  .slider-container-responsive { min-height: 850px; padding: 5rem 0; }
  .hero-slide-inner { padding: 4rem 3rem; }
}

@media (max-width: 1280px) {
  .site-header__brand { max-width: 14rem; }
  .site-header__logo { height: 1.85rem; max-height: 29px; transform: scale(0.95); transform-origin: left center; }
  .site-header__desktop-menu > li > a { padding: 0.58rem 0.5rem; font-size: 0.93rem; gap: 0.36rem; }
  .site-header__desktop-menu { gap: 0; }
}

@media (max-width: 1024px) {
  .pk2__inner { grid-template-columns: 1fr; }
  .qn2__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev2__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kkc-news3__item { grid-template-columns: 200px 1fr 150px; }
  .kkc-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-header__desktop-nav { display: none !important; }
  #kkcMobileMenuToggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; }
  .site-header__drawer { display: none; }
  .site-header__drawer.is-open { display: block !important; }
  .site-header__drawer > ul > li.menu-item-has-children { position: relative !important; }
  .site-header__drawer > ul > li.menu-item-has-children > a,
  .site-header__drawer .sub-menu > li.menu-item-has-children > a { padding-right: 3.5rem !important; }
  .site-header__drawer .menu-item-has-children > a::after { content: none !important; display: none !important; }
  .site-header__drawer .kkc-submenu-toggle {
    position: absolute !important; top: 0.45rem !important; right: 0.5rem !important;
    width: 2.5rem !important; height: 2.5rem !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    border: 0 !important; background: transparent !important; color: var(--color-primary) !important;
    cursor: pointer !important; z-index: 3 !important; border-radius: 0.8rem !important;
    appearance: none !important; -webkit-appearance: none !important;
  }
  .site-header__drawer .kkc-submenu-toggle:hover,
  .site-header__drawer .kkc-submenu-toggle:focus-visible { background: rgba(115, 22, 55, 0.08) !important; outline: none !important; }
  .site-header__drawer .kkc-submenu-toggle span {
    display: block !important; width: 0.7rem !important; height: 0.7rem !important;
    border-right: 2px solid currentColor !important; border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important; transition: transform 0.25s ease !important; pointer-events: none !important;
  }
  .site-header__drawer .menu-item-has-children.is-open > .kkc-submenu-toggle span { transform: rotate(225deg) !important; }
  .site-header__drawer .sub-menu { display: none !important; width: 100% !important; margin-top: 0.5rem !important; padding-left: 0.5rem !important; flex-direction: column !important; gap: 0.25rem !important; }
  .site-header__drawer .menu-item-has-children.is-open > .sub-menu { display: flex !important; }
  .site-header__drawer .sub-menu .menu-item-has-children { position: relative !important; }
  .site-header__drawer .sub-menu .kkc-submenu-toggle { top: 0.2rem !important; right: 0.2rem !important; width: 2.3rem !important; height: 2.3rem !important; }
  .site-header__drawer .sub-menu a { position: relative !important; display: block !important; width: 100% !important; }
  .site-header__drawer .sub-menu .sub-menu { padding-left: 0.75rem !important; margin-top: 0.25rem !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .site-header__panel { left: 0.75rem !important; right: 0.75rem !important; width: auto !important; max-width: none !important; }
  .site-header__drawer { top: calc(var(--kkc-header-offset, 16px) + 4.75rem) !important; left: 0.75rem !important; right: 0.75rem !important; width: auto !important; max-width: none !important; }
}

@media (max-width: 900px) { .kkc-footer__grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 820px) {
  .kkc-news3__item { grid-template-columns: 150px 1fr; }
  .kkc-news3__img { width: 150px; height: 126px; }
  .kkc-news3__side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }
  .site-header__mobile { display: block; }
  .mobile-has-bottom-nav { padding-bottom: calc(6.75rem + env(safe-area-inset-bottom)); }
  .sticky-header { top: 0.75rem; right: 0.75rem; left: 0.75rem; border-radius: 1.25rem; }
  .sticky-header .header-inner { height: 3.75rem; }
  .sticky-header.scrolled { box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12); }
  .sticky-header.scrolled .header-inner { height: 3.25rem; }
  .sticky-header h1 { font-size: var(--fs-aux); line-height: 1.1; }
  .sticky-header .w-10.h-10 { width: 2.25rem; height: 2.25rem; border-radius: 0.9rem; }
  .hero-mobile-section { min-height: auto; padding-top: 6.75rem; padding-bottom: 3.5rem; }
  .hero-mobile-section .floating-element, .hero-mobile-section .floating-element-2, .hero-mobile-section .blur-3xl { display: none; }
  .slider-container { height: auto; min-height: 650px; padding-bottom: 8rem !important; margin-bottom: 1rem; }
  .slide { position: relative; inset: auto; height: auto; opacity: 1; transform: none; pointer-events: auto; }
  .slide:not(.active) { display: none; }
  .slide-card { height: auto; min-height: 100%; border-radius: 1.5rem; }
  .slide:last-child .slide-card { margin-bottom: 0; }
  .slider-container + div.flex.justify-center { position: relative; z-index: 30; margin-top: -7rem; pointer-events: auto; }
  .slider-container + div.flex.justify-center + div.flex.flex-col { position: relative; z-index: 30; margin-top: 1rem; pointer-events: auto; }
  .hero-slide-inner { padding: 1.25rem; }
  .hero-slide-grid { display: flex; flex-direction: column; justify-content: flex-start; gap: 1.25rem; height: auto; }
  .hero-slide-media { order: -1; }
  .hero-slide-media .card-3d { width: 100%; max-width: 220px; margin: 0 auto; }
  .hero-slide-media .w-72 { width: 100%; }
  .hero-slide-copy { gap: 0.875rem; text-align: center; }
  .hero-slide-copy h2 { font-size: var(--fs-heading); line-height: 1.1; }
  .hero-slide-copy p { font-size: var(--fs-aux); line-height: 1.55; }
  .hero-slide-copy .inline-flex { align-self: center; }
  .hero-slide-copy .space-y-2 > div { justify-content: center; }
  .hero-slide-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; padding-bottom: 0.5rem; }
  .hero-slide-actions button { width: 100%; justify-content: center; }
  .houses-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .houses-heading-link { padding: 0; }
  .side-nav-arrow { display: none; }
  .ev2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qn2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kkc-mobile-bottom-nav, .mobile-bottom-nav { display: grid; }
  .site-header__panel { top: 0 !important; left: 0 !important; right: 0 !important; max-width: 100% !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0.75rem; padding-right: 0.75rem; transform: none !important; }
  .site-header__panel .sticky-header { margin-top: 0.75rem; }
  .site-header__drawer { top: 4.75rem !important; left: 0.75rem !important; right: 0.75rem !important; max-width: none !important; width: auto !important; }
  html.bvi-active .site-header__panel, body.bvi-active .site-header__panel { top: var(--kkc-header-offset, 0px) !important; left: 0 !important; right: 0 !important; padding-left: 0.75rem; padding-right: 0.75rem; }
  html.bvi-active .site-header__panel .sticky-header, body.bvi-active .site-header__panel .sticky-header { margin-top: 0 !important; }
  html.bvi-active .site-header__drawer, body.bvi-active .site-header__drawer { top: calc(var(--kkc-header-offset, 0px) + 4.75rem) !important; }
  .content-prose { font-size: var(--fs-aux); line-height: var(--lh-normal); }
  .content-prose h2 { font-size: var(--fs-heading); }
  .content-prose h3 { font-size: var(--fs-aux); font-weight: var(--fw-semibold); }
}

@media (max-width: 760px) {
  .kkc-news3__item { grid-template-columns: 1fr; }
  .kkc-news3__img { height: 180px; }
  .kkc-news3__side { align-items: flex-start; }
}

@media (max-width: 640px) {
  .qn2__grid, .kkc-footer__grid { grid-template-columns: 1fr; }
  .kkc-news3__item { gap: 12px; padding: 14px; border-radius: 20px; }
  .kkc-news3__img { width: 100%; height: 188px; border-radius: 16px; }
  .kkc-news3__content { gap: 8px; padding: 0; }
  .kkc-news3__headline { font-size: var(--fs-base); line-height: 1.24; -webkit-line-clamp: 3; }
  .kkc-news3__desc { font-size: var(--fs-small); line-height: 1.55; -webkit-line-clamp: 3; }
  .kkc-news3__side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .kkc-news3__cta { order: 2; width: 100%; justify-content: space-between; padding: 10px 12px; border-radius: 14px; }
  .kkc-news3__ctaIcon { width: 32px; height: 32px; border-radius: 12px; }
}

@media (max-width: 600px) {
  .kkc-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .kkc-footer__bottom { flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
  .kkc-footer__links { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 520px) { .ev2__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .qn2__grid { grid-template-columns: 1fr; }
  .pushkin_inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .pushkin_left, .pushkin_right { display: flex; justify-content: center; align-items: center; }
  .pushkin_content { align-items: center; max-width: 100%; }
  .pushkin_text_link { justify-content: center; }
  .pushkin { padding: clamp(1.5rem, 5vw, 2rem) 0; }
  .pushkin_heading { font-size: clamp(1.15rem, 5vw, 1.4rem); }
  .pushkin_desc { font-size: 0.95rem; }
  .pushkin_img { max-height: 120px; }
  .pushkin_moving_gradient { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .kkc-news3__item, .kkc-news3__img img, .kkc-news3__cta, .kkc-news3__ctaIcon,
  .card-3d, .side-nav-arrow, .nav-arrow, .ev2__card, .ev2__img, .qn2__card, .qn2__img,
  .site-header__desktop-menu > li > a, .site-header__desktop-menu .sub-menu { transition: none; }
  .kkc-news3__item:hover, .ev2__card:hover, .qn2__card:hover, .card-3d:hover { transform: none; }
  .pushkin_moving_gradient, .star, .pushkin_img { animation: none !important; opacity: 0.8 !important; }
  .pushkin_img { filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.3)); }
  .pushkin_text_link, .pushkin_text_link::after, .pushkin_arrow { transition: none; }
  .pushkin_text_link:hover, .pushkin_text_link:active { gap: 10px; }
  .pushkin_text_link:hover .pushkin_arrow { transform: none; }
}

/* === ПАГИНАЦИЯ === */
.page-numbers { background: transparent !important; border: none !important; box-shadow: none !important; }

/* === EVENT SINGLE — контент события === */
#event-single .content-prose {
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

#event-single .content-prose ul {
  list-style-type: disc;
  padding-left: 1.1em;
}

#event-single .content-prose ol {
  list-style-type: decimal;
  padding-left: 1.1em;
}

#event-single .content-prose li {
  margin-bottom: 0.35em;
}

#event-single .content-prose img,
#event-single .content-prose iframe,
#event-single .content-prose video {
  max-width: 100%;
  height: auto;
}

#event-single .content-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

### ПРАВКИ ПРОДОВЫЕ ###

.page-numbers.current {
    background: #278E4A !important;
    padding: .5em;
    border-radius: 1em;
    text-align: center;
}