/* ══════════════════════════════════════
   ABOUT PAGE  — assets/css/about.css
══════════════════════════════════════ */

/* ══════════════════════════════
   FOUNDERS SLIDER
══════════════════════════════ */
.founder-slider {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
}

.founder-slider__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 360px;
  border-radius: 24px;
}

.founder-slider__track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.founder-slider__slide {
  flex: 0 0 100%;
  height: 100%;
}

.founder-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* controls — overlaid on the photo */
.founder-slider__controls {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}

.founder-slider__btn {
  pointer-events: all;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.founder-slider__btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.founder-slider__btn:disabled { opacity: .3; cursor: default; }

.founder-slider__dots {
  pointer-events: all;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
}

.founder-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.founder-slider__dot.active {
  background: var(--orange);
  transform: scale(1.35);
}

/* match slider height to text column on desktop */
@media (min-width: 992px) {
  .founder-slider__viewport { min-height: 460px; }
}
@media (max-width: 991px) {
  .founder-slider__viewport { min-height: 280px; }
}

/* ══════════════════════════════
   HISTORY PAGE — 3-column timeline
   [photo] | [year • line] | [text]
══════════════════════════════ */

.hist-timeline {
  position: relative;
}
/* Суцільна вертикальна лінія через весь timeline */
/* Позиція: ліво фото-колонки (28%) + половина node-колонки (100px/2 = 50px) */
.hist-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: calc(28% + 91px); /* 28% (фото) + 100px (node) - 18px/2 (центр крапки) */
  width: 2px;
  background: linear-gradient(to bottom, var(--orange) 85%, rgba(255,153,0,.15));
  z-index: 0;
}

/* ── Each item: 3 columns ─── */
.hist-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 52px;
}
.hist-item--last { padding-bottom: 0; }

/* ── LEFT col: photo ─── */
.hist-left {
  flex: 0 0 28%;
  max-width: 28%;
  padding-right: 28px;
}
.hist-left img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* Gallery variant (2022-2023) */
.hist-left--gallery {
  flex: 0 0 28%;
  max-width: 28%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 28px;
}
.hist-gallery-main {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.hist-gallery-row {
  display: flex;
  gap: 6px;
}
.hist-gallery-row img {
  flex: 1;
  width: 0;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

/* Empty left for last item */
.hist-left--empty {
  flex: 0 0 28%;
  max-width: 28%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 28px;
}
.hist-left-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,153,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--orange);
}

/* ── CENTER col: year (left) + dot (right, on line) ─── */
.hist-node {
  flex: 0 0 100px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  padding-top: 6px;
  z-index: 1;
  gap: 10px;
}

.hist-year {
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange);
  text-align: right;
  line-height: 1.3;
  white-space: normal;
  word-break: keep-all;
  flex: 1;
}
.hist-year--active { color: var(--orange); }

.hist-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F2F2F2;
  border: 3px solid var(--orange);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.hist-dot--active {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255,153,0,.2);
}

/* ── RIGHT col: text ─── */
.hist-body {
  flex: 1;
  padding-left: 36px;
  padding-top: 2px;
}

.hist-heading {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

/* Quote */
.hist-quote {
  margin: 14px 0 0;
  padding: 12px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(255,153,0,.07);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
  font-size: .93rem;
}

/* Accent body (2024-2026) */
.hist-body--accent {
  background: var(--orange);
  border-radius: 20px;
  padding: 32px 36px;
  color: #fff;
  margin-left: 16px;
}
.hist-body--accent .hist-heading { color: #fff; }
.hist-body--accent p {
  color: rgba(255,255,255,.9);
  margin-bottom: 18px;
}

/* Checklist grid */
.hist-grid-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px 24px;
}
.hist-grid-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #fff;
  font-size: .93rem;
  line-height: 1.5;
}
.hist-grid-list .bi {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: .88rem;
  opacity: .85;
}

/* ── Tablet ─── */
@media (max-width: 991px) {
  .hist-timeline::before { left: calc(28% + 81px); } /* 90px node - 9px */
  .hist-node { flex: 0 0 90px; }
  .hist-year { font-size: .85rem; }
}

