@import url("./fonts.css");

:root {
  --brand-red-darkest: #AF1A35;
  --brand-red-dark: #B92636;
  --brand-red-lightest: #DA1C47;
  --brand-red-light: #DA1D48;
  --brand-black: #343434;
  --brand-dark: #3C4447;
  --brand-grey: #B7B1AB;
  --brand-light: #CCCFCE;
  --brand-grey-lightest: #F5F5F5;
  --brand-white: #F7F7F7;
  --white: #FFFFFF;
  --font-family-header-bold: 'NoirPro-Bold', sans-serif;
  --font-family-header-medium: 'NoirPro-Medium', sans-serif;
  --font-family-header-regular: 'NoirPro-Regular', sans-serif;
  --font-family-label-regular: 'NoirPro-Regular', sans-serif;
  --font-family-label-medium: 'NoirPro-Medium', sans-serif;
  --font-family-label-italic: 'NoirPro-Italic', sans-serif;
  --font-family-label-bold: 'NoirPro-Bold', sans-serif;
  --font-family-input-regular: 'NoirPro-Regular', sans-serif;
  --font-family-text-regular: 'Merriweather-Regular', sans-serif;
  --font-family-text-italic: 'Merriweather-Italic', sans-serif;
  --font-family-text-bold: 'Merriweather-Bold', sans-serif;
  --font-family-text-larger: 'NoirPro-Medium', sans-serif;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--brand-black);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) none;
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: none;
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  width: 8px;
  border: none;
}


h1 {
  font-family: var(--font-family-header-bold);
  font-size: 36px;
  line-height: 47.88px;
  font-weight: 400;
}

h2 {
  font-family: var(--font-family-header-bold);
  font-size: 36px;
  line-height: 47.88px;
  font-weight: 400;
}

h3 {
  font-family: var(--font-family-header-medium);
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

h4 {
  font-family: var(--font-family-header-medium);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

p,
span,
ul,
ol {
  font-family: var(--font-family-label-regular);
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
}

ul,
ol {
  margin-bottom: 16px;
}

a {
  text-decoration: none;
  color: var(--brand-black);
}

a:hover {
  color: #3C4447CC;
  cursor: pointer;
}

em {
  font-family: var(--font-family-label-italic);
}

b,
strong {
  font-family: var(--font-family-label-bold);
  font-weight: 400;
}

.p_italic {
  font-size: 14px;
  line-height: 16px;
  font-style: italic;
}

@media (max-width: 768px) {
  h1 {
    font-size: 18px;
    line-height: 26px;
  }

  h2 {
    font-size: 18px;
    line-height: 26px;
  }

  h3 {
    font-size: 14px;
    line-height: 18px;
  }

  p,
  a,
  span,
  ul,
  ol {
    font-size: 15px;
    line-height: 18px;
  }
}

ul,
ol {
  list-style-position: inside;
}

header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 33px;
  min-height: 120px;
  box-shadow: 0px 12px 50px 0px #0000001A;
  padding: 24px 64px 32px;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.page {
  width: 100%;
  position: relative;
  min-height: 100vh;
}

.page_wrapper {
  display: flex;
  justify-content: center;
}

.main_page_block_label {
  text-transform: uppercase;
}

.main_page_content {
  width: 100%;
  max-width: 1376px;
  box-sizing: border-box;
  min-height: 50vh;
  padding: 80px 50px 50px;
  gap: 32px;
  display: flex;
  flex-direction: column;
}

.main_page_content .current_project:nth-child(odd):not(:first-child) {
  margin-top: 18px;
}

.main_page_content .current_project:nth-child(even) {
  margin-top: 18px;
}

.logo_wrapper {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-left: 8px;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
}

.header_logo_link_mobile {
  display: none;
}

.header_logo {
  width: 35px;
  height: 64px;
}

.header_logo_link:hover .header_logo_ru {
  content: url('/themes/memo_media_2024/assets/icons/Logo_RU_hover.svg');
}

.header_logo_link:hover .header_logo_en {
  content: url('/themes/memo_media_2024/assets/icons/Logo_EN_hover.svg');
}

.header_title_wrapper {
  display: flex;
  flex-direction: column;
}

.header_title {
  font-family: var(--font-family-header-medium);
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
}

.header_subtitle {
  margin-top: 6px;
  line-height: 18px;
}

.header_btns_wrapper {
  display: flex;
  align-items: center;
  gap: 44px;
}

.header_burger_wrapper_m {
  display: none;
}

.header_burger_m {
  display: none;
}

.header_search_btn_m {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header_search_btn_m>svg>path,
.header_search_btn_m>svg>circle {
  stroke: rgba(0, 0, 0, 0.4);
}

.header_burger_list {
  display: none;
}

.header_burger_list_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FAF9F9;
  padding: 16px 24px 12px;
}

.longreads {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer_wrapper {
  box-shadow: 0px -12px 50px 0px #0000001A;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px 64px;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.footer_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  gap: 60px;
  width: 100%;
  box-sizing: border-box;
}

.footer_row.footer_row_subscribe {
  justify-content: center;
}

.footer_left_wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex: 1;
}

.footer_socials_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.footer_subscribe_wrapper {
  width: 100%;
  margin-top: 20px;
}

.footer_contacts_wrapper {
  text-align: right;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer_contacts_label {
  font-size: 14px;
  line-height: 19.71px;
  color: rgba(0, 0, 0, 0.5);
}

.footer_contacts>*:not(:last-child) {
  margin-bottom: 8px;
}

.footer_contacts_registration {
  font-size: 14px;
  line-height: 19.71px;
}

.longreads_footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 40px;
  max-height: 142px;
  min-width: 360px;
  margin-right: 100px;
}

.longread_item_m {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-bottom: 1px solid rgba(239, 239, 239, 1);
  padding: 16px 24px 12px;
}

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

.longread_label_m {
  font-family: var(--font-family-label-regular);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
}

.longread_label {
  font-family: var(--font-family-label-regular);
  padding: 4px 8px 2px 8px;
}

.longread_label:hover {
  color: var(--brand-red-lightest);
  cursor: pointer;
}

.longread_label.active {
  background: rgba(0, 0, 0, 0.12);
}

.language_wrapper {
  display: flex;
  align-self: center;
  align-items: center;
  gap: 1px;
  height: 34px;
  background-color: var(--brand-black);
  border-radius: 24px;
}

.language_wrapper .language {
  height: 29px;
  width: 35px;
  font-size: 12px;
  font-family: var(--font-family-label-regular);
  text-transform: uppercase;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  border-radius: 16px;
}

.language_wrapper .language {
  color: var(--brand-light);
}

.language_wrapper .language:first-child {
  margin-left: 2px;
}

.language_wrapper .language:nth-child(3) {
  margin-right: 2px;
}

body.macos .language_wrapper .language:first-child,
body.macos .language_wrapper .language:last-child {
  padding-top: 2px;
}

.language_wrapper .language.is-active {
  background-color: var(--white);
}

.language_wrapper .language-switcher-indicator {
  display: none;
}

.btn_donate,
.btn_subscribe,
.btn_donate_m,
.btn_search,
.btn_sign_up_to_event,
.btn_regular {
  border: none;
  padding: 16px 24px;
  background-color: var(--brand-black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  font-family: var(--font-family-label-regular);
  font-size: inherit;
  box-sizing: border-box;
}

body.macos .btn_donate,
body.macos .btn_subscribe,
body.macos .btn_donate_m,
body.macos .btn_search,
body.macos .btn_sign_up_to_event,
body.macos .btn_regular {
  padding: 16px 24px 14px;
}

.btn_donate:hover,
.btn_subscribe:hover,
.btn_donate_m:hover,
.btn_search:hover,
.btn_sign_up_to_event:hover:enabled,
.btn_regular:hover {
  background-color: var(--brand-red-lightest);
  color: var(--white);
  cursor: pointer;
}

.btn_sign_up_to_event {
  font-size: 16px;
  line-height: 23px;
}

.btn_sign_up_to_event:disabled,
.btn_disabled {
  background-color: var(--brand-grey);
  cursor: default;
  pointer-events: none;
}

.btn_donate {
  padding: 10.5px 24px;
}

.btn_donate_m {
  display: none;
}

.btn_search {
  padding: 14px 16px;
}

.btn_search>span {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--white);
}

.btn_outlined {
  border: 2px solid var(--brand-black);
  background-color: var(--white);
  color: var(--brand-black);
  box-sizing: border-box;
  padding: 14px 16px;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-family-label-regular);
  font-size: inherit;
}

body.macos .btn_outlined,
body.macos .btn_search {
  padding: 14px 16px 12px;
}

.btn_outlined:hover {
  border-color: var(--brand-red-lightest);
  color: var(--brand-red-lightest);
}

.header_search_wrapper {
  display: flex;
  position: relative;
}

.header_search_btn {
  display: flex;
  align-items: center;
  border: 2px solid rgba(0, 0, 0, 0.4);
  padding: 4px;
  background-color: var(--white);
  z-index: 1;
}

.header_search_btn>svg>path,
.header_search_btn>svg>circle {
  stroke: rgba(0, 0, 0, 0.4);
}

.header_search_input {
  border: 2px solid rgba(0, 0, 0, 0.4);
  border-right: 0px;
  background-color: var(--white);
  font-family: 'Istok Web', sans-serif;
  color: rgba(0, 0, 0, 0.4);
  position: absolute;
  right: 36px;
  height: 38px;
  width: 0;
  transition: width 0.5s ease;
}

.expand_input {
  width: 255px;
  right: 42px;
}

.header_search_btn:hover {
  border-color: rgba(0, 0, 0, 0.8);
}

.header_search_btn:hover>svg>path,
.header_search_btn:hover>svg>circle,
.header_search_btn:focus-visible>svg>path,
.header_search_btn:focus-visible>svg>circle {
  stroke: rgba(0, 0, 0, 0.8);
}

.header_search_btn:focus-visible,
.header_search_input:focus-visible {
  color: rgba(0, 0, 0, 0.8);
  border-color: rgba(0, 0, 0, 0.8);
  outline: none;
}

.header_search_input:focus-visible+.header_search_btn,
.header_search_input:focus-visible+.header_search_btn>svg>path,
.header_search_input:focus-visible+.header_search_btn>svg>circle {
  border-color: rgba(0, 0, 0, 0.8);
  stroke: rgba(0, 0, 0, 0.8);
}

.btn_wrapper {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: 16px;
}

.up_to_date {
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(assets/images/slider\ cover.JPG);
  background-position: 120px bottom;
  background-size: auto 180px;
  background-repeat: no-repeat;
  min-height: 602px;

  display: flex;
}

.up_to_date_content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--brand-black);
  padding: 68px 120px;
  flex: 1;
}

.up_to_date_quote,
.up_to_date_quote_right {
  text-transform: uppercase;
  font-family: var(--font-family-header-bold);
  font-size: 36px;
  line-height: 52.42px;
  font-weight: 400;
}

@media (max-width: 768px) {

  .up_to_date_quote,
  .up_to_date_quote_right {
    font-size: 18px;
    line-height: 26px;
    font-family: var(--font-family-header-regular);
  }
}

.up_to_date_quote_right_wrapper {
  margin-left: 64px;
  position: relative;
  min-height: 156px;
  color: var(--brand-red-light);
}

.up_to_date_quote_right {
  margin: 0;
  position: absolute;
  animation: text_animation 45s infinite;
  opacity: 0;
  height: 0px;
  padding-bottom: 3px;
  max-width: 850px;
}

.up_to_date_quote_right:nth-child(1) {
  animation-delay: 0s;
}

.up_to_date_quote_right:nth-child(2) {
  animation-delay: 9s;
}

.up_to_date_quote_right:nth-child(3) {
  animation-delay: 18s;
}

.up_to_date_quote_right:nth-child(4) {
  animation-delay: 27s;
}

.up_to_date_quote_right:nth-child(5) {
  animation-delay: 36s;
}

@keyframes text_animation {

  0%,
  1.5% {
    opacity: 0;
    left: -80%;
  }

  5% {
    opacity: 1;
    left: 0;
  }

  35% {
    opacity: 0;
    left: 0;
  }

  100% {
    opacity: 0;
    left: 0;
  }
}

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

