/* ============================================================
   FONTS — подключение через @font-face
   ============================================================ */

/* Cormorant */
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-Regular.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-Italic.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-Light.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-LightItalic.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-Medium.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-MediumItalic.woff2")
      format("woff2"),
    url("../fonts/Cormorant/Cormorant-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-SemiBold.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-SemiBoldItalic.woff2")
      format("woff2"),
    url("../fonts/Cormorant/Cormorant-SemiBoldItalic.woff")
      format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-Bold.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src:
    url("../fonts/Cormorant/Cormorant-BoldItalic.woff2") format("woff2"),
    url("../fonts/Cormorant/Cormorant-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Forum */
@font-face {
  font-family: "Forum";
  src:
    url("../fonts/Forum/Forum.woff2") format("woff2"),
    url("../fonts/Forum/Forum.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Golos Text */
@font-face {
  font-family: "Golos Text";
  src:
    url("../fonts/GolosText/GolosText-Regular.woff2") format("woff2"),
    url("../fonts/GolosText/GolosText-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src:
    url("../fonts/GolosText/GolosText-Medium.woff2") format("woff2"),
    url("../fonts/GolosText/GolosText-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src:
    url("../fonts/GolosText/GolosText-SemiBold.woff2") format("woff2"),
    url("../fonts/GolosText/GolosText-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src:
    url("../fonts/GolosText/GolosText-Bold.woff2") format("woff2"),
    url("../fonts/GolosText/GolosText-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src:
    url("../fonts/GolosText/GolosText-ExtraBold.woff2") format("woff2"),
    url("../fonts/GolosText/GolosText-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src:
    url("../fonts/GolosText/GolosText-Black.woff2") format("woff2"),
    url("../fonts/GolosText/GolosText-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* IBM Plex Serif */
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Thin.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-ThinItalic.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-ThinItalic.woff")
      format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-ExtraLight.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-ExtraLight.woff")
      format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-ExtraLightItalic.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-ExtraLightItalic.woff")
      format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Light.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-LightItalic.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-LightItalic.woff")
      format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Regular.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Regular.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Italic.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Italic.woff")
      format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Medium.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Medium.woff")
      format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-MediumItalic.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-MediumItalic.woff")
      format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-SemiBold.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-SemiBold.woff")
      format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-SemiBoldItalic.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-SemiBoldItalic.woff")
      format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Bold.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src:
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-BoldItalic.woff2")
      format("woff2"),
    url("../fonts/IBM_Plex_Serif/IBMPlexSerif-BoldItalic.woff")
      format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   GLOBAL
   ============================================================ */

html {
  font-size: 16px;
  scrollbar-color: var(--color-teal) var(--color-light);
  scrollbar-width: thin;
}

/* Скроллбар */
::-webkit-scrollbar {
  width: 0.375rem;
}

::-webkit-scrollbar-track {
  background: var(--color-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-teal);
  border-radius: var(--radius-lg);
}

/* Выделение текста */
::selection {
  background: var(--color-red-dark);
  color: var(--color-light);
}

.header ::selection,
.hero ::selection,
.post-card:nth-child(1) ::selection {
  background: var(--color-teal-light);
  color: var(--color-black);
}

.post-card:nth-child(2) ::selection {
  background: var(--color-teal);
  color: var(--color-light);
}

body {
  font-family: var(--font-ibm);
  font-weight: 400;
  font-size: var(--fs-body);
  color: var(--color-black);
  background-color: var(--color-light);
  min-height: 100%;
}

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

section {
  padding: 3.125rem 0;
}

h1 {
  font-family: var(--font-forum);
  font-size: var(--fs-h1);
  font-weight: 400;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-forum);
  font-size: var(--fs-h2);
  font-weight: 400;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-cormorant);
  font-size: var(--fs-h3);
  font-weight: 400;
  text-transform: uppercase;
}

h6 {
  font-family: var(--font-forum);
  font-size: var(--fs-h6);
  font-weight: 400;
  text-transform: uppercase;
}

/* Плашки */
.badge {
  display: inline-block;
  padding: 0.3125rem 0.9375rem 0.4375rem 0.9375rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ibm);
  font-size: 0.5rem;
  font-weight: 500;
  font-style: italic;
  line-height: 90%;
  text-align: center;
  text-transform: lowercase;
}

.badge--light {
  background-color: var(--color-light);
  color: var(--color-red-dark);
}

.badge--teal-pale {
  background-color: var(--color-teal-pale);
  color: var(--color-black);
}

.badge--teal {
  background-color: var(--color-teal-light);
  color: var(--color-light);
}

/* Стрелки */
.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  padding: 0.3125rem 0.375rem 0.3125rem 0.4375rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.arrow-btn--light {
  background-color: var(--color-light);
  color: #6d0201;
}

.arrow-btn--red {
  background-color: var(--color-red);
  color: var(--color-light);
}

.arrow-btn--pink {
  background-color: #e1d1cd;
  color: #6d0201;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 1.4375rem;
  min-width: 18.125rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-golos);
  font-size: 1.4375rem;
  font-weight: 400;
  line-height: 90%;
  text-transform: uppercase;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.btn--teal-outline {
  background-color: rgba(161, 201, 205, 0.15);
  color: #a1c9cd;
}

.btn--teal-outline:hover {
  background-color: var(--color-red-dark);
  color: var(--color-light);
}

.btn--red {
  background-color: var(--color-red-dark);
  color: var(--color-light);
}

/* Контейнер с тенью */
.page-card {
  position: relative;
  width: 100%;
  max-width: 45rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 0.732rem + 2.21vw, 2.5rem)
    clamp(1.875rem, 1.616rem + 1.105vw, 2.5rem);
  background-color: var(--color-light);
  box-shadow: 2px 2px 8px 2px rgba(136, 120, 112, 0.15);
}

/* Иконка закладки */
.page-bookmark {
  position: absolute;
  top: 0;
  right: 3.4375rem;
}
.footer__copy {
  display: none;
}
@media (max-width: 768px) {
  section {
    padding: 0 0 3.125rem 0;
  }

  .page-bookmark {
    display: none;
  }
  .article-card {
    width: 100% !important;
  }
}

.search-results__query {
  display: none;
}


.page-id-23 .about__content p:nth-child(1){
color: #6B0100;
}
.page-id-23 .about__content p:nth-child(2){
color: #6B0100;
}









