/*
Theme Name: Adsorber Theme
Author: Adsorber
Version: 1.0
Description: Custom corporate theme for Adsorber
*/

/* =========================
   Base
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1F2A44;
  background: #EFF3F8;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-title {
  margin: 0 0 32px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: #1F2A44;
}

/* =========================
   Unified Card Typography
========================= */

.solution-card__title,
.client-card__title,
.job-card__title,
.news-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #1F2A44;
}

.solution-card__description,
.client-card__text,
.job-card__location,
.news-card__excerpt,
about__text,
.document-card__description
{
  font-size: 14px;
  line-height: 1.65;
  color: #33415C;
}


/* =========================
   Header
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E3E8EF;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.logo span {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: #1F2A44;
}

.nav {
  justify-self: center;
}

.nav__list,
.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #5B6B86;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: #2B5D9B;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #F2B233;
  color: #1F2A44;
  text-decoration: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(242, 178, 51, 0.28);
}

.header__cta:hover {
  background: #e3a11a;
}

/* =========================
   Hero
========================= */

.hero {
  background: #EFF3F8;
  padding: 32px 0 56px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 44px;
}

.hero__content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 620px;
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  color: #1F2A44;
}

.hero p {
  max-width: 520px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #5B6B86;
}

.hero__buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__image {
  height: 480px;
  overflow: hidden;
  border-radius: 28px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: #F2B233;
  color: #1F2A44;
}

.btn--outline {
  border: 1px solid #2B5D9B;
  color: #2B5D9B;
  background: transparent;
}

/* =========================
   Solutions
========================= */

.solutions {
  background: #E6EDF6;
}

.solutions__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.solutions__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.solutions__slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.solutions__slider::-webkit-scrollbar {
  display: none;
}

.solution-card {
  flex: 0 0 360px;
  min-height: 260px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.12);
}

.solution-card__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-card__title {
  margin-bottom: 12px;
}

.solution-card__description {
  margin: 0 0 20px;
}

.solution-card__link {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #2E5BFF;
  color: #2E5BFF;
  text-decoration: none;
  transition: all 0.2s ease;
}

.solution-card__link:hover {
  background: #2E5BFF;
  color: #FFFFFF;
}
.solutions__nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: none;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1F2A44;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 42, 68, 0.08);
}

.solutions__nav:hover {
  background: #2B5D9B;
  color: #FFFFFF;
}

.solution-card__title a {
  text-decoration: none;
  color: #1F2A44;
}
/* =========================
   Solutions Page
========================= */

.solutions-page {
  background: #FFFFFF;
}

.solutions-page__hero {
  padding: 46px 0 26px;
  background: #EFF3F8;
}

.solutions-page__hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

.solutions-page__title {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
  color: #1F2A44;
}

.solutions-page__text {
  max-width: 1120px;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #33415C;
}

.solutions-page__hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.solutions-page__bullets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

.solutions-page__bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: #4E5B78;
}

.solutions-page__bullet::before {
  content: "✓";
  color: #2B5D9B;
  font-weight: 700;
}

.solutions-page__tabs-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.solutions-page__tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.solutions-page__tabs::-webkit-scrollbar {
  display: none;
}

.solutions-page__tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #5B6B86;
  border: 1px solid #D8E1EC;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.solutions-page__tab:hover {
  background: #2B5D9B;
  border-color: #2B5D9B;
  color: #FFFFFF;
}

.solutions-page__nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid #D8E1EC;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1F2A44;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 42, 68, 0.06);
  transition: all 0.2s ease;
}

.solutions-page__nav:hover {
  background: #2B5D9B;
  border-color: #2B5D9B;
  color: #FFFFFF;
}

.solutions-page__catalog {
  background: #EFF3F8;
  padding: 40px 0 72px;
}

.solutions-page__list {
  display: grid;
  gap: 28px;
}

.solution-detail-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 34px 36px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
  scroll-margin-top: 110px;
}

.solution-detail-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.solution-detail-card__title {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  color: #1F2A44;
}

.solution-detail-card__text {
  margin: 0 0 26px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.75;
  color: #33415C;
}

.solution-detail-card__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.solution-detail-card__col {
  min-width: 0;
}

.solution-detail-card__subtitle {
  position: relative;
  margin: 0 0 14px;
  padding-left: 22px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #1F2A44;
}

.solution-detail-card__subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border: 2px solid #2B5D9B;
  border-radius: 50%;
  box-sizing: border-box;
}

.solution-detail-card__list {
  margin: 0;
  padding-left: 18px;
  color: #33415C;
  font-size: 15px;
  line-height: 1.8;
}

.solution-detail-card__list li {
  margin-bottom: 6px;
}

.solution-detail-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.solution-detail-card__note {
  position: relative;
  margin-top: 18px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #5B6B86;
}

.solution-detail-card__note::before {
  content: "◷";
  position: absolute;
  left: 0;
  top: 0;
  color: #7F8CA3;
  font-size: 14px;
  line-height: 1.4;
}

.solution-detail-card__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.solution-detail-card__image {
  overflow: hidden;
  border-radius: 18px;
  background: #EFF3F8;
  min-height: 300px;
  aspect-ratio: 1.28 / 1;
}

.solution-detail-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-detail-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(43, 93, 155, 0.06), rgba(31, 42, 68, 0.02)),
    #EFF3F8;
  border: 1px dashed #C9D6E5;
}

.solution-detail-card__image-placeholder {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #7F8CA3;
}

.solution-detail-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.solution-detail-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #EFF3F8;
  color: #2B5D9B;
  font-size: 13px;
  line-height: 1;
}

.solution-detail-card__media--empty .solution-detail-card__tags {
  margin-top: 0;
}
/* =========================
   Solutions Page Fixes
========================= */

.solutions-page__hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.solutions-page__title {
  margin: 0 0 18px;
}

.solutions-page__text {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.solutions-page__hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.solutions-page__hero-actions .btn,
.solutions-page__hero-btn {
  min-height: 43px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  border-radius: 12px;
}

.solutions-page__bullets {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  text-align: center;
}

.solutions-page__bullet {
  font-size: 14px;
}

.solutions-page__tabs-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.solutions-page__tabs-wrap--single {
  justify-content: center;
}

.solutions-page__tabs-wrap--single .solutions-page__tabs {
  justify-content: center;
}

.solutions-page__tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.solutions-page__tabs::-webkit-scrollbar {
  display: none;
}

.solutions-page__tab {
  flex: 0 0 auto;
}

.solutions-page__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.solution-detail-card {
  padding: 30px 32px;
}

.solution-detail-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.solution-detail-card--no-image .solution-detail-card__grid {
  grid-template-columns: 1fr;
}

.solution-detail-card--no-image .solution-detail-card__content {
  max-width: none;
}

.solution-detail-card__content {
  min-width: 0;
}

.solution-detail-card__title {
  margin: 0 0 14px;
}

.solution-detail-card__text {
  margin: 0 0 22px;
}

.solution-detail-card__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.solution-detail-card--no-image .solution-detail-card__info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solution-detail-card__tags--inline {
  margin-top: 18px;
}

.solution-detail-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 22px;
}