.project_badges,
.project_rubrics {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.project_rubric,
.project_rubric a {
  font-family: var(--font-family-label-regular);
  background-color: var(--brand-light);
  border: 2px solid var(--brand-light);
  border-radius: 20px;
  padding: 4px 12px;
  color: var(--brand-black);
  max-width: 300px;
  font-size: 14px;
  line-height: 16px;
  text-transform: lowercase;
}

body.macos .project_rubric,
body.macos .project_rubric a {
  padding: 4px 12px 2px;
}

.project_rubric a {
  padding: 0;
}

.project_rubric:last-child,
.project_badge:last-child {
  margin-right: 0px;
}

.project_rubric:hover {
  background-color: var(--brand-red-lightest);
  border: 2px solid var(--brand-red-lightest);
  color: var(--white);
  cursor: pointer;
}

.project_badge,
.event_org_badge {
  font-family: var(--font-family-label-regular);
  border: 2px solid var(--brand-dark);
  border-radius: 20px;
  padding: 4px 12px;
  max-width: 300px;
  font-size: 14px;
  line-height: 16px;
}

body.macos .project_badge,
body.macos .event_org_badge {
  padding: 4px 12px 2px;
}

.project_badge:hover,
.event_org_badge:hover {
  color: var(--brand-red-lightest);
  border: 2px solid var(--brand-red-lightest);
}

.counter_wrapper {
  position: absolute;
  right: 0px;
  top: 230px;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.counter {
  box-sizing: border-box;
  background-color: var(--brand-black);
  box-shadow: 0px 12px 50px 0px #00000021;
  color: var(--white);
  padding: 16px 24px;
  width: 288px;
  height: 152px;
}

.counter:hover {
  background-color: rgb(80, 80, 80);
  color: var(--white);
  cursor: pointer;
}

.current {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-top: 28px;
}

.articles {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.articles_wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-left: 16px;
}

.article {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(242, 242, 242, 1);
}

.article:nth-child(odd) {
  flex-direction: row;
}

.article:nth-child(even) {
  flex-direction: row-reverse;
}

.article_img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 450px;
  height: 100%;
}

.article:nth-child(odd) .article_img {
  min-width: 240px;
  min-height: 213px;
}

.article:nth-child(even) .article_img {
  min-width: 500px;
  min-height: 372px;
}

.article_text_wrapper {
  display: flex;
  gap: 12px;
  flex-direction: column;
  padding: 24px 30px;
}

.article_text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  gap: 10px;
}

.article_alt {
  background-size: 90%;
  background-position: center;
  background-image: url(assets/images/wide\ dove.JPG);
  color: var(--white);
  min-height: 400px;
  display: flex;
  background-repeat: no-repeat;
  background-color: black;
  border-radius: 8px;
  margin-left: 16px;
}

.article_alt a {
  color: var(--white);
}

.article_alt_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 0 64px;
  gap: 34px;
}

.article_alt_text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.read_more_wrapper {
  display: flex;
  align-items: center;
}

.read_more {
  display: flex;
  align-items: center;
}

.read_more:hover {
  color: var(--brand-red-lightest);
}

.read_more:hover .read_more_icon>path {
  stroke: var(--brand-red-lightest);
}

.read_more_icon {
  transform: rotate(90deg);
}

.socials {
  max-width: 216px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.socials_english {
  max-width: 280px;
}

.social,
.social_text {
  height: 36px;
}

.social .social_icon>path:first-child {
  fill: var(--brand-black);
}

.social:hover .social_icon>path:first-child {
  fill: var(--brand-red-lightest);
}

.social_text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-family-label-regular);
  height: auto;
}

.social_text:hover {
  color: var(--brand-red-lightest);
}

.scroll_up,
.scroll_up_m {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  color: var(--brand-black);
}

.scroll_up_m {
  display: none;
}

.scroll_up:hover {
  color: var(--brand-red-lightest);
  cursor: pointer;
}

.scroll_up:hover .scroll_up_icon>path {
  stroke: var(--brand-red-lightest);
}

.go_back_wrapper {
  width: 100%;
  display: flex;
}

.go_back {
  background: none;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.go_back>span {
  font-family: var(--font-family-label-regular);
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

.go_back_img {
  width: 48px;
  height: 48px;
}

.go_back:hover {
  color: var(--brand-red-lightest);
  cursor: pointer;
}

.go_back:hover .go_back_img>path {
  fill: var(--brand-red-lightest);
}

/* start: Slider */
.swipers_wrapper {
  display: flex;
  height: 470px;
  position: relative;
  gap: 16px;
}

.swiper {
  display: flex;
  gap: 16px;
  margin: 0;
  overflow: hidden;
}

.mySwiper2 {
  height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);

  background: none;
  cursor: pointer;
  border: none;
  outline: none;
  z-index: 10;
  width: auto;
  height: auto;
}

.swiper-button-next:hover>svg>path,
.swiper-button-prev:hover>svg>path {
  stroke: var(--brand-red-lightest);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  content: '';
}

.swiper-button-prev {
  left: -50px;
}

.swiper-button-next {
  right: -50px;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  width: 40px;
  height: 40px;
}

.swiper-button-prev>svg {
  transform: rotate(270deg);
}

.swiper-button-next>svg {
  transform: rotate(90deg);
}

@media (max-width: 768px) {

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

.swiper-wrapper {
  display: grid;
  grid-auto-flow: column;
  max-width: 630px;
}

.mySwiper2 .swiper-slide {
  color: #FFFFFFCC;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
}

.swiper-slide_content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  padding: 30px;
  gap: 24px;
}

.swiper-slide_label {
  max-width: 440px;
  color: #FFFFFFCC;
  text-transform: uppercase;
}

.swiper-slide_label>a {
  color: #FFFFFFCC;
}

.swiper-slide_label:hover,
.swiper-slide_label:hover>a {
  color: var(--white);
  cursor: pointer;
}

.swiper-slide_text {
  margin-left: 130px;
}

.swiper-backface-hidden .swiper-slide {
  transform: none;
}

.swiper-slide_small_item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.134) 20.9%, rgba(255, 255, 255, 0.374) 61.4%, #FFFFFF 100%);
  height: 100%;
}

.swiper-slide_small_item_content {
  display: inline-block;
  width: 200px;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: calc(50% - 50px) 50%;
}

.swiper-slide_small_item>.swiper-slide_small_item_content {
  position: relative;
  z-index: -1;
  display: block;
}

.swiper-slide_small_item:hover>.swiper-slide_small_item_content {
  z-index: 0;
}

@media (max-width: 1025px) {
  .mySwiper {
    display: none;
  }

  .swipers_wrapper {
    display: flow-root
  }

  .swiper-wrapper {
    width: 100%;
    height: auto;
  }

  .swiper-button-next,
  .swiper-button-prev {
    opacity: 1;
  }
}

@media (max-width:768px) {
  .swipers_wrapper {
    height: 334px;
    width: 100%;
  }

  .swiper-wrapper {
    max-width: 330px;
  }
}

@media (max-width: 426px) {
  .swiper-slide_text {
    margin-left: 0;
  }
}

/* end: Slider */

.org_page_content {
  width: 100%;
  max-width: 1376px;
  box-sizing: border-box;
  min-height: 50vh;
  padding: 34px 59px 24px;
  gap: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.org_logo {
  width: 316px;
  height: 316px;
  object-fit: contain;
}

.org_logo_wrapper_m {
  display: none;
}

.org_logo_m {
  display: none;
}

.org_description {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

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

.org_text_wrapper>div>p:not(:last-child) {
  margin-bottom: 12px;
}

.org_cards_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.org_card {
  padding: 22px;
  background-color: var(--brand-dark);
  color: var(--white);
  border-radius: 16px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  box-sizing: border-box;
}

.org_card>p>a {
  text-decoration: underline;
  color: var(--white);
}

.current_projects_wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.current_projects_wrapper .article:nth-child(even) {
  margin-top: 0;
}

.current_projects_wrapper .article:nth-child(odd):not(:first-child) {
  margin-top: 0;
}

.current_projects,
.completed_projects {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.current_project {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(242, 242, 242, 1);
}

.current_project:nth-child(odd) {
  flex-direction: row;
}

.current_project:nth-child(even) {
  flex-direction: row-reverse;
}

.current_project_img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 450px;
  height: 100%;
}

.current_project:nth-child(odd) .current_project_img {
  min-width: 240px;
  min-height: 213px;
}

.current_project:nth-child(even) .current_project_img {
  min-width: 500px;
  min-height: 372px;
}

.current_project_text_wrapper {
  display: flex;
  gap: 12px;
  flex-direction: column;
  padding: 24px 30px;
}

.current_project_text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  gap: 10px;
}

.completed_project {
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(assets/images/image\ 36.png);
  color: var(--white);
  min-height: 293px;
  display: flex;
  border-radius: 8px;
}

.completed_project a {
  color: var(--white);
}

.completed_project_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 0 64px;
  gap: 34px;
}

.completed_project_text {
  display: flex;
  gap: 32px;
}

.more_details,
.more_details_all {
  display: flex;
  align-items: center;
}

.more_details_m {
  display: none;
}

.more_details:hover,
.more_details_all:hover {
  color: var(--brand-red-lightest);
  cursor: pointer;
}

.more_details:hover a,
.more_details_all:hover a {
  color: var(--brand-red-lightest);
}

.more_details:hover .more_details_icon>path,
.more_details_all:hover .more_details_icon>path {
  stroke: var(--brand-red-lightest);
}

.more_details_icon {
  transform: rotate(90deg);
}

.orgs_page_content,
.orgs_page_new_content {
  max-width: 1376px;
  box-sizing: border-box;
  min-height: 70vh;
  padding: 48px 50px 70px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.org_items_list {
  margin: 0 auto;
  width: 100%;
  column-count: 2;
  column-gap: 48px;
}

@media (max-width: 768px) {
  .org_items_list {
    display: flex;
    flex-direction: column;
  }
}

.org_item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  min-height: 37px;
  max-width: 530px;
  break-inside: avoid;
}

.org_item:not(:last-child) {
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .org_item:not(:last-child) {
    margin-bottom: auto;
  }
}

.org_item_img_wrapper {
  width: 170px;
  height: 170px;
}

.org_item_img_background {
  background-color: var(--brand-black);
}

.org_item>img,
.org_item>div>img {
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.org_item_text {
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 1025px) and (min-width: 768px) {
  .org_item_text {
    max-width: 220px;
  }
}

.org_item_text_description_brief {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 12;
  -webkit-box-orient: vertical;
}

/*orgs page new*/
.orgs_page_new_content {
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1440px;
  box-sizing: border-box;
  padding: 48px 0px;
  width: 100%;
}

.orgs_page_new_text {
  display: flex;
  flex-direction: column;
  max-width: 870px;
  gap: 48px;
}

.orgs_page_label,
.our_activity_label {
  text-transform: uppercase;
}

.our_activity_label {
  color: var(--brand-white);
}

.our_activity_label>span {
  font-size: inherit;
  background: var(--brand-red-lightest);
  font-family: var(--font-family-label-regular);
  padding: 0px 6px;
}

body.macos .our_activity_label>span {
  padding: 9px 6px 3px;
}

.orgs_page_paragraph,
.orgs_page-our_activity,
.orgs_page-associations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.orgs_page-our_activity {
  width: 100%;
  gap: 24px;
}

.orgs_page-associations {
  max-width: 870px;
  box-sizing: border-box;
  gap: 24px;
}

.orgs_page-associations>h2 {
  color: var(--brand-red-lightest);
}

.orgs_page_paragraph blockquote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 86px 0px 8px 48px;
  border: none;
  position: relative;
}

.orgs_page_paragraph blockquote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/icons/Wave_Top.svg') no-repeat;
  background-size: contain;
  pointer-events: none;
}

.orgs_page_paragraph blockquote>*:last-child {
  text-align: end;
}

.orgs_page-associations_list {
  margin: 0 auto;
  width: 100%;
  column-count: 2;
  column-gap: 48px;
}

.orgs_page-associations_list>*:not(:last-child) {
  margin-bottom: 24px;
}

.our_activity_list {
  width: 100%;
}

.our_activity_item {
  display: flex;
  gap: 24px;
  align-items: center;
}

.our_activity_item:nth-child(even) {
  flex-direction: row-reverse;
}

.our_activity_item:nth-child(even) .our_activity_img {
  align-items: flex-start;
}

.our_activity_item:nth-child(even) .our_activity_text {
  text-align: right;
}

.our_activity_text {
  max-width: 420px;
}

.our_activity_img {
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 720px;
  width: 100%;
  height: 480px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.centered-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.trial_paragraph_text_wrapper .centered-svg {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .orgs_page_new_content {
    padding: 32px 16px;
    gap: 16px;
  }

  .orgs_page_new_text {
    gap: 24px;
  }

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

  .orgs_page_paragraph blockquote {
    padding: 86px 0px 8px 24px;
  }

  .our_activity_img {
    max-height: 220px;
    padding: 16px;
  }

  .centered-svg {
    max-width: 185px;
  }

  .our_activity_text {
    max-width: none;
  }

  .our_activity_item:nth-child(even),
  .our_activity_item {
    flex-direction: column;
  }

  .our_activity_item:nth-child(even) .our_activity_text {
    text-align: left;
  }

  .orgs_page-associations_list {
    column-count: 1;
    text-align: center;
  }
}

@media (max-width: 376px) {
  .orgs_page_paragraph blockquote {
    padding: 60px 0px 8px 24px;
  }
}

/*end*/

.project_page_content {
  width: 100%;
  max-width: 1440px;
  min-height: 50vh;
  padding: 32px 0 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.project_image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 316px;
  width: 316px;
}

.project_image_md {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-height: 427px;
  max-width: 427px;
}

.project_image_lg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-height: 870px;
  width: 870px;
}

