:root {
  --color-primary: #005bff;
  --color-primary-light: #c8dfff;

  --color-heading: #01276c;
  --color-text: #383838;
  --color-text-secondary: #717171;

  --color-background: #f6faff;
  --color-border: #6bb6ff4d;
  --color-disabled: #dfe3e8;

  --gradient-primary: linear-gradient(96deg, #7a4dff 10.2%, #005bff 43.71%, #de4ab9 87.7%);
  --gradient-secondary: linear-gradient(93deg, #7a4dff 43.28%, #005bff 95.57%);

  --radius-lg: 28px;
  --radius-md: 16px;

  --container-width: 1680px;
  --container-padding: 15px;
  --gap: 20px;

  --transition: 0.6s ease;
  --ease-soft: cubic-bezier(0.37, 0, 0.63, 1);

  --filter-primary: brightness(0) saturate(100%) invert(26%) sepia(92%) saturate(6764%) hue-rotate(217deg) brightness(106%) contrast(106%);
  --filter-hover: brightness(0) saturate(100%) invert(11%) sepia(43%) saturate(4992%) hue-rotate(213deg) brightness(92%) contrast(104%);
  --filter-disabled: brightness(0) saturate(100%) invert(47%) sepia(1%) saturate(4681%) hue-rotate(42deg) brightness(94%) contrast(89%);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Geologica", sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
  line-height: normal;
  color: var(--color-text);
  background-color: var(--color-background);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

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

a:focus-visible,
button:focus-visible,
[type="button"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.page--inner {
  padding-top: 182px;
}

.page--molecule {
  background: #f6faff url("../img/pictures/bg-molecula.png") top center / 100% auto no-repeat;
}

.page--molecule-big {
  background: #f6faff url("../img/pictures/bg-molecula-2.png") top center / 100% auto no-repeat;
}

.page--map {
  background: #f6faff url("../img/pictures/bg-map.jpg") top center / 100% auto no-repeat;
}

.page--factory {
  background: #f6faff url("../img/pictures/bg-factory.jpg") top center / 100% auto no-repeat;
}

.page__heading {
  margin-bottom: 32px;
}

.page__desc {
  color: #383838;
  font-size: 20px;
  font-weight: 400;
  line-height: 140%;
}

.page__desc > :first-child {
  margin-top: 0;
}

.page__desc > :last-child {
  margin-bottom: 0;
}

.main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page--error {
  background: #f6faff url("../img/pictures/bg-molecula.png") top center / 100% auto no-repeat;
}

.error-page {
  display: flex;
  flex-grow: 1;
  align-items: center;
  min-height: 620px;
  padding: 80px 0;
}

.error-page__container {
  width: 100%;
}

.error-page__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.error-page__code {
  font-family: "Unbounded", sans-serif;
  font-size: 200px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(90deg, #7a4dff 16%, #005bff 48%, #de4ab9 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page__title {
  margin-top: 24px;
}

.error-page__text {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.4;
}

.error-page__btn {
  min-width: 318px;
  margin-top: 32px;
}

.section-title {
  margin: 0 0 24px;
  color: #01276c;
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
}

.section {
  margin: 110px 0;
}

.section--mt-none {
  margin-top: 0 !important;
}

.section--mb-none {
  margin-bottom: 0 !important;
}

.section__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  margin-bottom: 24px;
}

.section__title.section-title {
  margin: 0;
}

.header {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: 15px 32px;
  border-radius: 100px;
  border: 1px solid rgba(0, 91, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.header__logo {
  flex-shrink: 0;
}

.header__panel {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 28px;
}

.header__menu {
  margin: 0 auto;
}

.header__toggle {
  display: none;
}

[hidden] {
  display: none !important;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__join {
  min-height: 60px;
  white-space: nowrap;
}

.header__search {
  --size: 60px;
  width: var(--size);
  height: var(--size);
  padding: 12px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: #ffffff url("../img/search.svg") center / 58.33% no-repeat;
  transition: border-color var(--transition);
}

.header__search:hover {
  border-color: var(--color-primary);
}

.header__language {
  margin-left: 28px;
  flex-shrink: 0;
}

.header__language select,
.header__language .nice-select {
  float: none;
  width: 41px;
  height: 44px;
  padding: 0 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 44px;
}

.header__language select {
  width: auto;
  padding-right: 0;
}

.header__language .nice-select::after {
  right: 0;
  width: 12px;
  height: 7px;
  margin-top: -3.5px;
  border: 0;
  background: url("../img/arrow-down.svg") center / contain no-repeat;
  transform: rotate(0);
  transform-origin: center;
}

.header__language .nice-select.open::after {
  transform: rotate(180deg);
}

.header__language select:focus-visible,
.header__language .nice-select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.header__language .nice-select .list {
  right: 0;
  left: auto;
  min-width: 80px;
  margin-top: 6px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgb(1 39 108 / 12%);
}

.header__language .nice-select .option {
  min-height: 44px;
  padding: 0 20px;
  font-weight: 400;
  line-height: 44px;
}

.header__language .nice-select .option:hover,
.header__language .nice-select .option.focus,
.header__language .nice-select .option.selected.focus {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.nav__list,
.nav__sublist {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav--vertical .nav__list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: start;
  gap: 12px 80px;
}

.nav--vertical .nav__link {
  min-height: 0;
}

.nav__link,
.nav__sublink {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  transition: color var(--transition);
}

.nav__link:hover,
.nav__sublink:hover {
  color: var(--color-primary);
}

.nav__item {
  position: relative;
}

.nav__link {
  min-height: 44px;
  white-space: nowrap;
}

.nav__toggle {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.nav__item--has-submenu > .nav__link::after {
  content: "";
  width: 12px;
  height: 7px;
  background: url("../img/arrow-down.svg") center / contain no-repeat;
  flex-shrink: 0;
  transition:
    transform 0.4s var(--ease-soft),
    filter var(--transition);
}

.nav__link:hover::after {
  filter: var(--filter-primary);
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 250px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 40px rgb(1 39 108 / 10%);
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease-soft),
    visibility 0s 0.35s;
}

.nav__item--expanded > .nav__submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav__item--expanded > .nav__link::after {
  transform: rotate(180deg);
}

.nav__sublist {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.nav__sublink {
  min-height: 44px;
  font-size: 16px;
}

.socials__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 10px;
  list-style: none;
  border-radius: 100px;
  background-color: #fff;
}

.socials--flat .socials__list {
  padding: 0;
  border: none;
  background-color: transparent;
}

.socials__link {
  --size: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
}

.socials__link:hover .socials__img {
  filter: brightness(0.8);
}

.socials__img {
  display: block;
  width: auto;
  height: 26px;
  object-fit: contain;
  filter: brightness(1);
  transition: filter 0.6s var(--ease-soft);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background: var(--color-primary);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:not(.btn--o, .btn--white)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--gradient-primary);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.85s var(--ease-soft);
}

.btn:not(:disabled, .btn--disabled, [aria-disabled="true"], .btn--o, .btn--white):hover::before {
  opacity: 0;
}

.btn:disabled::before,
.btn--disabled::before,
.btn[aria-disabled="true"]::before {
  display: none;
}

.btn:disabled,
.btn--disabled,
.btn[aria-disabled="true"] {
  color: var(--color-text-secondary);
  background: var(--color-disabled);
  cursor: default;
}

.btn--white,
.btn--o {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  background: none;
}

.btn--white {
  background-color: #fff;
}

.btn--white:not(:disabled, .btn--disabled, [aria-disabled="true"]):hover,
.btn--o:not(:disabled, .btn--disabled, [aria-disabled="true"]):hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.btn--white:disabled,
.btn--white.btn--disabled,
.btn--white[aria-disabled="true"],
.btn--o:disabled,
.btn--o.btn--disabled,
.btn--o[aria-disabled="true"] {
  color: var(--color-text-secondary);
  border: 2px solid var(--color-disabled);
  background: none;
}

.logo {
  display: block;
  transition: opacity var(--transition);
}

.logo__img {
  display: block;
  width: 139px;
}

.footer {
  margin-top: 110px;
  padding: 30px 0;
  border-radius: 60px 60px 0 0;
  background: rgba(255, 255, 255, 0.75);
}

.footer__main {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  padding-bottom: 20px;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo .logo__img {
  width: 139px;
}

.footer__contacts {
  max-width: 350px;
}

.footer__contacts,
.footer__contacts-text {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  font-weight: 400;
}

.footer__contacts-text > * {
  margin: 0;
}

.footer__contacts-text a {
  color: inherit;
}

.footer__contacts-text a:hover {
  text-decoration: none;
}

.footer__feedback {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 345px;
  margin-left: auto;
}

.footer__feedback-text {
  color: var(--color-heading);
  font-size: 18px;
  font-weight: 400;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 20px;
  color: #797979;
  font-size: 16px;
  border-top: 1px solid rgba(107, 182, 255, 0.3);
}

.footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.footer__bottom a:hover {
  text-decoration: underline;
}

.footer__copyright {
  max-width: 450px;
}

.breadcrumbs {
  margin: 0 0 37px;
}

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

.breadcrumbs__item {
  display: inline;
  font-size: 18px;
  font-weight: 400;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  display: inline-block;
  margin-left: 2px;
}

.breadcrumbs__link {
  text-decoration: none;
  color: var(--color-text);
  transition: color var(--transition);
}

.breadcrumbs__link:hover {
  color: var(--color-primary);
}

.title {
  margin: 0;
  color: var(--color-heading);
  font-family: "Unbounded";
  font-size: 42px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.block {
  padding: 24px;
  border-radius: 28px;
  background: #fff;
}

.block__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.block__title {
  color: #01276c;
  font-family: "Unbounded";
  font-size: 24px;
  font-weight: 600;
  line-height: 166.667%;
}

.block--lg {
  padding: 40px;
}

.block--lg .block__title {
  font-size: 28px;
}

.block--xl {
  padding: 32px;
}

.block--xl .block__title {
  font-size: 32px;
}

.block--lg .block__heading,
.block--xl .block__heading {
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  max-width: 100%;
  padding: 8px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 115%;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: break-word;
  border-radius: 20px;
  background: rgba(122, 77, 255, 0.8);
}

.tag--white {
  color: #01276c;
  background: rgba(255, 255, 255, 0.4);
}

.tag--sky {
  color: #01276c;
  background: rgba(107, 182, 255, 0.2);
}

.tag--rose {
  color: #01276c;
  background: rgba(255, 46, 136, 0.2);
}

.link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #005bff;
  font-size: 20px;
  font-weight: 500;
  line-height: 120%;
  text-decoration: none;
  transition: color var(--transition);
}

.link::after {
  content: "";
  width: 9px;
  height: 15px;
  background: url("../img/arrow-right-blue.svg") center / contain no-repeat;
  filter: var(--filter-primary);
  transition: filter var(--transition);
}

.link:hover,
.news-card__link:hover .link {
  color: #01276c;
}

.link:hover::after,
.news-card__link:hover .link::after {
  filter: var(--filter-hover);
}

.link:disabled,
.link--disabled,
.news-card--disabled .link {
  color: #717171 !important;
  cursor: not-allowed;
}

.link:disabled::after,
.link--disabled::after,
.news-card--disabled .link::after {
  filter: var(--filter-disabled) !important;
}

.news__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.news--vertical .news__list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.news__pagination {
  margin-top: 24px;
}

.news__item .news-card {
  height: 100%;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 20px;
  padding: 24px;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid rgba(107, 182, 255, 0.3);
  background: radial-gradient(ellipse 80% 80% at 100% 100%, #fef6fc 0%, rgba(254, 246, 252, 0) 100%), radial-gradient(ellipse 100% 80% at 0% 50%, #f3f9ff 0%, rgba(243, 249, 255, 0) 100%), linear-gradient(90deg, #eff6ff 0%, #f5f0ff 100%);
}

.news-card--disabled .news-card__link {
  cursor: not-allowed;
}

.news-card__img-wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 30px;
  min-height: 300px;
  padding: 30px;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
}

.news-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.news-card__date {
  display: inline-block;
  width: min-content;
  padding: 8px 12px;
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  line-height: 115%;
  text-transform: uppercase;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.news-card__tag {
  margin-top: auto;
}

.news-card__day {
  font-size: 28px;
}

.news-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 20px;
}

.news-card__title {
  margin: 0 0 4px 0;
  color: #01276c;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
}

.news-card__desc {
  color: #383838;
  font-size: 18px;
  font-weight: 300;
  line-height: 125%;
}

.news-card__desc > :first-child {
  margin-top: 0;
}

.news-card__desc > :last-child {
  margin-bottom: 0;
}

.news-card__btn {
  margin-top: auto;
}

.news.news--vertical .news__item:not(:last-child) .news-card.news-card--small {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(107, 182, 255, 0.3);
}

.news-card--small .news-card__link {
  display: grid;
  grid-template-columns: 1fr 1.58fr;
  align-items: start;
  padding: 0;
  border: none;
  background: none;
}

.news-card--small .news-card__img-wrap {
  padding: 13px;
  min-height: 160px;
  border-radius: 16px;
}

.news-card--small .news-card__tag {
  padding: 6px;
  font-size: 14px;
}

.news-card--small .news-card__content {
  gap: 12px;
}

.news-card--small .news-card__title {
  margin-bottom: 0;
  font-size: 20px;
}

.news-card--small .news-card__desc {
  font-size: 18px;
}

.news-card--small .news-card__date {
  width: initial;
  padding: 0;
  color: #717171;
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  text-transform: initial;
}

.news-card--small .news-card__day {
  font-size: inherit;
}

.news-detail__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.news-detail__main {
  grid-column: span 7;
}

.news-detail__aside {
  grid-column: span 5;
}

.news-detail__main .block {
  height: 100%;
}

.news-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-detail__heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.news-detail__date {
  color: #717171;
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
}

.news-detail__title {
  margin: 0;
  color: #01276c;
  font-family: "Unbounded";
  font-size: 28px;
  font-weight: 600;
  line-height: 142.857%;
}

.news-detail__desc {
  color: #383838;
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
}

.news-detail__img-wrap {
  border-radius: 20px;
  overflow: hidden;
}

.news-detail__img {
  display: block;
  width: 100%;
  height: auto;
}

.news-detail__text {
  color: #383838;
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
}

.news-detail__text > :first-child {
  margin-top: 0;
}

.news-detail__text > :last-child {
  margin-bottom: 0;
}

.news-detail__socials {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

.news-detail__aside-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.news-detail__aside-title {
  color: #01276c;
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 166.667%;
}

.pagination__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 46px;
  height: 46px;
  padding: 8px 4px;
  color: #383838;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #dfe3e8;
  background: #fff;
  transition:
    border-color var(--transition),
    background var(--transition);
}

a.pagination__link:hover {
  border-color: #c8dfff;
  background-color: #c8dfff;
}

.pagination__link--active {
  color: var(--color-primary);
  border-color: #7a4dff;
}

.pagination__link-disabled {
  border-color: #dfe3e8 !important;
  background-color: #dfe3e8 !important;
}

.pagination__link--arrow {
  background: url("../img/arrow-right.svg") center / auto 30% no-repeat;
}

.pagination__item--prev .pagination__link {
  background-image: url("../img/arrow-left.svg");
}

.about__desc {
  max-width: 849px;
}

.about__intro {
  margin-top: 37px;
}

.about__doc {
  margin-top: 20px;
}

.info__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card,
.info-card .block {
  height: 100%;
}

.info-card__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--gap);
}

.info-card__title {
  color: #01276c;
  font-family: "Unbounded";
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.info-card__desc {
  margin-top: 24px;
  color: #383838;
  font-size: 20px;
  font-weight: 400;
  line-height: 140%;
}

.activities__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: activities;
}

.activities__item {
  counter-increment: activities;
}

.activities-card {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  height: 100%;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid rgba(107, 182, 255, 0.5);
  background: linear-gradient(110deg, #fff 0%, #fdfdff 45%, #fffcff 75%, #fffdfd 100%);
}

.activities-card::before {
  content: counter(activities);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  color: #01276c;
  font-size: 32px;
  font-weight: 600;
  line-height: 130%;
  border-radius: 50%;
  background: #c8dfff;
}

.activities-card__title {
  color: #01276c;
  font-family: "Unbounded";
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
}

.activities-card__desc {
  margin-top: 16px;
  color: #383838;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
}

.community-stats__row {
  display: grid;
  grid-template-columns: 1fr 2.03fr;
  gap: var(--gap);
}

.community-stats__img-wrap {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
}

.community-stats__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 263px;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #6bb6ff;
  background:
    url("../img/pictures/bg-stats.png") center / cover no-repeat,
    linear-gradient(135deg, #edf5ff 0%, #f1f2ff 55%, #fbedff 100%);
}

.stats__icon {
  display: block;
  height: 82px;
}

.stats__value {
  color: #01276c;
  font-family: "Unbounded";
  font-size: 44px;
  font-weight: 600;
  line-height: 130%;
}

.stats__label {
  color: #383838;
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
}

.document-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 16px 32px;
  color: #005bff;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid #6bb6ff;
  background: #fff;
  transition: background-color var(--transition);
}

.document-link:hover {
  background-color: var(--color-primary-light);
}

.document-link::before {
  --document-link-size: 40px;

  content: "";
  width: var(--document-link-size);
  height: var(--document-link-size);
  background: url("../img/doc.svg") center / contain no-repeat;
}

.join-community {
  padding: 70px 0;
  border: 1px solid #6bb6ff;
  background: url("../img/pictures/bg-join-community.png") center / cover no-repeat;
}

.join-community__row {
  display: flex;
  align-items: flex-end;
  gap: 40px;
}

.join-community__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  gap: 24px;
}

.join-community__title {
  color: #01276c;
  font-family: "Unbounded";
  font-size: 28px;
  font-weight: 600;
  line-height: 120%;
}

.join-community__desc {
  color: #383838;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
}

.join-community__desc > :first-child {
  margin-top: 0;
}

.join-community__desc > :last-child {
  margin-bottom: 0;
}

.join-community__btn {
  width: 522px;
  flex-shrink: 0;
  white-space: nowrap;
}

.organization-detail__intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.organization-detail__img-wrap {
  border-radius: 30px;
  overflow: hidden;
}

.organization-detail__img {
  display: block;
  width: 100%;
}

.organization-detail__content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}

.organization-detail__title {
  margin: 0;
  color: #01276c;
  font-family: "Unbounded";
  font-size: 28px;
  font-weight: 600;
  line-height: 130%;
  text-transform: uppercase;
}

.organization-detail__countries {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.organization-detail__countries .countries:not(:last-child) {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(107, 182, 255, 0.3);
}

.countries__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.countries__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-align: center;
}

.countries__img {
  width: 60px;
  height: 60px;
}

.countries__label {
  color: #383838;
  font-size: 15px;
  font-weight: 400;
  line-height: 120%;
}

.community-role-detail {
  --community-role-detail-img-size: 507px;
}

.community-role-detail__row {
  display: grid;
  grid-template-columns: var(--community-role-detail-img-size) 1fr;
  gap: 40px;
}

.community-role-detail__img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--community-role-detail-img-size);
  border-radius: 30px;
  background: #fff url("../img/pictures/bg-stats.png") center / cover no-repeat;
}

.community-role-detail__img {
  width: 59%;
}

.community-role-detail__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.community-role-detail__title {
  margin: 0;
  color: #01276c;
  font-family: "Unbounded";
  font-size: 28px;
  font-weight: 600;
  line-height: 130%;
}

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

.list__item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 10px;
  color: #383838;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
}

.list__item::before {
  --list-marker-size: 16px;
  content: "";
  width: var(--list-marker-size);
  height: var(--list-marker-size);
  display: block;
  border-radius: 50%;
  background-color: #c8dfff;
}

.list__item:not(:last-child) {
  margin-bottom: 32px;
}

.persons-slider .swiper-slide {
  height: auto;
}

.persons__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.persons__pagination {
  margin-top: 50px;
}

.person-card {
  height: 100%;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
}

.person-card__img-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  background: url("../img/pictures/bg-person-card-vertical.png") center / cover no-repeat;
}