.solution-detail-card__actions .btn,
.solution-detail-card__btn {
  min-height: 43px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  border-radius: 12px;
}

.solution-detail-card__note {
  margin-top: 14px;
}

.solution-detail-card__media {
  min-width: 0;
  align-self: stretch;
}

.solution-detail-card__image {
  min-height: 280px;
}

/* =========================
   Clients
========================= */

.clients {
  background: #FFFFFF;
}

.clients__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.clients__intro {
  max-width: 820px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: #33415C;
}

.clients__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.clients__slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.clients__slider::-webkit-scrollbar {
  display: none;
}

.clients__page {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.client-card {
  background: #EFF3F8;
  border-radius: 20px;
  padding: 20px;
  min-height: 220px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.06);
  display: flex;
  flex-direction: column;
}

.client-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.client-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  background: #2F5B8C;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.client-card__icon--logo {
  background: #FFFFFF;
}

.client-card__icon-image {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.client-card__icon-image--logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.client-card__text {
  margin: 0;
}

.clients__nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: none;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1F2A44;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 42, 68, 0.08);
}

.clients__nav:hover {
  background: #2B5D9B;
  color: #FFFFFF;
}
.client-card {
  height: 250px;
  overflow: hidden;
}

.client-card__header {
  align-items: flex-start;
  min-height: 74px;
}

.client-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.client-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* =========================
   News (main page slider)
========================= */

.news {
  background: #E6EDF6;
}

.news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.news__all-link {
  text-decoration: none;
  color: #2B5D9B;
  font-size: 15px;
  font-weight: 600;
}

.news__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news__slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news__slider::-webkit-scrollbar {
  display: none;
}

.news-card {
  flex: 0 0 540px;
  min-height: 480px;
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
  display: flex;
  flex-direction: column;
}

/*.news-card__image {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}*/

.news-card__content {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-card__date {
  font-size: 14px;
  line-height: 1.4;
  color: #7F8CA3;
}

.news-card__title a {
  text-decoration: none;
  color: #1F2A44;
}

.news-card__actions {
  margin-top: auto;
  padding-top: 8px;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #2B5D9B;
  border-radius: 12px;
  text-decoration: none;
  color: #2B5D9B;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.news-card__link:hover {
  background: #2B5D9B;
  color: #FFFFFF;
}

.news__nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: none;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1F2A44;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 42, 68, 0.08);
}

.news__nav:hover {
  background: #2B5D9B;
  color: #FFFFFF;
}
/* =========================
   News preview cards — main page
========================= */

.news__slider .news-card--preview {
  flex: 0 0 420px;
  min-height: 320px;
  height: auto;
  display: flex;
  flex-direction: column;
}

.news__slider .news-card--preview .news-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.news__slider .news-card--preview .news-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.news__slider .news-card--preview .news-card__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #33415C;
}

.news__slider .news-card--preview .news-card__actions {
  margin-top: 18px;
  padding-top: 0;
}

.news__slider .news-card--preview .news-card__link {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

/* =========================
   News page
========================= */

.news__list,
.news__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.news-card {
  scroll-margin-top: 120px;
}
.news__list .news-card--archive {
  width: 100%;
  max-width: 1176px;
  flex: 0 0 auto !important;
  align-self: stretch;
  min-height: 0;
  height: auto !important;
  display: block;
  overflow: visible;
}

.news__list .news-card--archive .news-card__content {
  display: block;
  padding: 30px 32px 34px;
}

.news__list .news-card--archive .news-card__date {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #7F8CA3;
}

.news__list .news-card--archive .news-card__title {
  margin: 0 0 18px;
}

.news__list .news-card--archive .news-card__title a {
  text-decoration: none;
  color: #1F2A44;
}

.news__list .news-card--archive .news-card__body {
  font-size: 15px;
  line-height: 1.75;
  color: #33415C;
}

.news__list .news-card--archive .news-card__body > *:first-child {
  margin-top: 0;
}

.news__list .news-card--archive .news-card__body > *:last-child {
  margin-bottom: 0;
}

.news__list .news-card--archive .news-card__body p,
.news__list .news-card--archive .news-card__body ul,
.news__list .news-card--archive .news-card__body ol {
  margin: 0 0 16px;
}

.news__list .news-card--archive .news-card__body h2,
.news__list .news-card--archive .news-card__body h3,
.news__list .news-card--archive .news-card__body h4 {
  margin: 24px 0 14px;
  color: #1F2A44;
}

.news__list .news-card--archive .news-card__body figure,
.news__list .news-card--archive .news-card__body .wp-block-image,
.news__list .news-card--archive .news-card__body .wp-block-gallery,
.news__list .news-card--archive .news-card__body .gallery {
  margin: 28px 0 0;
}

.news__list .news-card--archive .news-card__body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.news__list .news-card--archive .news-card__body a {
  color: #2B5D9B;
}

.news__list .news-card--archive .news-card__body .wp-block-gallery,
.news__list .news-card--archive .news-card__body .wp-block-gallery.has-nested-images {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 20px !important;
  margin: 28px 0 0 !important;
}

.news__list .news-card--archive .news-card__body .wp-block-gallery.has-nested-images figure.wp-block-image,
.news__list .news-card--archive .news-card__body .blocks-gallery-item,
.news__list .news-card--archive .news-card__body .gallery-item {
  display: block !important;
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.news__list .news-card--archive .news-card__body .wp-block-gallery.has-nested-images figure.wp-block-image img,
.news__list .news-card--archive .news-card__body .blocks-gallery-item img,
.news__list .news-card--archive .news-card__body .gallery-item img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  margin: 0 auto !important;
  border-radius: 18px;
}

.news__list .news-card--archive .news-card__body .wp-block-gallery.is-cropped img,
.news__list .news-card--archive .news-card__body .wp-block-gallery.has-nested-images.is-cropped img {
  height: auto !important;
  object-fit: contain !important;
}

/* =========================
   Jobs (main page slider)
========================= */

.jobs {
  background: #E6EDF6;
}

.jobs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.jobs__all-link {
  text-decoration: none;
  color: #2B5D9B;
  font-size: 15px;
  font-weight: 600;
}

.jobs__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jobs__slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jobs__slider::-webkit-scrollbar {
  display: none;
}

.job-card {
  flex: 0 0 320px;
  min-height: 250px;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-card__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-card__title a {
  text-decoration: none;
  color: #1F2A44;
}

.job-card__salary {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #2B5D9B;
}

.job-card__actions {
  margin-top: 20px;
}

.job-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #2B5D9B;
  border-radius: 12px;
  text-decoration: none;
  color: #2B5D9B;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.job-card__link:hover {
  background: #2B5D9B;
  color: #FFFFFF;
}

.jobs__nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: none;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1F2A44;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 42, 68, 0.08);
}