.project_date_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 870px;
  width: 100%;
  margin: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.project_publication_date {
  color: rgba(0, 0, 0, 0.7);
}

blockquote {
  border-left: 2px solid var(--brand-red-light);
  padding-left: 16px;
  margin: 24px 0 24px 48px;
  display: flex;
  flex-direction: column;
}

.blockquote_big_margin {
  margin: 48px 0 30px 48px;
}

.blockquote_left {
  margin: 24px 0 24px 24px;
}

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

.project_page_text {
  width: 100%;
}

.project_page_text p,
.project_page_text span,
.project_page_text ul,
.project_page_text ol {
  font-family: var(--font-family-text-regular);
}

.project_page_text p {
  font-size: 18px;
  line-height: 28px;
}

.project_page_text p:not(:first-child) {
  margin-bottom: 12px;
}

.project_page_text p:last-child {
  margin-bottom: 0;
}

.project_page_text p>b,
.project_page_text p>strong {
  /* line-height: 18px; */
  font-family: var(--font-family-text-bold);
}

.project_page_text p>i {
  font-style: italic;
  /* font-size: 14px;
  line-height: 16px; */
  /* font-family: 'Istok Web', sans-serif; */
  font-family: var(--font-family-text-italic);
}

.project_page_text p>em {
  font-style: italic;
  /* font-size: 14px;
  line-height: 16px;
  font-family: 'Istok Web', sans-serif; */
  font-family: var(--font-family-text-italic)
}

.project_page_text p.lead-text,
.project_page_text p.larger-text {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  font-family: var(--font-family-text-larger);
}

.project_page_text p.larger-text {
  padding-left: 40px;
  max-width: 100%;
  box-sizing: border-box;
}

.project_page_text h1 {
  text-align: center;
  margin-bottom: 32px;
}

.project_page_text h2 {
  margin-bottom: 28px;
  margin-top: 28px;
  font-size: 36px;
  line-height: 52px;
}

.project_page_text h3:not(:first-of-type) {
  margin-top: 24px;
}

.project_page_text h3 {
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 30px;
  line-height: 38px;
}

.project_page_text>h3.project_page_h3_margin {
  margin-top: 90px;
}

.project_page_text h4 {
  font-size: 24px;
  line-height: 30px;
}

.project_page_text_title {
  font-size: 36px;
}

.project_page_credits {
  margin-top: 24px;
}

.align-left_without_margin {
  margin-bottom: 0;
}

figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 0px;
  max-width: 100%;
}

figure>img {
  max-width: 100%;
  height: auto;
}

.caption {
  display: table;
  text-align: center;
  vertical-align: middle;
}

.caption>* {
  height: auto;
}

.align-left {
  float: left;
  margin: 0 24px 24px 0;
  text-align: left;
  align-items: flex-start;
}

.align-right {
  float: right;
  margin: 0 0 24px 24px;
  text-align: right;
  align-items: flex-end;
}

.align-right>img,
.align-right>figcaption {
  max-width: 427px;
}

.align-left>img,
.align-left>figcaption {
  max-width: 427px;
}

.align-left>figcaption,
.align-right>figcaption {
  margin: 8px 0;
}

figure.project_header_figure.align-left:first-of-type {
  max-width: 316px;
}

.project_page_p_margin {
  margin-top: 60px;
}

.project_page_figure_margin {
  margin-top: 80px;
}

figcaption {
  max-width: 700px;
  margin: 0 auto;
  margin-top: 8px;
  font-family: var(--font-family-label-regular);

  font-size: 14px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.5);
}

figcaption strong {
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0em;
  margin-top: 8px;
}

figcaption em {
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
}

.projects_page_content {
  max-width: 1376px;
  box-sizing: border-box;
  min-height: 72vh;
  padding: 50px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 auto;
}

.project_item {
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.project_item:first-child {
  flex-direction: row;
  max-width: 1214px;
  gap: 32px;
}

.project_item_badges_wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.project_date {
  color: rgba(0, 0, 0, 0.5);
}

.project_item_image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 280px;
  width: 280px;
}

.project_item:first-child .project_item_image {
  height: 300px;
  width: 100%;
  min-width: 300px;
  max-width: 590px;
}

.project_info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.project_item:first-child .project_info {
  gap: 16px;
  overflow: hidden;
}

.project_item:first-child .project_info h3 {
  font-size: 36px;
  line-height: 52px;
  font-weight: 400;
  text-transform: uppercase;
  font-family: var(--font-family-header-bold);
}

.project_item:first-child .project_item_text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.event_swiper_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.event_swiper_m {
  display: flex;
  flex-direction: column;
}

.event_swiper_wrapper .swiper-slide {
  width: fit-content;
}

.event_swiper_buttons {
  gap: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  margin-bottom: 24px;
}

.event_swiper_wrapper .event_swiper-button-next,
.event_swiper_wrapper .event_swiper-button-prev {
  background: none;
  width: 62px;
  height: 36px;
  padding: 0 20px;
  border-radius: 4px;
  position: initial;
  margin-top: auto;
  border: none;
}

.event_swiper_wrapper .swiper-pagination {
  position: initial;
  width: auto;
  font-family: var(--font-family-label-regular);
}

.event_swiper_wrapper .event_swiper-button-next:hover>svg>path,
.event_swiper_wrapper .event_swiper-button-prev:hover>svg>path {
  stroke: var(--brand-red-lightest);
}

.event_swiper-button-next:after,
.event_swiper-button-prev:after {
  content: '';
}

.event_swiper-button-prev>svg {
  transform: rotate(270deg);
}

.event_swiper-button-next>svg {
  transform: rotate(90deg);
}

.swiper-button-disabled {
  opacity: 40%;
  cursor: default;
  pointer-events: none;
}

.events_calendar_page_content {
  max-width: 1376px;
  box-sizing: border-box;
  min-height: 50vh;
  padding: 16px 64px 40px;
  gap: 48px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.event_page_block_label {
  text-transform: uppercase;
}

.event_save_the_date_card {
  display: flex;
  gap: 16px;
  min-height: 250px;
  position: relative;
  border-left: 32px solid var(--white);
  padding: 0 0 0 16px;
  margin-left: 27px;
}

.event_save_the_date_badge {
  font-family: var(--font-family-label-regular);
  box-sizing: border-box;
  border: 2px solid var(--brand-black);
  width: 32px;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: -32px;
  text-transform: lowercase;

  display: flex;
  align-items: center;
  justify-content: center;
}

.event_save_the_date_badge>span {
  transform: rotate(180deg);
  text-orientation: sideways;
  writing-mode: vertical-rl;
}

.event_save_the_date_card_img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-width: 320px;
  height: 333px;
  width: 100%;
}

.event_save_the_date_content {
  display: flex;
  gap: 24px;
}

.event_save_the_date_info_wrapper {
  min-width: 165px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  text-align: end;
}

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

.event_save_the_date_main_info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.upcoming_events,
.past_events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(565px, 1fr));
  gap: 46px 0;
  overflow: hidden;
}

.upcoming_events_height_limit {
  /* height: 1505px; */
}

.past_events_height_limit {
  /* height: 515px; */
}

.event_upcoming_card,
.project_event_card {
  display: flex;
  gap: 16px;
  min-height: 470px;
  position: relative;
  border-left: 32px solid var(--white);
  padding: 0 0 0 16px;
  margin-left: 27px;
  flex-direction: column;
  width: 565px;
}

.event_upcoming_card_badge,
.project_event_card_badge {
  font-family: var(--font-family-label-regular);
  box-sizing: border-box;
  border: 2px solid var(--brand-black);
  width: 32px;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: -32px;
  text-transform: lowercase;

  display: flex;
  align-items: center;
  justify-content: center;
}

.event_upcoming_card_badge>span,
.project_event_card_badge>span {
  transform: rotate(180deg);
  text-orientation: sideways;
  writing-mode: vertical-rl;
}

.event_upcoming_card_img,
.project_event_card_img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 565px;
  height: 271px;
}

.event_upcoming_info_wrapper,
.event_past_info_wrapper,
.project_event_card_info_wrapper {
  display: flex;
  gap: 24px;
  flex: 1;
}

.event_upcoming_card_left_info,
.event_past_card_left_info,
.project_event_card_left_info {
  width: 175px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: end;
}

.event_upcoming_card_right_wrapper,
.event_past_card_right_wrapper,
.project_event_card_right_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 370px;
}

.event_upcoming_card_right_info,
.event_past_card_right_info,
.project_event_card_right_info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event_card_link {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  font-family: var(--font-family-label-regular);

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.open_events_btn {
  border-radius: 4px;
  padding: 10px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: none;
}

.open_events_btn:hover {
  background: rgba(222, 222, 222, 1);
}

.open_events_btn_svg {
  transform: rotate(180deg);
}

.open_svg {
  transform: rotate(360deg);
}

.btn_event_card_more_details {
  font-family: var(--font-family-label-regular);
  border: 2px solid var(--brand-black);
  padding: 12px 16px;
  text-transform: uppercase;
  text-align: center;
}

body.macos .btn_event_card_more_details {
  padding: 12px 16px 10px;
}

.btn_event_card_more_details:hover {
  border-color: var(--brand-red-lightest);
  color: var(--brand-red-lightest);
}

.btn_event_card_more_details_svg_m {
  display: none;
}

.event_past_card {
  display: flex;
  gap: 16px;
  min-height: 141px;
  position: relative;
  border-left: 32px solid var(--white);
  padding: 0 0 0 16px;
  margin-left: 27px;
  flex-direction: column;
  width: 565px;
}

.event_past_card_badge {
  font-family: var(--font-family-label-regular);
  box-sizing: border-box;
  border: 2px solid var(--brand-black);
  opacity: 50%;
  width: 32px;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: -32px;
  text-transform: lowercase;

  display: flex;
  align-items: center;
  justify-content: center;
}

.event_past_card_badge>span {
  transform: rotate(180deg);
  text-orientation: sideways;
  writing-mode: vertical-rl;
}

.event_page_content {
  width: 100%;
  max-width: 1376px;
  box-sizing: border-box;
  min-height: 74vh;
  padding: 16px 64px 40px;
  gap: 32px;
  display: flex;
  flex-direction: column;
}

.events_calendar_page_content p>em,
.event_page_content p>em,
.event_swiper_wrapper p>em {
  font-style: italic;
  font-size: 14px;
  line-height: 16px;
}

.event_badge {
  border: 2px solid var(--brand-red-light);
  text-align: center;
  padding: 4px;
  text-transform: lowercase;
}

.event_badge>a {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  font-family: var(--font-family-label-regular);
}

.event_content {
  display: flex;
  gap: 48px;
}

.event_info_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 236px;
  gap: 24px;
}

.event_info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: end;
}

.event_info_label {
  margin-bottom: 4px;
  text-transform: lowercase;
}