/* ── Mobile ─── */
@media (max-width: 767px) {
  /* суцільна лінія — зафіксована зліва */
  .hist-timeline::before {
    left: 7px;
    top: 0;
    bottom: 0;
  }

  .hist-item {
    flex-direction: column;
    padding-bottom: 40px;
    padding-left: 32px;
    position: relative;
  }
  .hist-item--last { padding-bottom: 0; }

  /* dot — на лінії */
  .hist-node {
    position: absolute;
    left: 0;
    top: 0;
    flex: none;
    width: 16px;
    padding-top: 0;
  }
  .hist-year { display: none; }
  .hist-dot { width: 14px; height: 14px; }

  .hist-left,
  .hist-left--gallery {
    flex: none;
    max-width: 100%;
    width: 100%;
    padding-right: 0;
    margin-top: 14px;
    order: 2;
  }
  .hist-left--empty { display: none; }

  .hist-body { order: 1; padding-left: 0; width: 100%; }

  .hist-heading::before {
    content: attr(data-year);
    display: block;
    font-size: .88rem;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 4px;
  }

  .hist-body--accent { padding: 24px 20px; }
  .hist-grid-list { grid-template-columns: 1fr; }
}

/* ── Section padding ─────────────────── */
.section-pad {
  padding: 80px 0;
}

/* ── Section label (orange eyebrow) ─────*/
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 153, 0, .12);
  padding: 4px 12px;
  border-radius: 4px;
}

/* ── Section title ───────────────────── */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

/* ══════════════════════════════
   INTRO — Про організацію
══════════════════════════════ */
.about-intro {
  background: #fff;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: #444;
  font-size: .975rem;
  line-height: 1.55;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

/* Photo wrapper */
.about-photo-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
}

.about-main-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ── Mission row: photo left, cards right, equal height ── */
.mission-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.mission-photo-col {
  flex: 0 0 50%;
  display: flex;
}

.mission-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
  width: 100%;
}

.mission-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mission-cards-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mission-cards-col .mission-card {
  flex: 1;
}

@media (max-width: 991px) {
  .mission-row {
    flex-direction: column;
  }

  .mission-photo-col {
    flex: none;
  }

  .mission-photo-wrap img {
    height: 320px;
  }
}

/* ══════════════════════════════
   МІСІЯ / ВІЗІЯ
══════════════════════════════ */
.mission-section {
  background: #F2F2F2;
}

.mission-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.mission-card--accent {
  background: var(--orange);
}

.mission-card--accent h3,
.mission-card--accent p {
  color: #fff;
}

.mission-icon {
  font-size: 2.2rem;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

.mission-card--accent .mission-icon {
  color: #fff;
}

.mission-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  color: #444;
}

