/* Дополнения к теме шаблона: то, чего в ней нет, и правки под телефоны.
   Подключается после theme.min.css. */

/* ── Брендовые оттенки, согласованные с логотипом ───────────────────── */
:root {
  --site-primary: #1f5aa8;
  --site-dark: #12233d;
}

.btn-primary {
  --ar-btn-bg: var(--site-primary);
  --ar-btn-border-color: var(--site-primary);
  --ar-btn-hover-bg: #17457f;
  --ar-btn-hover-border-color: #17457f;
}

.btn-outline-primary {
  --ar-btn-color: var(--site-primary);
  --ar-btn-border-color: var(--site-primary);
  --ar-btn-hover-bg: var(--site-primary);
  --ar-btn-hover-border-color: var(--site-primary);
}

.btn-outline-brand {
  --ar-btn-color: var(--site-primary);
  --ar-btn-border-color: rgba(31, 90, 168, .35);
  --ar-btn-hover-bg: var(--site-primary);
  --ar-btn-hover-border-color: var(--site-primary);
}

a {
  color: var(--site-primary);
}

.text-primary {
  color: var(--site-primary) !important;
}

.bg-primary {
  background-color: var(--site-primary) !important;
}

.bg-primary-subtle {
  background-color: rgba(31, 90, 168, .1) !important;
}

/* ── Главная страница ───────────────────────────────────────────────── */
.home-page {
  --home-accent: #1f5aa8;
  --home-muted: #4f6075;
  --home-line: #dce4ed;
  --home-panel: #f1f5f9;
  --home-card: #ffffff;
  --home-warm: #a97834;
  --site-primary: var(--home-accent);
}

.dark-mode .home-page {
  --home-accent: #9dc6ff;
  --home-muted: #b6c2d1;
  --home-line: #354353;
  --home-panel: #19232e;
  --home-card: #202c39;
  --home-warm: #d2ab72;
}

.home-page .btn-primary,
.home-page .bg-primary {
  --site-primary: #1f5aa8;
}

.dark-mode .home-page .btn-outline-primary {
  --ar-btn-hover-color: #10233c;
}

.home-page .page-wrapper .text-muted {
  color: var(--home-muted) !important;
}

.home-page .navbar .nav-link.active {
  color: var(--home-accent);
}

@media (min-width: 992px) and (max-width: 1279.98px) {
  :is(.home-page, .news-page) .navbar {
    --ar-navbar-nav-link-padding-x: .5rem;
    --ar-navbar-brand-margin-end: .75rem;
  }

  :is(.home-page, .news-page) .navbar .nav-link {
    font-size: .9375rem;
  }

  :is(.home-page, .news-page) .navbar .btn-sm {
    --ar-btn-padding-x: .9rem;
  }
}