.jobs__nav:hover {
  background: #2B5D9B;
  color: #FFFFFF;
}

/* =========================
   Jobs archive
========================= */

.jobs-archive {
  background: #E6EDF6;
}

.jobs-archive__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.job-full-card {
  width: 100%;
  max-width: 980px;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 30px 32px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
  scroll-margin-top: 120px;
}

.job-full-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.job-full-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #1F2A44;
}

.job-full-card__salary {
  font-size: 16px;
  font-weight: 600;
  color: #1F2A44;
  white-space: nowrap;
}

.job-full-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  color: #5B6B86;
  font-size: 15px;
}

.job-full-card__section {
  margin-bottom: 28px;
}

.job-full-card__section h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #1F2A44;
}

.job-full-card__list {
  margin: 0;
  padding-left: 22px;
  color: #1F2A44;
  font-size: 15px;
  line-height: 1.75;
}

.job-full-card__list li {
  margin-bottom: 8px;
}

.job-full-card__actions {
  margin-top: 20px;
}

/* About */
.about {
  background: #FFFFFF;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-bottom: 32px;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #33415C;
}

.about__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #33415C;
}

.about__card {
  background: #EFF3F8;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.06);
}

.about__card-title {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #1F2A44;
}

.about__list {
  margin: 0;
  padding-left: 22px;
  color: #1F2A44;
  font-size: 15px;
  line-height: 1.75;
}

.about__list li {
  margin-bottom: 10px;
}

.about__cta {
  background: linear-gradient(135deg, #2B5D9B 0%, #1F3F6B 100%);
  border-radius: 28px;
  padding: 40px;
  color: #FFFFFF;
  box-shadow: 0 20px 50px rgba(31, 42, 68, 0.25);
}

.about__cta-content {
  max-width: 760px;
}

.about__cta-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: #FFFFFF;
}

.about__cta-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
  opacity: 0.9;
}

/* Contacts */
.contacts {
  background: #FFFFFF;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts__item {
  background: #EFF3F8;
  border-radius: 20px;
  padding: 24px;
}

.contacts__label {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  color: #7F8CA3;
}

.contacts__value {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contacts__value span,
.contacts__value a {
  font-size: 15px;
  line-height: 1.65;
  color: #1F2A44;
  text-decoration: none;
}

.contacts__value--links a:hover {
  color: #2B5D9B;
}

.contacts__map {
  min-height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #EFF3F8;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.06);
}

.contacts__map iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 100%;
  border: 0;
}

.contacts__map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 24px;
  font-size: 16px;
  color: #5B6B86;
}

.contacts__cta {
  background: linear-gradient(135deg, #2B5D9B 0%, #234B7A 100%);
  border-radius: 24px;
  padding: 32px;
  color: #FFFFFF;
}

.contacts__cta-content {
  max-width: 700px;
}

.contacts__cta-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #FFFFFF;
}

.contacts__cta-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.contacts__cta .btn--primary {
  background: #F2B233;
  color: #1F2A44;
}

/* =========================
   Popup
========================= */

.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  overflow-y: auto;
  padding: 24px 16px;
}

.popup.is-active {
  display: block;
}

.popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 68, 0.48);
}

.popup__dialog {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 40px auto;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(31, 42, 68, 0.2);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #5B6B86;
}

.popup__title {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
  color: #1F2A44;
}

.popup__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popup__form p {
  margin: 0;
}

.popup__form .wpcf7-form-control-wrap {
  display: block;
}

.popup__form input,
.popup__form textarea {
  width: 100%;
  border: 1px solid #D7DFEA;
  border-radius: 16px;
  padding: 16px 18px;
  font: inherit;
  font-size: 16px;
  color: #1F2A44;
  background: #FFFFFF;
}

.popup__form textarea {
  min-height: 180px;
  resize: vertical;
}

.popup__form input::placeholder,
.popup__form textarea::placeholder {
  color: #7B879C;
}

.popup__form .wpcf7-acceptance {
  display: block;
  margin: 4px 0 0;
}

.popup__form .wpcf7-list-item {
  margin: 0;
}

.popup__form .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
}

.popup__form .wpcf7-list-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
}

.popup__form .wpcf7-list-item-label {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: #33415C;
}

.popup__form input[type="submit"] {
  width: auto;
  align-self: flex-start;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: #F2B233;
  color: #1F2A44;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(242, 178, 51, 0.28);
}

.popup__form input[type="submit"]:hover {
  background: #e3a11a;
}

.popup__form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.popup__form .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

body.popup-open {
  overflow: hidden;
}
.popup__form--custom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popup__field.is-hidden {
  display: none !important;
}

.popup__field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #1F2A44;
}

.popup__field-label--checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

.popup__field--consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
}

.popup__field-note,
.popup__consent-note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #5B6B86;
}

.popup__field-note a,
.popup__consent-note a,
.popup__field-label a {
  color: #2B5D9B;
}

.popup__form--custom input[type="file"] {
  padding: 12px 14px;
  background: #F8FAFC;
}

.popup__form--custom textarea {
  min-height: 140px;
}

.popup__status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.popup__status.is-visible {
  display: block;
}

.popup__status--success {
  background: #EAF7EE;
  color: #1F6B3A;
  border: 1px solid #CBE8D3;
}

.popup__status--error {
  background: #FDEEEE;
  color: #A23434;
  border: 1px solid #F3CACA;
}

.popup__submit {
  width: auto;
  align-self: flex-start;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: #F2B233;
  color: #1F2A44;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(242, 178, 51, 0.28);
}

.popup__submit:hover {
  background: #E3A11A;
}

.popup__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
@media (max-width: 767px) {
  .popup__submit {
    width: 100%;
    align-self: stretch;
  }
}
.popup__required-note {
  margin: -4px 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #5B6B86;
}

.popup__required-star {
  color: #C53B3B;
  font-weight: 700;
}
.popup__required-star.is-hidden {
  display: none;
}
/* =========================
   Other sections
========================= */

.about,
.contacts,
.documents {
  background: #FFFFFF;
}