.about-since {
  font-size: .975rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* текстовый блок "з 2019 року..." под карточками миссии */
.about-since-block {
  background: #fff;
  border-radius: 20px;
  padding: 36px 44px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.about-since-block p {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 12px;
}

@media (max-width: 575px) {
  .about-since-block {
    padding: 24px 20px;
  }
}

/* ══════════════════════════════
   ЧОМУ НАМ ДОВІРЯЮТЬ
══════════════════════════════ */
.trust-section {
  background: var(--dark-bg, #1a1a1a);
}

.trust-section .section-label {
  background: rgba(255, 153, 0, .2);
}

.trust-section .section-title {
  color: #fff;
}

/* Cards inherit .stat-card animation from style.css */
.trust-card {
  background: #F2F2F2;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
}

.trust-icon {
  font-size: 3.2rem;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

.trust-num {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 10px;
}

.trust-desc {
  font-size: .875rem;
  color: #555;
  line-height: 1.55;
}

/* CTA buttons below stats */
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  margin-bottom: 12px;
}

.about-cta-btn:hover {
  background: #E67700;
  color: #fff;
  transform: translateY(-2px);
}

.about-cta-btn--outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.about-cta-btn--outline:hover {
  background: var(--orange);
  color: #fff;
}

/* ══════════════════════════════
   DOCUMENTS BLOCK (on about.html)
══════════════════════════════ */
.about-docs-section {
  background: #fff;
}

/* docs row: list left + photo right, equal height */
.docs-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.docs-list-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.docs-photo-col {
  flex: 0 0 42%;
  display: flex;
}

.docs-photo-col .mission-photo-wrap {
  width: 100%;
}

@media (max-width: 991px) {
  .docs-row {
    flex-direction: column;
  }

  .docs-photo-col {
    flex: none;
  }

  .docs-photo-col .mission-photo-wrap img {
    height: 280px;
  }
}

.about-doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F2F2F2;
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s, box-shadow .2s;
  border: 2px solid transparent;
  /* flex: 1 so all rows share equal height */
  flex: 1;
}

.about-doc-item:hover {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 18px rgba(255, 153, 0, .15);
  color: var(--text);
}

.about-doc-item--orange {
  background: var(--orange);
  color: #fff;
}

.about-doc-item--orange:hover {
  background: #E67700;
  border-color: #E67700;
  color: #fff;
}

.about-doc-icon {
  font-size: 1.75rem;
  color: #999;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.about-doc-icon--orange {
  color: var(--orange);
}

.about-doc-item--orange .about-doc-icon {
  color: #fff;
}

.about-doc-name {
  flex: 1;
  font-size: .975rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-doc-action {
  font-size: 1.1rem;
  color: #aaa;
  flex-shrink: 0;
}

.about-doc-item:hover .about-doc-action {
  color: var(--orange);
}

.about-doc-item--orange .about-doc-action {
  color: rgba(255, 255, 255, .8);
}

.about-doc-item--orange:hover .about-doc-action {
  color: #fff;
}

/* ══════════════════════════════
   SUBPAGE HERO
══════════════════════════════ */
.subpage-hero {
  background: #fff;
}

/* ══════════════════════════════
   FOUNDERS PAGE
══════════════════════════════ */
.founder-role {
  font-size: .875rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.founder-logo-block {
  background: #F2F2F2;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ══════════════════════════════
   HISTORY TIMELINE
══════════════════════════════ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}

.timeline-item {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  flex: 0 0 88px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--orange);
  text-align: right;
  padding-top: 6px;
  padding-right: 0;
  line-height: 1.3;
}

.timeline-dot {
  position: absolute;
  left: 88px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-dot--active {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, .2);
}

.timeline-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  margin-left: 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.timeline-card--active {
  border: 2px solid var(--orange);
}

.timeline-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.timeline-card p,
.timeline-card em {
  font-size: .9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .timeline::before {
    left: 16px;
  }

  .timeline-year {
    display: none;
  }

  .timeline-dot {
    left: 16px;
    transform: translateX(-50%);
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline-card {
    margin-left: 0;
  }
}

/* ══════════════════════════════
   REQUISITES PAGE
══════════════════════════════ */
.requisites-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.requisites-card--orange {
  background: var(--orange);
}

.requisites-card--orange .requisites-title {
  color: #fff;
}

.requisites-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.requisites-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req-row {
  display: flex;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.req-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.requisites-grid--white .req-row {
  border-bottom-color: rgba(255, 255, 255, .2);
}

.req-label {
  flex: 0 0 160px;
  font-size: .875rem;
  font-weight: 700;
  color: #888;
}

.requisites-grid--white .req-label {
  color: rgba(255, 255, 255, .7);
}

.req-val {
  flex: 1;
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}

.requisites-grid--white .req-val {
  color: #fff;
}

.req-val--mono {
  font-family: inherit;
  letter-spacing: .02em;
  font-weight: 600;
}

.req-val a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 575px) {
  .req-row {
    flex-direction: column;
    gap: 4px;
  }

  .req-label {
    flex: none;
  }

  .requisites-card {
    padding: 28px 20px;
  }
}

/* ── New requisites extras ─── */
.req-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.req-grid-2col .req-row {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 0;
  margin: 0;
}
.req-grid-2col .req-row:last-child,
.req-grid-2col .req-row:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}
@media (max-width: 767px) {
  .req-grid-2col { grid-template-columns: 1fr; }
}

.req-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 16px;
}
.req-card-icon--outline {
  background: rgba(255,153,0,.1);
  color: var(--orange);
}
.req-card-icon--white {
  background: rgba(255,255,255,.2);
  color: #fff;
  margin-bottom: 0;
}

.req-card-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 0;
}
.requisites-card:not(.requisites-card--orange):not(.requisites-card--visa) .req-card-desc {
  color: #888;
}

.req-row--iban .req-val--mono {
  word-break: break-all;
}

/* Bank card style */
.requisites-card--visa {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
}
.requisites-card--visa .requisites-title { color: #fff; }

.req-card-number {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #fff;
  font-family: monospace;
  margin-top: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  display: inline-block;
}

/* Copy buttons */
.req-copy-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.req-copy-btn:hover { background: rgba(255,255,255,.28); }
.req-copy-btn--outline {
  background: rgba(255,153,0,.08);
  border-color: var(--orange);
  color: var(--orange);
}
.req-copy-btn--outline:hover { background: rgba(255,153,0,.15); }
.req-copy-btn--white {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.req-copy-btn--success {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #fff !important;
}

/* ── Main tabs ─── */
.req-tabs {
  gap: 14px;
  border: none;
  flex-wrap: wrap;
}
.req-tab {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px 36px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.req-tab .bi { font-size: 1.2rem; }
.req-tab:hover { border-color: rgba(255,153,0,.4); }
.req-tab.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ── Currency sub-tabs ─── */
.req-currency-tabs {
  gap: 8px;
  border: none;
}
.req-cur-tab {
  background: #F5F5F5;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.req-cur-tab:hover { border-color: rgba(255,153,0,.4); }
.req-cur-tab.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ── Donate amount input ─── */
.req-amount-label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}
.req-amount-row {
  position: relative;
  width: 100%;
}
.req-amount-input {
  width: 100%;
  background: rgba(255,255,255,.95);
  border: none;
  border-radius: 12px;
  padding: 14px 48px 14px 18px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  font-family: inherit;
}
.req-amount-input:focus { outline: 3px solid rgba(255,255,255,.5); }
.req-amount-cur {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 800;
  color: #999;
}
.req-amount-presets {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.req-amount-presets button {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.req-amount-presets button:hover,
.req-amount-presets button.active {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}

.req-donate-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--orange);
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.req-donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

.req-consent {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin-bottom: 0;
}
.requisites-card:not(.requisites-card--orange):not(.requisites-card--visa) .req-consent {
  color: #999;
}

.req-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .85rem;
  line-height: 1.5;
  color: #fff;
}
.req-consent-row span,
.req-consent-row span * {
  color: #fff;
}
.req-consent-row input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: #fff;
  cursor: pointer;
}
.req-consent-row a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}
.req-consent-row a:hover { opacity: .85; }

/* Дві колонки реквізитів на одному екрані */
.req-split-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.req-split-card .ic-donate-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.req-split-card .req-consent {
  margin-top: auto;
  padding-top: 14px;
}
@media (max-width: 991px) {
  .req-split-row { row-gap: 24px; }
}

/* Visa card labels */
.req-visa-label {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  display: block;
}
.req-visa-val {
  color: #fff;
  font-weight: 600;
}

/* Light card-number variant */
.req-card-number--light {
  background: rgba(255,153,0,.08);
  color: var(--text);
  border: 1.5px dashed rgba(255,153,0,.5);
}
.req-light-label {
  color: #999;
  font-size: .8rem;
  display: block;
}
.req-light-val {
  color: var(--text);
  font-weight: 600;
}

/* ── Volunteer items ─── */
.volunteer-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #FAFAFA;
  border-radius: 14px;
  padding: 20px;
  height: 100%;
}
.volunteer-item > .bi {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,153,0,.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.volunteer-item h5 {
  font-size: .98rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.volunteer-item p {
  font-size: .88rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .req-tab { padding: 14px 22px; font-size: .95rem; }
}
@media (max-width: 575px) {
  .req-tabs { gap: 8px; }
  .req-tab { padding: 12px 16px; font-size: .85rem; border-radius: 12px; width: 100%; }
  .req-tabs .nav-item { width: 100%; }
  .req-card-number { font-size: 1.1rem; letter-spacing: .1em; }
}

/* Note banner */
.req-note {
  background: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 16px 24px;
  font-size: .9rem;
  color: #555;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.req-note .bi { color: var(--orange); }
.req-note a { color: var(--orange); }

/* ══════════════════════════════
   DOCUMENTS PAGE
══════════════════════════════ */
.doc-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: transform .2s, box-shadow .2s;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.doc-card-icon {
  font-size: 2.5rem;
  color: #bbb;
  margin-bottom: 16px;
}

.doc-card-icon--orange {
  color: var(--orange);
}

.doc-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doc-card-body h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.doc-card-body p {
  font-size: .875rem;
  color: #666;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.doc-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F2F2F2;
  color: var(--text);
  font-size: .875rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, color .2s;
  align-self: flex-start;
}

.doc-card-btn:hover {
  background: var(--text);
  color: #fff;
}

.doc-card-btn--orange {
  background: var(--orange);
  color: #fff;
}

.doc-card-btn--orange:hover {
  background: #E67700;
  color: #fff;
}

/* ══════════════════════════════
   PARTNERS PAGE
══════════════════════════════ */
.partner-logo-page {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .2s, box-shadow .2s;
}

.partner-logo-page:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.partner-logo-page img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.become-partner-card {
  background: var(--dark-bg, #1a1a1a);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  color: #fff;
}

.become-partner-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.become-partner-card p {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 575px) {
  .become-partner-card {
    padding: 32px 24px;
  }
}

/* ══════════════════════════════
   DIRECTOR PAGE
══════════════════════════════ */
.director-icon-big {
  font-size: 5rem;
  color: var(--orange);
  line-height: 1;
}

.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
}

.contact-input {
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .975rem;
  transition: border-color .2s;
}

.contact-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, .15);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 3.5rem;
  color: #28a745;
  display: block;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-success p {
  color: #666;
}

.fw-600 {
  font-weight: 600;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: background .2s, transform .15s;
}

.contact-chip i {
  color: var(--orange);
  font-size: 1.1rem;
}

.contact-chip:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.contact-chip:hover i {
  color: #fff;
}

@media (max-width: 575px) {
  .contact-form-card {
    padding: 28px 20px;
  }
}
/* ══════════════════════════════
   TEAM PAGE
══════════════════════════════ */

/* Директорка — великий блок */
.team-director-card {
  display: flex;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.team-director-photo {
  flex: 0 0 320px;
  max-width: 320px;
}
.team-director-photo img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 10 / 13;
  object-fit: cover;
  display: block;
}
.team-director-body { flex: 1; }
.team-director-story {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #555;
  border-left: 3px solid var(--orange);
  padding-left: 20px;
}
@media (max-width: 767px) {
  .team-director-card { flex-direction: column; padding: 24px; gap: 24px; }
  .team-director-photo { flex: none; max-width: 260px; }
}

/* Сітка карток: 3 в ряд на ПК */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 575px) {
  .team-grid { grid-template-columns: 1fr; max-width: 380px; }
}

.team-card { text-align: center; }

.team-card__photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 10 / 13;
  background: #f5f5f5;
  margin-bottom: 14px;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }

/* Оверлей з історією */
.team-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(34,34,34,.92);
  color: #fff;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  overflow-y: auto;
}
.team-card__overlay p {
  font-size: .82rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}