.event_langs_wrapper,
.event_orgs_wrapper {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.event_orgs_wrapper {
  flex-direction: column;
  align-items: flex-end;
}

.event_lang {
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(210, 210, 210, 0.35);
  text-transform: uppercase;
}

body.macos .event_lang {
  padding: 4px 6px 0px;
}

.event_link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event_link>svg {
  vertical-align: middle;
}

.event_link:hover>svg>path {
  stroke: #3C4447CC;
}

.event_label {
  text-transform: uppercase;
}

.event_location {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
}

.event_location>p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.event_date {
  text-transform: uppercase;
}

.event_poster_wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.event_poster {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event_description p,
.event_description span,
.event_description ul,
.event_description ol {
  font-family: var(--font-family-text-regular);
}

.event_description p {
  font-family: var(--font-family-text-regular);
  font-size: 18px;
  line-height: 28px;
}

.event_description p:not(:first-child) {
  margin-bottom: 12px;
}

.event_description p:last-child {
  margin-bottom: 0;
}

.event_description p>b,
.event_description p>strong {
  font-family: var(--font-family-text-bold);
}

.event_description p>i {
  font-style: italic;
  font-family: var(--font-family-text-italic);
}

.event_description p>em {
  font-style: italic;
  font-size: 18px;
  line-height: 28px;
  font-family: var(--font-family-text-italic);
}

.event_description p.lead-text,
.event_description p.larger-text {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  font-family: var(--font-family-text-larger);
}

.event_description p.larger-text {
  padding-left: 40px;
  max-width: 100%;
  box-sizing: border-box;
}

.event_description h1 {
  text-align: center;
  margin-bottom: 32px;
}

.event_description h2 {
  margin-bottom: 28px;
  margin-top: 28px;
}

.event_description h3:not(:first-of-type) {
  margin-top: 24px;
}

.event_description h3 {
  margin-top: 24px;
  margin-bottom: 24px;
}

.event_description>h3.event_description {
  margin-top: 90px;
}

.event_img {
  align-items: flex-start;
  margin: 0;
}

.event_img img {
  width: 570px;
  height: 400px;
  object-fit: contain;
}

.event_img figcaption {
  margin: 0;
  margin-top: 16px;
}

.event_text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.event_form_wrapper {
  display: flex;
  flex-direction: column;
}

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

input,
.input_label {
  display: block;
}

.input_label {
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 20.15px;
  font-family: var(--font-family-label-regular);
  margin-left: 16px;
  padding-top: 16px;
}

input {
  width: 360px;
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(245, 245, 245, 1);
  font-family: 'Istok Web', sans-serif;
}

input:hover,
input:focus-visible {
  border: 1px solid rgba(0, 0, 0, 0.5);
  outline: none;
}

input .error {
  border: 1px solid var(--brand-red-darkest);
}

.input_label .error {
  color: var(--brand-red-darkest);
}

label.js-form-required:after {
  content: "*";
  color: var(--brand-red-darkest);
  display: inline-block;
  margin-inline: 0.15em;
  font-size: 0.875rem;
}

.event_form_inputs {
  margin: 0 auto;
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}

.event_form_checkboxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-checkbox>input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

input[type="checkbox"] {
  width: auto;
}

.custom-checkbox_label {
  font-family: var(--font-family-label-regular);
}

.custom-checkbox>span {
  display: block;
  user-select: none;
}

.custom-checkbox>span>a {
  font-family: inherit;
  text-decoration: underline;
}

.custom-checkbox>span::before {
  content: '';
  display: inline-block;
  float: left;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 2px solid #34343499;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80% 80%;
}

.custom-checkbox>input+span:hover::before {
  border-color: var(--brand-red-light);
}

.custom-checkbox>input:checked+span::before {
  border-color: #34343499;
  background-image: url("../assets/icons/Line.svg");
}

.custom-checkbox>input:not(:disabled):checked+span:hover::before {
  border-color: var(--brand-red-light);
  background-image: url("../assets/icons/Line_red.svg");
}

.custom-checkbox>input.js-form-require-to-be-checked+span:after {
  content: "*";
  color: var(--brand-red-dark);
  display: inline-block;
  margin-inline: 0.15em;
  font-size: 0.875rem;
}

.custom-checkbox>span>a {
  font-family: inherit;
  color: rgba(26, 151, 218, 1);
}

.custom-checkbox>span>a:hover {
  color: rgba(18, 137, 201, 1);
}

@media (max-width: 1215px) {
  .event_text {
    -webkit-line-clamp: 6;
  }
}

@media (max-width: 1025px) {
  .event_form_inputs {
    column-count: 1;
  }

  .event_save_the_date_card {
    flex-direction: column;
    border-left: none;
    padding: 0;
    margin-left: 0;
  }

  .event_save_the_date_badge {
    width: auto;
    height: 32px;
    position: initial;
  }

  .event_save_the_date_badge>span {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    text-orientation: inherit;
  }
}

@media (max-width: 768px) {

  .event_page_content {
    padding: 12px 16px;
    gap: 16px;
  }

  .events_calendar_page_content {
    padding: 12px 16px;
    gap: 16px;
  }

  .event_info_wrapper {
    align-items: flex-start;
  }

  .event_card_link {
    font-size: 14px;
    line-height: 18px;
  }

  .event_info {
    flex-direction: row;
  }

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

  .event_poster_wrapper,
  .event_form {
    gap: 24px;
  }

  .event_form input {
    max-width: 310px;
  }

  .upcoming_events {
    gap: 34px 0;
  }

  .event_upcoming_card_img {
    margin-bottom: 12px;
    width: auto;
  }

  .event_swiper_wrapper {
    gap: 16px;
  }

  .event_swiper_m {
    flex-direction: column-reverse;
  }

  .event_swiper_buttons {
    justify-content: center;
    margin: 0;
    margin-top: 12px;
  }

  .swiper .event_upcoming_card {
    border-left: none;
    padding: 0;
    margin-left: 0;
    gap: 0;
    width: auto;
  }

  .swiper .event_upcoming_card_badge {
    width: auto;
    height: 32px;
    position: initial;
  }

  .swiper .event_upcoming_card_badge>span {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    text-orientation: inherit;
  }

  .swiper .event_upcoming_info_wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .swiper .event_upcoming_card_left_info {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }

  .swiper .event_upcoming_card_img {
    width: auto;
  }

  .event_info {
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
  }

  .event_info_label {
    display: none;
  }

  .event_orgs_wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 592px) {
  .event_img>img {
    width: 326px;
    height: 212px;
  }

  .upcoming_events,
  .past_events {
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
  }

  .event_upcoming_card {
    width: auto;
    border-left: none;
    padding: 0;
    margin-left: 0;
    gap: 0;
  }

  .event_upcoming_card_badge {
    width: auto;
    height: 32px;
    position: initial;
  }

  .event_upcoming_card_badge>span {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    text-orientation: inherit;
  }

  .event_upcoming_info_wrapper,
  .event_past_info_wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .event_upcoming_card_right_wrapper,
  .event_past_card_right_wrapper {
    gap: 12px;
  }

  .event_upcoming_card_left_info,
  .event_past_card_left_info {
    flex-direction: row;
    width: auto;
    align-items: center;
  }

  .event_save_the_date_content {
    flex-direction: column;
  }

  .event_save_the_date_info_wrapper {
    flex-direction: row;
    justify-content: space-between;
  }

  .event_upcoming_card .btn_event_card_more_details {
    border: none;
    padding: 12px 16px 12px 0;
    font-family: var(--font-family-label-regular);
    font-size: 12px;
    line-height: 17.27px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .event_upcoming_card .btn_event_card_more_details:hover {
    color: var(--brand-red-lightest);
  }

  .event_upcoming_card .btn_event_card_more_details:hover>svg>path {
    stroke: var(--brand-red-lightest);
  }

  .btn_event_card_more_details_svg_m {
    display: inline-flex;
    transform: rotate(90deg);
  }

  .upcoming_events_height_limit {
    /* height: 1480px; */
  }

  .past_events_height_limit {
    /* height: 1024px; */
  }

  .event_page_block {
    gap: 16px;
  }

  .event_past_card {
    margin-left: 0;
    min-height: 130px;
    width: auto;
  }

  .event_save_the_date_info {
    gap: 12px;
  }

  .event_date,
  .event_location>p {
    font-size: 12px;
    line-height: 17.27px;
  }

  .event_save_the_date_card {
    gap: 0;
  }

  .event_save_the_date_card_img {
    margin-bottom: 12px;
  }

  .event_save_the_date_card .btn_event_card_more_details {
    width: -webkit-fill-available;
    text-align: center;
  }
}

@media (max-width: 376px) {
  .event_form input {
    max-width: 290px;
  }
}

.open_events {
  height: auto;
}

/* take action page*/

.take_action_page_content {
  width: 100%;
  min-height: 50vh;
  padding: 80px 0;
  gap: 100px;
  display: flex;
  flex-direction: column;
}

.paragraph {
  max-width: 1276px;
  margin: 0 auto;
}

.paragraph_label {
  text-transform: uppercase;
}

.main_paragraph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.main_paragraph_text {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  max-width: 775px;
}

.tabs_wrapper {
  overflow-x: scroll;
  position: relative;
  margin: 0;
  width: 100%;
  white-space: nowrap;
  display: flex;
  justify-content: center;
}

.tabs {
  display: inline-block;
  vertical-align: top;
  padding: 12px 40px;
  border-radius: 100px;
  background: var(--brand-dark);
  color: var(--white);
  text-align: center;
}

.tabs>a {
  border: none;
  outline: 0;
  background: var(--brand-dark);
  color: var(--white);
  font-size: 20px;
  line-height: 24px;
  font-family: var(--font-family-label-regular);
  position: relative;
}

.tabs>a:hover {
  color: var(--brand-light);
  cursor: pointer;
}

.tabs>a:not(:first-child):not(:last-child) {
  padding: 0 30px;
}

.tabs>a:first-child {
  padding-right: 30px;
}

.tabs>a:last-child {
  padding-left: 30px;
}

.tabs>a:only-child::after {
  display: none;
}

.volunteers_paragraph_wrapper {
  background-repeat: no-repeat;
  background-position: top;
  min-height: 627px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.volunteers_paragraph {
  display: flex;
  background-color: #fff;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.06);
}

.paragraph_text_wrapper {
  display: flex;
  padding: 36px 50px;
}

.paragraph_text {
  margin-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 540px;
}

.paragraph_become_a_volunteer {
  padding-left: 40px;
  border-left: 1px solid rgba(216, 216, 216, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;
}

.paragraph_become_a_volunteer_text>p:not(:last-child) {
  margin-bottom: 8px;
}

.paragraph_become_a_volunteer_text {
  margin-top: 56px;
}

.letters_paragraph_wrapper {
  display: flex;
  justify-content: center;
}

.letters_paragraph {
  background-repeat: no-repeat;
  background-position: left;
  min-height: 506px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  flex: 1;
  max-width: 1440px;
}

.letters_paragraph_text {
  padding: 36px 50px;
  max-width: 630px;
  background-color: #fff;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.trial_paragraph_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.trial_paragraph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  position: relative;
  top: -124px;
  margin-bottom: -100px;
}

.trial_paragraph_text_wrapper {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: calc(50%) 50%;
  min-height: 500px;
  width: 100%;
  max-width: 1440px;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.trial_paragraph_text {
  text-align: center;
  max-width: 600px;
  color: #fff;
  margin-top: 60px;
}

.trial_paragraph_text>h2 {
  margin-bottom: 10px;
}

.trials_wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trial_card {
  padding: 25px;
  background-color: #fff;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.06);
  max-width: 580px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.trial_date_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.trial_date_wrapper>p,
.trial_date_wrapper>p:last-child {
  padding: 6px 10px;
  background: var(--brand-red-light);
  color: var(--white);
  font-family: var(--font-family-header-medium);
}

.trial_date_wrapper>p:last-child {
  margin-left: 20px;
}

.trial_info>h3 {
  margin-bottom: 8px;
}

.donation_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donation_paragraph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.donation_paragraph_label {
  text-align: center;
}

.donation_tabs_wrapper {
  width: 100%;
}

.donation_tabbar_wrapper {
  overflow-x: scroll;
  position: relative;
  margin: 0;
  white-space: nowrap;
}

.donation_tabbar {
  display: flex;
  gap: 8px;
  display: inline-block;
  vertical-align: top;
}

.donation_tabbar_item {
  padding: 22px 24px;
  min-width: 36%;
  width: auto;
  border: none;
  outline: 0;
  color: var(--white);
  background-color: var(--brand-dark);
  font-family: var(--font-family-label-regular);
  font-size: 20px;
  line-height: 24px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  max-width: 252px;
  box-sizing: border-box;
}

.donation_tabbar_item:hover {
  background-color: #3C4447CC;
}

.donation_tabbar_item_selected {
  background-color: var(--brand-red-lightest);
}

.tab_container {
  padding: 40px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  min-height: 300px;
  box-shadow: 0px 13px 16px 0px rgba(0, 0, 0, 0.07);
}

.tab_container.tab_container_center_content {
  align-items: center;
}

.tab_container_label,
.tab_container h3 {
  font-size: 24px;
  line-height: 34.18px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tab_container h3:not(:first-child) {
  margin-top: 40px;
}

.tab_container#credit_card .tab_content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}

.tab_container#credit_card .tab_container_left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab_container#credit_card .tab_container_right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0px 2px 13px 0px rgba(0, 0, 0, 0.07);
  padding: 24px;
  border-radius: 8px;
  max-width: 480px;
  box-sizing: border-box;
}

.tab_container#credit_card .tab_block {
  background: rgba(248, 249, 251, 1);
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab_container_title {
  width: 100%;
  text-align: left;
}

.сontact_information_form,
.credit_card_form {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}

.сontact_information_form input,
.credit_card_form input {
  width: 306px;
  box-sizing: border-box;
}

.сontact_information_form .block,
.credit_card_form .block {
  width: 100%;
}

.сontact_information_form .block>input,
.credit_card_form .block>input {
  width: 100%;
  box-sizing: border-box;
}

.сontact_information_form .small,
.credit_card_form .small {
  width: 150px;
}

.сontact_information_form .small>input,
.credit_card_form .small>input {
  width: 100%;
  box-sizing: border-box;
}

.credit_card_form .custom-checkbox {
  margin: 40px 0;
}

.tab_container .links_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tab_container .links_wrapper p {
  position: relative;
  display: inline-block;
  cursor: pointer;

  font-size: 20px;
  line-height: 28.16px
}

.tab_container .links_wrapper p:before {
  content: "Copy to clipboard";
  position: absolute;
  top: -35px;
  right: -70px;
  font-size: 12px;
  height: 24px;
  width: 100px;
  line-height: 16px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px;
  display: none;
  clip-path: polygon(50% 0%,
      100% 0%,
      100% 80%,
      60% 80%,
      50% 100%,
      40% 80%,
      0% 80%,
      0% 0%);
}

.tab_container .links_wrapper p:after {
  content: url('../assets/icons/Copy.svg');
  position: absolute;
  right: -30px;
  top: 0;
  width: 26px;
  height: 26px;
}

.tab_container .links_wrapper p:hover:after {
  content: url('../assets/icons/Copy_hover.svg');
}

.tab_container .links_wrapper p:hover:before {
  display: block;
}

.tab_container .links_wrapper p.copied:before {
  content: "Copied!";
}

.tab_container .links_wrapper_label {
  margin-bottom: 20px;
}

.transfer_link,
.transfer_link:not(:last-child) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab_container .links_wrapper .links_description {
  margin-top: 24px;
}

.donation_tabs_wrapper .links_description>p:not(:last-child) {
  margin-bottom: 10px;
}

.links_description a {
  color: rgba(26, 151, 218, 1);
}

.links_description a:hover {
  color: rgba(18, 137, 201, 1);
}

.transfer_links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.transfer_link>p,
.crypto_link_label>p,
.tab_container p {
  font-size: 20px;
  line-height: 24px;
}

.qr_btn {
  border: 2px solid var(--brand-black);
  background-color: var(--white);
  padding: 5px 12px 2px 12px;
  font-family: var(--font-family-label-regular);
  font-size: 16px;
  line-height: 22.53px;
}

.crypto_link {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 855px;
  justify-content: space-between;
  padding: 14px 0;
}

div.crypto_link:not(:last-of-type) {
  border-bottom: 1px solid rgba(235, 235, 235, 1);
}

.crypto_link_label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.tab_block_label {
  font-family: var(--font-family-label-regular);
  font-size: 24px;
  line-height: 34.18px;
  text-transform: uppercase;
}

.donation_type_wrapper {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}

.donation_type_btn {
  padding: 10px 22px;
  border: none;

  border-radius: 8px;
  color: rgba(0, 0, 0, 0.5);
  background: rgba(230, 232, 238, 1);
}

.donation_type_btn.active {
  color: var(--white);
  background: var(--brand-black);
}

.donation_type_tabbar_wrapper,
.donation_type_tabbar {
  flex: 1
}

.donation_tab {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary_item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

div.summary_item:not(:last-of-type) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.summary_item a {
  font-size: 14px;
  line-height: 19.71px;
  color: rgba(26, 151, 218, 1);
}

.summary_item a:hover {
  color: rgba(18, 137, 201, 1);
}

.custom_select {
  position: relative;
}

.custom_select details {
  position: relative;
  width: 300px;
  margin-right: 1rem;
}

.custom_select details[open] {
  z-index: 1;
}

.custom_select summary {
  cursor: pointer;
  list-style: none;

  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(245, 245, 245, 1);
  font-family: var(--font-family-label-regular);
}

.custom_select summary:hover {
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.custom_select summary::-webkit-details-marker {
  display: none;
}

.custom_select details[open] summary:before {
  content: '';
  display: block;
  width: 100vw;
  height: 100vh;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
}

.custom_select summary:after {
  content: '';
  display: inline-block;
  float: right;
  content: url("assets/icons/Arrow_drop_down.svg");
  transform: rotate(-180deg);
  transition: transform ease-in-out 100ms
}

.custom_select summary:focus {
  outline: none;
}

details.custom_select[open] summary:after {
  transform: rotate(0deg);
}

.custom_select ul {
  width: 100%;
  background: rgba(245, 245, 245, 1);
  border: 1px solid rgba(0, 0, 0, 0.2);
  position: absolute;
  top: calc(100% + .2rem);
  left: 0;
  padding: 12px 0;
  margin: 0;
  box-sizing: border-box;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  list-style-type: none;
  font-family: var(--font-family-label-regular);
}

.custom_select li {
  margin: 0;
  padding: 4px 16px;
}

.custom_select li:hover {
  background: rgba(234, 234, 234, 1);
}

.custom_select li:first-child {
  padding-top: 0;
}

.custom_select li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.custom_select li label {
  cursor: pointer;
  display: block;
  width: 100%;
}

.custom_select input[type=radio]:checked {
  width: auto;
  padding: 0;
  border-radius: 0;
  border: none;
  font-family: var(--font-family-input-regular);
}

.custom_select .list .selected label::after {
  content: url("assets/icons/Done.svg");
  float: right;
}

/* FAKE SELECT */

.custom_select summary.radios {
  counter-reset: radios;
}

.custom_select input[type=radio] {
  counter-increment: radios;
  appearance: none;
  display: none;
}

.custom_select input[type=radio]:checked {
  display: inline;
  --display: block;
}

.custom_select input[type=radio]:after {
  content: attr(title);
  display: inline;
  font-size: 1rem;
}

.custom_select ul.list {
  counter-reset: labels;
}

.tooltip {
  position: relative;
  display: inline-block;
  border: none;
  outline: 0;
  background-color: #fff;
  padding: 0;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 0px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  width: 140px;
  opacity: 1;
}

.tooltip:hover>svg>path {
  fill: rgba(0, 0, 0, 0.6);
}

.tabs_wrapper::-webkit-scrollbar,
.donation_tabbar_wrapper::-webkit-scrollbar {
  display: none;
}

.tabs_wrapper,
.donation_tabbar_wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 1275px) {

  .сontact_information_form>div,
  .credit_card_form>div {
    width: 100%;
  }

  .сontact_information_form>div>input,
  .credit_card_form>div>input {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .trial_paragraph_text_wrapper {
    min-height: 300px;
    align-items: flex-end;
  }

  .trial_paragraph_text {
    padding: 60px 16px 32px;
    margin: 0;
  }

  .take_action_page_content {
    gap: 50px;
    padding: 50px 0 22px;
  }

  .main_paragraph {
    padding: 0px 16px;
    gap: 24px;
  }

  .tabs {
    padding: 6px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: none;
  }

  .tabs>a {
    font-size: 16px;
    line-height: 20px;
    padding: 6px 20px;
    border-radius: 100px;
  }

  .tabs>a:first-child {
    padding-right: 20px;
  }

  .tabs>a:not(:first-child):not(:last-child) {
    padding: 6px 20px;
  }

  .tabs>a:last-child {
    padding-left: 20px;
  }

  .tab_container#credit_card .tab_content {
    flex-direction: column;
    align-items: center;
  }

  .tab_block,
  .tab_container#credit_card .tab_block,
  .tab_container#credit_card .tab_container_right {
    padding: 12px;
  }

  .tab_block_label {
    font-size: 18px;
    line-height: 25.34px;
  }

  .tab_container_right {
    max-width: 300px;
  }

  .volunteers_paragraph_wrapper {
    background-position: top;
    background-size: 150%;
  }

  .paragraph_text_wrapper {
    padding: 24px 16px;
    flex-direction: column;
    gap: 16px;
  }

  .paragraph_text {
    margin-right: 0px;
  }

  .paragraph_become_a_volunteer {
    padding-left: 0px;
    border-left: none;
  }

  .paragraph_become_a_volunteer_text {
    margin-top: auto;
  }

  .letters_paragraph_wrapper {
    justify-content: flex-end;
    align-items: center;
  }

  .letters_paragraph {
    justify-content: flex-end;
    align-items: center;

    background-position: top;
    background-size: contain;
    min-height: 470px;
  }

  .letters_paragraph_text {
    padding: 16px;
    max-width: 100%;
  }

  .trial_paragraph {
    top: 0px;
    margin-bottom: auto;
  }

  .trial_card {
    padding: 16px;
  }

  .donation_tabbar {
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .donation_tabbar_item {
    padding: 10px 16px;
    font-size: 12px;
    line-height: 17px;
    min-width: 158px;
    border-radius: 8px;
    flex: 1;
    max-width: none;
  }

  .donation_tabs_wrapper {
    width: auto;
  }

  .donation_paragraph {
    gap: 30px;
    width: auto;
  }

  .donate_btn {
    font-size: 12px;
    line-height: 14px;
  }

  .tab_container {
    padding: 20px 12px;
  }

  .tab_container_label,
  .tab_container h3 {
    font-size: 15px;
    line-height: 18px;
  }

  .crypto_link {
    min-width: auto;
    flex-wrap: wrap;
  }

  .transfer_link>p,
  .tab_container p,
  .tab_container .links_wrapper p {
    font-size: 15px;
    line-height: 18px;
  }

  .tooltip>svg {
    width: 16px;
    height: 16px;
  }

  .transfer_link,
  .transfer_link:not(:last-child) {
    word-break: break-all;
  }

  .tab_container .links_wrapper {
    max-width: 550px;
  }
}

@media (max-width: 592px) {
  .tab_container .links_wrapper {
    max-width: 300px;
  }
}

/* search page styles */

.search_page_content {
  width: 100%;
  max-width: 1376px;
  box-sizing: border-box;
  min-height: 72vh;
  padding: 32px 64px;
  gap: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.search_wrapper {
  max-width: 805px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search_input_wrapper {
  display: flex;
  width: 100%;
}

.search_results_wrapper em {
  color: rgba(0, 0, 0, 0.6);
}

.search_results_wrapper>p {
  margin-bottom: 8px;
}

.search_results_list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: scroll;
  scrollbar-width: none;
  height: 65vh;
}

.search_results_list::-webkit-scrollbar {
  display: none;
}

.search_results_list_nothing_found {
  font-family: var(--font-family-label-regular);
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
}

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

.label_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.type_badge {
  background-color: var(--brand-black);
  border-radius: 20px;
  padding: 3px 6px;
  color: var(--white);
  max-height: 28px;
  max-width: 300px;
  font-size: 14px;
  line-height: 20px;
  text-transform: lowercase;
  font-family: var(--font-family-label-regular);
}

.result_label {
  font-size: 20px;
  line-height: 24px;
  font-family: var(--font-family-label-regular);
}

.result_publication_date {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 20.15px;
}

.result_text>span,
.result_text>.field--search-api-excerpt>span {
  background: rgba(0, 0, 0, 0.15);
  padding: 0 2px;
}

.result_text>.field--search-api-excerpt {
  font-family: var(--font-family-label-regular);
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
}

.search_btn {
  display: flex;
  align-items: center;
  border: 2px solid rgba(0, 0, 0, 0.4);
  padding: 4px;
  background-color: var(--white);
}

.search_btn>svg>path,
.search_btn>svg>circle {
  stroke: rgba(0, 0, 0, 0.4);
}

.search_input {
  border: 2px solid rgba(0, 0, 0, 0.4);
  border-right: 0px;
  border-radius: 0;
  background-color: var(--white);
  font-family: var(--font-family-input-regular);
  font-size: 16px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.4);
  padding: 9px 16px;
  flex: 1;
}

.search_input:hover {
  border: 2px solid rgba(0, 0, 0, 0.8);
}

.search_btn:hover {
  border-color: rgba(0, 0, 0, 0.8);
}

.search_btn:hover>svg>path,
.search_btn:hover>svg>circle,
.search_btn:focus-visible>svg>path,
.search_btn:focus-visible>svg>circle {
  stroke: rgba(0, 0, 0, 0.8);
}

.search_btn:focus-visible,
.search_input:focus-visible {
  color: rgba(0, 0, 0, 0.8);
  border-color: rgba(0, 0, 0, 0.8);
  outline: none;
}

.search_input:focus-visible+.search_btn,
.search_input:focus-visible+.search_btn>svg>path,
.search_input:focus-visible+.search_btn>svg>circle {
  border-color: rgba(0, 0, 0, 0.8);
  stroke: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .search_page_content {
    padding: 32px 16px;
  }

  .search_wrapper {
    gap: 16px;
  }

  .search_results_list {
    height: 60vh;
  }

  .label_wrapper {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .result_text>.field--search-api-excerpt {
    font-size: 15px;
    line-height: 18px;
  }

  .search_input {
    width: auto;
    padding: 7px 16px;
    font-size: 15px;
    line-height: 18px;
  }

  .search_btn>svg {
    width: 24px;
    height: 24px;
  }

  .type_badge {
    font-size: 12px;
    line-height: 16px;
  }

  .result_label {
    font-size: 14px;
    line-height: 18px;
  }
}

/* donate page */

.donate_page_content {
  min-height: 70vh;
  padding: 48px 0;
  gap: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.donate_page_content .donation_tabs_wrapper,
.donate_page_content .donation_wrapper {
  max-width: 1376px;
  box-sizing: border-box;
  width: 100%;
}

.return_btn_wrapper {
  max-width: 648px;
  width: 100%;
}

.donate_page_content .return_btn,
.donate_page_content .donate_btn {
  width: 100%;
  font-family: var(--font-family-label-regular);
  font-size: 16px;
  line-height: 22.53px;
}

.donate_page_content a.return_btn,
.donate_page_content a.donate_btn {
  display: inline-block;
}

.donate_page_content h1,
.donate_page_content h2 {
  text-transform: uppercase;
}

.about_us_block {
  background-color: var(--brand-black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
  width: 100%;
}

.about_us_label {
  color: var(--brand-red-light);
}

.about_us_text {
  text-align: center;
  max-width: 870px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 16px;
}

.divider {
  margin-top: 20px;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #FFFFFF 50%, rgba(255, 255, 255, 0) 100%);
  width: 100%;
}

.about_us_text>p,
.ways_to_help_card_text>p {
  font-family: var(--font-family-text-regular);
}

.about_us_cards_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 0;
  width: 100%;
}

.about_us_card {
  position: relative;
  width: 480px;
  min-height: 333px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 50%;
  background-position: 50% 85%;
  filter: contrast(120%) hue-rotate(17deg) saturate(130%);
  transition: ease-out 0.6s;
}

.about_us_card:nth-child(1),
.about_us_card:nth-child(5),
.about_us_card:nth-child(6),
.about_us_card:nth-child(12) {
  background-size: 60%;
}

.about_us_card:nth-child(14) {
  background-position: 70% 85%;
  background-size: 40%;
}

.about_us_card:nth-child(3),
.about_us_card:nth-child(9) {
  background-position: 60% 85%;
}

.about_us_card:nth-child(4),
.about_us_card:nth-child(10) {
  background-position: 25% 85%;
}

.about_us_card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.about_us_card:hover {
  background-size: 100%;
  filter: none;
}

.about_us_card:hover::before {
  opacity: 1;
  background: linear-gradient(180deg,
      #000000 0.22%,
      rgba(0, 0, 0, 0.9) 15.77%,
      rgba(0, 0, 0, 0.810909) 30.3%,
      rgba(0, 0, 0, 0.5) 53.54%,
      rgba(0, 0, 0, 0.365567) 74.75%,
      rgba(0, 0, 0, 0) 100%);
}

.about_us_card_text_wrapper {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  gap: 10px;
  margin: 0 auto;
  max-width: 375px;
}

.about_us_card:nth-child(9) .about_us_card_text_wrapper,
.about_us_card:nth-child(11) .about_us_card_text_wrapper,
.about_us_card:nth-child(13) .about_us_card_text_wrapper,
.about_us_card:nth-child(14) .about_us_card_text_wrapper {
  max-width: 450px;
}

.about_us_card_text {
  display: block;
  z-index: 10;
}

.about_us_card_label {
  font-family: var(--font-family-label-medium);
  font-size: 36px;
  font-weight: 400;
  line-height: 51.26px;
  text-transform: uppercase;
}

.about_us_card_description {
  opacity: 0;
  transition: ease-out 0.6s;
}

.about_us_card:hover .about_us_card_description {
  opacity: 1;
}

.gifts_block,
.ways_to_help_block {
  max-width: 1312px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
}

.gifts_text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 885px;
}

.gifts_text_bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.gifts_text_bottom>p>b>a {
  font-family: var(--font-family-text-bold);
}

.gifts_link {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.gifts_cards_wrapper,
.ways_to_help_cards_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.gifts_card {
  border: 1px solid rgba(224, 227, 228, 1);
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 316px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gifts_card_img_wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.gifts_card_img {
  width: 284px;
  min-height: 284px;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  position: relative;
  background-position: center;
  background-size: contain;
}

.gifts_card_img::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0.890185) 18.78%, rgba(255, 255, 255, 0.65741) 40.72%, rgba(255, 255, 255, 0) 62.32%);
  transition: opacity 0.6s ease-out;
}

.gifts_card:hover .gifts_card_img::before {
  opacity: 1;
}

.gifts_card_img>b {
  margin-bottom: 8px;
}

.gifts_label {
  text-align: start;
  width: 100%;
  height: 40px;
}

.gifts_card_text {
  position: absolute;
  bottom: 0;
  padding-bottom: 16px;
  line-height: 18px;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.gifts_card:hover .gifts_card_text {
  opacity: 1;
}

.ways_to_help_card {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  max-width: 426px;
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.ways_to_help_icons_wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ways_to_help_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-black);
  border-radius: 16px;
  padding: 8px;
  width: 34px;
  height: 34px;
}

.ways_to_help_card_text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.ways_to_help_link {
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.ways_to_help_link.socials {
  justify-content: center;
}

.gifts_link:hover>svg>path:first-child,
.ways_to_help_link:hover>svg>path:first-child {
  fill: rgba(0, 0, 0, 0.6);
}

.gifts_link:hover>svg>path:last-child,
.ways_to_help_link:hover>svg>path:last-child {
  stroke: rgba(0, 0, 0, 0.6);
}

.faq_block {
  max-width: 996px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.faq_items_wrapper {
  width: 100%;
}

.faq_item {
  padding: 24px 48px 24px 64px;
  border: 1px solid var(--brand-black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.faq_item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.faq_item:not(:first-child) {
  border-top: none;
}

.faq_item_label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  cursor: pointer;
}

.faq_item_label:hover,
.faq_item_label:hover>svg>path {
  color: var(--brand-red-light);
  fill: var(--brand-red-light);
}

.faq_item_label>svg {
  transform: rotate(180deg);
  transition: ease-out 0.3s;
}

.faq_item_text {
  margin-left: 32px;
  margin-top: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
}

.faq_item_text>p {
  font-family: var(--font-family-text-regular);
}

.faq_item_text>a:hover {
  color: var(--brand-red-lightest);
}

.faq_item_text>p>a[href^="mailto:"] {
  text-decoration: underline;
}

.faq_item_text>p>a[href^="mailto:"]::after {
  content: none;
}

@media (max-width: 768px) {
  .donate_page_content {
    padding: 40px 0;
  }

  .donate_page_content {
    gap: 32px;
  }

  .return_btn_wrapper {
    max-width: 328px;
  }

  .donate_page_content .return_btn,
  .donate_page_content .donate_btn {
    font-size: 12px;
    line-height: 16.9px;
  }

  .divider {
    margin-top: 10px;
  }

  .about_us_block {
    gap: 30px;
  }

  .about_us_card {
    width: 360px;
    min-height: 280px;
  }

  .about_us_card_text_wrapper {
    padding: 20px 24px;
  }

  .about_us_card_label {
    font-family: var(--font-family-label-regular);
    font-size: 18px;
    font-weight: 400;
    line-height: 25.34px;
  }

  .about_us_card_description {
    font-family: var(--font-family-text-regular);
  }

  .gifts_block,
  .ways_to_help_block {
    gap: 20px;
  }

  .gifts_card {
    min-width: 300px;
  }

  .gifts_label {
    height: auto;
  }

  .gifts_card_img_wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .gifts_card_img {
    min-height: auto;
    width: 160px;
    height: 160px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .gifts_card_text {
    padding-bottom: 0;
  }

  .ways_to_help_icon {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 12px;
  }

  .ways_to_help_icon>svg {
    width: 28px;
    height: 28px;
  }

  .faq_item {
    padding: 16px;
  }
}

@media (max-width: 376px) {
  .about_us_card {
    width: 320px;
  }

  .gifts_link {
    white-space: inherit;
  }
}

/* end */

/* project alt */

.project_alt_page_content {
  flex: 1;
  max-width: 1440px;
  min-height: 50vh;
  padding: 32px 0 130px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.project_alt_page_content h2 {
  font-size: 36px;
  line-height: 52px;
}

.project_alt_page_content h3 {
  font-size: 30px;
  line-height: 38px;
}

.project_alt_page_content h4 {
  font-size: 24px;
  line-height: 30px;
}

.project_alt_page_content ul.toc ul {
  margin-bottom: 0;
}

.project_alt_page_content ul.toc li {
  font-family: var(--font-family-header-medium);
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

.project_alt_page_content ul.toc li>a {
  text-decoration: none;
}

.project_alt_page_content ul.toc li>a:after {
  display: none;
}

ul.toc li>a:hover {
  color: var(--brand-red-lightest)
}

.project_page_content .go_back,
.project_alt_page_content .go_back {
  padding-left: 64px;
}

.project_date_wrapper,
.project_page_text {
  max-width: 902px;
  box-sizing: border-box;
  padding: 0 16px;
}

.project_page_text {
  padding-bottom: 36px;
}

.project_cover_figure {
  max-width: 1440px;
  max-height: 624px;
  margin: 0 0 40px 0;
  position: relative;
}

.project_cover_shadow {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.334) 20.9%, rgba(0, 0, 0, 0.674) 51.4%, #000000 100%);
  position: relative;
}

.project_cover {
  object-fit: cover;
  overflow-y: hidden;
  width: 100%;
  height: auto;
  z-index: -1;
  position: relative;
}

.project_label_wrapper {
  position: absolute;
  color: var(--white);
  max-width: 870px;
  height: 50%;
  min-height: 100px;
  padding: 8px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  bottom: 0;
  left: 20%;
  z-index: 1;
}

.project_label {
  color: var(--white);
  text-transform: uppercase;

  font-size: 48px;
  line-height: 69.89px;
}

blockquote:has(> h3) {
  border-left: none;
}

.project_alt_page_content .project_page_text blockquote>h3 {
  margin-bottom: 0;
}

.project_alt_page_content>.project_page_text p:first-child {
  margin-bottom: 12px;
}

.project_alt_page_content>.project_page_text p:last-child {
  margin-bottom: 0;
}

.footnote {
  border: 1px solid var(--brand-black);
  background: var(--brand-light);
  color: var(--brand-black);
  padding: 0 2px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
}

label.footnote span {
  z-index: -1;
  visibility: hidden;
  opacity: 0;
  width: 0px;
  height: 0px;
  overflow: hidden;
  position: absolute;
  left: 90%;
  top: 18px;
  padding: 0;
  border-radius: 12px;
  color: var(--brand-black);
  border: 1px solid var(--brand-light);
  background-color: var(--white);
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

label.footnote:hover {
  color: var(--white);
  background: var(--brand-red-light);
  border: 1px solid var(--brand-red-light);
}

label.footnote:hover span {
  z-index: 9;
  visibility: visible;
  opacity: 1;
  min-width: 500px;
  height: auto;
  padding: 14px 24px;
  box-shadow: 0px 12px 50px 0px #00000021;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.project_page_text a {
  font-size: inherit;
}

.project_page_text a::after,
.event_description a::after,
.faq_item_text a::after,
.org_text_wrapper a::after {
  width: 16px;
  height: 16px;
  display: inline-block;
  content: '';
  -webkit-mask: url(../assets/icons/Out.svg) no-repeat 50% 50%;
  mask: url(../assets/icons/Out.svg) no-repeat 50% 50%;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: var(--brand-black);
  margin-left: 4px;
}

.project_page_text a:hover::after,
.faq_item_text a:hover::after {
  background-color: var(--brand-red-lightest);
}


@media (max-width: 1025px) {
  .project_label_wrapper>h1 {
    font-size: 36px;
    line-height: 47.88px;
  }

  .project_label_wrapper {
    left: 0;
  }
}

@media (max-width: 768px) {
  .project_alt_page_content {
    padding: 20px 0 30px 0;
    gap: 16px;
    max-width: 100%;
  }

  .project_label_wrapper>h1 {
    font-size: 20px;
    line-height: 29.12px;
  }

  .project_page_content .go_back,
  .project_alt_page_content .go_back {
    padding-left: 24px;
  }

  .project_cover {
    min-height: 240px;
  }

  .project_alt_page_content figure:last-of-type {
    max-width: none;
    margin: 0;
  }

  .project_alt_page_content blockquote {
    margin: 0 0 24px 24px;
    padding-left: 8px;
  }

  .project_cover_figure figcaption {
    margin-left: 16px;
    margin-right: 16px;
  }

  label.footnote:hover span {
    min-width: 328px;
    padding: 12px 16px;
    left: 0;
    top: 14px;
  }
}

@media (max-width: 426px) {
  label.footnote:hover span {
    min-width: 250px;
  }

  .project_label_wrapper {
    height: auto;
  }
}

/* project alt end */

/* photo galery swipers */

.photos_swiper_wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 870px;
  margin: 0 auto;
  gap: 16px;
}

.swiper-wrapper {
  display: grid;
  grid-auto-flow: column;
}

.photos_swiper_wrapper figure {
  margin: 0;
}

.photos_swiper-button-next,
.photos_swiper-button-prev {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  cursor: pointer;
  border: none;
  outline: none;
  z-index: 10;
  background: var(--white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 2px 0 0;
  opacity: 0.5;
}

.photos_swiper-button-prev {
  left: 16px;
}

.photos_swiper-button-next {
  right: 16px;
}

.photos_swiper-button-next svg,
.photos_swiper-button-prev svg {
  width: 24px;
  height: 24px;
}

.photos_swiper-button-next>svg {
  transform: rotate(90deg);
}

.photos_swiper-button-prev>svg {
  transform: rotate(270deg);
}

.photos_swiper-button-next:hover,
.photos_swiper-button-prev:hover {
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--brand-black);
}

.photos_swiper-pagination {
  text-align: center;
}

figure.swiper-slide>img {
  width: 870px;
  height: 655px;
  object-fit: contain;
}

.event_poster figure.swiper-slide>img {
  width: 570px;
  height: 400px;
  object-fit: contain;
}

.event_poster .photos_swiper_wrapper {
  max-width: 570px;
}

.event_poster .photos_swiper-pagination {
  text-align: start;
}

@media (max-width: 768px) {

  .photos_swiper-button-next,
  .photos_swiper-button-prev {
    display: none;
  }

  .photos_swiper_wrapper {
    max-width: 430px;
  }

  figure.swiper-slide>img,
  .event_poster figure.swiper-slide>img {
    width: 430px;
    height: 313px;
  }
}

@media (max-width: 592px) {

  .photos_swiper_wrapper,
  .event_poster .photos_swiper_wrapper {
    max-width: 380px;
  }

  .swiper-slide {
    width: 326px;
  }

  .swiper-pagination-bullets {
    display: none;
  }

  figure.swiper-slide>img,
  .event_poster figure.swiper-slide>img {
    width: 313px;
    height: 236px;
  }
}

@media (max-width: 426px) {

  .photos_swiper_wrapper,
  .event_poster .photos_swiper_wrapper {
    max-width: 328px;
  }

  .swiper-slide {
    width: 303px;
  }

  .event_img>img {
    width: 303px;
  }

  .swiper-slide>img {
    max-width: 303px;
  }

  .photos_swiper_wrapper figure {
    margin-bottom: 16px;
  }
}

/*end*/

/*cookie banner*/

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  box-sizing: border-box;
  width: 100%;
  display: none;
}

.cookie-consent-banner_inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--white);
  box-shadow: 0px 12px 50px 0px #00000021;
  border-radius: 8px;
}

.cookie-consent-banner_header {
  margin-bottom: 8px;
}

.cookie-consent-banner_actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

@media (max-width: 592px) {
  .cookie-consent-banner_inner {
    padding: 24px;
  }

  .cookie-consent-banner_actions {
    min-width: 380px;
  }
}

@media (max-width: 426px) {
  .cookie-consent-banner_actions {
    flex-direction: column;
    gap: 8px;
    min-width: 300px;
  }
}

/*end*/

iframe[title~="YouTube"] {
  max-width: 100%;
}

.media-oembed-content {
  height: 315px;
}

@media (max-width: 1275px) {
  .longreads_footer {
    margin-right: 0;
  }
}

@media (max-width: 1025px) {
  .up_to_date_content {
    padding: 55px 62px;
    gap: 24px;
  }

  .up_to_date_quote_right_wrapper {
    height: 148px;
    margin: 0;
  }

  .up_to_date_quote_right_wrapper>span {
    white-space: wrap;
    max-width: 800px;
  }

  .footer_wrapper {
    gap: 16px;
    padding: 24px;
  }

  .footer_contacts_wrapper {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 20px;
    flex-wrap: wrap;
    min-height: auto;
  }

  .header_mobile_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
  }

  .logo_wrapper {
    gap: 16px;
    margin-left: 0;
  }

  .header_title {
    font-size: 18px;
    line-height: 20px;
  }

  .header_subtitle {
    font-size: 11px;
    line-height: 14px;
    margin-top: 0px;
  }

  .header_logo_link {
    display: none;
  }

  .header_logo_link_mobile {
    display: block;
  }

  .header_logo {
    width: 31px;
    height: 45px;
  }

  .header_btns_wrapper {
    display: none;
  }

  .header_burger_m {
    display: block;
    background-image: url('../assets/icons/burger.svg');
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border: none;
    background-color: #fff;
  }

  .open {
    background-image: url('../assets/icons/cross.svg');
  }

  .header_burger_list {
    display: flex;
    flex-direction: column;

    position: absolute;
    transform: translateY(-200%);
    transition: transform 0.2s;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background-color: var(--white);
    height: max-content;
    padding: 16px 0px;
  }

  .expand_burger_list {
    transform: translateY(0);
  }

  .header_burger_wrapper_m {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .longreads {
    display: none;
  }

  .longread_label {
    padding: 4px 0px 2px 0px;
  }

  .main_page_content {
    padding: 12px 16px;
    gap: 16px;
  }

  .counter_wrapper {
    position: relative;
    top: auto;
    right: auto;
    flex-direction: row;
    gap: 12px;
  }

  .counter {
    height: auto;
    padding: 12px;
  }

  .up_to_date {
    min-height: 360px;
    min-width: 318px;
    background-position: bottom center;
    background-size: 348px 180px;
  }

  .up_to_date_content {
    padding: 25px 32px;
    gap: 8px;
  }

  .up_to_date_quote_right_wrapper {
    min-height: auto;
    height: 52px;
    margin: 0;
  }

  .up_to_date_quote_right_wrapper>span {
    white-space: wrap;
    max-width: 600px;
  }

  .btn_wrapper {
    margin: 0 auto;
  }

  .project_badges_wrapper {
    gap: 12px;
  }

  .project_rubric {
    font-size: 11px;
    line-height: 16px;
  }

  .project_badge,
  .event_org_badge {
    font-size: 11px;
    line-height: 14px;
  }

  .project_date {
    font-size: 11px;
    line-height: 16px;
  }

  .project_publication_date {
    font-size: 11px;
    line-height: 16px;
  }

  .go_back>span {
    font-size: 14px;
    line-height: 18px;
  }

  .btn_donate,
  .btn_subscribe,
  .btn_donate_m,
  .btn_search,
  .btn_regular {
    padding: 10px 16px;
    font-size: smaller;
  }

  body.macos .btn_donate,
  body.macos .btn_subscribe,
  body.macos .btn_donate_m,
  body.macos .btn_search,
  body.macos .btn_regular {
    padding: 10px 16px 8px;
  }

  .btn_outlined {
    padding: 8px 16px;
    font-size: smaller;
  }

  body.macos .btn_outlined {
    padding: 8px 16px 6px;
  }

  .btn_donate>span,
  .btn_subscribe>span,
  .btn_donate_m>span,
  .btn_search>span,
  .btn_regular>span {
    font-size: 12px;
    line-height: 16px;
  }

  .btn_sign_up_to_event {
    font-size: 12px;
    line-height: 16px;
  }

  .btn_donate_m {
    display: flex;
  }

  .btn_donate {
    display: none;
  }

  .longreads>a,
  .longreads_footer>a {
    font-size: 12px;
    line-height: 16px;
  }

  .longreads_footer {
    width: 100%;
    max-height: 140px;
    min-width: 300px;
  }

  .read_more_icon {
    width: 36px;
    height: 36px;
  }

  .articles {
    gap: 16px;
  }

  .articles_wrapper {
    gap: 24px;
    margin-left: 0;
  }

  .article:nth-child(odd),
  .article:nth-child(even) {
    flex-direction: column;
  }

  .article:nth-child(odd) .article_img,
  .article:nth-child(even) .article_img {
    height: 267px;
    width: 100%;
  }

  .article_text_wrapper {
    gap: 8px;
    width: auto;
    padding: 20px 16px;
  }

  .article_text {
    gap: 8px;
  }

  .article_alt {
    min-height: 200px;
    min-width: 318px;
    margin-left: 0;
  }

  .scroll_up {
    display: none;
  }

  .scroll_up_m {
    display: flex;
    margin-top: 28px;
  }

  .footer_left_wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer_contacts_wrapper {
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }

  .footer_contacts_registration {
    font-size: 13px;
    line-height: 18px;
  }

  .socials {
    justify-content: flex-start;
    max-width: 250px;
  }

  .socials_russian {
    row-gap: 12px;
  }

  .social_icon {
    width: 32px;
    height: 32px;
  }

  .social_text {
    font-size: 20px;
  }

  .scroll_up_icon {
    width: 36px;
    height: 36px;
  }

  .orgs_page_content {
    padding: 16px;
    gap: 16px;
    flex-wrap: wrap;
  }

  .org_items_list {
    gap: 16px;
    flex: 1;
  }

  .org_item_empty {
    display: none;
  }

  .org_item_img_wrapper {
    width: 120px;
    height: 120px;
  }

  .org_item>img,
  .org_item>div>img {
    width: 120px;
    height: 120px;
  }

  .org_page_content {
    padding: 16px;
    gap: 16px;
  }

  .org_logo_wrapper,
  .org_logo {
    display: none;
  }

  .org_logo_wrapper_m {
    display: block;
  }

  .org_logo_m {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
  }

  .org_text_wrapper {
    align-items: center;
    gap: 8px;
  }

  .org_text_wrapper>div>p {
    font-size: 15px;
    line-height: 18px;
  }

  .current_projects_wrapper {
    gap: 24px;
  }

  .current_projects,
  .completed_projects {
    gap: 16px;
  }

  .current_project:nth-child(odd),
  .current_project:nth-child(even) {
    flex-direction: column;
  }

  .current_project:nth-child(odd) .current_project_img,
  .current_project:nth-child(even) .current_project_img {
    height: 267px;
    width: 100%;
  }

  .current_project_text_wrapper {
    gap: 8px;
    width: auto;
    padding: 20px 16px;
  }

  .current_project_text {
    gap: 8px;
  }

  .completed_project {
    gap: 16px;
  }

  .completed_project_content {
    gap: 8px;
    padding: 16px;
  }

  .completed_project_text {
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }

  .org_card {
    padding: 16px;
    gap: 8px;
  }

  .projects_page_content {
    justify-content: center;
    padding: 16px;
    gap: 24px;
  }

  .project_item:first-child {
    flex-direction: column;
    gap: 8px;
  }

  .project_item,
  .project_item:first-child {
    max-width: 328px;
  }

  .project_item_image,
  .project_item:first-child .project_item_image {
    width: 328px;
    height: 328px;
  }

  .project_item:first-child .project_info {
    gap: 8px;
    max-height: none;
  }

  .project_item:first-child .project_info h3 {
    font-size: 18px;
    line-height: 26px;
  }

  .project_item:first-child .project_item_text {
    display: flex;
  }

  .project_item_text,
  .project_item_text p {
    font-size: 15px;
    line-height: 18px;
  }

  .project_page_content {
    padding: 20px 0 30px 0;
    gap: 16px;
  }

  .project_image_md {
    max-height: 316px;
    max-width: 316px;
  }

  .project_image_lg {
    max-height: 427px;
    max-width: 427px;
  }

  .project_page_text h1 {
    margin-bottom: 16px;
  }

  .project_page_text h3:not(:first-of-type) {
    margin-top: 16px;
  }

  .project_page_text p {
    width: 100%;
  }

  .project_page_text p>b {
    font-size: 14px;
    line-height: 18px;
  }

  .project_page_text p>i {
    font-size: 13px;
  }

  .project_page_text_title {
    font-size: 24px;
    line-height: 30px;
  }

  .project_page_p_margin {
    margin-top: auto;
  }

  .project_page_figure_margin {
    margin-top: 60px;
  }

  .blockquote_big_margin {
    margin: 48px 0 40px 48px;
  }

  .go_back_img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 572px) {
  .up_to_date_quote_right_wrapper {
    min-height: 78px;
  }
}

@media (max-width: 512px) {
  .header_title_wrapper {
    display: none;
  }
}

@media (max-width: 430px) {
  .up_to_date_quote_right_wrapper {
    min-height: 104px;
  }
}

@media (max-width: 426px) {

  .counter_wrapper {
    justify-content: space-between;
  }

  .up_to_date_quote_right_wrapper>span {
    max-width: 300px;
  }

  .project_page_text {
    display: block;
    max-width: 100%;
  }

  .project_image_md,
  .project_image_lg {
    max-height: 328px;
    max-width: 328px;
  }

  .project_page_text h3:not(:first-of-type) {
    margin-top: 0;
  }

  .project_page_text h3 {
    width: 100%;
  }

  figure {
    align-items: flex-start;
    margin: 16px 0;
    max-width: 316px;
    max-width: 100%;
  }

  .project_page figure:last-of-type {
    align-items: flex-start;
    margin: 0 0 16px;
  }

  figcaption {
    font-size: 13px;
  }

  figcaption strong {
    font-size: 14px;
    line-height: 18px;
  }

  figcaption em {
    font-size: 13px;
    line-height: 16px;
  }

  .align-left {
    float: none;
    margin: 0 0 16px;
    align-items: flex-start;
  }

  .align-right {
    float: none;
    margin: 0 0 16px;
    align-items: flex-start;
    text-align: left;
  }

  .project_page_figure_margin {
    margin-top: auto;
  }

  .project_page_h3_margin {
    margin-top: auto;
  }

  .align-left_without_margin {
    margin-bottom: 16px;
  }

  blockquote {
    margin: 0 0 0 16px;
  }

  .project_credits_m {
    text-align: left;
  }

  .project_page_credits {
    text-align: left;
    margin-top: 4px;
  }

  .blockquote_left {
    margin: 0 0 16px 16px;
  }

  .blockquote_big_margin {
    margin: 0 0 0 16px;
  }
}

@media (max-width: 376px) {

  .main_page_content {
    padding: 12px 6px;
  }

  .up_to_date_quote_right_wrapper>span {
    max-width: 270px;
  }
}

.under-construction-wrap {
  width: 100%;
  min-height: 460px;
  background-color: #353434;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.under-construction {
  display: block;
}

.under-construction-image-wrap {
  width: 408px;
  margin: 0 auto;
  max-width: 100%;
}

.under-construction-image {
  width: 100%;
  height: auto;
}

.under-construction-title,
.under-construction-subtitle {
  font-family: var(--font-family-header-medium);
  text-transform: lowercase;
  text-align: center;
  font-weight: 400;
}

.under-construction-title {
  font-size: 48px;
  line-height: 68px;
  color: #ED1B52;
}

.under-construction-subtitle {
  font-size: 26px;
  line-height: 37px;
  color: #ffffff;
}

@media (max-width: 426px) {
  .under-construction-title {
    font-size: 40px;
    line-height: 60px;
  }

  .under-construction-subtitle {
    font-size: 20px;
    line-height: 30px;
  }

  .under-construction-image-wrap {
    width: 100%;
  }
}

/*donate tab widgets style*/

.tab_container#not_rubles {
  padding: 40px 20px;
}

.tab_container#paypal {
  align-items: center;
}

.tab_container#paypal .links_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 24px;
}

.tab_container#paypal .links_wrapper form {
  width: 100%;
}

.tab_container#rubles .links_wrapper {
  width: 100%;
}

.tab_container#paypal .paypal_link,
.tab_container#rubles .rubles_link {
  border-radius: 0;
  width: 100%;
}

.tab_container#paypal .paypal_link:hover {
  border: none;
}

.tab_container#paypal .links_wrapper p {
  cursor: text;
}

.tab_container#paypal .links_wrapper p:after,
.tab_container#paypal .links_wrapper p:hover:before {
  content: '';
  display: none;
}

@media (max-width: 768px) {
  .tab_container#not_rubles {
    align-items: center;
  }

  .tab_container#crypto .links_wrapper {
    max-width: none;
  }

}

