.about-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 20px;
}
.about-page.wide {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.about-block {
  margin-bottom: 24px;
}

/* Слайдер команды на этой странице — ниже, чем на главной (не нужен формат 4:3) */
.about-block .slide {
  aspect-ratio: 16 / 9;
}

.about-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--purple);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee2f2;
}

.about-subtitle {
  font-size: 15px;
  color: var(--gray);
  margin: -8px 0 24px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}

.about-illustration {
  max-width: 340px;
}

.about-text p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 800px) {
  .about-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-illustration {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ============ Организационная схема ============ */
.orgchart-wrap {
  overflow-x: auto;
  padding: 8px 0 16px;
}
.orgchart-wrap svg {
  min-width: 780px;
}
.org-t {
  font-family: 'Noto Sans Armenian', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: #23202b;
}
.org-white {
  fill: #ffffff;
}
/* ============ Страница "Физлица": карточки с иконками ============ */
.icard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.icard {
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px 26px;
  box-shadow: 0 2px 10px rgba(35, 32, 43, 0.07);
}

.icard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee2f2;
}

.icard-icon {
  font-size: 40px !important;
  color: #A33CA3 !important;
}

.icard-percent {
  font-size: 26px;
  font-weight: 800;
  color: var(--purple);
}

.icard h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 12px;
}

.icard p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0 0 20px;
}

@media (max-width: 800px) {
  .icard-grid { grid-template-columns: 1fr; }
}

/* ============ Страница "Тарифы" ============ */
.table-wrap {
  overflow-x: auto;
}
.tariffs-subheading {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 20px;
}

.tariffs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.tariffs-table td {
  border: 1px solid #e5dfec;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  vertical-align: top;
}
.tariffs-table td:first-child { width: 60%; }
.tariffs-table td:last-child { font-weight: 600; color: var(--purple); }
.tariffs-table tr:nth-child(even) { background: #faf8fb; }

@media (max-width: 700px) {
  .tariffs-table td:first-child { width: auto; }
}

.mission-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 32px;
}

/* ============ Страница деталей кредита (аккордеон) ============ */
.loan-detail-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 20px;
}

.preapproval-btn-gray {
  background: #7a8a99;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 28px;
  transition: background 0.15s ease;
}
.preapproval-btn-gray:hover {
  background: #5f6d7a;
}

.accordion-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #eee2f2;
  margin-bottom: 4px;
}

.acc-tab {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.acc-tab:hover { background: var(--plum-dark); }
.acc-tab.active { background: var(--plum-dark); }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #faf8fb;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.acc-panel.open {
  max-height: none;
  margin-top: 20px;
  padding: 22px 24px;
  overflow-y: visible;
}
.acc-panel h4 {
  order: 2;
  margin: 0 -24px 20px;
  padding: 16px 24px;
  background: var(--purple);
  color: #fff !important;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}
.acc-panel > * {
  order: 3;
}
.acc-panel h4 + p {
  order: 1;
  text-align: center !important;
  color: var(--gray) !important;
  font-weight: 400 !important;
  margin-bottom: 20px !important;
}
.acc-panel p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
}
.acc-panel ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.acc-panel li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 6px;
}
.acc-panel a {
  color: var(--purple);
  text-decoration: underline;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
}
.info-table td {
  border: 1px solid #e5dfec;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  vertical-align: top;
}
.info-table tr:not(.info-table-header) td:first-child {
  width: 32%;
  font-weight: 600;
  background: #faf8fb;
}
.info-table-header td {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 14.5px;
}

/* Таблица "Եկամուտների կազմը" — текст широкий, процент узкий */
.income-table tr:not(.info-table-header) td:first-child {
  width: 82%;
  font-weight: 400;
  background: #fff;
}
.income-table tr:not(.info-table-header) td:last-child {
  width: 18%;
  text-align: center;
  font-weight: 700;
  color: var(--purple);
  background: #faf8fb;
}

/* Таблица "Վարկային հարցման նպատակ..." — 3 колонки */
.score-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  background: #fff;
}
.score-table th {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid #e5dfec;
  text-align: left;
}
.score-table td {
  border: 1px solid #e5dfec;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  vertical-align: top;
}
.score-table tr:nth-child(even) td {
  background: #faf8fb;
}

.values-heading {
  font-size: 19px;
  font-weight: 700;
  color: var(--purple);
  margin: 0 0 16px;
}

.values-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.values-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.values-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
}

/* ============ Страница "Официальные документы" ============ */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}

.docs-heading {
  font-size: 19px;
  font-weight: 700;
  color: #7ab8d6;
  margin: 0 0 16px;
}

.docs-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.docs-links a {
  color: var(--purple);
  font-size: 14.5px;
  line-height: 1.6;
  transition: color 0.15s ease;
}
.docs-links a:hover {
  color: var(--plum-dark);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .docs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============ Страница "Значительные участники" ============ */
.shareholder-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--gray);
  margin: 0 0 20px;
}

.shareholder-info p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 8px;
}
.shareholder-info p strong {
  font-weight: 600;
}

.shareholder-percent {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px !important;
}

/* ============ Страница "Новости" ============ */
.news-page {
  max-width: 1300px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
}
.news-filter {
  background: #f3ecf7;
  color: var(--gray);
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.news-filter:hover {
  background: #e4d3ec;
}
.news-filter.active {
  background: var(--purple);
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(35, 32, 43, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(35, 32, 43, 0.14);
}

.news-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 18px 20px 22px;
}

.news-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 10px;
}

.news-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0 0 14px;
}

.news-date {
  font-size: 12.5px;
  color: #a89cb0;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ============ Страница отдельной новости ============ */
.back-link {
  display: inline-block;
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.back-link:hover { color: var(--plum-dark); }

.article-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 12px 0 8px;
  line-height: 1.3;
}

.article-image {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: var(--purple-light);
  border-radius: 14px;
  margin: 20px 0;
  display: block;
}

.article-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
}
.article-body p { margin: 0 0 18px; }
.article-body h3 { font-size: 19px; font-weight: 700; margin: 28px 0 12px; color: var(--purple); }
.article-body ul { margin: 0 0 18px; padding-left: 22px; }
.article-body a { color: var(--purple); text-decoration: underline; }

/* ============ Галерея в статье ============ */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 10px;
}
.article-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}
.article-gallery img:hover {
  opacity: 0.85;
}
.gallery-caption {
  font-size: 13.5px;
  color: var(--gray);
  margin: 0 0 20px;
}

@media (max-width: 700px) {
  .article-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Лайтбокс ============ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 25, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 40px;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 600px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}