.team-card.is-open .team-card__overlay {
  opacity: 1;
  visibility: visible;
}
/* на десктопі — також при наведенні */
@media (hover: hover) {
  .team-card__photo:hover .team-card__overlay {
    opacity: 1;
    visibility: visible;
  }
}

.team-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.team-card__role {
  font-size: .85rem;
  color: #888;
  line-height: 1.45;
  margin-bottom: 8px;
  min-height: 2.5em;
}
.team-card__story-btn {
  background: none;
  border: none;
  color: var(--orange);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
}
.team-card__story-btn:hover { text-decoration: underline; }

/* ══════════════════════════════
   PARTNERS PAGE
══════════════════════════════ */
.partners-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}
.partner-grid-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.partner-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}
.partner-grid-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* CTA «Стати партнером» */
.partner-cta-card {
  background: var(--orange);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.partner-cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
}
@media (max-width: 575px) {
  .partners-page-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-cta-card { padding: 36px 22px; }
}

/* ══════════════════════════════
   PROJECT CONTENT PAGE (.ic-content)
   Авто-оформлення Gutenberg-контенту
══════════════════════════════ */
.ic-content {
  background: #fff;
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4a4a4a;
}

/* H2 — секція з оранжевою рискою */
.ic-content h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: var(--text);
  margin: 2.2em 0 .8em;
  padding-bottom: 12px;
  position: relative;
}
.ic-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
}
.ic-content h2:first-child { margin-top: 0; }