.person-card__img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.person-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.person-card__name {
  margin: 0;
  color: #01276c;
  font-size: 18px;
  font-weight: 600;
  line-height: 120%;
  overflow-wrap: break-word;
}

.person-card__role {
  font-style: italic;
}

.person-card__role,
.person-card__position {
  color: #383838;
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
}

.person-card__params {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person-card__param {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #383838;
  font-size: 16px;
  font-weight: 400;
  line-height: 115%;
}

.person-card__param::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.person-card__param--location::before {
  background-image: url("../img/location.svg");
}

.person-card__param--position::before {
  background-image: url("../img/case.svg");
}

.person-card__param--email::before {
  background-image: url("../img/email.svg");
}

.person-card__param--icon-top {
  align-items: flex-start;
}

.person-card__param a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.person-card__param a:hover {
  color: var(--color-primary);
}

.person-card--horizontal {
  display: flex;
  align-items: center;
  background: #fff url("../img/pictures/bg-person-card-horizontal.png") center / cover no-repeat;
  isolation: isolate;
}

.person-card--horizontal .person-card__img-wrap {
  background: none;
  height: auto;
  width: 265px;
  flex-shrink: 0;
  padding-top: 0;
  align-self: flex-end;
}

.person-card--horizontal .person-card__img {
  position: relative;
  top: initial;
  left: initial;
  z-index: -1;
  width: 103%;
  max-width: initial;
}

.person-card--horizontal .person-card__content {
  min-width: 0;
  flex-grow: 1;
  gap: 12px;
  padding: 30px 20px 30px 0;
}

.person-card--horizontal .person-card__name--big {
  display: block;
  font-size: 24px;
}

.person-card--compact {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  border-radius: 0;
  background: none;
}

.person-card--compact .person-card__img-wrap {
  max-width: 235px;
  height: auto;
  padding-top: 0;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}

.person-card--compact .person-card__content {
  padding: 0;
}

.person-card--compact .person-card__name {
  width: min-content;
  color: #01276c;
  font-size: 24px;
  font-weight: 600;
  line-height: 130%;
}

.person-card--story {
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1fr);
  min-height: 456px;
  border: 1.5px solid #bedfff;
  border-radius: 42px;
}

.person-card--story .person-card__img-wrap {
  width: 100%;
  height: 100%;
  min-height: 456px;
  padding: 0;
  background: none;
}

.person-card--story .person-card__img {
  object-position: center;
}

.person-card--story .person-card__content {
  justify-content: space-between;
  gap: 30px;
  min-width: 0;
  padding: 30px;
}

.person-card--story .person-card__name {
  font-size: 30px;
  line-height: 1.15;
}

.person-card--story .person-card__params {
  gap: 18px;
}

.person-card--story .person-card__param {
  align-items: flex-start;
  gap: 18px;
  font-size: 24px;
  line-height: 1.15;
}

.person-card--story .person-card__param::before {
  width: 36px;
  height: 36px;
}

.person-card--story .person-card__role {
  color: var(--color-heading);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.15;
}

.person-card--story .person-card__link {
  margin-top: auto;
  font-size: 28px;
}

.people-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.people-group__block {
  padding: 30px;
}

.people-group__block .block__title {
  font-family: inherit;
  color: #383838;
  line-height: 1.2;
}

.people-group__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.slider {
  --swiper-navigation-size: 46px;
  --swiper-navigation-sides-offset: calc(-1 * (var(--swiper-navigation-size) / 2));

  position: relative;
}

.slider .swiper-button-next,
.slider .swiper-button-prev {
  z-index: 3;
  width: var(--swiper-navigation-size);
  border-radius: 50%;
  border: 1px solid rgba(190, 223, 255, 0.3);
  background: #fff url("../img/arrow-slider.svg") center / auto 50% no-repeat;
}

.slider .swiper-button-next {
  transform: rotate(180deg);
}

.slider .swiper-button-next::after,
.slider .swiper-button-prev::after {
  display: none;
}

.stories-detail {
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
}