/* error page */
.error_page_content {
  max-width: 870px;
  min-height: 70vh;
  padding: 48px 64px;
  gap: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.error_img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("../assets/images/ErrorPage.png");
  min-height: 300px;
  min-width: 646px;
}

.error_text_wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: stretch;
  text-align: center;
  gap: 24px;
  min-width: 870px;
}

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

@media (max-width: 1025px) {
  .error_page_content {
    padding: 24px 16px;
  }

  .error_text_wrapper {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .error_page_content {
    gap: 16px;
  }

  .error_img {
    min-height: 200px;
    min-width: 400px;
  }
}

@media (max-width: 425px) {
  .error_img {
    min-height: 200px;
    min-width: 300px;
  }
}

/* new projects page */

.projects2_page_wrapper {
  width: 100%;
  max-width: 1313px;
  min-height: 50vh;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.projects2_page_content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 16px;
}

.projects2_item {
  box-sizing: border-box;
  width: 427px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.projects2_item:hover {
  background-color: var(--white);
  box-shadow: 0px 2px 16px 0px #0000000F;
}

.projects2_item:active {
  background-color: var(--white);
  box-shadow: none;
}

.projects2_item_budges_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.projects2_item_image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 427px;
  width: 427px;
}

.projects2_info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.projects2_item_text p {
  font-family: var(--font-family-text-regular);
  font-size: 18px;
  line-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .projects2_page_wrapper {
    padding: 30px 16px;
    gap: 12px;
  }

  .projects2_page_content {
    gap: 32px;
    justify-content: center;
  }

  .projects2_item {
    max-width: 328px;
  }

  .projects2_item_image {
    width: 328px;
    height: 328px;
  }

  .projects2_item_text p {
    font-size: 16px;
    line-height: 24px;
  }

  .projects2_info h3>a {
    font-size: 20px;
    line-height: 28px;
  }
}

/* texts page */
.texts_page_wrapper {
  max-width: 1216px;
  min-height: 72vh;
  padding: 0 20px 50px;
}

.texts_page_content_item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 50px;
}