/* H3 — підсекція */
.ic-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--orange);
  margin: 1.8em 0 .6em;
}

/* Списки — оранжеві галочки */
.ic-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1em 0 1.4em;
}
.ic-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 9px;
}
.ic-content ul li::before {
  content: '\F26B'; /* bi-check-circle-fill */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--orange);
  font-size: .95rem;
}

/* Нумеровані списки (маршрут пацієнта) */
.ic-content ol {
  counter-reset: ic-ol;
  list-style: none;
  padding-left: 0;
  margin: 1em 0 1.4em;
}
.ic-content ol > li {
  counter-increment: ic-ol;
  position: relative;
  padding-left: 48px;
  margin-bottom: 16px;
}
.ic-content ol > li::before {
  content: counter(ic-ol);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Цитати */
.ic-content blockquote {
  margin: 1.5em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--orange);
  background: rgba(255,153,0,.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #555;
}

/* Жирні вступні абзаци */
.ic-content > p:first-child {
  font-size: 1.12rem;
  color: var(--text);
}

/* Фото в контенті */
.ic-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1em 0;
}

/* Таблиці */
.ic-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
}
.ic-content table th,
.ic-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.ic-content table th {
  background: rgba(255,153,0,.08);
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 767px) {
  .ic-content { padding: 28px 22px; border-radius: 18px; }
}