.stories-detail__intro {
  display: grid;
  grid-template-columns: 404px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.stories-detail__photo {
  position: relative;
  height: 0;
  padding-top: 117.8%;
  border-radius: 28px;
  background: url("../img/pictures/bg-woman-faces-detail.png") center / cover no-repeat;
  overflow: hidden;
}

.stories-detail__photo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.stories-detail__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.stories-detail__title {
  margin: 0;
  color: var(--color-heading);
  font-family: "Unbounded", sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
}

.stories-detail__params {
  gap: 20px;
}

.stories-detail__params .person-card__param {
  gap: 12px;
  font-size: 24px;
  line-height: 1.15;
}

.stories-detail__params .person-card__param::before {
  width: 40px;
  height: 40px;
}

.stories-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stories-detail__desc {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.stories-detail__facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.stories-detail__fact {
  position: relative;
  padding: 20px 20px;
  border-radius: 16px;
  background: #f6e9fe linear-gradient(90deg, #f1f8ff 43.75%, #f6e9fe 89.42%);
  font-size: 20px;
  line-height: 1.25;
  overflow: hidden;
}

.stories-detail__fact::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  background: #c8dfff;
}

.stories-detail__other {
  margin-top: 26px;
}

.stories-detail__slider .swiper {
  overflow: hidden;
}

.stories-detail__slider .swiper-slide {
  height: auto;
}

.person-card__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.join__title {
  max-width: 900px;
  margin: 100px 0 64px;
}

.join-form__title {
  margin: 0 0 12px;
  color: var(--color-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

.join-form__note {
  margin: 0 0 24px;
  color: #717171;
  font-size: 18px;
  line-height: 1.25;
}

.join-form__note span,
.field__required {
  color: #ff4567;
}

.join-form__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field__label {
  margin: 0;
  color: var(--color-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}

.field__control {
  display: block;
  width: 100%;
  height: 55px;
  padding: 14px 16px;
  color: #383838;
  font: inherit;
  font-size: 18px;
  line-height: 1.2;
  border: 2px solid rgba(107, 182, 255, 0.3);
  border-radius: 16px;
  outline: 0;
  background-color: #fff;
  transition:
    border-color 0.25s var(--ease-soft),
    box-shadow 0.25s var(--ease-soft);
}

.field__control::placeholder {
  color: #717171;
  opacity: 1;
}
.field__control:focus {
  border-color: #6bb6ff;
  box-shadow: 0 0 0 4px rgba(107, 182, 255, 0.12);
}
.field--error .field__control,
.field--error .nice-select,
.field--error .choice__text {
  border-color: #ff4567;
}
.field--error .check__box::before {
  border-color: #ff4567;
}
.field--error .field__control:focus {
  box-shadow: 0 0 0 4px rgba(255, 69, 103, 0.1);
}
.field__error {
  grid-column: 2;
  margin-top: -14px;
  color: #ff4567;
  font-size: 14px;
  line-height: 1.2;
}

.field--date {
  position: relative;
}
.field--date::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  background: url("../img/calendar.svg") center / contain no-repeat;
}
.field--date .field__control {
  padding-right: 52px;
}

.field__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.choice {
  position: relative;
  min-width: 200px;
  cursor: pointer;
}
.choice__input,
.check__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice__text {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  padding: 14px 24px;
  border: 2px solid #6bb6ff;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  background: #fff;
}
.choice__text::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(90deg, #f2f9ff 41.35%, #f6eeff 100%);
  transition: opacity 0.3s var(--ease-soft);
}
.choice__input:checked + .choice__text::before {
  opacity: 1;
}

.field--control-only > * {
  grid-column: 2;
}
.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  width: fit-content;
  color: var(--color-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
}
.check__box {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.check__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-heading);
  border-radius: 4px;
  background: #fff;
}
.check__box::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  width: 7px;
  height: 12px;
  opacity: 0;
  border: solid var(--color-heading);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check__input:checked + .check__box::after {
  opacity: 1;
}

.field--select .nice-select {
  float: none;
  width: 100%;
  height: 55px;
  padding: 0 46px 0 16px;
  border: 2px solid rgba(107, 182, 255, 0.3);
  border-radius: 16px;
  font-size: 18px;
  line-height: 51px;
}
.field--select .nice-select::after {
  right: 18px;
  width: 9px;
  height: 15px;
  margin-top: -7px;
  border: 0;
  background: url("../img/arrow-right-blue.svg") center / contain no-repeat;
  transform: rotate(90deg);
  transform-origin: center;
}
.field--select .nice-select.open::after {
  transform: rotate(-90deg);
}
.field--select .nice-select .list {
  right: 0;
  left: auto;
  width: 100%;
  margin-top: 12px;
  padding: 6px;
  border: 1px solid rgba(107, 182, 255, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px rgba(1, 39, 108, 0.14);
  transform: translateY(-6px);
  transform-origin: top right;
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease-soft);
}
.field--select .nice-select.open .list {
  transform: translateY(0);
}
.field--select .nice-select .option {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.25;
  border-radius: 11px;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}
.field--select .nice-select .option:hover,
.field--select .nice-select .option.focus {
  color: var(--color-primary);
  background: rgba(200, 223, 255, 0.45);
}
.field--select .nice-select .option.selected {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(200, 223, 255, 0.7);
}

.field--captcha {
  align-items: end;
}
.captcha {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.captcha__img {
  display: block;
  width: 307px;
  height: 103px;
  object-fit: cover;
}
.captcha__reload {
  position: relative;
  min-height: 24px;
  padding: 0 0 0 34px;
  color: var(--color-heading);
  font-size: 18px;
  font-weight: 600;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.captcha__reload::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: url("../img/reload.svg") center / contain no-repeat;
}

.join-form__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.join-form__submit {
  width: 300px;
}
.join-form__submit:disabled {
  cursor: default;
  opacity: 0.7;
}

.join-form__response {
  margin-top: 24px;
  padding: 14px 18px;
  color: #c91842;
  font-weight: 600;
  text-align: left;
  border: 1px solid rgba(255, 66, 103, 0.35);
  border-radius: 12px;
  background: rgba(255, 66, 103, 0.08);
}

.join-form__success {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 40px;
  text-align: center;
}
.join-form__success-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a4dff 10%, #005bff 48%, #de4ab9 88%);
}
.join-form__success-icon::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 28px;
  width: 18px;
  height: 32px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}
.join-form__success-title {
  margin: 0 0 16px;
  color: var(--color-heading);
  font-family: "Unbounded", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.join-form__success-text {
  max-width: 700px;
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.4;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: start;
}

.contacts__info {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 16px;
}

.contacts__item {
  position: relative;
  display: flex;
  gap: 12px;
  padding-left: 36px;
  font-size: 16px;
  line-height: 1.15;
}

.contacts__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.contacts__item--email::before {
  background-image: url("../img/email-dark.svg");
}
.contacts__item--location::before {
  background-image: url("../img/location-dark.svg");
}

.contacts__item-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.contacts__link {
  color: var(--color-text);
  font-size: 18px;
  text-decoration: none;
}

.contacts__hint {
  color: var(--color-text-secondary);
  font-size: 16px;
}

.contacts__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #c8dfff;
}

.contacts__subtitle {
  font-size: 18px;
}

.contacts__cooperation {
  gap: 32px;
}

.contacts__cooperation-text {
  max-width: 345px;
  color: var(--color-heading);
  font-size: 18px;
  line-height: 1.3;
}

.contacts__cooperation-btn {
  width: 100%;
}

.contacts__map {
  grid-column: span 5;
  width: 100%;
  height: 570px;
  border-radius: 31px;
  background: #f6faff;
  transform: translateZ(1px);
  overflow: hidden;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
}

.contacts-form {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  height: 570px;
  padding-left: 20px;
  border-left: 1px solid #c8dfff;
}

.contacts-form__title {
  margin: 0;
  color: var(--color-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
}

.contacts-form__fields {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
}

.contacts-form .contacts-form__field {
  display: block;
  gap: 0;
}

.contacts-form__field .field__error {
  margin-top: 8px;
  text-align: left;
}

.contacts-form__message {
  height: 100%;
  min-height: 150px;
  resize: none;
}

.contacts-form__field:last-child {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  flex: 1;
}

.contacts-form__field:last-child .field__control {
  flex: 1;
  height: auto;
}

.contacts-form__agreement {
  align-items: flex-start;
  gap: 16px;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.contacts-form__agreement-field {
  display: block;
}

.contacts-form__agreement-field .field__error {
  margin-top: 8px;
}

.contacts-form__agreement a {
  color: inherit;
}

.contacts-form__submit {
  width: 100%;
}

.contacts-form__submit:disabled {
  cursor: default;
  opacity: 0.7;
}

.contacts-form__response {
  padding: 12px 16px;
  color: #c91842;
  font-weight: 600;
  border: 1px solid rgba(255, 66, 103, 0.35);
  border-radius: 12px;
  background: rgba(255, 66, 103, 0.08);
}

.contacts-form__success {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  flex-direction: column;
  text-align: center;
}

.contacts-form__success-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a4dff 10%, #005bff 48%, #de4ab9 88%);
}

.contacts-form__success-icon::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 24px;
  width: 15px;
  height: 27px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

.contacts-form__success-title {
  margin: 0 0 12px;
  color: var(--color-heading);
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.contacts-form__success-text {
  max-width: 360px;
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.4;
}

.ui-datepicker {
  z-index: 110 !important;
  display: none;
  width: 330px;
  padding: 18px;
  border: 1px solid rgba(107, 182, 255, 0.35);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(1, 39, 108, 0.14);
}
.ui-datepicker-header {
  position: relative;
  min-height: 38px;
  margin-bottom: 14px;
  color: var(--color-heading);
}
.ui-datepicker-title {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 36px;
}
.ui-datepicker-title select {
  width: auto;
  height: 36px;
  padding: 0 28px 0 10px;
  color: var(--color-heading);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(107, 182, 255, 0.45);
  border-radius: 10px;
  outline: 0;
  background: #f6faff url("../img/arrow-right-blue.svg") calc(100% - 10px) center / 7px auto no-repeat;
  appearance: none;
  cursor: pointer;
}
.ui-datepicker-title select:focus {
  border-color: #6bb6ff;
}
.ui-datepicker-prev,
.ui-datepicker-next {
  position: absolute;
  z-index: 2;
  top: 4px;
  width: 28px;
  height: 28px;
  color: transparent;
  cursor: pointer;
}
.ui-datepicker-prev {
  left: 0;
}
.ui-datepicker-next {
  right: 0;
}
.ui-datepicker-prev::after,
.ui-datepicker-next::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  width: 8px;
  height: 8px;
  border: solid #005bff;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}
.ui-datepicker-next::after {
  transform: rotate(225deg);
}
.ui-datepicker .ui-icon {
  display: none;
}
.ui-datepicker-calendar {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.ui-datepicker-calendar th {
  padding: 7px 3px;
  color: #717171;
  font-size: 13px;
  font-weight: 500;
}
.ui-datepicker-calendar td {
  padding: 2px;
}
.ui-datepicker-calendar a,
.ui-datepicker-calendar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: auto;
  color: inherit;
  text-decoration: none;
  border-radius: 50%;
}
.ui-datepicker-calendar a:hover {
  background: rgba(107, 182, 255, 0.18);
}
.ui-datepicker-calendar .ui-datepicker-current-day a {
  color: #fff;
  background: #005bff;
}
.ui-datepicker-other-month {
  opacity: 0.4;
}

.metrics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metrics-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid #6bb6ff;
  background:
    url("../img/pictures/bg-metrics.png") center / cover no-repeat,
    linear-gradient(135deg, #edf5ff 0%, #f1f2ff 55%, #fbedff 100%);
}

.metrics-card__value {
  margin: 0;
  color: #01276c;
  font-family: "Unbounded";
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
}

.metrics-card__label {
  margin: 0;
  color: #383838;
  font-size: 18px;
  font-weight: 600;
  line-height: 120%;
}

.ambassadors__desc {
  max-width: 680px;
}

.ambassadors__metrics {
  margin-top: 24px;
}

.partners + .partners {
  margin-top: 32px;
}

.partners__title {
  margin: 0 0 24px;
  color: #383838;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.partners__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners__link {
  --partners-radius: 28px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 405 / 200;
  border-radius: var(--partners-radius);
  background: #fff;
  isolation: isolate;
}

.partners__item--accent .partners__link::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: calc(var(--partners-radius) + 2px);
  background: linear-gradient(90deg, #7a4dff 16%, #005bff 40%, #de4ab9 72%);
  transition: opacity var(--transition);
}

.partners__link[href]:hover::before {
  opacity: 0;
}

.partners__link::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: calc(var(--partners-radius) + 2px);
  background-color: #6bb6ff;
  transition: inset var(--transition);
}

.partners__item--accent .partners__link::after {
  inset: -3px;
  border-radius: calc(var(--partners-radius) + 2px);
  background-color: #005bff;
}

.partners__link[href]:hover::after {
  inset: -3px;
  border-radius: calc(var(--partners-radius) + 2px);
}

.partners__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.page-hero {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 500px;
  padding: 60px 0;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 688px;
}

.page-hero__title {
  margin: 0;
  color: #01276c;
  font-family: "Unbounded";
  font-size: 42px;
  font-weight: 600;
  line-height: 120%;
}

.page-hero__desc {
  color: #383838;
  font-size: 24px;
  font-weight: 400;
  line-height: 140%;
}

.events__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.events__aside {
  grid-column: span 3;
}

.events__calendar {
  width: 100%;
  max-width: 403px;
  margin: 0 auto;
}

.events__calendar .ui-datepicker {
  width: 100%;
  padding: 4px;
  color: var(--color-text);
  border: none;
  background: #fff;
  box-shadow: none;
}

.events__calendar .ui-datepicker-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 57px;
  padding: 16px 56px;
  border-bottom: 1px solid rgba(107, 182, 255, 0.35);
}

.events__calendar .ui-datepicker-title {
  color: var(--color-text-secondary);
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
}

.events__calendar .ui-datepicker-prev,
.events__calendar .ui-datepicker-next {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  color: transparent;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.25s ease;
}

.events__calendar .ui-datepicker-prev {
  left: calc(50% - 112px);
}

.events__calendar .ui-datepicker-next {
  right: calc(50% - 112px);
}

.events__calendar .ui-datepicker-prev:hover,
.events__calendar .ui-datepicker-next:hover {
  background: rgba(200, 223, 255, 0.45);
}

.events__calendar .ui-datepicker-prev::after,
.events__calendar .ui-datepicker-next::after {
  content: none;
}

.events__calendar .ui-datepicker-prev::before,
.events__calendar .ui-datepicker-next::before {
  content: "";
  position: absolute;
  top: 10px;
  width: 7px;
  height: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.events__calendar .ui-datepicker-prev::before {
  left: 12px;
  background-image: url("../img/arrow-left.svg");
}

.events__calendar .ui-datepicker-next::before {
  right: 12px;
  background-image: url("../img/arrow-right.svg");
}

.events__calendar .ui-icon {
  display: none;
}

.events__calendar .ui-datepicker-calendar {
  width: 100%;
  table-layout: fixed;
  border-spacing: 4px;
}

.events__calendar .ui-datepicker-calendar th {
  height: 42px;
  padding: 8px 0;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
}

.events__calendar .ui-datepicker-calendar td {
  padding: 0;
  text-align: center;
}

.events__calendar .ui-datepicker-calendar td > a,
.events__calendar .ui-datepicker-calendar td > span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  padding: 0;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  border-radius: 50%;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.events__calendar .ui-datepicker-other-month > a,
.events__calendar .ui-datepicker-other-month > span {
  color: var(--color-text-secondary);
}

.events__calendar .ui-datepicker-calendar td > a:hover {
  color: var(--color-primary);
  background: rgba(200, 223, 255, 0.45);
}

.events__calendar .ui-datepicker-current-day > a {
  color: #fff;
  background: var(--color-primary-light);
}

.events__calendar .events-calendar__day--event > a::after,
.events__calendar .events-calendar__day--event > span::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateX(-50%);
}

.events__calendar .ui-datepicker-current-day > a::after {
  background: #fff;
}

.events__date-reset {
  width: 100%;
  min-width: 0;
  margin-top: 16px;
}

.events__main {
  grid-column: span 9;
}

.tabs__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.tabs__nav {
  position: relative;
  display: flex;
  gap: 60px;
}

.tabs__button {
  padding: 0 0 16px;
  color: #383838;
  font: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  border: 0;
  background: none;
  cursor: pointer;
  transition: color var(--transition);
}

.tabs__button--active {
  color: #01276c;
  font-weight: 600;
}

.tabs__indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #01276c;
  transform-origin: left center;
  transition:
    width 0.45s var(--ease-soft),
    transform 0.45s var(--ease-soft);
}