.about p,
.contacts p,
.documents p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  /*color: #33415C;*/
}
.about__cta,
.about__cta * {
  color: #ffffff !important;
}

.about__cta-text,
.about__cta-text p {
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
}

.about__cta-title {
  color: #ffffff !important;
}

.about__cta .btn,
.about__cta .btn--primary {
  color: #1F2A44 !important;
}
/* Documents */
.documents { 
    background: #FFFFFF; 
    
} 
.documents__group + .documents__group { 
    margin-top: 40px; 
    
} 
.documents__group-title { 
    margin: 0 0 20px; 
    font-size: 22px; 
    line-height: 1.3; 
    font-weight: 700; 
    color: #1F2A44; 
    
} 
.documents__slider-wrap { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    
} 
.documents__slider { 
    display: flex; 
    gap: 24px; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    padding-bottom: 8px; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    flex: 1; 
    
} 
.documents__slider::-webkit-scrollbar { 
    display: none; 
    
} 
.documents__nav { 
    width: 44px; 
    height: 44px; 
    min-width: 44px; 
    border: none; 
    border-radius: 12px; 
    background: #FFFFFF; 
    color: #1F2A44; 
    font-size: 28px; 
    line-height: 1; 
    cursor: pointer; 
    box-shadow: 0 6px 18px rgba(31, 42, 68, 0.08); 
    
} 
.documents__nav:hover { 
    background: #2B5D9B; 
    color: #FFFFFF; 
    
} 
.document-card { 
    flex: 0 0 320px; 
    min-height: 250px; 
    background: #FFFFFF; 
    border-radius: 22px; 
    padding: 24px; 
    box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    
} 
.document-card__thumb { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 120px; 
    margin-bottom: 16px; 
    border-radius: 16px; 
    overflow: hidden; 
    background: #EFF3F8; 
    border: 1px solid #D8E1EC; 
    
}
    .document-card__thumb-image { 
        width: 100%; 
        height: 100%; 
        object-fit: contain; 
        display: block; 
        
    } 
    .document-card__thumb-badge { 
        position: absolute; 
        right: 12px; 
        bottom: 12px; 
        display: inline-flex; 
        align-items: center; 
        justify-content: center; 
        min-height: 28px; 
        padding: 0 10px; 
        border-radius: 999px; 
        background: rgba(31, 42, 68, 0.88); 
        color: #FFFFFF; 
        font-size: 12px; 
        font-weight: 700; 
        letter-spacing: 0.04em; 
        text-transform: uppercase; 
        
    } 
    .document-card__title { 
        margin: 0 0 12px; 
        font-size: 18px; 
        line-height: 1.35; 
        font-weight: 700; 
        color: #1F2A44; 
        
    } 
    .document-card__description { 
        margin: 0 0 14px; 
        font-size: 14px; 
        line-height: 1.65; 
        color: #33415C; 
        
    } 
    .document-card__meta { 
        display: flex; 
        flex-direction: column; 
        gap: 6px; 
        margin-bottom: 18px; 
        font-size: 14px; 
        line-height: 1.5; 
        color: #1F2A44; 
        
    } 
    .document-card__actions { 
        margin-top: auto; 
        display: flex; 
        flex-wrap: wrap; 
        gap: 12px; 
        
    } 
    .document-card__link { 
        display: inline-flex; 
        align-items: center; 
        justify-content: center; 
        min-height: 44px; 
        padding: 0 18px; 
        border-radius: 10px; 
        border: 1px solid #2B5D9B; 
        background: transparent; 
        text-decoration: none; 
        color: #2B5D9B; 
        font-size: 14px; 
        font-weight: 600; 
        cursor: pointer; 
        transition: all 0.2s ease; 
        
    }
    .document-card__link--disabled {
      border-color: #C9D6E5;
      color: #7F8CA3;
      background: #F4F7FB;
      cursor: default;
      pointer-events: none;
    }
    .document-card__link:hover { 
        background: #2B5D9B; 
        color: #FFFFFF; 
        
    } 
    .document-card__link--download { 
        background: #F2B233; 
        border-color: #F2B233; 
        color: #1F2A44; 
        
    } 
.document-card__link--download:hover { 
    background: #E3A11A; 
    border-color: #E3A11A; 
    color: #1F2A44; 
}

/* Documents modal */
.documents-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.documents-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.documents-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.documents-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 40px));
  height: calc(100vh - 40px);
  margin: 20px auto;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.documents-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid #E3EAF2;
  background: #FFFFFF;
  flex: 0 0 auto;
}

.documents-modal__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: #1F2A44;
}

.documents-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 28px;
  line-height: 1;
  color: #1F2A44;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.documents-modal__close:hover {
  background: #EFF3F8;
}

.documents-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  background: #F8FAFC;
  padding: 0;
  overflow: hidden;
}

.documents-modal__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 110px);
  border: 0;
  background: #FFFFFF;
}

.documents-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #F8FAFC;
}

.documents-modal-open {
  overflow: hidden;
}

/* =========================
   Footer
========================= */

.footer {
  background: #1F2A44;
  color: #FFFFFF;
  padding: 24px 0 14px;
}

.footer__top {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.footer__main {
  display: grid;
  gap: 18px;
  justify-items: center;
  align-content: start;
  width: 100%;
}

.footer__copy p {
  margin: 0;
  max-width: 220px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.footer__nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, auto));
  gap: 18px 42px;
  justify-content: center;
}

.footer__nav-column {
  display: grid;
  gap: 14px;
}

.footer__link {
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: #FFFFFF;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #F2B233;
}

.footer__link--accent {
  color: #F2B233;
}

.footer__contacts {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 12px 26px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  white-space: nowrap;
}

.footer__contact:hover {
  color: #F2B233;
}