/* ══════════════════════════════
   SERVICES PAGE
══════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 575px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.service-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.service-card:hover .service-card__photo img { transform: scale(1.05); }

.service-card__body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  flex: 1;
}
.service-card__body .bi {
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.service-card__body p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 600;
}

/* Сервіси без фото — чипи */
.services-extra-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 50px;
  padding: 14px 26px;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
}
.service-chip .bi {
  color: var(--orange);
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* ══════════════════════════════
   IC-CONTENT ACCORDIONS (auto H3)
══════════════════════════════ */
.ic-acc {
  border: 1.5px solid #eee;
  border-radius: 14px;
  margin: 14px 0;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.ic-acc.is-open {
  border-color: rgba(255,153,0,.45);
  box-shadow: 0 4px 18px rgba(255,153,0,.08);
}

.ic-acc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: #FAFAFA;
  border: none;
  padding: 18px 22px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  text-align: left;
  transition: background .2s, color .2s;
}
.ic-acc__toggle:hover { color: var(--orange); }
.ic-acc.is-open .ic-acc__toggle {
  background: rgba(255,153,0,.08);
  color: var(--orange);
}
.ic-acc__toggle .bi {
  flex-shrink: 0;
  color: var(--orange);
  transition: transform .25s ease;
}
.ic-acc.is-open .ic-acc__toggle .bi { transform: rotate(180deg); }

.ic-acc__body {
  display: none;
  padding: 6px 22px 20px;
}
.ic-acc.is-open .ic-acc__body { display: block; }
.ic-acc__body > :first-child { margin-top: 12px; }

/* ══════════════════════════════
   ACCOMMODATION PAGE (gallery + lightbox)
══════════════════════════════ */
.acc-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.acc-gallery__item {
  border: none;
  padding: 0;
  background: #ddd;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.acc-gallery__item--big {
  grid-column: span 2;
  grid-row: span 2;
}
.acc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.acc-gallery__item:hover img { transform: scale(1.05); }

@media (max-width: 991px) {
  .acc-gallery { grid-template-columns: repeat(3, 1fr); }
  .acc-gallery__item--big { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 575px) {
  .acc-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .acc-gallery__item--big { grid-column: span 2; grid-row: span 1; }
}

/* Лайтбокс */
.acc-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.acc-lightbox.is-open { display: flex; }
.acc-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
}
.acc-lightbox__close,
.acc-lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1;
}
.acc-lightbox__close:hover,
.acc-lightbox__nav:hover { background: var(--orange); }
.acc-lightbox__close { top: 20px; right: 20px; }
.acc-lightbox__prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.acc-lightbox__next  { right: 16px; top: 50%; transform: translateY(-50%); }