.tabs__indicator--initial {
  transition: none;
}

.tabs__panels {
  margin-top: 24px;
}

.tabs__panel {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.28s var(--ease-soft);
}

.tabs__panel--entering {
  opacity: 0;
  transform: translateY(16px);
}

.tabs__panel--leaving {
  opacity: 0;
  transform: translateY(8px);
}

.events__sorting {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}

.events__sorting-label,
.events__sorting .nice-select {
  font-size: 16px;
  line-height: 1.2;
}

.events__sorting .nice-select {
  float: none;
  height: auto;
  min-width: 168px;
  padding: 0 20px 0 0;
  color: var(--color-primary);
  font-weight: 500;
  border: 0;
  background: transparent;
}

.events__sorting .nice-select::after {
  right: 1px;
  width: 9px;
  height: 15px;
  margin-top: -7px;
  border: 0;
  background: url("../img/arrow-right-blue.svg") center / contain no-repeat;
  transform: rotate(90deg);
  transform-origin: center;
}

.events__sorting .nice-select.open::after {
  transform: rotate(-90deg);
}

.events__sorting .nice-select .list {
  right: 0;
  left: auto;
  min-width: 230px;
  margin-top: 12px;
  padding: 6px;
  border: 1px solid rgba(107, 182, 255, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px rgba(1, 39, 108, 0.14);
  transform: translateY(-6px);
  transform-origin: top right;
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease-soft);
}

.events__sorting .nice-select.open .list {
  transform: translateY(0);
}