.footer__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer__bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.footer__bottom-text,
.footer__bottom-link,
.footer__separator {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.footer__bottom-link {
  text-decoration: none;
}

.footer__bottom-link:hover {
  color: #F2B233;
}

.footer__separator {
  line-height: 1;
}

@media (max-width: 1199px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer__copy {
    text-align: center;
  }

  .footer__copy p {
    max-width: none;
  }

  .footer__nav-grid {
    justify-content: center;
  }

  .footer__contacts {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 22px 0 12px;
  }

  .footer__main {
    gap: 16px;
  }

  .footer__nav-grid {
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 14px 24px;
    justify-content: center;
    text-align: center;
  }

  .footer__nav-column {
    gap: 12px;
  }

  .footer__contacts {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 12px 20px;
    justify-content: center;
  }

  .footer__contact {
    font-size: 13px;
  }

  .footer__bottom {
    margin-top: 18px;
    padding-top: 14px;
  }
}
/* =========================
   Footer desktop align fix
========================= */

@media (min-width: 1200px) {
  .footer__top {
    grid-template-columns: 220px 1fr;
    column-gap: 64px;
    align-items: start;
  }

  .footer__copy p {
    max-width: 190px;
  }

  .footer__main {
    width: max-content;
    justify-self: start;
    justify-items: center;
    align-content: start;
    gap: 16px;
  }

  .footer__nav {
    width: auto;
    display: block;
  }

  .footer__nav-grid {
    grid-template-columns: repeat(3, minmax(110px, auto));
    gap: 16px 56px;
    width: max-content;
    margin: 0 auto;
  }

  .footer__contacts {
    grid-template-columns: repeat(4, max-content);
    gap: 12px 24px;
    width: max-content;
    margin: 0 auto;
    justify-content: center;
  }
}
/* =========================
   Timeline Company
========================= */

.timeline-company {
  background: #FFFFFF;
  padding-top: 32px;
  padding-bottom: 46px;
}

.timeline-company__header {
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: center;
}

.timeline-company__title {
  margin: 0 0 6px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 700;
  color: #1F2A44;
  letter-spacing: -0.01em;
}

.timeline-company__title-main,
.timeline-company__title-accent {
  display: inline-block;
}

.timeline-company__title-main {
  color: #1F2A44;
}

.timeline-company__title-accent {
  background: linear-gradient(90deg, #2B5D9B 0%, #8A9AB2 55%, #F2B233 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.timeline-company__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5B6B86;
}

.timeline-company__track-wrap {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.timeline-company__start {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  justify-content: center;
  min-height: 92px;
  padding: 14px 18px;
  border: 2px solid #2B5D9B;
  border-radius: 18px;
  background: #FFFFFF;
}

.timeline-company__start-caption {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5B6B86;
}

.timeline-company__start-value {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 700;
  color: #2B5D9B;
}

.timeline-company__track {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.timeline-company__track-line {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #2B5D9B 0%,
    #2B5D9B 31%,
    #8B9EBB 31%,
    #8B9EBB 61%,
    #F2B233 61%,
    #F2B233 100%
  );
}

.timeline-company__track-dot {
  position: absolute;
  top: 50%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(31, 42, 68, 0.14);
}

.timeline-company__track-dot--first {
  left: 31%;
  background: #2B5D9B;
}

.timeline-company__track-dot--second {
  left: 61%;
  background: #F2B233;
}

.timeline-company__track-arrow {
  position: absolute;
  right: -4px;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F2B233;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(242, 178, 51, 0.26);
}

.timeline-company__track-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}

.timeline-company__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline-card {
  min-width: 0;
  min-height: 0;
  padding: 20px 20px 22px;
  border-radius: 22px;
  border: 2px solid #D9E2EF;
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(31, 42, 68, 0.05);
}

.timeline-card--blue {
  background: #F0F5FB;
  border-color: #2B5D9B;
}

.timeline-card--light {
  background: #FFFFFF;
  border-color: #A6B4C8;
}

.timeline-card--gold {
  background: #FFF8EA;
  border-color: #F2B233;
}

.timeline-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(31, 42, 68, 0.08);
  color: #2B5D9B;
}

.timeline-card--gold .timeline-card__icon {
  color: #E5A61D;
}

.timeline-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.timeline-card__title {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #1F2A44;
}

.timeline-card__year {
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: #2B5D9B;
}

.timeline-card--gold .timeline-card__year {
  color: #E5A61D;
}

.timeline-card__heading {
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: #1F2A44;
}

.timeline-card--gold .timeline-card__heading {
  color: #D89B17;
}

.timeline-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.52;
  color: #33415C;
}

.timeline-company__footer-text {
  margin-top: 12px;
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #1F2A44;
}

