* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}
body {
  font-family: 'Raleway', sans-serif;
  font-feature-settings: 'pnum' on, 'lnum' on;
  font-weight: 500;
  background-color: #F8F4EF;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
}
.company-section {
  width: 100%;
  background-color: #FFFFFF;
  padding: 74px 76px 74px 76px;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.company-section__block {
  width: 100%;
  display: flex;
  gap: 24px;
}
.company-section__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.company-section__column--logo {
  gap: 36px;
}
.company-section__column--second {
  gap: 16px;
}
.company-section__column--third {
  gap: 24px;
}
.company-section__social-group,
.company-section__legal-group {
  display: contents;
}
.company-section__logo {
  width: 60%;
  height: auto;
}
.company-section__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.company-section__link {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}
.company-section__link:hover {
  color: #777777;
}
.company-section__link--active {
  color: #DC4228;
  cursor: default;
  pointer-events: none;
}
.company-section__heading {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
}
.company-section__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.company-section__icon {
  width: 24px;
  height: 24px;
}
.company-section__icon-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
}
.company-section__icon-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}
.company-section__icon-link:hover {
  color: #777777;
}
.company-section__email-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.company-section__email-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.company-section__email-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.company-section__email-column {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.company-section__email-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
}
.company-section__email-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}
.company-section__email-link:hover {
  color: #777777;
}
.company-section__email-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1%;
  color: #00000080;
}
.company-section__social {
  display: flex;
  gap: 8px;
}
.company-section__social-logo {
  width: 36px;
  height: 36px;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.company-section__social-logo:hover {
  opacity: 0.7;
}
.company-section__social-link {
  transition: opacity 0.3s ease;
}
.company-section__social-link:hover {
  opacity: 0.7;
}
.company-section__copyright {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #00000080;
}
.company-section__year {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .company-section {
    display: flex;
    padding: 74px 36px;
  }
  .company-section__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 0;
  }
  .company-section__column--logo {
    grid-column: 1;
  }
  .company-section__column--second {
    grid-column: 2;
  }
  .company-section__column--third {
    display: contents;
  }
  .company-section__social-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    grid-column: 1;
    margin-top: 24px;
  }
  .company-section__legal-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    grid-column: 2;
    margin-top: 24px;
  }
}
@media (max-width: 768px) {
  .company-section {
    display: block;
    padding: 24px 16px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }
  .company-section__logo {
    max-width: 160px;
  }
  .company-section__block {
    flex-direction: column;
    gap: 36px;
  }
  .company-section__column {
    gap: 16px;
  }
  .company-section__email-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .company-section__email-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  .company-section__email-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .company-section__email-column {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .company-section__copyright {
    font-size: 12px;
    line-height: 18px;
  }
  .company-section__year {
    font-size: 12px;
  }
}
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 130px 48px 48px;
}
.auth-modal[hidden] {
  display: none;
}
.auth-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}
.auth-modal__window {
  position: relative;
  z-index: 1;
  width: min(574px, 100%);
  min-height: 574px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  scrollbar-gutter: stable;
  background: #ffffff;
  border-radius: 8px;
  padding: 48px 48px 48px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}