.texts_page_content_item>h2 {
  text-transform: uppercase;
}

.texts_page_content_item:last-child {
  margin-bottom: 0;
}

.texts_page_content {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 auto;
}

.texts_item,
.project_texts_item {
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.texts_item:first-child {
  flex-direction: row;
  max-width: 1214px;
  gap: 32px;
}

.texts_item_badges_wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.text_date {
  color: rgba(0, 0, 0, 0.5);
}

.texts_item_image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 280px;
  width: 280px;
}

.texts_item:first-child .texts_item_image {
  height: 415px;
  width: 592px;
  flex-shrink: 0;
}

.text_info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.texts_item:first-child .text_info {
  gap: 16px;
  overflow: hidden;
}

.texts_item:first-child .text_info h3 {
  font-size: 36px;
  line-height: 52px;
  font-weight: 400;
  text-transform: uppercase;
  font-family: var(--font-family-header-bold);
}

.texts_item:first-child .texts_item_text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  opacity: 0.8;
}

.texts_item:first-child .texts_item_more_details_wrapper {
  justify-content: flex-start;
  margin-top: -8px;
}

.texts_item_text p {
  font-family: var(--font-family-text-regular);
  font-size: 18px;
  line-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.texts_item_more_details_wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
}

.texts_item_more_details {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: var(--font-family-text-regular);
}