@media (max-width: 1199px) {
  .timeline-company__cards {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding-bottom: 10px;
  }

  .timeline-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 991px) {
  .timeline-company__track-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline-company__start {
    width: fit-content;
  }

  .timeline-company__cards {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: thin;
    -ms-overflow-style: none;
  }

  .timeline-company__cards::-webkit-scrollbar {
    height: 8px;
  }

  .timeline-card {
    flex: 0 0 min(80vw, 320px);
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .timeline-company {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .timeline-company__title {
    font-size: 28px;
  }

  .timeline-company__subtitle {
    font-size: 15px;
  }

  .timeline-company__track-line {
    height: 10px;
  }

  .timeline-company__track-dot {
    width: 16px;
    height: 16px;
  }

  .timeline-company__track-arrow {
    width: 40px;
    height: 40px;
  }

  .timeline-card {
    flex: 0 0 84vw;
    padding: 18px 16px 20px;
  }

  .timeline-card__title {
    font-size: 15px;
  }

  .timeline-card__year {
    font-size: 27px;
  }

  .timeline-card__heading {
    font-size: 12px;
  }

  .timeline-card__text {
    font-size: 13px;
    line-height: 1.48;
  }

  .timeline-company__footer-text {
    font-size: 14px;
  }
}


@media (max-width: 1024px) {
  .header__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    min-height: auto;
    padding: 18px 0;
  }

  .nav {
    justify-self: start;
  }

  .nav__list,
  .nav ul {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero p {
    font-size: 16px;
  }

  .hero__image {
    min-height: 420px;
  }

  .hero__image img {
    height: 420px;
  }

  .section-title {
    font-size: 22px;
  }
   
  .job-full-card__top {
    flex-direction: column;
  }
    .documents__slider-wrap { 
        gap: 12px; 
        
    } 
    .document-card { 
        flex: 0 0 300px; 
        
    }
        .clients__page {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
}

/* =========================
   Adaptive — mobile
========================= */

@media (max-width: 767px) {
      .container {
        padding: 0 16px;
      }
    
      .section {
        padding: 52px 0;
      }
    
      .header {
        position: static;
      }

      .header__inner {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 16px;
        min-height: auto;
        padding: 18px 0;
      }

      .logo img {
        width: 44px;
        height: 44px;
      }

      .logo span {
        font-size: 20px;
      }

      .nav {
          width: 100%;
          justify-self: start;
          margin-left: 0;
        }
        
        .nav__list,
        .nav ul {
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: 12px 18px;
          align-items: start;
          width: 100%;
        }
        
        .nav li {
          width: 100%;
        }
        
        .nav a {
          display: block;
          font-size: 15px;
          line-height: 1.35;
        }
        
        /* Документы во второй столбец */
        .nav__list > li:nth-child(7),
        .nav ul > li:nth-child(7) {
          grid-column: 2;
        }
        
        .header__cta {
          width: 100%;
          margin-top: 4px;
        }

      .hero {
        padding: 20px 0 40px;
      }

      .hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .hero p {
        font-size: 16px;
      }

      .hero__buttons {
        flex-direction: column;
        align-items: flex-start;
      }

      .hero__image {
          min-height: 0;
          height: 260px;
          overflow: hidden;
          border-radius: 18px;
      }

        .hero__image img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 0;
        }

      .section-title {
        font-size: 20px;
        margin-bottom: 24px;
      }

      .clients__grid {
          grid-template-columns: 1fr;
          gap: 20px;
        }
        .solution-card,
        .client-card {
          padding: 20px;
          min-height: auto;
        }
        

        .solutions__slider-wrap {
          gap: 10px;
        }
        
        .solutions__nav {
          width: 40px;
          height: 40px;
          min-width: 40px;
          font-size: 24px;
        }
        
        .solutions__slider .solution-card {
          flex: 0 0 280px;
        }
        .clients__slider-wrap {
          gap: 10px;
        }
        
        .clients__nav {
          width: 40px;
          height: 40px;
          min-width: 40px;
          font-size: 24px;
        }
       
          .clients__slider-wrap {
            display: block;
          }
        
          .clients__nav {
            display: none;
          }
        
          .clients__slider {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-bottom: 8px;
            scrollbar-width: none;
            -ms-overflow-style: none;
          }
        
          .clients__slider::-webkit-scrollbar {
            display: none;
          }
        
          .clients__page {
            display: contents;
          }
        
          .client-card {
            flex: 0 0 calc(100vw - 48px);
            max-width: calc(100vw - 48px);
            min-width: calc(100vw - 48px);
            height: 250px;
            padding: 18px;
            scroll-snap-align: start;
            overflow: hidden;
          }
        
          .client-card__header {
            align-items: flex-start;
            min-height: 72px;
          }
        
          .client-card__title {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
          }
        
          .client-card__text {
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 14px;
            line-height: 1.5;
          }

        
      .news__head,
      .jobs__head {
        flex-direction: column;
        align-items: flex-start;
      }

      .news__slider-wrap,
      .jobs__slider-wrap {
        gap: 10px;
      }

      .news-card {
        flex: 0 0 340px;
        min-height: 440px;
      }

      /*.news-card__image {
        height: 200px;
      }*/

      .news-card__content {
        padding: 20px;
      }
      .news__slider .news-card--preview {
        flex: 0 0 300px;
        min-height: 280px;
      }
    
      .news__slider .news-card--preview .news-card__content {
        padding: 20px;
      }
    
      .news__slider .news-card--preview .news-card__excerpt {
        font-size: 14px;
        line-height: 1.6;
      }
      .news__list .news-card--archive .news-card__content {
        padding: 20px;
      }
    
      .news__list .news-card--archive .news-card__body {
        font-size: 14px;
        line-height: 1.7;
      }
    
            .news__list .news-card--archive .news-card__body figure,
      .news__list .news-card--archive .news-card__body .wp-block-image,
      .news__list .news-card--archive .news-card__body .gallery {
        margin-top: 22px;
      }

      .news__list .news-card--archive .news-card__body img {
        border-radius: 14px;
      }

      .news__list .news-card--archive .news-card__body .wp-block-gallery,
      .news__list .news-card--archive .news-card__body .wp-block-gallery.has-nested-images {
        gap: 16px !important;
        margin-top: 22px !important;
      }

      .news__list .news-card--archive .news-card__body .wp-block-gallery.has-nested-images figure.wp-block-image img,
      .news__list .news-card--archive .news-card__body .blocks-gallery-item img,
      .news__list .news-card--archive .news-card__body .gallery-item img {
        border-radius: 14px;
      }
      .news__slider-wrap {
          display: block;
        }
        
        .news__nav {
          display: none;
        }
        
        .news__slider {
          gap: 12px;
          padding-bottom: 8px;
        }
        
        .news__slider .news-card--preview {
          flex: 0 0 calc(100vw - 48px);
          min-height: auto;
        }
        
        .news__slider .news-card--preview .news-card__content {
          padding: 20px;
        }
        
        .news__slider .news-card--preview .news-card__title {
          font-size: 17px;
          line-height: 1.3;
        }
        
        .news__slider .news-card--preview .news-card__excerpt {
          font-size: 14px;
          line-height: 1.6;
        }
        
        .news__slider .news-card--preview .news-card__actions {
          margin-top: 16px;
        }

      .job-card {
        flex: 0 0 280px;
        min-height: 220px;
        padding: 20px;
      }

      .news__nav,
      .jobs__nav {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 24px;
      }
      .job-full-card {
        padding: 22px 20px;
      }

      .job-full-card__title {
        font-size: 22px;
      }
      .jobs__slider-wrap {
        display: block;
      }
    
      .jobs__nav {
        display: none;
      }
    
      .jobs__slider {
        gap: 12px;
        padding-bottom: 8px;
      }
    
      .jobs__slider .job-card {
        flex: 0 0 calc(100vw - 48px);
        max-width: calc(100vw - 48px);
        min-width: calc(100vw - 48px);
        min-height: auto;
        padding: 20px;
        scroll-snap-align: start;
      }
    
      .job-card__title {
        font-size: 17px;
        line-height: 1.3;
      }
    
      .job-card__salary {
        font-size: 15px;
        line-height: 1.4;
      }
    
      .job-card__location {
        font-size: 14px;
        line-height: 1.6;
      }
    
      .job-card__actions {
        margin-top: 16px;
      }
    
      .job-card__link {
        min-height: 42px;
        padding: 0 18px;
        font-size: 14px;
      }
       .about__grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .about__card,
      .about__cta {
        padding: 20px;
      }

      .about__card-title,
      .about__cta-title {
        font-size: 20px;
      }
        .contacts__grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .contacts__item {
        padding: 20px;
      }

      .contacts__map-placeholder {
        min-height: 260px;
      }
    
      .contacts__cta {
        padding: 24px 20px;
      }
    
      .contacts__cta-title {
        font-size: 20px;
      }
    
      .popup {
        padding: 12px;
      }

      .popup__dialog {
        margin: 0 auto;
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 24px 20px;
        border-radius: 16px;
      }
    
      .popup__title {
        font-size: 22px;
        padding: 20px;
        min-height: auto;
      }
      .documents__slider-wrap { 
          gap: 10px;
      } 
        .documents__nav {
            width: 40px; 
            height: 40px; 
            min-width: 40px; 
            font-size: 24px; 
        } 
        .documents__group-title { 
            font-size: 20px;
            } 
        .document-card { 
            flex: 0 0 280px; 
            min-height: 220px; 
            padding: 20px; 
        } 
        .document-card__thumb { 
            height: 110px;
            }
      .documents-modal__dialog {
        width: calc(100% - 16px);
        height: calc(100vh - 16px);
        margin: 8px auto;
        border-radius: 16px;
      }

      .documents-modal__header {
        padding: 14px 16px;
      }
    
      .documents-modal__title {
        font-size: 18px;
      }
    
      .documents-modal__iframe {
        min-height: calc(100vh - 90px);
      }
      .solutions-page__hero {
        padding: 32px 0 18px;
      }

      .solutions-page__title {
        font-size: 30px;
        line-height: 1.14;
      }
    
      .solutions-page__text {
        font-size: 16px;
        line-height: 1.65;
      }
    
      .solutions-page__tabs-wrap {
        gap: 8px;
      }
    
      .solutions-page__nav {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 24px;
      }
    
      .solutions-page__catalog {
        padding: 28px 0 48px;
      }
      .solution-detail-card__title {
        font-size: 24px;
      }
    
      .solution-detail-card__subtitle {
        font-size: 18px;
      }
        .solutions-page__hero-inner {
        text-align: center;
      }
    .solutions-page__hero-actions {
        justify-content: center;
        gap: 10px;
      }

      .solutions-page__hero-actions .btn,
      .solutions-page__hero-btn,
      .solution-detail-card__actions .btn,
      .solution-detail-card__btn {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 1;
        border-radius: 10px;
        width: auto;
        max-width: 100%;
      }

      .solution-detail-card__actions {
        gap: 10px;
      }

      .solutions-page__bullets {
        justify-content: center;
      }

      .solution-detail-card__info,
      .solution-detail-card--no-image .solution-detail-card__info {
        grid-template-columns: 1fr;
        gap: 22px;
      }
    
      .solution-detail-card__image {
        min-height: 220px;
      }
      .solutions__slider-wrap {
        display: block;
      }
    
      .solutions__nav {
        display: none;
      }
    
      .solutions__slider {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
      }
    
      .solutions__slider::-webkit-scrollbar {
        display: none;
      }
    
      .solutions__slider .solution-card {
        flex: 0 0 calc(100vw - 48px);
        max-width: calc(100vw - 48px);
        min-width: calc(100vw - 48px);
        min-height: auto;
        padding: 20px;
        scroll-snap-align: start;
      }
    
      .solutions__slider .solution-card__title {
        font-size: 17px;
        line-height: 1.3;
      }
    
      .solutions__slider .solution-card__description {
        font-size: 14px;
        line-height: 1.6;
      }
    
      .solutions__slider .solution-card__link {
        min-height: 42px;
        padding: 0 18px;
        font-size: 14px;
      }
      
  }

@media (max-width: 1199px) {
  .solutions-page__title {
    font-size: 46px;
  }

  .solution-detail-card__grid {
    grid-template-columns: 1fr;
  }

  .solution-detail-card__media {
    max-width: 520px;
  }
  
}

@media (max-width: 991px) {
  .solutions-page__hero {
    padding: 38px 0 22px;
  }

  .solutions-page__title {
    font-size: 38px;
  }

  .solutions-page__text {
    font-size: 17px;
  }

  .solutions-page__tabs-wrap {
    gap: 10px;
  }

  .solution-detail-card {
    padding: 28px 24px;
  }

  .solution-detail-card__info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .solutions-page__hero-actions {
    gap: 12px;
  }

  .solutions-page__hero-actions .btn,
  .solutions-page__hero-btn,
  .solution-detail-card__actions .btn,
  .solution-detail-card__btn {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
    line-height: 1;
    border-radius: 11px;
  }

  .solution-detail-card__actions {
    gap: 12px;
  }
  .news__list .news-card--archive {
    max-width: 100%;
  }

  .news__list .news-card--archive .news-card__content {
    padding: 24px;
  }
}
/* =========================
   Solutions + Jobs + News + Documents — unified responsive fit
========================= */

.solutions__slider-wrap,
.news__slider-wrap,
.jobs__slider-wrap,
.documents__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.solutions__slider,
.news__slider,
.jobs__slider,
.documents__slider {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.solutions__slider::-webkit-scrollbar,
.news__slider::-webkit-scrollbar,
.jobs__slider::-webkit-scrollbar,
.documents__slider::-webkit-scrollbar {
  display: none;
}

/* =========================
   Wide screens
========================= */

@media (min-width: 1440px) {
  /* Решения + Вакансии + Документы: 3 карточки */
  .solutions__slider .solution-card,
  .jobs__slider .job-card,
  .documents__slider .document-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
  }

  /* Новости: 2 карточки */
  .news__slider .news-card--preview {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
    min-height: 320px;
  }
}

/* =========================
   Standard desktop / laptop
========================= */

@media (min-width: 992px) and (max-width: 1439px) {
  /* Решения + Вакансии + Документы: 2 карточки */
  .solutions__slider .solution-card,
  .jobs__slider .job-card,
  .documents__slider .document-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }

  /* Новости: 2 карточки */
  .news__slider .news-card--preview {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
    min-height: 320px;
  }
}

/* =========================
   Tablet
========================= */

@media (min-width: 768px) and (max-width: 991px) {
  /* Решения + Вакансии: 2 карточки */
  .solutions__slider .solution-card,
  .jobs__slider .job-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }

  /* Документы: 2 карточки */
  .documents__slider .document-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }

  /* Новости: 1 карточка */
  .news__slider .news-card--preview {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    min-height: 300px;
  }
}
@media (max-width: 767px) {
  .documents__slider-wrap {
    display: block;
  }

  .documents__nav {
    display: none;
  }

  .documents__slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .documents__slider::-webkit-scrollbar {
    display: none;
  }

  .documents__slider .document-card {
  flex: 0 0 calc(100% - 4px);
  max-width: calc(100% - 4px);
  min-width: calc(100% - 4px);
  min-height: auto;
  scroll-snap-align: start;
}
}