.hero {
  --hero-paper: #edf2f8;
  --hero-scrim: linear-gradient(90deg, #f6f8fb 4%, rgba(246, 248, 251, .94) 30%, rgba(238, 243, 249, .4) 72%, rgba(238, 243, 249, .17));
  --hero-fade: linear-gradient(180deg, #f0f4f9, transparent 29%, transparent 78%, var(--ar-body-bg));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero-paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-bg::before {
  background: url("../img/hero/dagestan-ridges.webp") center 70% / cover no-repeat;
}

.hero-bg::after {
  background: var(--hero-fade), var(--hero-scrim);
}

.hero-bg.is-moving::before {
  top: -22px;
  transform: translateY(var(--hero-scroll-offset, 0px));
}

.dark-mode .hero {
  --hero-paper: #131d27;
  --hero-scrim: linear-gradient(90deg, #131c27 4%, rgba(19, 28, 39, .96) 31%, rgba(19, 28, 39, .72) 73%, rgba(19, 28, 39, .55));
  --hero-fade: linear-gradient(180deg, #121922, transparent 29%, transparent 78%, var(--ar-body-bg));
}

.hero-row {
  padding-block: clamp(6rem, 11vw, 8rem) 2.5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--home-accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-location::before {
  content: "";
  width: 1.65rem;
  height: 2px;
  background: var(--home-warm);
}

.hero-title {
  max-width: 17ch;
  font-size: clamp(2rem, 4.25vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hero-title span {
  display: block;
  margin-top: .55em;
  color: var(--home-accent);
  font-size: .54em;
  letter-spacing: -.02em;
}

.hero-description {
  max-width: 46ch;
  color: var(--home-muted);
}

.hero-parallax-wrap {
  position: relative;
  max-width: 550px;
}

.hero-parallax-wrap::before {
  content: "";
  position: absolute;
  inset: 5%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .68), transparent 70%);
}

.dark-mode .hero-parallax-wrap::before {
  background: radial-gradient(ellipse, rgba(105, 162, 226, .24), transparent 70%);
}

@media (min-width: 992px) {
  .hero-row {
    min-height: 88vh;
    min-height: 88svh;
    padding-block: 6.5rem 3rem;
  }
}

@media (max-width: 991.98px) {
  .hero {
    --hero-scrim: linear-gradient(180deg, #f6f8fb 12%, rgba(246, 248, 251, .98) 37%, rgba(238, 243, 249, .45) 74%);
  }

  .dark-mode .hero {
    --hero-scrim: linear-gradient(180deg, #131c27 12%, #131c27 36%, rgba(19, 28, 39, .57) 74%);
  }

  .hero-bg::before {
    background-position: 64% center;
  }

  .hero-title {
    max-width: 22ch;
  }

  .hero-parallax-wrap {
    max-width: 420px;
  }
}

.home-section {
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.home-activities {
  padding-top: clamp(1.75rem, 3vw, 3rem);
}

.home-panel {
  border-block: 1px solid var(--home-line);
  background: var(--home-panel);
}

.home-card {
  --ar-card-bg: var(--home-card);
  --ar-card-border-color: var(--home-line);
  --ar-card-border-radius: 1rem;
}

.home-card-icon {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: .7rem;
  background: var(--home-panel);
  color: var(--home-accent);
}

.home-portrait {
  max-width: 380px;
}

.home-portrait-role {
  letter-spacing: .08em;
}

.hero-portrait-backdrop {
  height: 82%;
  border-radius: 2.25rem 8rem 2.25rem 2.25rem;
  background: linear-gradient(145deg, #17375a, #3e6893);
}

.home-quote {
  border-inline-start: 2px solid var(--home-warm);
  font-size: 1.125rem;
}

.home-news-shade {
  background: linear-gradient(180deg, rgba(12, 22, 36, .08) 10%, rgba(12, 22, 36, .94) 82%);
}

.home-news-category {
  color: var(--home-accent);
  font-size: .8rem;
  font-weight: 600;
}

.home-news-list > :last-child:nth-child(odd) {
  width: 100%;
}

.home-contact {
  background: radial-gradient(ellipse at top right, #2c527a, transparent 68%), #152b45;
}

.home-contact p {
  color: #d5e1ef;
}

/* ── Карточки новостей ──────────────────────────────────────────────── */
.news-card-featured {
  min-height: 320px;
  position: relative;
}

.news-card-featured-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.news-thumb {
  aspect-ratio: 9 / 6;
  background-color: var(--ar-gray-200);
}

.news-thumb img {
  height: 100%;
  object-fit: cover;
}

.news-list-card {
  --ar-card-border-radius: 1rem;
}

@media (min-width: 768px) {
  .news-list-lead {
    width: 100%;
  }

  .news-list-lead .news-list-card {
    flex-direction: row;
    align-items: center;
  }

  .news-list-lead .news-thumb {
    flex: 0 0 42%;
  }

  .news-list-lead h2 {
    font-size: clamp(1.375rem, 2vw, 1.875rem);
  }
}

.news-list-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-list-card:hover h2 a,
.news-list-card h2 a:focus-visible {
  text-decoration: underline;
}

.news-page .page-wrapper .text-muted {
  color: #4f6075 !important;
}

.dark-mode .news-page .page-wrapper .text-muted {
  color: #b6c2d1 !important;
}

.dark-mode .news-page .page-wrapper a:not(.btn) {
  color: #9dc6ff;
}

.dark-mode .news-page .page-wrapper .btn-outline-primary,
.dark-mode .news-page .page-wrapper .btn-outline-brand {
  --site-primary: #9dc6ff;
  --ar-btn-hover-color: #10233c;
}

/* ── Параллакс на первом экране ─────────────────────────────────────── */
.hero-parallax {
  position: relative;
  aspect-ratio: 1;
}

.hero-parallax .parallax-layer {
  position: absolute;
  inset: 0;
}

.hero-parallax .parallax-layer img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-parallax-eagle img {
  transform: scaleX(-1);
}

@media (max-width: 767.98px) {
  .hero-row {
    --ar-gutter-y: 1rem;
    padding-top: 5.5rem;
  }

  .hero-parallax .parallax-layer:not(.hero-parallax-base) {
    display: none;
  }

  .hero-parallax-wrap {
    max-width: 340px;
  }

  .hero-parallax {
    max-width: 280px;
    margin-inline: auto;
  }
}

/* ── Даты мероприятий ───────────────────────────────────────────────── */
.event-date {
  min-width: 4.5rem;
  padding: .75rem .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Текст рядом с датой должен уметь сжиматься, иначе на планшете
   карточка вылезает за экран */
.event-date + div {
  min-width: 0;
}

/* ── Совет диаспоры ─────────────────────────────────────────────────── */
.council-photo {
  aspect-ratio: 1036 / 1280;
  background-color: var(--ar-gray-200);
}

.council-photo img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.dark-mode .council-photo {
  background-color: #1b2029;
}

/* ── Карта ──────────────────────────────────────────────────────────── */
.map-embed {
  position: relative;
  min-height: 320px;
}

.map-embed iframe,
.map-embed > div:not(.map-embed-placeholder) {
  display: block;
  width: 100% !important;
  min-height: 320px;
}

.map-embed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 1.5rem;
  text-align: center;
  color: var(--ar-gray);
}

/* ── Мобильные правки ───────────────────────────────────────────────── */

/* Внутренние отступы секций на телефоне заметно меньше, чем на десктопе */
@media (max-width: 575.98px) {
  .display-5 {
    font-size: 2rem;
  }

  .display-1 {
    font-size: 4rem;
  }

  .fs-lg {
    font-size: 1.0625rem !important;
  }

  /* Кнопки первого экрана: обычного размера, в ряд, пока помещаются.
     На всю ширину их не тянем — на телефоне это выглядело как плашка. */
  .hero-actions .btn {
    flex: 0 1 auto;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 375px) {
  .hero-actions .btn {
    padding-inline: .9rem;
    font-size: .9rem;
  }
}

/* Планшеты: карточки совета по две в ряд, а не по одной */
@media (max-width: 991.98px) {
  .position-lg-sticky {
    position: static !important;
  }
}

/* ── Движение интерфейса ────────────────────────────────────────────── */
@keyframes hero-ornament-spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes site-reveal {
  from {
    opacity: .42;
    translate: 0 1rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-parallax-ornament img {
    animation: hero-ornament-spin 140s linear infinite;
  }

  .hero.is-out-of-view .hero-parallax-ornament img {
    animation-play-state: paused;
  }

  .site-reveal-pending:not(:focus-within) {
    opacity: .42;
    translate: 0 1rem;
  }

  .site-reveal:not(:focus-within) {
    animation: site-reveal .52s ease-out var(--reveal-delay, 0ms) backwards;
  }
}

@media (min-width: 992px) {
  .home-activities [data-reveal]:nth-child(2) {
    --reveal-delay: 55ms;
  }

  .home-activities [data-reveal]:nth-child(3) {
    --reveal-delay: 110ms;
  }

  .home-activities [data-reveal]:nth-child(4) {
    --reveal-delay: 165ms;
  }
}

/* Уважаем системную настройку «меньше анимации» */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Выпадающее меню в шапке ──────────────────────────────────────────
   Тема шаблона раскрывает подменю только по наведению мыши и намеренно
   гасит состояние .show от Bootstrap. На планшете и на клавиатуре это
   делает раздел недостижимым, поэтому разрешаем оба способа. */
@media (min-width: 992px) {
  .navbar-expand-lg .dropdown-menu.show {
    display: block;
    animation: none;
  }

  /* Между пунктом и подменю остаётся зазор — он ловит курсор,
     иначе меню схлопывается по дороге. */
  .navbar-expand-lg .dropdown::before {
    content: "";
  }
}

/* ── Дополнения темы WordPress ──────────────────────────────────────── */

/* Пагинация WordPress в стиле Bootstrap */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  list-style: none;
  padding: 0;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .5rem;
  border: 1px solid rgba(31, 90, 168, .3);
  border-radius: var(--ar-border-radius);
  color: var(--site-primary);
  text-decoration: none;
  font-size: .9375rem;
}

.pagination .page-numbers.current {
  background: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}

.pagination .page-numbers:hover {
  background: rgba(31, 90, 168, .1);
}

/* Убираем лишние отступы у встроенных блоков WordPress */
.news-body > *:last-child,
.fs-lg > *:last-child {
  margin-bottom: 0;
}

.news-body blockquote {
  border-left: 4px solid var(--site-primary);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.news-body blockquote footer {
  font-size: .875rem;
  color: var(--ar-gray);
}

.news-body img,
.fs-lg img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Блок галереи WordPress */
.wp-block-gallery {
  margin-bottom: 1.5rem;
}

/* Меню в подвале: ссылки в цвет темы */
.footer .nav-link {
  color: var(--ar-gray-800);
}

.footer .nav-link:hover {
  color: var(--site-primary);
}

/* ── Название в шапке ────────────────────────────────────────────────
   Короткое название не помещалось и обрезалось многоточием. Даём ему
   достаточно места, уменьшаем кегль и разрешаем перенос строки. */
.navbar-brand {
  flex-shrink: 0;
  max-width: none;
}

.navbar-brand span {
  max-width: 200px !important;
  min-width: 0;
  font-size: 15px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* ── Шапка: непрозрачный фон при прокрутке ───────────────────────────
   Тема делает фон только по классу .navbar-stuck, который ставит скрипт.
   Если скрипт не сработал, текст страницы просвечивает через меню,
   поэтому фон задаём постоянно. */
.navbar.fixed-top {
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(18, 35, 61, .08);
}

.dark-mode .navbar.fixed-top {
  background-color: #121519;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

/* ── Плашка с датой мероприятия ──────────────────────────────────────
   Не растягивается по высоте карточки: держит собственный размер. */
.event-date {
  align-self: flex-start;
  min-height: 4.5rem;
  justify-content: center;
}
/* ── Пагинация ───────────────────────────────────────────────────────
   WordPress по умолчанию выводит голые ссылки подряд. Здесь — кнопки
   в стиле темы: рамка, отступы, подсветка текущей страницы. */
.nkc-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.nkc-pagination .page-numbers,
.nkc-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  border: 1px solid rgba(31, 90, 168, .25);
  border-radius: .5rem;
  color: var(--site-primary);
  text-decoration: none;
  font-size: .9375rem;
  background: #fff;
  transition: background-color .15s, border-color .15s, color .15s;
}

.nkc-pagination .page-numbers:hover,
.nkc-pagination .page-link:hover {
  background: rgba(31, 90, 168, .08);
  border-color: rgba(31, 90, 168, .45);
}

/* Активная страница: важнее общего правила ссылки из темы шаблона */
.nkc-pagination .page-item.active .page-link,
.nkc-pagination .page-item.active > .page-link,
.nkc-pagination .page-link.current,
.nkc-pagination .page-numbers.current {
  background-color: var(--site-primary) !important;
  border-color: var(--site-primary) !important;
  color: #fff !important;
  font-weight: 600;
}

.nkc-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: 1.5rem;
  padding: 0 .25rem;
}

.dark-mode .nkc-pagination .page-numbers,
.nkc-pagination .page-link {
  background: #1a222e;
  color: #9ec0ef;
  border-color: rgba(158, 192, 239, .25);
}

.dark-mode .nkc-pagination .page-numbers.current {
  background: var(--site-primary);
  color: #fff;
}
/* ── Галерея ─────────────────────────────────────────────────────────
   Плитки фиксированной пропорции: фото и видео в одной сетке смотрятся
   ровно, без разнобоя по высоте. */
.gallery-tile {
  aspect-ratio: 4 / 3;
  background-color: var(--ar-gray-200);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile .ratio {
  position: absolute;
  inset: 0;
}

.gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 1.25rem;
  pointer-events: none;
}

.gallery-card figcaption {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark-mode .gallery-tile {
  background-color: #1a222e;
}
/* ── Шапка: шесть разделов в один ряд ───────────────────────────────
   С «Галереей» пунктов стало шесть и текст названия перестал помещаться.
   До 1440 px оставляем логотип, на широких экранах возвращаем название.
   Кнопку «Интернет-приёмная» на ноутбуках прячем — она есть в мобильном
   меню и в подвале. */
@media (max-width: 1439.98px) {
  .navbar-brand span { display: none !important; }
}

@media (min-width: 1440px) {
  .navbar-brand span { display: block !important; }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .navbar > .container > a.btn-primary { display: none !important; }
}
/* ── Всплывающее окно галереи ────────────────────────────────────────
   Видео и фото открываются крупно поверх страницы, а не в плитке. */
.gallery-modal {
  width: min(1100px, 92vw);
  max-width: 1100px;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #0d1117;
  color: #fff;
  overflow: visible;
}

.gallery-modal::backdrop {
  background: rgba(6, 12, 22, .82);
  backdrop-filter: blur(3px);
}

.gallery-modal__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.gallery-modal__body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  max-height: 78vh;
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-modal__body img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 1rem;
}

.gallery-modal__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.gallery-modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

.gallery-modal__title {
  margin: 0;
  padding: .75rem 1rem 0;
  font-size: .9375rem;
  opacity: .8;
  text-align: center;
}

.gallery-modal__close,
.gallery-modal__nav {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s;
}

.gallery-modal__close:hover,
.gallery-modal__nav:hover {
  background: rgba(255, 255, 255, .28);
}

.gallery-modal__close {
  top: -3rem;
  right: 0;
}

.gallery-modal__nav {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-modal__prev { left: -3.25rem; }
.gallery-modal__next { right: -3.25rem; }

@media (max-width: 1199.98px) {
  .gallery-modal__prev { left: .5rem; }
  .gallery-modal__next { right: .5rem; }
  .gallery-modal__close { top: .5rem; right: .5rem; }
}

html.gallery-modal-open { overflow: hidden; }

/* Счётчик фотографий в наборе */
.gallery-count {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  z-index: 2;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(6, 12, 22, .7);
  color: #fff;
  font-size: .8125rem;
}
/* ── Реквизиты для пожертвований ─────────────────────────────────────
   Каждое значение — кнопка: нажал и скопировал. Длинные номера счёта
   вручную вводят с ошибками, поэтому копирование важнее оформления. */
.bank-details__row + .bank-details__row {
  border-top: 1px solid var(--ar-border-color);
}

.bank-details__label {
  min-width: 11rem;
  padding-top: .15rem;
}

.bank-details__copy {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px dashed rgba(31, 90, 168, .4);
  transition: color .15s, border-color .15s;
}

.bank-details__copy:hover {
  color: var(--site-primary);
  border-bottom-color: var(--site-primary);
}

.bank-details__copy.is-copied {
  color: #1a7f4b;
  border-bottom-color: #1a7f4b;
}

.bank-details__copy.is-error {
  color: #c0392b;
  border-bottom-color: #c0392b;
}

/* Место под QR-код: пока картинки нет — пунктирная рамка того же размера */
.donate-qr img {
  max-width: 220px;
}

.donate-qr--empty {
  aspect-ratio: 1;
  max-width: 220px;
  margin-inline: auto;
  border: 2px dashed rgba(31, 90, 168, .3);
  border-radius: 1rem;
}

.dark-mode .donate-qr--empty {
  border-color: rgba(158, 192, 239, .3);
}

.dark-mode .bank-details {
  border-color: rgba(255, 255, 255, .12);
}
/* ── Председатель под текстом задачи ─────────────────────────────────
   Раньше подпись стояла под портретом, но там она читалась как часть
   фотографии. Теперь ФИО идёт отдельной строкой под «Нашей задачей»,
   с короткой чертой в цвет бренда. */
.home-chairman__line {
  display: block;
  width: 2.5rem;
  height: 2px;
  border-radius: 2px;
  background-color: var(--site-accent, #c8a24a);
}

.home-chairman {
  padding-top: .25rem;
}