.texts_item_more_details>span {
  margin-bottom: 6px;
}

body.macos .texts_item_more_details>span {
  margin-bottom: 0px;
}

.texts_item_more_details_svg {
  transform: rotate(90deg);
  width: 48px;
  height: 48px;
}

.texts_item_more_details_svg>path {
  stroke: var(--brand-black);
}

.texts_item_more_details:hover .texts_item_more_details_svg>path {
  stroke: #3C4447CC;
}

.open_texts_items_btn,
.open_event_items_btn {
  border-radius: 4px;
  padding: 10px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: none;
  background: var(--brand-grey-lightest);
}

.open_texts_items_btn>span,
.open_event_items_btn>span {
  font-family: var(--font-family-text-regular);
}

.open_texts_items_btn:hover,
.open_event_items_btn:hover {
  opacity: 0.6;
  cursor: pointer;
}

.open_texts_items_btn_svg,
.open_event_items_btn_svg {
  transform: rotate(180deg);
}

.open_texts_items_btn_svg.open_svg,
.open_event_items_btn_svg.open_svg {
  transform: rotate(360deg);
}

.texts_page_links_wrapper {
  width: 100%;
  max-width: 100vw;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.3);
}

.texts_page_links {
  padding: 12px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;

}

.texts_page_link {
  padding: 4px 12px 4px;
  font-family: 'NoirPro-Medium';
  /* font-family: var(--font-family-label-regular); */
}