/* =========================
   Default page template
========================= */

.page-content {
  max-width: 1180px;
  margin: 0 auto;
}

.page-content .section-title {
  margin: 0 0 24px;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: #1F2A44;
}

.page-content__body {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
  color: #33415C;
}

.page-content__body h1,
.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
  margin: 32px 0 16px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
  color: #1F2A44;
}

.page-content__body p {
  margin: 0 0 18px;
}

.page-content__body ul,
.page-content__body ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

.page-content__body li {
  margin-bottom: 10px;
}

.page-content__body a {
  color: #2B5D9B;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content__body strong,
.page-content__body b {
  font-weight: 700;
  color: #1F2A44;
}

.page-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #FFFFFF;
  border: 2px solid #AEBED3;
}

.page-content__body table th,
.page-content__body table td {
  padding: 14px 16px;
  border: 1px solid #B9C7D9;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.6;
  background: #FFFFFF;
}

.page-content__body table th {
  background: #E2EBF5;
  color: #1F2A44;
  font-weight: 700;
}

.page-content__body table tr:nth-child(even) td {
  background: #F8FBFF;
}

@media (max-width: 767px) {
  .page-content .section-title {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .page-content__body {
    font-size: 16px;
    line-height: 1.75;
  }

  .page-content__body h1,
.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
  font-size: 16px;
  line-height: 1.75;
}

  .page-content__body table th,
  .page-content__body table td {
    font-size: 14px;
    padding: 10px 12px;
  }
}
.about__cta {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #2E5D99 0%, #274E84 100%);
  border-radius: 28px;
}