/* Слайдер галереї «Проживання» — ширший і вищий */
.acc-slider__viewport {
  min-height: 520px;
}
.acc-slider__viewport .founder-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 767px) {
  .acc-slider__viewport { min-height: 300px; }
}

/* ══════════════════════════════
   GOV PROGRAMS PAGE
══════════════════════════════ */
/* списки в оранжевій картці сум */
.gov-sums ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.gov-sums ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.2);
  line-height: 1.5;
}
.gov-sums ul li:last-child { border-bottom: none; }
.gov-sums ul li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 11px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.gov-sums p { color: rgba(255,255,255,.9); }

/* списки в білій картці «Для кого» */
.gov-audience ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.gov-audience ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  line-height: 1.5;
  color: var(--text);
}
.gov-audience ul li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--orange);
  font-size: .9rem;
}
.gov-audience p { color: #555; margin-top: 10px; }

/* Вступна картка програми: текст + фото в одному блоці */
.gov-intro-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.gov-intro-card__text {
  flex: 1 1 0;
  padding: 40px 44px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a4a4a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gov-intro-card__text p:last-child { margin-bottom: 0; }
.gov-intro-card__photo {
  flex: 0 0 40%;
  max-width: 40%;
  position: relative;
  min-height: 260px;
}
.gov-intro-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .gov-intro-card { flex-direction: column-reverse; }
  .gov-intro-card__photo {
    flex: none;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    position: static;
  }
  .gov-intro-card__photo img { position: static; height: 100%; }
  .gov-intro-card__text { padding: 24px 22px; }
}

/* ══════════════════════════════
   CHURCH PAGE
══════════════════════════════ */
.church-feature {
  background: #FAFAFA;
  border-radius: 18px;
  padding: 28px 30px;
  height: 100%;
}
.church-feature__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.church-feature__head h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.church-feature__body {
  font-size: .95rem;
  line-height: 1.65;
  color: #555;
}
.church-feature__body p:last-child { margin-bottom: 0; }
.church-feature__body ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.church-feature__body ul li {
  position: relative;
  padding: 5px 0 5px 26px;
}
.church-feature__body ul li::before {
  content: '\F138'; /* bi-arrow-right */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--orange);
  font-size: .85rem;
}

/* Картка священника */
.church-priest-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.church-priest-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
}
.church-priest-card__body {
  padding: 20px 24px;
  text-align: center;
}
.church-priest-card__body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.church-priest-card__body p {
  color: #888;
  font-size: .9rem;
  margin: 0;
}

/* ══════════════════════════════
   PAGINATION (архіви новин/зборів)
══════════════════════════════ */
.navigation.pagination { width: 100%; }
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: background .2s, color .2s, transform .2s;
}
.navigation.pagination a.page-numbers:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.navigation.pagination .page-numbers.current {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,153,0,.35);
}
.navigation.pagination .page-numbers.dots {
  background: transparent;
  box-shadow: none;
  color: #aaa;
  min-width: auto;
  padding: 0 4px;
}
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  background: transparent;
  box-shadow: none;
  color: var(--orange);
  font-weight: 700;
  padding: 0 10px;
}
.navigation.pagination .page-numbers.prev:hover,
.navigation.pagination .page-numbers.next:hover {
  background: rgba(255,153,0,.1);
  color: var(--orange);
  transform: none;
}
@media (max-width: 575px) {
  .navigation.pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: .9rem;
  }
}