.events__sorting .nice-select .option {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.25;
  border-radius: 11px;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.events__sorting .nice-select .option:hover,
.events__sorting .nice-select .option.focus {
  color: var(--color-primary);
  background: rgba(200, 223, 255, 0.45);
}

.events__sorting .nice-select .option.selected {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(200, 223, 255, 0.7);
}

.events__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.events__pagination {
  margin-top: 24px;
}

.events__empty {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 300px;
  padding: 40px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(90deg, #f4f9ff 41.35%, #f9f1ff 100%);
}

.events__empty::before {
  content: "";
  width: 56px;
  height: 6px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: linear-gradient(90deg, #7a4dff 16%, #005bff 40%, #de4ab9 72%);
}

.events__empty-title {
  margin: 0;
  color: var(--color-heading);
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.events__empty-text {
  max-width: 460px;
  margin: 12px 0 0;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.4;
}

.events-card {
  position: relative;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid #bedfff;
  overflow: hidden;
  isolation: isolate;
}

.events-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(247, 251, 255, 0) 31.98%, rgba(247, 251, 255, 0.6) 42.01%, rgba(247, 251, 255, 0.8) 53.11%, #f7fbff 60.41%);
}

.events-card__img {
  position: absolute;
  top: 0;
  left: 20%;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-card__content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  max-width: 270px;
}

.events-card__date {
  margin-bottom: auto;
  color: #01276c;
  font-size: 16px;
  font-weight: 400;
  line-height: 115%;
}

.events-card__day {
  display: block;
  margin-bottom: 5px;
  color: #01276c;
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
}

.events-card__title {
  margin: 0;
  color: #383838;
  font-size: 18px;
  font-weight: 600;
  line-height: 125%;
}

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

.events-card__param {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #383838;
  font-size: 16px;
  font-weight: 400;
  line-height: 115%;
}

.events-card__param:not(:last-child) {
  margin-bottom: 12px;
}

.events-card__param::before {
  --events-card-param-size: 24px;

  content: "";
  width: var(--events-card-param-size);
  height: var(--events-card-param-size);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.events-card__param--location::before {
  background-image: url("../img/location-2.svg");
}

.events-card__param--type::before {
  background-image: url("../img/event.svg");
}

.projects__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.projects__pagination {
  margin-top: 24px;
}

.project-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 346px;
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(107, 182, 255, 0.3);
  border-radius: 16px;
  background: #fff url("../img/pictures/bg-person-card-horizontal.png") center / cover no-repeat;
  overflow: hidden;
}

.project-card__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 110px;
}

.project-card__logo {
  display: block;
  width: 120px;
  height: 105px;
  flex-shrink: 0;
  object-fit: contain;
}

.project-card__title {
  min-width: 0;
  margin: 0;
  color: var(--color-heading);
  font-family: "Unbounded";
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.project-leader {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.project-leader__img-wrap {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  border-radius: 50%;
  background: url("../img/pictures/bg-projects-lider.png") center/ cover no-repeat;
  overflow: hidden;
}

.project-leader__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-leader__info {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  font-size: 20px;
  line-height: 1.3;
}

.project-leader__field {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.project-leader__label {
  color: var(--color-text-secondary);
}

.project-leader__name,
.project-leader__contact {
  color: var(--color-text);
}

.project-leader__name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.project-leader__name a:hover {
  color: var(--color-primary);
}

.project-leader__contact {
  text-decoration: underline;
}

.project-leader--small {
  gap: 10px;
}

.project-leader--small .project-leader__img-wrap {
  width: 100px;
  height: 100px;
}

.project-leader--small .project-leader__info {
  font-size: 18px;
}

.project-leader--small .project-leader__field {
  gap: 8px;
}

.project-leader--small .project-leader__name {
  color: var(--color-heading);
  font-weight: 600;
}

.project-card__link {
  flex-shrink: 0;
}

.project-detail {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-detail__header {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 24px;
}

.project-detail__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

.project-detail__section {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  font-size: 20px;
  line-height: 1.4;
}

.project-detail__section p,
.project-detail__text p,
.project-detail__text ul,
.project-detail__mission p,
.project-detail__group-text {
  margin: 0;
}

.project-detail__text,
.project-detail__mission,
.project-detail__group {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.project-detail__text {
  gap: 12px;
}

.project-detail__section-title {
  margin: 0;
  color: var(--color-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.65;
}

.project-detail__missions,
.project-detail__members {
  margin: 0;
}

.project-detail__missions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.project-detail__subtitle {
  position: relative;
  margin: 0;
  padding-left: 34px;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.project-detail__mission .project-detail__subtitle::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  font-size: 14px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.project-detail__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.project-detail__group .project-detail__subtitle {
  padding-left: 22px;
}

.project-detail__group .project-detail__subtitle::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.project-detail__countries {
  width: 100%;
  max-width: 918px;
}

.project-detail__countries .countries__list {
  gap: 24px 2px;
}

.project-detail__countries .countries__item {
  width: 90px;
}

.project-detail__members {
  margin-top: 26px;
  padding-left: 28px;
}

.project-detail__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-detail__highlights--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-detail__highlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #edf5ff 0%, #f1f2ff 55%, #fbedff 100%);
  overflow-wrap: anywhere;
}

.project-detail__number {
  color: var(--color-heading);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.3;
}

.project-detail__gallery .swiper {
  border-radius: 28px;
}

.project-detail__gallery .swiper-slide {
  height: 350px;
  border-radius: 28px;
  overflow: hidden;
}

.project-detail__gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.project-detail__gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories__desc {
  max-width: 880px;
}

.stories__btn {
  margin-top: 40px;
  width: 318px;
}

.stories__block {
  margin-top: 69px;
}

.stories__block .block__heading {
  justify-content: flex-end;
  margin-bottom: 24px;
}

.stories__search {
  width: 100%;
  max-width: 664px;
}

.stories__pagination {
  margin-top: 24px;
}

.field--search {
  position: relative;
  display: block;
}

.field--search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 32px;
  height: 32px;
  pointer-events: none;
  background: url("../img/search.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.field--search .field__control {
  padding-left: 64px;
}

.field--search .field__control::-webkit-search-cancel-button {
  cursor: pointer;
}

.stories__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero {
  padding: 285px 0 122px;
  background: #f6faff url("../img/pictures/bg-hero.png") center/cover no-repeat;
}

.hero__content {
  max-width: 680px;
}

.hero__desc {
  margin-top: 16px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.hero__community {
  margin-top: 224px;
}

.community-role__heading {
  color: #01276c;
  font-family: "Unbounded";
  font-size: 28px;
  font-weight: 500;
  line-height: 142.857%;
  text-transform: uppercase;
}

.community-role__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.community-role__item {
  position: relative;
  display: flex;
  gap: 20px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #6bb6ff;
  border-radius: 28px;
  background: url("../img/pictures/bg-community-role.png") center / cover no-repeat;
  overflow: hidden;
}

.community-role__img-wrap {
  flex: 0 0 140px;
  height: 140px;
}

.community-role__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.community-role__content {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 20px 0;
}

.community-role__title {
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
}

.community-role__link.link {
  font-size: 20px;
}

.home-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 625px) minmax(0, 1fr);
  gap: 20px;
}

.home-news .news-card__content {
  min-width: 0;
}

.home-news .news-card__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cooperation__grid {
  display: grid;
  grid-template-columns: 444px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.cooperation__intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 24px;
  border-right: 1px solid rgba(107, 182, 255, 0.3);
}

.cooperation__stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cooperation__icon {
  width: 173px;
  height: 156px;
  object-fit: contain;
}

.cooperation__stat div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cooperation__stat strong {
  color: #01276c;
  font-size: 80px;
  font-weight: 600;
  line-height: 1;
}

.cooperation__stat span,
.cooperation__subtitle {
  color: #383838;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.cooperation__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.cooperation__photo {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 16px;
}

.cooperation__countries {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cooperation .countries__title {
  margin-bottom: 24px;
  color: #005bff;
}

.cooperation .countries__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 2px;
}

.cooperation .countries__item {
  width: auto;
  min-width: 0;
}

.cooperation .countries__label {
  width: 100%;
  overflow-wrap: anywhere;
}

.cooperation__observer,
.cooperation__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cooperation__observer > span {
  color: #005bff;
  font-size: 20px;
  font-weight: 600;
}

.cooperation__observer .countries__item {
  flex-direction: row;
}

.cooperation__actions {
  margin-top: auto;
  gap: 10px;
}

.cooperation__actions .btn {
  flex: 1;
}

.quote {
  margin: 0;
  padding: 24px;
  color: #01276c;
  border: 1px solid rgba(107, 182, 255, 0.3);
  border-radius: 16px;
  background: linear-gradient(90deg, #f4f9ff 41.35%, #f9f1ff 100%);
}

.quote::before {
  content: "“";
  display: block;
  width: 73px;
  height: 47px;
  margin-bottom: 20px;
  font-size: 100px;
  line-height: 0.75;
  background: linear-gradient(90deg, #7a4dff 16%, #005bff 40%, #de4ab9 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote__text {
  margin: 0 0 20px;
  font-size: 16px;
  font-style: italic;
  font-weight: 200;
  line-height: 1.2;
}

.quote__author {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote__name {
  color: #383838;
  font-style: normal;
}

.quote__role {
  color: #717171;
}

.home-stories__inner {
  min-height: 627px;
  background: #f1f4ff url("../img/pictures/bg-home-stories.png") center / cover no-repeat;
  overflow: visible;
}

.home-stories__container {
  position: relative;
  display: grid;
  grid-template-columns: 40% 35% 25%;
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 49px;
  min-height: 650px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.home-stories__content {
  position: relative;
  z-index: 2;
  align-self: center;
  grid-row: 1 / 3;
  max-width: 550px;
}

.home-stories__tag {
  margin-bottom: 16px;
}

.home-stories__title {
  margin: 0 0 16px;
  color: #01276c;
  font-family: "Unbounded";
  font-size: 36px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-stories__title span {
  display: block;
  background: linear-gradient(105deg, #7a4dff 43%, #005bff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-stories__content p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.4;
}

.home-stories__btn {
  min-width: 318px;
  margin-top: 8px;
}

.home-stories__person {
  position: absolute;
  top: -70px;
  bottom: 0;
  left: 40%;
  width: 35%;
  z-index: 1;
}

.home-stories__person-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.home-stories__quote {
  position: relative;
  z-index: 2;
  align-self: start;
  grid-column: 3;
  grid-row: 1;
}

.home-stories__slider {
  position: relative;
  z-index: 3;
  grid-column: 2 / 4;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  max-width: 911px;
  justify-self: end;
}

.home-stories__slide {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff url("../img/pictures/bg-person-card-vertical.png") center / cover no-repeat;
  overflow: hidden;
}

.home-stories__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 1720px) {
  .home-stories__person {
    left: 38%;
    width: 36%;
  }
  .home-stories__container {
    grid-template-columns: 38% 36% 26%;
  }
  .home-stories__title {
    font-size: 30px;
  }
  .home-stories__content p {
    font-size: 16px;
  }
  .home-stories__slider {
    width: 100%;
  }
  .home-overview__grid {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  }
  .cooperation__grid {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  .cooperation__icon {
    width: 120px;
    height: 120px;
  }
  .cooperation__stat strong {
    font-size: 56px;
  }
  .cooperation .countries__img {
    width: 52px;
    height: 52px;
  }
  .community-role__img-wrap {
    flex-basis: 120px;
    height: 120px;
  }
  .community-role__content {
    padding: 16px 0;
  }
  .community-role__title,
  .community-role__link.link {
    font-size: 18px;
  }
  .stories-detail__intro {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  .stories-detail__title {
    font-size: 34px;
  }
  .stories-detail__params .person-card__param,
  .stories-detail__desc {
    font-size: 20px;
  }
  .stories-detail__params .person-card__param::before {
    width: 32px;
    height: 32px;
  }
  :root {
    --container-width: 1320px;
  }
  .section {
    margin: 96px 0;
  }
  .header__inner {
    padding: 14px 24px;
  }
  .header__panel {
    gap: 20px;
  }
  .logo__img {
    width: 112px;
  }
  .nav__list {
    gap: 20px;
  }
  .nav__link {
    font-size: 16px;
  }
  .header__actions {
    gap: 8px;
  }
  .header__join {
    min-height: 52px;
    padding: 16px 24px;
    font-size: 16px;
  }
  .header__search {
    --size: 48px;
    flex-shrink: 0;
  }
  .header__language {
    margin-left: 8px;
  }
  .socials__link {
    --size: 44px;
  }
  .socials__img {
    height: 22px;
  }
  .socials__list {
    gap: 4px;
    padding: 4px 8px;
  }
  .footer__main {
    display: grid;
    grid-template-columns: 139px minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
  .footer__nav .nav__list {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 32px;
  }
  .footer__nav .nav__link {
    white-space: normal;
    line-height: 1.4;
  }
  .news-card__link {
    padding: 20px;
  }
  .news-card__img-wrap {
    min-height: 260px;
    padding: 24px;
    border-radius: 24px;
  }
  .news-card__title {
    font-size: 22px;
  }
  .page--inner {
    padding-top: 160px;
  }
  .footer {
    margin-top: 90px;
  }
  .activities-card {
    padding: 32px;
  }
  .stats__item {
    min-height: 240px;
    padding: 24px;
  }
  .stats__value {
    font-size: 38px;
  }
  .join-community__btn {
    width: 440px;
  }
  .organization-detail__intro {
    gap: 32px;
  }
  .organization-detail__title {
    font-size: 26px;
  }
  .community-role-detail {
    --community-role-detail-img-size: 460px;
  }
  .community-role-detail__row {
    gap: 32px;
  }
  .person-card--horizontal .person-card__img-wrap {
    width: 48%;
    max-width: 265px;
  }
  .person-card--horizontal .person-card__name--big {
    font-size: 22px;
  }
  .people-group__list {
    gap: 20px;
  }
  .events-card {
    padding: 30px;
  }
  .project-card__heading {
    min-height: 96px;
  }
  .project-card__logo {
    width: 100px;
    height: 88px;
  }
  .project-card__title {
    font-size: 18px;
  }
  .hero__content {
    max-width: 600px;
  }
}

@media (max-width: 1400px) {
  .home-stories__inner {
    min-height: 0;
    overflow: hidden;
  }
  .home-stories__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: start;
    gap: 40px;
    min-height: 0;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .home-stories__content {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }
  .home-stories__person {
    display: none;
  }
  .home-stories__quote {
    grid-column: 2;
    grid-row: 1;
  }
  .home-stories__slider {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  .home-overview__grid {
    grid-template-columns: 1fr;
  }
  .cooperation__grid {
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .community-role__heading {
    font-size: 24px;
  }
  .community-role__item {
    border-radius: 24px;
  }
  .community-role__img-wrap {
    flex-basis: 100px;
    height: 100px;
  }
  .community-role__content {
    gap: 10px;
    padding: 12px 0;
  }
  .community-role__title,
  .community-role__link.link {
    font-size: 16px;
  }
  .contacts__info {
    gap: 24px;
  }
  .contacts__item,
  .contacts__hint,
  .contacts__subtitle,
  .contacts__cooperation-text,
  .contacts-form__agreement {
    font-size: 15px;
  }
  .contacts__link {
    font-size: 16px;
  }
  .contacts__map,
  .contacts-form {
    height: 520px;
  }
  .contacts-form__title {
    font-size: 21px;
  }
  .contacts-form,
  .contacts-form__fields {
    gap: 18px;
  }
  .join__title {
    margin: 80px 0 48px;
  }
  .join-form__title {
    font-size: 27px;
  }
  .join-form__note,
  .field__label,
  .field__control,
  .choice__text,
  .check,
  .field--select .nice-select,
  .captcha__reload {
    font-size: 16px;
  }
  .field {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  }
  .stories-detail {
    padding: 26px;
  }
  .stories-detail__intro {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .stories-detail__title {
    font-size: 28px;
  }
  .stories-detail__content,
  .stories-detail__facts {
    gap: 16px;
  }
  .stories-detail__params .person-card__param,
  .stories-detail__desc,
  .stories-detail__fact {
    font-size: 17px;
  }
  :root {
    --container-width: 1140px;
  }
  .section {
    margin: 84px 0;
  }
  .page--inner {
    padding-top: 145px;
  }
  .page__desc {
    font-size: 18px;
  }
  .header__inner {
    padding: 12px 20px;
  }
  .header__panel {
    gap: 16px;
  }
  .logo__img {
    width: 100px;
  }
  .nav__list {
    gap: 14px;
  }
  .nav__link {
    font-size: 15px;
  }
  .header__join {
    padding: 14px 16px;
    font-size: 15px;
  }
  .header__language {
    margin-left: 0;
  }
  .footer {
    margin-top: 72px;
  }
  .footer__main {
    gap: 28px;
  }
  .footer__contacts-text,
  .footer__feedback-text {
    font-size: 16px;
  }
  .footer__feedback {
    gap: 20px;
  }
  .breadcrumbs {
    margin-bottom: 28px;
  }
  .breadcrumbs__item {
    font-size: 16px;
  }
  .title {
    font-size: 34px;
  }
  .page__heading {
    margin-bottom: 28px;
  }
  .news-detail__title {
    font-size: 26px;
    line-height: 1.4;
  }
  .news-detail__desc,
  .news-detail__text,
  .news-detail__date {
    font-size: 17px;
  }
  .news-card--small .news-card__title {
    font-size: 18px;
  }
  .news-card--small .news-card__desc {
    font-size: 16px;
  }
  .news-card--small .news-card__img-wrap {
    min-height: 140px;
  }
  .info-card .block--lg {
    padding: 32px;
  }
  .info-card__row {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .info-card__img {
    width: 120px;
  }
  .info-card__desc {
    margin-top: 18px;
    font-size: 18px;
  }
  .activities-card__title {
    font-size: 19px;
  }
  .activities-card__desc {
    font-size: 17px;
  }
  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats__item {
    min-height: 205px;
  }
  .stats__icon {
    height: 68px;
  }
  .join-community {
    padding: 56px 0;
  }
  .join-community__title {
    font-size: 26px;
  }
  .join-community__desc {
    font-size: 17px;
  }
  .join-community__btn {
    width: 360px;
  }
  .organization-detail__intro {
    grid-template-columns: 1.35fr 1fr;
  }
  .organization-detail__img {
    height: 100%;
    object-fit: cover;
  }
  .organization-detail__title {
    font-size: 24px;
  }
  .organization-detail__logo {
    width: 270px;
    height: auto;
  }
  .community-role-detail {
    --community-role-detail-img-size: 400px;
  }
  .block__title {
    font-size: 22px;
    line-height: 1.4;
  }
  .link {
    font-size: 18px;
  }
  .person-card--compact .person-card__name {
    font-size: 20px;
  }
  .people-group__block {
    padding: 24px;
  }
  .people-group__list {
    margin-top: 24px;
  }
  .metrics-card {
    padding: 20px;
  }
  .metrics-card__value {
    font-size: 44px;
  }
  .partners__title {
    font-size: 22px;
  }
  .project-card__heading {
    gap: 14px;
    min-height: 84px;
  }
  .project-card__logo {
    width: 82px;
    height: 72px;
  }
  .project-card__title {
    font-size: 16px;
  }
  .project-detail__section {
    font-size: 18px;
  }
  .project-detail__section-title {
    font-size: 22px;
  }
  .project-detail__subtitle {
    font-size: 18px;
  }
  .person-card--story {
    min-height: 400px;
    border-radius: 34px;
  }
  .person-card--story .person-card__img-wrap {
    min-height: 400px;
  }
  .person-card--story .person-card__content {
    gap: 24px;
    padding: 26px;
  }
  .person-card--story .person-card__name {
    font-size: 25px;
  }
  .person-card--story .person-card__param,
  .person-card--story .person-card__role {
    font-size: 20px;
  }
  .person-card--story .person-card__param::before {
    width: 30px;
    height: 30px;
  }
  .person-card--story .person-card__link {
    font-size: 22px;
  }
  .stories__block {
    margin-top: 56px;
  }
  .tabs__nav {
    gap: 32px;
  }
  .tabs__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  .events__aside {
    grid-column: span 4;
  }
  .events__main {
    grid-column: span 8;
  }
  .page-hero {
    min-height: 420px;
    padding: 48px 0;
  }
  .page-hero__content {
    max-width: 620px;
  }
  .page-hero__title {
    font-size: 36px;
  }
  .page-hero__desc {
    font-size: 21px;
  }
  .events-card {
    padding: 26px;
  }
  .events-card__content {
    max-width: 240px;
  }
  .events-card__day {
    font-size: 44px;
  }
  .hero {
    padding: 255px 0 110px;
  }
  .hero__content {
    max-width: 510px;
  }
  .hero__community {
    margin-top: 160px;
  }
}

@media (max-width: 1200px) {
  .error-page {
    min-height: 520px;
    padding: 64px 0;
  }
  .error-page__code {
    font-size: 160px;
  }
  .cooperation__grid {
    grid-template-columns: 40% minmax(0, 1fr);
  }
  .community-role__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contacts__info {
    grid-column: span 4;
  }
  .contacts__map {
    grid-column: span 8;
  }
  .contacts__map {
    height: 500px;
  }
  .contacts-form {
    grid-column: span 12;
    height: auto;
    padding: 24px 0 0;
    border-top: 1px solid #c8dfff;
    border-left: 0;
  }
  .contacts-form__field:last-child .contacts-form__message {
    height: 180px;
  }
  .stories-detail__intro {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .stories-detail__title {
    font-size: 24px;
  }
  .stories-detail__params .person-card__param::before {
    width: 27px;
    height: 27px;
  }
  :root {
    --container-width: 960px;
  }
  .section {
    margin: 72px 0;
  }
  .header__socials {
    display: none;
  }
  .footer {
    margin-top: 60px;
  }
  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 48px;
    padding-bottom: 28px;
  }
  .footer__feedback {
    max-width: none;
  }
  .footer__nav .nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
  .footer__bottom {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 24px;
  }
  .footer__copyright {
    flex-basis: 100%;
    max-width: none;
  }
  .footer__bottom a {
    flex: 1;
    min-width: 0;
  }
  .news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-card__img-wrap {
    min-height: 280px;
  }
  .news-detail__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .news-detail__main,
  .news-detail__aside {
    grid-column: auto;
  }
  .news-detail__aside .news--vertical .news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .news-detail__aside .news__item .news-card {
    height: 100%;
  }
  .news.news--vertical .news__item:not(:last-child) .news-card.news-card--small {
    height: 100%;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .about .section {
    margin: 80px 0;
  }
  .community-stats__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .community-stats__img-wrap {
    height: 360px;
  }
  .stats__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .stats__item {
    min-height: 220px;
    padding: 20px;
  }
  .join-community__row {
    gap: 28px;
  }
  .join-community__btn {
    width: 320px;
    white-space: normal;
    text-align: center;
  }
  .organization-detail__intro {
    gap: 28px;
  }
  .organization-detail__title {
    font-size: 22px;
  }
  .organization-detail__countries {
    gap: 32px;
    margin-top: 32px;
  }
  .organization-detail__countries .countries:not(:last-child) {
    padding-bottom: 32px;
  }
  .community-role-detail {
    --community-role-detail-img-size: 340px;
  }
  .community-role-detail__row {
    gap: 28px;
  }
  .community-role-detail__content {
    gap: 24px;
  }
  .list__item {
    font-size: 18px;
  }
  .list__item:not(:last-child) {
    margin-bottom: 24px;
  }
  .people-group {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-card--compact .person-card__name {
    font-size: 22px;
  }
  .persons__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .partners__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .projects__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stories__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .stories__block {
    margin-top: 48px;
  }
  .events__aside,
  .events__main {
    grid-column: 1 / -1;
  }
  .events-card__content {
    max-width: 270px;
  }
  .hero {
    background-position: left 33% top -55px;
  }
  .hero__content {
    max-width: 440px;
  }
}

@media (max-width: 992px) {
  .home-stories__title {
    font-size: 26px;
  }
  .home-stories__container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 32px;
  }
  .home-stories__content,
  .home-stories__quote,
  .home-stories__slider {
    grid-column: 1;
  }
  .home-stories__content {
    grid-row: 1;
    max-width: none;
  }
  .home-stories__quote {
    grid-row: 2;
  }
  .home-stories__slider {
    grid-row: 3;
  }
  .contacts__info,
  .contacts__map,
  .contacts-form {
    grid-column: span 12;
  }
  .contacts__info {
    padding-top: 0;
  }
  .contacts__cooperation-btn {
    width: 320px;
  }
  .contacts__map {
    height: 400px;
  }
  .join__title {
    margin: 64px 0 40px;
  }
  .field {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
  }
  .choice {
    min-width: 140px;
  }
  .captcha__img {
    width: 250px;
    height: auto;
  }
  .stories-detail__intro {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }
  .stories-detail__title {
    font-size: 22px;
  }
  .stories-detail__tags {
    gap: 10px;
  }
  .stories-detail__params .person-card__param,
  .stories-detail__desc,
  .stories-detail__fact {
    font-size: 15px;
  }
  :root {
    --container-width: 720px;
  }
  .section {
    margin: 64px 0;
  }
  .page--inner {
    padding-top: 118px;
  }
  .project-detail {
    gap: 28px;
  }
  .project-detail__body {
    gap: 28px;
    padding: 24px;
  }
  .project-detail__gallery .swiper-slide {
    height: 300px;
  }
  .page__heading {
    margin-bottom: 24px;
  }
  .header__socials {
    display: block;
  }
  .breadcrumbs {
    margin-bottom: 22px;
  }
  .title {
    font-size: 28px;
  }
  body.menu-open {
    position: fixed;
    left: 0;
    width: 100%;
    overflow: hidden;
  }
  .header {
    top: 16px;
  }
  .header__inner {
    position: relative;
    justify-content: space-between;
    padding: 8px 20px;
    border-radius: 24px;
    background: #fff;
  }
  .logo__img {
    width: 88px;
  }
  .header__toggle:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: var(--color-background);
    color: var(--color-heading);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
  }
  .header__toggle-icon {
    position: relative;
    width: 20px;
    height: 16px;
  }
  .header__toggle-icon::before,
  .header__toggle-icon::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease-soft);
  }
  .header__toggle-icon::before {
    transform: translateY(-4px);
  }
  .header__toggle-icon::after {
    transform: translateY(4px);
  }
  .header--open .header__toggle-icon::before {
    transform: rotate(45deg);
  }
  .header--open .header__toggle-icon::after {
    transform: rotate(-45deg);
  }

  .header__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    display: block;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
    padding: 16px 24px 20px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(1, 39, 108, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
  }
  .header--animated .header__panel {
    transition:
      opacity 0.35s ease,
      transform 0.4s var(--ease-soft),
      visibility 0s 0.4s;
  }
  .header--open .header__panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .header .nav__list {
    display: block;
  }
  .header .nav__item + .nav__item {
    border-top: 1px solid var(--color-border);
  }
  .header .nav__link {
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    font-size: 23px;
    color: var(--color-heading);
  }
  .nav__submenu {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    min-width: 0;
    padding: 0 12px 12px;
    background: transparent;
    box-shadow: none;
    transform: none;
    transition: none;
  }
  .nav__sublink {
    min-height: 35px;
    font-size: 15px;
  }
  .header__actions {
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
  }
  .header__join {
    order: -1;
    width: 100%;
    min-height: 56px;
    margin-bottom: 12px;
    font-size: 18px;
  }
  .socials__list {
    padding: 4px 0;
    background: transparent;
  }
  .header__language .nice-select .list {
    top: auto;
    bottom: 100%;
  }

  .header--open .nav__item,
  .header--open .header__actions {
    animation: menu-appear 0.45s var(--ease-soft) both;
  }
  .header--open .nav__item:nth-child(2) {
    animation-delay: 0.04s;
  }
  .header--open .nav__item:nth-child(3) {
    animation-delay: 0.08s;
  }
  .header--open .nav__item:nth-child(4) {
    animation-delay: 0.12s;
  }
  .header--open .nav__item:nth-child(5) {
    animation-delay: 0.16s;
  }
  .header--open .header__actions {
    animation-delay: 0.2s;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    background: rgba(1, 22, 55, 0.28);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      visibility 0s 0.35s;
  }
  body.menu-open::before {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .footer {
    margin-top: 48px;
    border-radius: 36px 36px 0 0;
  }
  .footer__main {
    gap: 28px 32px;
  }
  .footer__logo .logo__img {
    width: 112px;
  }
  .footer__nav .nav__list {
    row-gap: 0;
  }
  .footer__nav .nav__link {
    min-height: 44px;
    padding: 8px 0;
    font-size: 16px;
  }
  .footer__socials .socials__list {
    padding: 0;
  }
  .news-detail__aside .news--vertical .news__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .news.news--vertical .news__item:not(:last-child) .news-card.news-card--small {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(107, 182, 255, 0.3);
  }
  .about__intro {
    margin-top: 28px;
  }
  .info__list,
  .activities__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .activities-card {
    padding: 28px;
  }
  .community-stats__img-wrap {
    height: 320px;
  }
  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats__item {
    min-height: 190px;
  }
  .join-community__row {
    align-items: stretch;
    flex-direction: column;
  }
  .join-community__btn {
    width: 100%;
  }
  .organization-detail__intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .organization-detail__content {
    align-items: flex-start;
    gap: 24px;
  }
  .organization-detail__logo {
    width: 250px;
    max-width: 100%;
  }
  .persons__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics-card {
    height: 100%;
    min-width: 0;
  }
  .partners__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-role-detail {
    --community-role-detail-img-size: 360px;
  }
  .community-role-detail__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .community-role-detail__img {
    width: 180px;
    max-width: 55%;
  }
  .community-role-detail__title {
    font-size: 26px;
  }
  .page-hero {
    min-height: 360px;
  }
  .page-hero__content {
    max-width: 560px;
  }
  .page-hero__title {
    font-size: 32px;
  }
  .page-hero__desc {
    font-size: 19px;
  }
}

@media (max-width: 768px) {
  .error-page {
    min-height: 440px;
    padding: 48px 0;
  }
  .error-page__code {
    font-size: 120px;
  }
  .error-page__text {
    font-size: 17px;
  }
  :root {
    --container-width: none;
  }
  .section {
    margin: 56px 0;
  }
  .container {
    padding: 0 20px;
  }
  .projects__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .project-card {
    min-height: 330px;
    padding: 20px;
  }
  .project-card__heading {
    min-height: 76px;
  }
  .project-card__logo {
    width: 72px;
    height: 64px;
  }
  .project-card__title {
    font-size: 16px;
  }
  .project-leader--small .project-leader__img-wrap {
    width: 88px;
    height: 88px;
  }
  .project-leader--small .project-leader__info {
    font-size: 16px;
  }
  .project-leader:not(.project-leader--small) .project-leader__img-wrap {
    width: 140px;
    height: 140px;
  }
  .project-leader:not(.project-leader--small) .project-leader__info {
    font-size: 17px;
  }
  .project-detail__groups {
    grid-template-columns: minmax(0, 1fr);
  }
  .project-detail__highlights {
    grid-template-columns: minmax(0, 1fr);
  }
  .project-detail__gallery .swiper-slide {
    height: 280px;
  }
  .btn {
    padding: 14px 24px;
    font-size: 16px;
  }
  .header__inner {
    padding: 6px 16px;
  }
  .header__panel {
    padding: 12px 16px 16px;
    max-height: calc(100vh - 112px);
  }
  .logo__img {
    width: 84px;
  }
  .page--inner {
    padding-top: 108px;
  }
  .page__desc {
    font-size: 18px;
  }
  .breadcrumbs {
    margin-bottom: 18px;
  }
  .breadcrumbs__item {
    font-size: 15px;
  }
  .title {
    font-size: 23px;
  }
  .community-role-detail__title {
    font-size: 22px;
  }
  .person-card--story {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 28px;
  }
  .person-card--story .person-card__img-wrap {
    min-height: 0;
    height: auto;
    padding-top: 80%;
  }
  .person-card--story .person-card__content {
    gap: 18px;
    padding: 22px;
  }
  .person-card--story .person-card__name {
    font-size: 22px;
  }
  .person-card--story .person-card__params {
    gap: 12px;
  }
  .person-card--story .person-card__param,
  .person-card--story .person-card__role {
    font-size: 17px;
  }
  .person-card--story .person-card__param {
    gap: 12px;
  }
  .person-card--story .person-card__param::before {
    width: 24px;
    height: 24px;
  }
  .person-card--story .person-card__link {
    font-size: 19px;
  }
  .stories__desc {
    max-width: none;
  }
  .stories__btn {
    margin-top: 28px;
  }
  .stories__block {
    margin-top: 36px;
  }
  .stories__list {
    gap: 20px;
  }
  .page__heading {
    margin-bottom: 20px;
  }
  .block {
    padding: 20px;
  }
  .news__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-card__img-wrap {
    min-height: 300px;
  }
  .news-detail__row {
    gap: 24px;
  }
  .news-detail__inner {
    gap: 20px;
  }
  .news-detail__title {
    font-size: 22px;
    line-height: 1.35;
  }
  .news-detail__desc,
  .news-detail__text,
  .news-detail__date {
    font-size: 16px;
  }
  .news-detail__img-wrap {
    border-radius: 16px;
  }
  .news-detail__socials {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .tag {
    padding: 7px 10px;
    font-size: 14px;
    border-radius: 16px;
  }
  .block__title {
    font-size: 20px;
  }
  .link {
    gap: 8px;
    font-size: 17px;
  }
  .link::after {
    width: 8px;
    height: 14px;
  }
  .about .section {
    margin: 56px 0;
  }
  .info-card .block--lg {
    padding: 24px;
  }
  .info-card__row {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .info-card__img {
    width: 100px;
  }
  .info-card__title,
  .block--lg .block__title {
    font-size: 22px;
  }
  .info-card__desc {
    margin-top: 12px;
    font-size: 16px;
  }
  .activities-card {
    padding: 24px;
    border-radius: 20px;
  }
  .activities-card::before {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }
  .activities-card__title {
    font-size: 18px;
  }
  .activities-card__desc {
    font-size: 16px;
    line-height: 1.35;
  }
  .community-stats__img-wrap {
    height: 280px;
    border-radius: 20px;
  }
  .block--xl .block__title {
    font-size: 22px;
  }
  .stats__item {
    min-height: 180px;
    padding: 18px;
  }
  .stats__icon {
    height: 58px;
  }
  .stats__value {
    font-size: 32px;
  }
  .document-link {
    min-height: 64px;
    padding: 14px 24px;
    font-size: 16px;
  }
  .join-community {
    padding: 44px 0;
  }
  .join-community__content {
    gap: 18px;
  }
  .join-community__title {
    font-size: 22px;
  }
  .join-community__desc {
    font-size: 16px;
  }
  .organization-detail__img-wrap {
    border-radius: 20px;
  }
  .organization-detail__title {
    font-size: 20px;
  }
  .organization-detail__countries {
    gap: 28px;
    margin-top: 28px;
  }
  .organization-detail__countries .countries:not(:last-child) {
    padding-bottom: 28px;
  }
  .countries__title {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .countries__list {
    align-items: start;
    gap: 20px 12px;
  }
  .countries__item {
    width: calc((100% - 36px) / 4);
    flex-shrink: 1;
  }
  .countries__img {
    width: 54px;
    height: 54px;
  }
  .countries__label {
    width: 100%;
    font-size: 14px;
    overflow-wrap: break-word;
  }
  .community-role-detail {
    --community-role-detail-img-size: 300px;
  }
  .community-role-detail__img-wrap {
    border-radius: 20px;
  }
  .community-role-detail__content {
    gap: 20px;
  }
  .community-role-detail__title {
    font-size: 22px;
  }
  .list__item {
    grid-template-columns: 14px minmax(0, 1fr);
    font-size: 16px;
  }
  .list__item::before {
    --list-marker-size: 14px;
  }
  .list__item:not(:last-child) {
    margin-bottom: 18px;
  }
  .section__heading,
  .people-group__block .block__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }
  .person-card--horizontal .person-card__content {
    padding: 24px 16px 24px 0;
  }
  .person-card--horizontal .person-card__name--big {
    font-size: 20px;
  }
  .person-card--horizontal .person-card__role,
  .person-card--horizontal .person-card__position {
    font-size: 15px;
  }
  .people-group__block {
    padding: 20px;
  }
  .people-group__list {
    gap: 16px;
    margin-top: 20px;
  }
  .person-card--compact .person-card__name {
    font-size: 18px;
  }
  .slider {
    --swiper-navigation-size: 30px;
  }
  .ambassadors__desc {
    max-width: none;
  }
  .ambassadors__metrics {
    margin-top: 20px;
  }
  .metrics__list {
    gap: 12px;
  }
  .metrics-card {
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
  }
  .metrics-card__value {
    font-size: 34px;
  }
  .metrics-card__label {
    font-size: 15px;
  }
  .person-card {
    border-radius: 20px;
  }
  .person-card__content {
    padding: 16px;
  }
  .person-card__name {
    font-size: 17px;
  }
  .person-card__role {
    font-size: 15px;
  }
  .person-card__param {
    gap: 10px;
    font-size: 14px;
  }
  .person-card__param::before {
    width: 20px;
    height: 20px;
  }
  .persons__pagination {
    margin-top: 32px;
  }
  .partners + .partners {
    margin-top: 28px;
  }
  .partners__title {
    margin-bottom: 18px;
    font-size: 20px;
  }
  .partners__link {
    --partners-radius: 20px;
  }
  .tabs__heading {
    gap: 20px;
  }
  .tabs__nav {
    width: 100%;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs__nav::-webkit-scrollbar {
    display: none;
  }
  .tabs__button {
    padding-bottom: 12px;
    font-size: 18px;
  }
  .tabs__panels {
    margin-top: 20px;
  }
  .events__sorting {
    gap: 10px;
  }
  .page-hero {
    min-height: 320px;
    padding: 40px 0;
  }
  .page-hero__img {
    object-position: 15% center;
  }
  .page-hero__content {
    max-width: 480px;
    gap: 12px;
  }
  .page-hero__title {
    font-size: 23px;
  }
  .page-hero__desc {
    font-size: 17px;
  }
  .events-card {
    padding: 22px;
  }
  .events-card__content {
    max-width: 230px;
  }
  .events-card__day {
    font-size: 38px;
  }
  .events-card__title {
    font-size: 17px;
  }
  .events-card__param {
    gap: 10px;
    font-size: 14px;
  }
  .events-card__param::before {
    --events-card-param-size: 20px;
    flex-shrink: 0;
  }
  .events-card__btn {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 16px;
  }
  .events__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .hero {
    padding: 195px 0 60px;
    background: url("../img/pictures/bg-hero-2.png") center top/100% auto no-repeat;
  }
  .hero__community {
    margin-top: 120px;
  }
  .home-stories__title {
    font-size: 23px;
  }
  .home-stories__container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .home-stories .quote {
    padding: 20px;
  }
  .home-stories .quote::before {
    margin-bottom: 16px;
  }
  .cooperation__grid {
    grid-template-columns: 1fr;
  }
  .cooperation__intro {
    padding-right: 0;
    padding-bottom: 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(107, 182, 255, 0.3);
  }
  .cooperation__photo {
    height: 320px;
    min-height: 0;
  }
  .community-role__heading {
    font-size: 20px;
  }
  .community-role__list {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 18px;
  }
  .contacts {
    gap: 24px;
  }
  .contacts__info {
    gap: 20px;
  }
  .contacts__section {
    padding-top: 20px;
  }
  .contacts__cooperation {
    gap: 20px;
  }
  .contacts__map {
    height: 300px;
    border-radius: 22px;
  }
  .contacts-form {
    gap: 18px;
    padding-top: 20px;
  }
  .contacts-form__fields {
    gap: 14px;
  }
  .contacts-form__title {
    font-size: 20px;
    line-height: 1.3;
  }
  .contacts-form__field:last-child .contacts-form__message {
    height: 150px;
    min-height: 150px;
  }
  .contacts-form__agreement {
    font-size: 15px;
  }
  .join-form__success {
    min-height: 400px;
    padding: 28px 12px;
  }
  .join-form__success-title {
    font-size: 22px;
  }
  .join-form__success-text {
    font-size: 17px;
  }
  .join__title {
    margin: 48px 0 30px;
  }
  .join-form__title {
    font-size: 22px;
  }
  .join-form__note {
    margin-bottom: 20px;
  }
  .join-form__fields {
    gap: 18px;
  }
  .field {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .field__error {
    grid-column: 1;
    margin-top: 0;
  }
  .field--control-only > * {
    grid-column: 1;
  }
  .field--date::after {
    bottom: 17px;
  }
  .field__choices {
    gap: 12px;
  }
  .choice {
    flex: 1;
    min-width: 120px;
  }
  .field--captcha {
    align-items: start;
  }
  .captcha {
    margin-bottom: 4px;
  }
  .join-form__submit {
    width: 100%;
  }
  .stories-detail {
    padding: 20px;
    border-radius: 22px;
  }
  .stories-detail__intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .stories-detail__title {
    font-size: 21px;
  }
  .stories-detail__params .person-card__param::before {
    width: 24px;
    height: 24px;
  }
  .stories-detail__facts {
    margin-top: 24px;
  }
  .stories-detail__fact {
    padding: 16px 16px;
  }
  .stories-detail__fact::before {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 576px) {
  .contacts-form__success-title {
    font-size: 18px;
  }
  .contacts-form__success-text {
    font-size: 14px;
  }
  .events__empty {
    min-height: 220px;
    padding: 28px 16px;
    border-radius: 18px;
  }
  .events__empty::before {
    width: 44px;
    margin-bottom: 18px;
  }
  .events__empty-title {
    font-size: 18px;
  }
  .events__empty-text {
    margin-top: 10px;
    font-size: 14px;
  }
  .error-page {
    min-height: 380px;
    padding: 40px 0;
  }
  .error-page__code {
    font-size: 88px;
  }
  .error-page__title {
    margin-top: 16px;
  }
  .error-page__text {
    margin-top: 14px;
    font-size: 15px;
  }
  .error-page__btn {
    width: 100%;
    min-width: 0;
    margin-top: 24px;
  }
  .home-stories__container {
    gap: 24px;
  }
  .home-stories__title {
    font-size: 19px;
  }
  .home-stories__content p {
    font-size: 15px;
  }
  .home-stories__btn {
    width: 100%;
    min-width: 0;
  }
  .quote {
    padding: 20px;
  }
  .quote__text,
  .quote__name,
  .quote__role {
    font-size: 14px;
  }
  .home-news .block__heading {
    align-items: flex-start;
  }
  .home-news .news-card__link {
    grid-template-columns: 1fr;
  }
  .home-news .news-card__img-wrap {
    min-height: 180px;
  }
  .cooperation .block__title {
    font-size: 19px;
    line-height: 1.3;
  }
  .cooperation__stat strong {
    font-size: 46px;
  }
  .cooperation__stat span,
  .cooperation__subtitle,
  .cooperation__text,
  .cooperation__observer > span {
    font-size: 16px;
  }
  .cooperation .countries__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cooperation__observer {
    align-items: flex-start;
    flex-direction: column;
  }
  .cooperation__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .community-role__heading {
    font-size: 16px;
  }
  .community-role__item {
    padding: 10px;
    border-radius: 20px;
  }
  .community-role__img-wrap {
    flex-basis: 64px;
    height: 64px;
  }
  .community-role__content {
    padding: 8px 0;
  }
  .community-role__title,
  .community-role__link.link {
    font-size: 14px;
  }
  .contacts__item,
  .contacts__hint,
  .contacts__subtitle,
  .contacts__cooperation-text,
  .contacts-form__agreement {
    font-size: 14px;
  }
  .contacts__link {
    font-size: 15px;
  }
  .contacts__cooperation-btn {
    width: 100%;
  }
  .contacts__map {
    height: 220px;
    border-radius: 18px;
  }
  .contacts-form__title {
    font-size: 18px;
  }
  .contacts-form__field:last-child .contacts-form__message {
    height: 130px;
    min-height: 130px;
  }
  .join-form__success {
    min-height: 340px;
    padding: 24px 8px;
  }
  .join-form__success-icon {
    width: 64px;
    height: 64px;
  }
  .join-form__success-icon::after {
    top: 14px;
    left: 24px;
    width: 15px;
    height: 28px;
  }
  .join-form__success-title {
    font-size: 19px;
  }
  .join-form__success-text {
    font-size: 15px;
  }
  .join__title {
    margin: 36px 0 24px;
  }
  .join-form__title {
    font-size: 19px;
  }
  .join-form__note,
  .field__label,
  .field__control,
  .choice__text,
  .check,
  .field--select .nice-select,
  .captcha__reload {
    font-size: 14px;
  }
  .field__control,
  .field--select .nice-select {
    height: 48px;
    border-radius: 12px;
  }
  .field--select .nice-select {
    line-height: 44px;
  }
  .field--date::after {
    bottom: 15px;
  }
  .choice__text {
    padding: 12px 16px;
    border-radius: 12px;
  }
  .check {
    gap: 12px;
  }
  .check__box {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
  .check__box::after {
    top: 3px;
    left: 7px;
    width: 6px;
    height: 10px;
  }
  .captcha__img {
    width: 220px;
  }
  .ui-datepicker {
    width: calc(100vw - 32px);
    padding: 14px;
  }
  .ui-datepicker-calendar a,
  .ui-datepicker-calendar span {
    width: 32px;
    height: 32px;
  }
  .stories-detail {
    padding: 14px;
    border-radius: 18px;
  }
  .stories-detail__content {
    gap: 14px;
  }
  .stories-detail__title {
    font-size: 19px;
  }
  .stories-detail__params,
  .stories-detail__facts {
    gap: 12px;
  }
  .stories-detail__params .person-card__param,
  .stories-detail__desc,
  .stories-detail__fact {
    font-size: 14px;
  }
  .stories-detail__fact {
    padding: 14px 14px;
    border-radius: 12px;
  }
  .stories-detail__other {
    margin-top: 20px;
  }
  .section {
    margin: 40px 0;
  }
  .container {
    padding: 0 16px;
  }
  .project-card {
    min-height: 280px;
    padding: 16px;
  }
  .project-card__heading {
    gap: 12px;
    min-height: 70px;
  }
  .project-card__logo {
    width: 60px;
    height: 54px;
  }
  .project-card__title {
    font-size: 16px;
  }
  .project-leader--small .project-leader__img-wrap {
    width: 76px;
    height: 76px;
  }
  .project-leader--small .project-leader__info {
    gap: 5px;
    font-size: 14px;
  }
  .project-detail {
    gap: 20px;
  }
  .project-detail__header {
    gap: 20px;
  }
  .project-leader:not(.project-leader--small) {
    align-items: flex-start;
    gap: 14px;
  }
  .project-leader:not(.project-leader--small) .project-leader__img-wrap {
    width: 100px;
    height: 100px;
  }
  .project-leader:not(.project-leader--small) .project-leader__info {
    gap: 14px;
    font-size: 15px;
  }
  .project-leader:not(.project-leader--small) .project-leader__field {
    gap: 7px;
  }
  .project-detail__body {
    gap: 24px;
    padding: 16px;
  }
  .project-detail__section {
    gap: 10px;
    font-size: 16px;
  }
  .project-detail__section-title {
    font-size: 18px;
    line-height: 1.4;
  }
  .project-detail__subtitle {
    padding-left: 30px;
    font-size: 16px;
  }
  .project-detail__mission .project-detail__subtitle::before {
    width: 20px;
    height: 20px;
  }
  .project-detail__group .project-detail__subtitle::before {
    top: 7px;
  }
  .project-detail__members {
    padding-left: 20px;
  }
  .project-detail__highlights {
    gap: 12px;
  }
  .project-detail__highlight {
    gap: 12px;
    padding: 20px;
  }
  .project-detail__gallery .swiper-slide {
    height: 230px;
    border-radius: 20px;
  }
  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }
  .footer {
    margin-top: 40px;
    padding: 28px 0 20px;
    border-radius: 28px 28px 0 0;
  }
  .footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 24px;
  }
  .footer__feedback {
    gap: 16px;
  }
  .footer__feedback .btn {
    width: 100%;
    min-height: 48px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
  }
  .footer__copyright {
    flex-basis: auto;
    margin-bottom: 20px;
  }
  .footer__bottom a {
    display: flex;
    align-items: center;
    flex: none;
    padding: 6px 0;
  }
  .breadcrumbs {
    margin-bottom: 16px;
  }
  .breadcrumbs__list {
    gap: 4px;
  }
  .breadcrumbs__item {
    font-size: 14px;
    line-height: 1.4;
  }
  .breadcrumbs__item:not(:last-child)::after {
    margin-left: 4px;
  }
  .title {
    font-size: 19px;
  }
  .section-title {
    font-size: 18px;
  }
  .person-card--story {
    border-radius: 22px;
  }
  .person-card--story .person-card__content {
    gap: 16px;
    padding: 16px;
  }
  .person-card--story .person-card__name,
  .person-card--story .person-card__link {
    font-size: 18px;
  }
  .person-card--story .person-card__param,
  .person-card--story .person-card__role {
    font-size: 15px;
  }
  .stories__btn {
    width: 100%;
    margin-top: 24px;
  }
  .stories__block {
    margin-top: 28px;
  }
  .stories__list {
    gap: 16px;
  }
  .tag {
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 14px;
  }
  .block__title {
    font-size: 18px;
  }
  .link {
    font-size: 16px;
  }
  .link::after {
    width: 7px;
    height: 12px;
  }
  .news-detail .block {
    padding: 16px;
    border-radius: 20px;
  }
  .news-detail__heading {
    gap: 12px;
  }
  .news-detail__title {
    font-size: 18px;
  }
  .news-detail__aside-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .news-detail__aside-title {
    font-size: 18px;
    line-height: 1.4;
  }
  .news-detail__aside-link {
    font-size: 17px;
  }
  .news-card--small .news-card__link {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .news-card--small .news-card__img-wrap {
    display: none;
  }
  .news-card--small .news-card__tag {
    padding: 5px;
    font-size: 11px;
  }
  .news-card--small .news-card__content {
    gap: 8px;
  }
  .news-card--small .news-card__title {
    font-size: 16px;
  }
  .news-card--small .news-card__desc {
    /* display: none; */
  }
  .news-card--small .news-card__date {
    margin-top: auto;
    font-size: 14px;
  }
  .block {
    padding: 12px;
    border-radius: 20px;
  }
  .news__list {
    gap: 16px;
  }
  .news-card__link {
    gap: 16px;
    padding: 12px;
    border-radius: 14px;
  }
  .news-card__img-wrap {
    min-height: 220px;
    padding: 16px;
    border-radius: 20px;
  }
  .news-card__content {
    gap: 14px;
  }
  .news-card__title {
    font-size: 18px;
  }
  .news-card__desc {
    font-size: 16px;
  }
  .news-card__btn {
    font-size: 18px;
  }
  .news__pagination {
    margin-top: 20px;
  }
  .pagination__list {
    gap: 4px;
  }
  .pagination__link {
    min-width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .news__pagination .pagination__list {
    gap: clamp(2px, 0.7vw, 4px);
  }
  .news__pagination .pagination__item {
    flex-shrink: 0;
  }
  .news__pagination .pagination__link {
    min-width: clamp(26px, 7.2vw, 40px);
    height: clamp(32px, 9vw, 40px);
    padding: 4px 2px;
    font-size: clamp(14px, 3.2vw, 18px);
  }
  .about__intro {
    margin-top: 24px;
  }
  .about .section {
    margin: 40px 0;
  }
  .info-card .block--lg {
    padding: 20px;
  }
  .info-card__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .info-card__img {
    width: 80px;
  }
  .activities-card {
    gap: 14px;
    padding: 20px;
  }
  .activities-card::before {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .activities-card__title {
    font-size: 17px;
  }
  .community-stats__img-wrap {
    height: 220px;
  }
  .block--xl .block__title {
    font-size: 18px;
  }
  .stats__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .stats__item {
    min-height: 0;
    gap: 10px;
    padding: 16px;
  }
  .stats__icon {
    height: 52px;
  }
  .stats__value {
    font-size: 28px;
  }
  .join-community {
    padding: 36px 0;
  }
  .join-community__title {
    font-size: 18px;
  }
  .join-community__btn {
    min-height: 52px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 16px;
  }
  .organization-detail__intro {
    gap: 20px;
  }
  .organization-detail__title {
    font-size: 18px;
  }
  .organization-detail__logo {
    width: 220px;
  }
  .organization-detail__countries {
    gap: 24px;
    margin-top: 24px;
  }
  .organization-detail__countries .countries:not(:last-child) {
    padding-bottom: 24px;
  }
  .countries__title {
    font-size: 17px;
  }
  .countries__list {
    gap: 18px 12px;
  }
  .countries__item {
    width: calc((100% - 24px) / 3);
  }
  .countries__img {
    width: 50px;
    height: 50px;
  }
  .community-role-detail {
    --community-role-detail-img-size: 240px;
  }
  .community-role-detail__row {
    gap: 20px;
  }
  .community-role-detail__img {
    width: 140px;
  }
  .community-role-detail__title {
    font-size: 18px;
  }
  .list__item {
    grid-template-columns: 12px minmax(0, 1fr);
    column-gap: 8px;
  }
  .list__item::before {
    --list-marker-size: 12px;
  }
  .list__item:not(:last-child) {
    margin-bottom: 14px;
  }
  .person-card--horizontal .person-card__img-wrap {
    width: 42%;
  }
  .person-card--horizontal .person-card__content {
    gap: 8px;
    padding: 18px 12px 18px 0;
  }
  .person-card--horizontal .person-card__name {
    font-size: 16px;
  }
  .person-card--horizontal .person-card__name--big {
    font-size: 18px;
  }
  .person-card--horizontal .person-card__role,
  .person-card--horizontal .person-card__position {
    font-size: 13px;
  }
  .people-group__block {
    padding: 16px;
  }
  .people-group__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-card--compact {
    align-items: center;
    flex-direction: row;
    text-align: left;
  }
  .person-card--compact .person-card__img-wrap {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
  }
  .person-card--compact .person-card__name {
    width: auto;
  }
  .persons__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .metrics-card__value {
    font-size: 30px;
  }
  .metrics-card__label {
    font-size: 14px;
  }
  .persons__pagination {
    margin-top: 24px;
  }
  .partners + .partners {
    margin-top: 24px;
  }
  .partners__title {
    margin-bottom: 16px;
    font-size: 18px;
  }
  .partners__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .partners__link {
    --partners-radius: 18px;
  }
  .tabs__nav {
    gap: 24px;
  }
  .tabs__button {
    font-size: 16px;
  }
  .events__sorting {
    width: 100%;
    justify-content: space-between;
  }
  .events__sorting-label,
  .events__sorting .nice-select {
    font-size: 14px;
  }
  .events__sorting .nice-select {
    min-width: 150px;
  }
  .events__calendar .ui-datepicker-header {
    min-height: 52px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .events__calendar .ui-datepicker-title {
    font-size: 18px;
  }
  .events__calendar .ui-datepicker-calendar {
    border-spacing: 2px;
  }
  .events__calendar .ui-datepicker-calendar td > a,
  .events__calendar .ui-datepicker-calendar td > span {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .events__calendar .events-calendar__day--event > a::after,
  .events__calendar .events-calendar__day--event > span::after {
    width: 6px;
    height: 6px;
  }
  .page-hero {
    min-height: 280px;
    padding: 32px 0;
  }
  .page-hero__title {
    font-size: 19px;
  }
  .page-hero__desc {
    font-size: 16px;
  }
  .events-card {
    min-height: 360px;
    padding: 20px;
  }
  .events-card__content {
    max-width: 220px;
  }
  .events-card__img {
    left: 15%;
  }
  .events__pagination {
    margin-top: 20px;
  }
}

@keyframes menu-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header *,
  .header *::before,
  .header *::after,
  body::before {
    animation: none !important;
    transition: none !important;
  }
}