.about__highlight-logo {
  width: 180px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__highlight-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about__cta-content {
  min-width: 0;
}

.about__cta-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #FFFFFF;
}

.about__cta-text {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 991px) {
  .about__cta {
    grid-template-columns: 150px 1fr;
    gap: 22px;
    padding: 30px 28px;
  }

  .about__highlight-logo {
    width: 150px;
    padding: 12px;
  }

  .about__cta-title {
    font-size: 22px;
  }

  .about__cta-text {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .about__cta {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .about__highlight-logo {
    width: 140px;
  }

  .about__cta-title {
    font-size: 20px;
  }

  .about__cta-text {
    font-size: 15px;
    line-height: 1.6;
  }
}
/* =========================
   Search results
========================= */

.search-results {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.search-result-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
}

.search-result-card__meta {
  margin-bottom: 10px;
}

.search-result-card__type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #EFF3F8;
  font-size: 13px;
  font-weight: 700;
  color: #2B5D9B;
}

.search-result-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.search-result-card__title a {
  color: #1F2A44;
  text-decoration: none;
}

.search-result-card__excerpt {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: #33415C;
}

.search-result-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: #F2B233;
  color: #1F2A44;
  text-decoration: none;
  font-weight: 600;
}

.search-results__pagination {
  margin-top: 28px;
}

.search-results-empty {
  margin-top: 24px;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 20px;
}

@media (max-width: 767px) {
  .search-result-card {
    padding: 20px;
  }

  .search-result-card__title {
    font-size: 20px;
  }

  .search-result-card__excerpt {
    font-size: 15px;
  }
}
/* =========================
   Header search
========================= */

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-search__toggle {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #F2B233;
  color: #1F2A44;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(242, 178, 51, 0.28);
}

.header-search__toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.header-search__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(420px, calc(100vw - 40px));
  padding: 14px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 14px 34px rgba(31, 42, 68, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 30;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}
@media (max-width: 767px) {
  .header-search__suggestions {
    max-height: 260px;
  }
}

.header-search.is-open .header-search__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search__form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #D9E2EF;
  border-radius: 12px;
  background: #FFFFFF;
  font: inherit;
  font-size: 15px;
  color: #1F2A44;
}

.header-search__input:focus {
  outline: none;
  border-color: #2B5D9B;
}

.header-search__submit {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #2B5D9B;
  color: #FFFFFF;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.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;
}

/* =========================
   Header search — half screen fix
========================= */

.header,
.header .container,
.header__inner {
  overflow: visible;
}

.header-search__panel {
  background: #FFFFFF;
  border: 1px solid #D9E2EF;
  box-shadow: 0 14px 34px rgba(31, 42, 68, 0.14);
  z-index: 60;
}

/* Пол-экрана / tablet / узкий desktop */
@media (min-width: 768px) and (max-width: 1199px) {
  .header .header__inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 18px;
    row-gap: 10px;
  }

  .header .logo {
    grid-column: 1 / 2;
    align-self: start;
    min-width: 0;
  }

  .header .nav {
    grid-column: 2 / 3;
    align-self: start;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
  }

  .header .nav__list,
  .header .nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .header .header-search {
    grid-column: 3 / 4;
    justify-self: end;
    align-self: start;
    position: relative;
    width: auto !important;
    min-width: 44px;
    margin: 0 !important;
    z-index: 80;
  }

  .header .header-search__toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    flex: 0 0 44px;
  }

  .header .header-search__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto !important;
    width: 320px;
    max-width: calc(100vw - 40px);
    padding: 12px;
    border-radius: 16px;
    background: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    display: block !important;
  }

  .header .header-search.is-open .header-search__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header .header-search__form {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
  }

  .header .header-search__input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
  }

  .header .header-search__submit {
    flex: 0 0 auto;
    width: auto !important;
    min-height: 44px;
    white-space: nowrap;
  }
}

/* Телефон */
@media (max-width: 767px) {
  .header__inner {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 14px;
    align-items: start;
  }

  .logo {
    justify-self: start;
  }

  .nav {
    width: 100%;
    margin-left: 0;
  }

  .header-search {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-search__toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(242, 178, 51, 0.22);
  }

  .header-search__panel {
    position: static;
    width: 100%;
    padding: 12px;
    border-radius: 16px;
    background: #FFFFFF;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .header-search.is-open .header-search__panel {
    display: block;
  }

  .header-search__form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-search__input {
    min-height: 44px;
    background: #FFFFFF;
  }

  .header-search__submit {
    width: 100%;
    min-height: 44px;
  }
}
/* =========================
   Header search suggestions
========================= */

.header-search__suggestions {
  margin-top: 12px;
  border-top: 1px solid #E3EAF4;
  padding-top: 10px;
  max-height: min(420px, calc(100vh - 240px));
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}
.header-search__suggestions::-webkit-scrollbar {
  width: 8px;
}

.header-search__suggestions::-webkit-scrollbar-track {
  background: #F3F6FA;
  border-radius: 999px;
}

.header-search__suggestions::-webkit-scrollbar-thumb {
  background: #C5D2E3;
  border-radius: 999px;
}

.header-search__suggestions::-webkit-scrollbar-thumb:hover {
  background: #AEBED3;
}

.header-search__suggestion {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.header-search__suggestion:hover {
  background: #F6F9FD;
}

.header-search__suggestion + .header-search__suggestion {
  margin-top: 4px;
}

.header-search__suggestion-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #EFF3F8;
  color: #2B5D9B;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.header-search__suggestion-title {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: #1F2A44;
  margin-bottom: 4px;
}

.header-search__suggestion-text {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #5A6782;
}

.header-search__suggestion-empty {
  padding: 12px 10px;
  font-size: 14px;
  color: #5A6782;
}