.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.auth-modal__close::before,
.auth-modal__close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 9px;
  width: 18px;
  height: 2px;
  background: #333;
}
.auth-modal__close::before {
  transform: rotate(45deg);
}
.auth-modal__close::after {
  transform: rotate(-45deg);
}
.auth-modal__iframe {
  display: block;
  width: 100%;
  min-height: 478px;
  border: 0;
}
.body--auth-modal-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .auth-modal {
    padding: 0;
    align-items: stretch;
  }
  .auth-modal__window {
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
    padding: 48px 24px 32px;
    box-shadow: none;
  }
  .auth-modal__iframe {
    min-height: 478px;
  }
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F8F4EF;
  z-index: 1000;
}
.mobile-menu-overlay--open {
  display: flex;
  flex-direction: column;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0px 16px;
}
.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0px;
  border-bottom: 1px solid #AAAAAA;
}
.mobile-menu__logo {
  height: 37px;
  width: 151px;
}
.mobile-menu__close {
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu__close img {
  width: 100%;
  height: 100%;
}
.mobile-menu__nav {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 40px 6px;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu__list li a {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 20px;
  color: #000000;
  text-decoration: none;
}
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  padding: 16px;
}
.mobile-menu__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.mobile-menu__social-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  color: #000000;
  text-align: left;
}
.mobile-menu__social-links {
  display: flex;
  gap: 16px;
}
.mobile-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 48px;
  background-color: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 2%;
  color: #000000;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
  align-self: center;
}
.mobile-menu__button:hover {
  border-color: #d9412d;
  color: #d9412d;
}
.page-header {
  width: 100%;
  background-image: url('../images/subpage-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 24px 36px 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.page-header .menu {
  display: flex;
  align-items: center;
  background-color: #FAF4EC;
  border-radius: 16px;
  padding: 16px 20px;
  min-height: 80px;
  box-shadow: 20px 4px 30px 0px #0000002B;
}
.page-header .menu__logo {
  display: flex;
  align-items: center;
}
.page-header .menu__logo img {
  height: 37px;
  width: 151px;
}
.page-header .menu__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.page-header .menu__list {
  display: flex;
  list-style: none;
  gap: 32px;
}
.page-header .menu__list li a {
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1%;
  color: #000000;
  transition: color 0.3s ease;
}
.page-header .menu__list li a:hover {
  color: #777777;
}
.page-header .menu__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 48px;
  padding: 8px 24px;
  background-color: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 2%;
  color: #000000;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.page-header .menu__button:hover {
  border-color: #d9412d;
  color: #d9412d;
}
.page-header .menu__mobile-btn {
  display: none;
}
.page-header__title-block {
  display: flex;
  flex-direction: column;
  width: 666px;
  margin-top: 64px;
  margin-bottom: 64px;
  padding: 44px 64px;
  gap: 32px;
  border-radius: 24px;
  background: #FFFFFFCC;
  backdrop-filter: blur(28px);
}
.page-header__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
}
.page-header__subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 1%;
  color: #000000;
}
.page-content {
  width: 100%;
  padding: 24px 36px 0;
  margin-bottom: 24px;
}
.page-content__block {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.page-content__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-content__filter-dropdown {
  display: none;
  width: 300px;
}
.page-content__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.material-card {
  display: flex;
  flex-direction: column;
  width: calc(25% - 18px);
  min-width: 240px;
  flex: 0 1 calc(25% - 18px);
  border-radius: 12px;
  border: 2px solid #CBCBCB;
  overflow: hidden;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.material-card:hover {
  border-color: #DC4228;
}
.material-card__preview {
  width: 100%;
}
.material-card__preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.material-card__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  padding: 4px 12px;
  border-radius: 8px;
  align-self: flex-start;
  margin: 12px 12px 0 12px;
}
.material-card__type--presentation {
  color: #E67E2F;
  background-color: #FDF1E0;
}
.material-card__type--instruction {
  color: #5A5A5A;
  background-color: #E8E8E8;
}
.material-card__type--method {
  color: #045032;
  background-color: #E0F2EA;
}
.material-card__type--lesson {
  color: #496A9A;
  background-color: #E7F1FD;
}
.material-card__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  padding: 8px 12px 12px 12px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 8px 20px;
  border-radius: 10px;
  border: 2px solid #CBCBCB;
  background-color: #FFFFFF;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.filter-btn:hover:not(.filter-btn--active) {
  border-color: #d9412d;
  color: #d9412d;
}
.filter-btn--active {
  background-color: #DC4228;
  border: 2px solid #DC4228;
  color: #FFFFFF;
}
.filter-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 300px;
  height: 48px;
  padding: 8px 20px;
  border-radius: 10px;
  border: 2px solid #CBCBCB;
  background-color: #FFFFFF;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
  cursor: pointer;
}
.filter-dropdown__label {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.filter-dropdown__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.filter-dropdown__arrow::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: rotate(45deg);
  margin-top: 2px;
}
.filter-dropdown__arrow--open {
  transform: rotate(180deg);
}
.filter-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  margin-top: 4px;
  background: #FFFFFF;
  border: 1px solid #CBCBCB;
  border-radius: 10px;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0px 4px 10px 0px #0000001A;
}
.filter-dropdown__menu[hidden] {
  display: none;
}
.filter-dropdown__option {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 8px 22px;
  border: none;
  background: #FFFFFF;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #000000;
  cursor: pointer;
}
.filter-dropdown__option:hover {
  background: #F5F5F5;
}
.filter-dropdown__option--active {
  color: #DC4228;
  font-weight: 600;
}
@media (max-width: 1200px) {
  .page-header {
    padding: 24px 16px;
  }
  .page-header .menu {
    position: relative;
    border-radius: 0 0 16px 16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-header .menu__logo {
    flex-shrink: 0;
  }
  .page-header .menu__nav {
    display: none;
  }
  .page-header .menu__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }
  .page-header .menu__mobile-btn {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .page-header .menu__mobile-btn img {
    width: 100%;
    height: 100%;
  }
  .page-header__title {
    font-size: 32px;
  }
  .page-content {
    padding: 24px 16px;
  }
  .page-content__block {
    padding: 24px;
  }
}
@media (max-width: 1350px) {
  .material-card {
    width: calc(33.333% - 16px);
    min-width: 0;
    flex: 0 1 calc(33.333% - 16px);
  }
}
@media (max-width: 1024px) {
  .material-card {
    width: calc(50% - 12px);
    min-width: 0;
    flex: 0 1 calc(50% - 12px);
  }
  .page-content__filters {
    display: none;
  }
  .page-content__filter-dropdown {
    display: block;
    position: relative;
  }
}
@media (max-width: 768px) {
  .page-header {
    padding: 0;
    background-image: none;
  }
  .page-header .menu {
    border-radius: 0 0 16px 16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-header__title-block {
    padding: 48px 16px 20px;
    margin: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    gap: 16px;
  }
  .page-header__title {
    font-size: 32px;
  }
  .page-header__subtitle {
    font-size: 18px;
    line-height: 22px;
  }
  .page-content {
    padding: 24px 16px;
  }
  .page-content__block {
    padding: 20px;
    border-radius: 16px;
    gap: 16px;
  }
  .material-card {
    width: 100%;
    min-width: 0;
    flex: 0 1 100%;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.video-modal[hidden] {
  display: none;
}
.video-modal__overlay {
  position: fixed;
  inset: 0;
  background-color: #b4aca1;
  opacity: 0.75;
}
.video-modal__window {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #c0c0c0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.video-modal__header {
  display: flex;
  align-items: center;
  height: 48px;
  border-bottom: 1px solid #c0c0c0;
  box-sizing: border-box;
  padding-left: 18px;
  padding-right: 6px;
  flex-shrink: 0;
}
.video-modal__title {
  flex: 1;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 48px;
  color: #000000;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.video-modal__close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: none;
  background: url('../images/media_close.svg') no-repeat;
  background-position-x: 0px;
  cursor: pointer;
}
.video-modal__close:hover {
  background-position-x: -36px;
}
.video-modal__close:active {
  background-position-x: -72px;
}
.video-modal__player {
  width: calc(100% - 32px);
  flex: 1;
  min-height: 0;
  display: block;
  object-fit: contain;
  margin: 16px;
}
@media (max-width: 768px) {
  .video-modal {
    padding: 16px;
  }
  .video-modal__window {
    width: 100%;
  }
  .video-modal__title {
    font-size: 16px;
  }
}