body.macos .texts_page_link {
  padding: 4px 12px;
}

.texts_page_link.selected {
  background-color: var(--brand-dark);
  color: var(--white);
}

.texts_page_link.selected:hover {
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .texts_item:first-child {
    flex-wrap: wrap;
  }

  .texts_item:first-child .texts_item_image {
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .texts_page_wrapper {
    padding: 0px 16px 50px;
  }

  .texts_page_content {
    justify-content: center;
    gap: 24px;
  }

  .texts_page_links_wrapper {
    margin-left: -12px;
    margin-right: -12px;
    width: 100vw;
    max-width: 100vw;
    overflow: scroll;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .texts_page_links_wrapper::-webkit-scrollbar{
    display: none;
  }

  .texts_page_links {
    scrollbar-width: none;
    padding: 12px 0;
    gap: 20px;
    box-sizing: border-box;
    justify-content: flex-start;
  }

  .texts_page_link {
    padding: 6px 8px;
    font-family: 'NoirPro-Medium';
    /* font-family: var(--font-family-text-bold); */
  }

  body.macos .texts_page_link {
    padding: 6px 20px;
  }

  .texts_item:first-child {
    flex-direction: column;
    gap: 8px;
  }

  .texts_item,
  .texts_item:first-child,
  .project_texts_item {
    max-width: 328px;
  }

  .texts_item_image,
  .texts_item:first-child .texts_item_image {
    width: 328px;
    height: 328px;
  }

  .texts_item:first-child .text_info {
    gap: 8px;
    max-height: none;
  }

  .texts_item:first-child .text_info h3 {
    text-transform: none;
    font-family: var(--font-family-header-medium);
  }

  .text_info h3>a,
  .texts_item:first-child .text_info h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .texts_item:first-child .texts_item_text {
    display: flex;
  }

  .texts_item:first-child .texts_item_more_details_wrapper {
    justify-content: flex-end;
    margin-top: 0px;
  }

  .texts_item_text p {
    font-size: 16px;
    line-height: 24px;
  }

  .texts_item_more_details>span {
    margin-bottom: 4px;
  }

  body.macos .texts_item_more_details>span {
    margin-bottom: 0px;
  }

  .texts_item_more_details_svg {
    width: 36px;
    height: 36px;
  }
}


/* new project items*/

.project_related_items {
  max-width: 1258px;
  padding: 0 20px 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.project_partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.partners_item_img_wrapper {
  width: 200px;
  height: 200px;
  overflow: hidden;
}

.partners_item_img_wrapper>a {
  display: block;
  width: 100%;
  height: 100%;
}

.partners_item_img_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project_texts,
.project_events {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.project_texts {
  max-width: 1216px;
}

.project_texts_items,
.project_events_items {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.project_event_card {
  margin: 0;
}

.project_event_card_right_info h3 {
  line-height: 24px;
}

.project_event_card_right_info_title_link {
  font-size: 20px;
  line-height: 24px;
}

@media (max-width: 768px) {
  .project_related_items {
    padding: 0 16px 60px;
    gap: 48px;
  }

  .project_texts,
  .project_events {
    gap: 16px;
  }

  .project_texts_items,
  .project_events_items {
    justify-content: center;
  }

  .partners_item_img_wrapper {
    width: 120px;
    height: 120px;
  }

  .project_event_card {
    width: 100%;
    border-left: none;
    padding: 0;
    margin-left: 0;
    gap: 0;
    min-height: 356px;
  }

  .project_event_card_badge {
    width: auto;
    height: 32px;
    position: initial;
  }

  .project_event_card_badge>span {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    text-orientation: inherit;
  }

  .project_event_card_img {
    margin-bottom: 16px;
    width: auto;
  }

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

  .project_event_card_right_wrapper {
    gap: 8px;
  }

  .project_event_card_left_info {
    flex-direction: row-reverse;
  }

  .project_event_card .event_orgs_wrapper {
    flex-direction: row;
  }

  .project_event_card .btn_event_card_more_details {
    border: 2px solid var(--brand-black);
    padding: 12px 0;
    font-size: 12px;
    line-height: 17.27px;
    width: 100%;
    box-sizing: border-box;
  }

  .project_event_card .btn_event_card_more_details>span {
    font-size: 12px;
    line-height: 17.27px;
  }

  .project_event_card .btn_event_card_more_details:active {
    color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 0, 0, 0.6);
  }

  .project_event_card .event_info_label {
    display: none;
  }

  .project_event_card .event_date,
  .project_event_card .event_location>p {
    font-size: 12px;
    line-height: 17.27px;
  }

  .project_event_card_right_info h3>a {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 426px) {
  .project_event_card_img {
    height: 147px;
  }
}