/* Шрифты */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_24pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_24pt-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_24pt-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALSHauss";
  src: url("../fonts/ALS_Hauss-Regular.production.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALSGorizont";
  src: url("../fonts/ALS_Gorizont-Regular_Expanded.production.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALSGorizontBold";
  src: url("../fonts/ALS_Gorizont-ExtraBold_Expanded.production.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Hairline_2.1.otf")
    format("opentype");
  font-weight: 250;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Hairline%20Italic_2.1.otf")
    format("opentype");
  font-weight: 250;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Thin_2.1.otf")
    format("opentype");
  font-weight: 270;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Thin%20Italic_2.1.otf")
    format("opentype");
  font-weight: 270;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Light_2.1.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Light%20Italic_2.1.otf")
    format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Book_2.1.otf")
    format("opentype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Book%20Italic_2.1.otf")
    format("opentype");
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Regular_2.1.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Regular%20Italic_2.1.otf")
    format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Medium_2.1.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Medium%20Italic_2.1.otf")
    format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Bold_2.1.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Bold%20Italic_2.1.otf")
    format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Black_2.1.otf")
    format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Black%20Itali%D1%81_2.1.otf")
    format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Gorizont";
  src: url("../fonts/ALS_Gorizont_1.0_desktop/ALS_Gorizont_Thin%20Expanded_1.0.otf")
    format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Gorizont";
  src: url("../fonts/ALS_Gorizont_1.0_desktop/ALS_Gorizont_Light%20Expanded_1.0.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Gorizont";
  src: url("../fonts/ALS_Gorizont_1.0_desktop/ALS_Gorizont_Regular%20Expanded_1.0.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Gorizont";
  src: url("../fonts/ALS_Gorizont_1.0_desktop/ALS_Gorizont_Medium%20Expanded_1.0.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Gorizont";
  src: url("../fonts/ALS_Gorizont_1.0_desktop/ALS_Gorizont_Bold%20Expanded_1.0.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Gorizont";
  src: url("../fonts/ALS_Gorizont_1.0_desktop/ALS_Gorizont_Extra%20Bold%20Expanded_1.0.otf")
    format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Bingley";
  src: url("../fonts/ALS_Bingley_1.0_desktop/ALS_Bingley_Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Bingley";
  src: url("../fonts/ALS_Bingley_1.0_desktop/ALS_Bingley_Italic.otf")
    format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ALS Gorizont Variable";
  src: url("../fonts/ALS_Gorizont_1.0_desktop/ALS_Gorizont_Variable_1.0.ttf")
    format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Hauss Variable";
  src: url("../fonts/ALS_Hauss_2.2_desktop/ALS_Hauss_Variable_2.1.ttf")
    format("truetype-variations");
  font-weight: 1 850;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "New Standard Old";
  src:
    local("New Standard Old"),
    local("New Standard Old Italic"),
    url("../fonts/newstandardolditalic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* Базовые стили */

.lavrus-page,
.lavrus-page *,
.lavrus-page *::before,
.lavrus-page *::after {
  box-sizing: border-box;
}

.lavrus-page * {
  margin: 0;
  padding: 0;
}

/* Переменные */

.lavrus-page {
  --lavrus-tretyakov-ru-affair: #9a4aa1;
  --lavrus-tretyakov-ru-alto: #dbdbdb;
  --lavrus-tretyakov-ru-aqua-forest: #57a969;
  --lavrus-tretyakov-ru-black: #000;
  --lavrus-tretyakov-ru-black-80: rgba(0, 0, 0, 0.08);
  --lavrus-tretyakov-ru-black-400: rgba(0, 0, 0, 0.4);
  --lavrus-tretyakov-ru-black-0: rgba(0, 0, 0, 0);
  --lavrus-tretyakov-ru-black-500: rgba(0, 0, 0, 0.5);
  --lavrus-tretyakov-ru-black-600: rgba(0, 0, 0, 0.6);
  --lavrus-tretyakov-ru-cod-gray: #111;
  --lavrus-tretyakov-ru-cod-gray-dark: #101010;
  --lavrus-tretyakov-ru-concrete: #f3f3f3;
  --lavrus-tretyakov-ru-dove-gray: #666;
  --lavrus-tretyakov-ru-emperor: #555;
  --lavrus-tretyakov-ru-french-lilac: #f1d7f3;
  --lavrus-tretyakov-ru-gallery: #ededed;
  --lavrus-tretyakov-ru-dusty-gray: #999;
  --lavrus-tretyakov-ru-heliotrope-880: rgba(192, 69, 243, 0.88);
  --lavrus-tretyakov-ru-mercury: #e3e2e2;
  --lavrus-tretyakov-ru-mine-shaft: #333;
  --lavrus-tretyakov-ru-mischka: #dcdfe6;
  --lavrus-tretyakov-ru-red: #f00;
  --lavrus-tretyakov-ru-silver-chalice: #b9b9b9;
  --lavrus-tretyakov-ru-tangaroa: #031933;
  --lavrus-tretyakov-ru-silver: #ccc;
  --lavrus-tretyakov-ru-tundora: #444;
  --lavrus-tretyakov-ru-boulder: #9b9b9b;
  --lavrus-tretyakov-ru-white: #fff;
  --lavrus-tretyakov-ru-white-0-20: rgba(255, 255, 255, 0);
  --lavrus-tretyakov-ru-white-100: rgba(255, 255, 255, 0.1);
  --lavrus-tretyakov-ru-white-150: rgba(255, 255, 255, 0.15);
  --lavrus-tretyakov-ru-white-200: rgba(255, 255, 255, 0.2);
  --lavrus-tretyakov-ru-white-600: rgba(255, 255, 255, 0.6);
  --swiper-theme-color: #007aff;
  --color-white-solid: #fff;
  --color-black-solid: #000;
  --color-grey-40: #666;
  --color-grey-20: #333;
  --color-black--0: rgba(0, 0, 0, 0);
  --color-magenta-46: #9a4aa1;
  --color-black--500: rgba(0, 0, 0, 0.5);
  --color-black--400: rgba(0, 0, 0, 0.4);
  --color-white--150: rgba(255, 255, 255, 0.15);
  --color-grey-73: #b9b9b9;
  --color-grey-80: #ccc;
  --color-white--200: rgba(255, 255, 255, 0.2);
  --color-grey-60: #999;
  --color-grey-89: #e3e2e2;
  --color-green-50: #57a969;
  --color-grey-27: #444;
  --color-grey-95: #f3f3f3;
  --color-azure-11: #031933;
  --color-white--100: rgba(255, 255, 255, 0.1);
  --color-grey-93: #ededed;
  --color-grey-33: #555;
  --color-black--600: rgba(0, 0, 0, 0.6);
  --color-white--600: rgba(255, 255, 255, 0.6);
  --color-grey-7: #111;
  --color-red-50: #f00;
  --color-azure-88: #dcdfe6;
  --color-grey-6: #101010;
  --color-grey-86: #dbdbdb;
  --color-magenta-90: #f1d7f3;
  --color-violet-61-880: rgba(192, 69, 243, 0.88);
  --color-white--0-20: rgba(255, 255, 255, 0);
  --color-white-solid: #fff;
  --color-black-solid: #000;
  --color-grey-40: #666;
  --color-grey-20: #333;
  --color-black--0: rgba(0, 0, 0, 0);
  --color-magenta-46: #9a4aa1;
  --color-black--600: rgba(0, 0, 0, 0.6);
  --color-grey-95: #f3f3f3;
  --color-grey-27: #444;
  --color-green-50: #57a969;
  --color-azure-11: #031933;
  --color-grey-60: #999;
  --color-white--100: rgba(255, 255, 255, 0.1);
  --color-grey-7: #111;

  --font-family: "ALS Hauss", sans-serif;
  --second-family: "ALS Gorizont", sans-serif;
  --third-family: "Inter", sans-serif;
  --font3: "ALS Bingley", sans-serif;
  --font4: "New Standard Old", sans-serif;
}

.lavrus-page,
.lavrus-page__body {
  scroll-behavior: smooth;
}

.lavrus-page {
  font-size: 16px;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: var(--lavrus-tretyakov-ru-black-0);
}

.lavrus-page__body {
  min-height: 100vh;
  margin: 0;
  font:
    normal 17px / 1.4 var(--font-family),
    sans-serif;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  overflow-x: clip;
}

.lavrus-page__body--menu-drawer-open,
.lavrus-page__body--notifications-open,
.lavrus-page__body--search-open,
.lavrus-page__body--auth-open {
  overflow: hidden;
}

.lavrus-page--scroll-locked,
.lavrus-page--scroll-locked .lavrus-page__body {
  overflow: hidden;
  overscroll-behavior: none;
}

.lavrus-page--scroll-locked .lavrus-page__body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.lavrus-container {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lavrus-container {
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .lavrus-container {
    padding: 0 15px;
  }
}

@media (min-width: 1280px) {
  .lavrus-container {
    padding: 0 50px;
  }
}

.lavrus-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Заголовки */

.lavrus-h1 {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 48px;
  line-height: 110%;
  text-align: center;
  color: var(--color-black-solid);
}

.lavrus-h2 {
  font-family: var(--second-family);
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  color: var(--lavrus-tretyakov-ru-black);
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .lavrus-h1 {
    font-size: 42px;
    line-height: 44px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lavrus-h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .lavrus-h2 {
    font-size: 38px;
    line-height: 44px;
  }
}

@media (max-width: 767px) {
  .lavrus-h1,
  .lavrus-h2 {
    font-size: 28px;
    line-height: 32px;
  }
}

/* Хлебные крошки */

.lavrus-breadcrumbs {
  padding-top: 20px;
}

.lavrus-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 20px;
}

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

.lavrus-breadcrumbs__item + .lavrus-breadcrumbs__item::before {
  color: var(--color-grey-60);
  content: "/";
}

.lavrus-breadcrumbs__link {
  color: var(--color-grey-20);
  text-decoration: none;
}

.lavrus-breadcrumbs__link:hover,
.lavrus-breadcrumbs__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lavrus-breadcrumbs__current {
  color: var(--color-grey-60);
}

/* Фильтры (кнопки-дропдауны) */

.lavrus-filter-btns {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 13px;
}

.lavrus-filter-btns__reset {
  margin-top: 15px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1;
  color: var(--color-grey-27);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  cursor: pointer;
}

.lavrus-filter-btns__reset:hover,
.lavrus-filter-btns__reset:focus-visible {
  text-decoration: none;
}

.lavrus-filter-btn {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: fit-content;
  height: 47px;
  flex-shrink: 0;
}

.lavrus-filter-btn__dropdown {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  padding: 12px 0;
  border: 1.25px solid var(--color-grey-33);
  border-radius: 25px;
  background: var(--color-white-solid);
  transition: all 0.3s ease;
}

.lavrus-filter-btn--open {
  z-index: 20;
}

.lavrus-filter-btn--open .lavrus-filter-btn__dropdown {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: max-content;
  min-width: 100%;
  padding-bottom: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.lavrus-filter-btn__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  padding: 0 17px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-grey-20);
}

.lavrus-filter-btn__label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

.lavrus-filter-btn__item-text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 93%;
  text-transform: uppercase;
  color: currentColor;
}

.lavrus-filter-btn__count {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 93%;
  color: currentColor;
}

.lavrus-filter-btn__count[hidden] {
  display: none !important;
}

.lavrus-filter-btn--active .lavrus-filter-btn__dropdown {
  border-color: var(--color-grey-20);
}

.lavrus-filter-btn--active .lavrus-filter-btn__item {
  color: var(--color-black-solid);
}

.lavrus-filter-btn__chevron {
  display: block;
  flex-shrink: 0;
  width: 15px;
  height: 13px;
  transition: all 0.3s ease;
}

.lavrus-filter-btn--open .lavrus-filter-btn__chevron {
  transform: rotate(180deg);
}

.lavrus-filter-btn__list {
  display: none;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 5px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.lavrus-filter-btn--open .lavrus-filter-btn__list {
  display: flex;
}

.lavrus-filter-btn__list[hidden] {
  display: none;
}

.lavrus-filter-btn__option {
  width: 100%;
  margin: 0;
}

.lavrus-filter-btn__option-btn {
  display: block;
  width: 100%;
  padding: 5px 17px;
  border: none;
  background: none;
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 12px;
  line-height: 130%;
  text-transform: uppercase;
  text-align: left;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.lavrus-filter-btn__option-btn:hover,
.lavrus-filter-btn__option-btn:focus-visible {
  color: var(--color-white-solid);
  background-color: var(--color-grey-27);
}

.lavrus-filter-btn__option-btn--active {
  color: var(--color-white-solid);
  background-color: var(--color-grey-27);
}

/* Мобильные фильтры  */

.lavrus-filter-mobile {
  display: none;
}

.lavrus-filter-mobile__open {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  width: 100%;
  padding: 10px 18px;
  border: 2px solid var(--color-grey-33);
  border-radius: 17px;
  background: var(--color-white-solid);
  color: var(--color-grey-27);
  cursor: pointer;
}

.lavrus-filter-mobile__open-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-start;
  width: 35px;
  height: 20px;
  padding-right: 15px;
  color: var(--color-grey-27);
}

.lavrus-filter-mobile__open-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lavrus-filter-mobile__open-text {
  font-family: var(--second-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 15px;
  text-transform: uppercase;
  color: var(--color-grey-27);
}

.lavrus-filter-mobile__open-count {
  margin-left: 6px;
  font-family: var(--second-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 15px;
  color: var(--color-grey-27);
}

.lavrus-filter-mobile__open-count[hidden] {
  display: none !important;
}

.lavrus-filter-mobile__modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: auto;
  padding: 20px 14px;
  background: var(--color-white-solid);
}

.lavrus-filter-mobile__modal[hidden] {
  display: none !important;
}

.lavrus-filter-mobile__modal-inner {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100%;
}

.lavrus-filter-mobile__modal-close {
  align-self: flex-end;
  margin-top: 40px;
  margin-bottom: 15px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-black-solid);
  cursor: pointer;
}

.lavrus-filter-mobile__modal-close-icon {
  display: block;
}

.lavrus-filter-mobile__modal-title {
  margin: 0 0 20px;
  font-family: var(--second-family);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  color: var(--color-black-solid);
}

.lavrus-filter-mobile__modal-fields {
  display: flex;
  flex-direction: column;
}

.lavrus-filter-mobile__select {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 17px;
}

.lavrus-filter-mobile__select-trigger {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-grey-33);
  border-radius: 20px;
  background: var(--color-white-solid);
  font-family: var(--second-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 13px;
  text-transform: uppercase;
  color: var(--color-grey-27);
  cursor: pointer;
}

.lavrus-filter-mobile__select-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

.lavrus-filter-mobile__select-count[hidden] {
  display: none !important;
}

.lavrus-filter-mobile__select-chevron {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 13px;
  margin-left: auto;
  transition: all 0.3s ease;
}

.lavrus-filter-mobile__select--open .lavrus-filter-mobile__select-trigger {
  position: relative;
  z-index: 6;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.lavrus-filter-mobile__select--open
  .lavrus-filter-mobile__select-trigger::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 3px;
  background: var(--color-white-solid);
}

.lavrus-filter-mobile__select--open .lavrus-filter-mobile__select-chevron {
  transform: rotate(180deg);
}

.lavrus-filter-mobile__select-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  box-sizing: border-box;
  width: 100%;
  max-height: 300px;
  margin: 0;
  padding: 5px 0 10px;
  overflow: auto;
  list-style: none;
  border: 1.5px solid var(--color-grey-33);
  border-top: none;
  border-radius: 0 0 20px 20px;
  background: var(--color-white-solid);
}

.lavrus-filter-mobile__select-list[hidden] {
  display: none !important;
}

.lavrus-filter-mobile__option {
  margin: 0;
}

.lavrus-filter-mobile__option-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 7px 12px;
  border: none;
  background: none;
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 12px;
  line-height: 130%;
  text-transform: uppercase;
  text-align: left;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  cursor: pointer;
}

.lavrus-filter-mobile__option-btn:hover,
.lavrus-filter-mobile__option-btn:focus-visible,
.lavrus-filter-mobile__option-btn--active {
  color: var(--color-white-solid);
  background-color: var(--color-grey-27);
}

.lavrus-filter-mobile__apply {
  display: block;
  width: 100%;
  max-width: 140px;
  margin: 0 auto 17px;
  border-radius: 17px;
}

.lavrus-filter-mobile__apply-count:not(:empty) {
  margin-left: 0.3em;
}

.lavrus-filter-mobile__apply-count:empty {
  display: none;
}

.lavrus-filter-mobile__reset {
  display: block;
  width: fit-content;
  margin: 0 auto;
  margin-top: 0;
  text-align: center;
}

@media (max-width: 1023px) {
  .lavrus-filter-mobile {
    display: block;
    width: 100%;
    margin-bottom: 17px;
  }

  .lavrus-filter-btns {
    display: none;
  }
}

/* Сортировка материалов */

.lavrus-filter-sort {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.lavrus-filter-sort__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1;
  color: var(--color-grey-60);
  text-decoration: none;
}

.lavrus-filter-sort__item:hover,
.lavrus-filter-sort__item:focus-visible,
.lavrus-filter-sort__item--active {
  color: var(--color-grey-27);
}

.lavrus-filter-sort__icon {
  display: block;
  width: 8px;
  height: 12px;
  flex: 0 0 auto;
  opacity: 0;
  transform: rotate(0);
  transform-origin: center;
  transition: all 0.3s ease;
}

.lavrus-filter-sort__item-text {
  padding-top: 2px;
}

.lavrus-filter-sort__item--active .lavrus-filter-sort__icon {
  opacity: 1;
}

.lavrus-filter-sort__item--reverse .lavrus-filter-sort__icon {
  transform: rotate(180deg);
}

/* Прелоадер изображений в карточках */

.lavrus-material-card__image-wrapper,
.lavrus-course-card__image-wrapper,
.lavrus-person-card__image-wrapper,
.lavrus-course__image-wrapper,
.lavrus-test-card__image-wrapper,
.lavrus-epoch-card__image-wrapper,
.lavrus-game-detail__image-wrapper,
.lavrus-author-detail__image-wrapper {
  position: relative;
  background-color: var(--color-grey-95);
}

.lavrus-material-card__image-wrapper::after,
.lavrus-course-card__image-wrapper::after,
.lavrus-person-card__image-wrapper::after,
.lavrus-course__image-wrapper::after,
.lavrus-test-card__image-wrapper::after,
.lavrus-epoch-card__image-wrapper::after,
.lavrus-game-detail__image-wrapper::after,
.lavrus-author-detail__image-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 50px;
  height: 47px;
  margin: -23.5px 0 0 -25px;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNDciIHZpZXdCb3g9IjAgMCAzOSAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wLjAwNDEyMTQ1IDM1Ljk5NkM5Ljk4NDk2IDM2LjEzMTIgMjAuMDEyNCAzMi42NzY4IDI3LjYyODUgMjUuNjE1OEMzNS4yNDQxIDE4LjU1NDUgMzguOTY5OSA5LjI1NzM1IDM4LjgyNDEgMC4wMDM4NDMwN0MyOC44NDMyIC0wLjEzMTc5MSAxOC44MTU4IDMuMzIyNjcgMTEuMTk5NyAxMC4zODM2QzMuNTgzNjYgMTcuNDQ1IC0wLjE0MTczNSAyNi43NDIxIDAuMDA0MTIxNDUgMzUuOTk2WiIgZmlsbD0iI2Q5ZDlkOSIvPgo8L3N2Zz4K")
    center / contain no-repeat;
  animation: lavrus-image-loader-spin 2s linear infinite;
  pointer-events: none;
}

.lavrus-material-card__image-wrapper.is-loaded::after,
.lavrus-course-card__image-wrapper.is-loaded::after,
.lavrus-person-card__image-wrapper.is-loaded::after,
.lavrus-course__image-wrapper.is-loaded::after,
.lavrus-test-card__image-wrapper.is-loaded::after,
.lavrus-epoch-card__image-wrapper.is-loaded::after,
.lavrus-game-detail__image-wrapper.is-loaded::after,
.lavrus-author-detail__image-wrapper.is-loaded::after {
  content: none;
  display: none;
  animation: none;
}

.lavrus-material-card__image-wrapper img,
.lavrus-course-card__image-wrapper img,
.lavrus-person-card__image-wrapper img,
.lavrus-course__image-wrapper img,
.lavrus-test-card__image-wrapper img,
.lavrus-epoch-card__image-wrapper img,
.lavrus-game-detail__image-wrapper img,
.lavrus-author-detail__image-wrapper img {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease;
}

.lavrus-material-card__image-wrapper.is-loaded img,
.lavrus-course-card__image-wrapper.is-loaded img,
.lavrus-person-card__image-wrapper.is-loaded img,
.lavrus-course__image-wrapper.is-loaded img,
.lavrus-test-card__image-wrapper.is-loaded img,
.lavrus-epoch-card__image-wrapper.is-loaded img,
.lavrus-game-detail__image-wrapper.is-loaded img,
.lavrus-author-detail__image-wrapper.is-loaded img {
  opacity: 1 !important;
  visibility: visible !important;
}

@keyframes lavrus-image-loader-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lavrus-material-card__image-wrapper::after,
  .lavrus-course-card__image-wrapper::after,
  .lavrus-person-card__image-wrapper::after,
  .lavrus-course__image-wrapper::after,
  .lavrus-test-card__image-wrapper::after,
  .lavrus-epoch-card__image-wrapper::after,
  .lavrus-game-detail__image-wrapper::after,
  .lavrus-author-detail__image-wrapper::after {
    animation: none;
  }
}

/* Пагинация */

.lavrus-pagination {
  padding-top: 40px;
}

[data-pagination-items] > [hidden] {
  display: none !important;
}

.lavrus-pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lavrus-pagination__item {
  display: flex;
  align-items: center;
}

.lavrus-pagination__item--page {
  padding: 3px 15px;
}

.lavrus-pagination__item--more {
  padding: 3px;
}

.lavrus-pagination__item--previous {
  padding: 3px 10px 3px 3px;
}

.lavrus-pagination__item--next {
  padding: 3px 10px;
}

.lavrus-pagination__link,
.lavrus-pagination__more,
.lavrus-pagination__arrow {
  display: flex;
  border: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.lavrus-pagination__link {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  font-family: var(--second-family);
  font-size: 23px;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
  color: var(--color-grey-80);
  cursor: pointer;
}

.lavrus-pagination__link--active {
  color: var(--color-grey-27);
}

.lavrus-pagination__link:hover,
.lavrus-pagination__link:focus-visible {
  color: var(--color-black-solid);
}

.lavrus-pagination__more {
  width: 32px;
  height: 32px;
  padding-bottom: 5px;
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 24px;
  color: var(--color-grey-80);
}

.lavrus-pagination__arrow {
  width: 39px;
  height: 32px;
  color: var(--color-black-solid);
  cursor: pointer;
}

.lavrus-pagination__arrow--previous svg {
  transform: rotate(180deg);
}

.lavrus-pagination__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 767px) {
  .lavrus-breadcrumbs {
    padding-top: 15px;
  }

  .lavrus-pagination__item--page {
    padding-right: 4px;
    padding-left: 4px;
  }

  .lavrus-pagination__item--previous,
  .lavrus-pagination__item--next {
    padding-right: 4px;
    padding-left: 4px;
  }
}

/* Кнопки */

.lavrus-button {
  display: inline-flex;
  width: max-content;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  border-radius: 22px;
  font-family: var(--second-family);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lavrus-button__icon {
  flex-shrink: 0;
  fill: currentColor;
}

.lavrus-button--black {
  border-color: var(--lavrus-tretyakov-ru-black);
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-button--white {
  border-color: var(--lavrus-tretyakov-ru-white);
  color: var(--lavrus-tretyakov-ru-white);
  background-color: transparent;
}

.lavrus-button--transparent {
  border-color: var(--lavrus-tretyakov-ru-black);
  color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-button--purple {
  border-color: var(--lavrus-tretyakov-ru-affair);
  color: var(--lavrus-tretyakov-ru-affair);
}

.lavrus-button--green {
  border-color: var(--lavrus-tretyakov-ru-aqua-forest);
  color: var(--lavrus-tretyakov-ru-aqua-forest);
}

.lavrus-button--red {
  border-color: var(--lavrus-tretyakov-ru-red);
  color: var(--lavrus-tretyakov-ru-red);
}

.lavrus-button--red:hover,
.lavrus-button--red:focus-visible,
.lavrus-button--red[aria-pressed="true"] {
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-red);
}

.lavrus-button--black:hover,
.lavrus-button--black:focus-visible,
.lavrus-button--black[aria-pressed="true"] {
  border-color: var(--color-grey-20);
  background-color: var(--color-grey-20);
}

.lavrus-button--white:hover,
.lavrus-button--white:focus-visible,
.lavrus-button--white[aria-pressed="true"] {
  color: var(--lavrus-tretyakov-ru-black);
  background-color: var(--lavrus-tretyakov-ru-white);
}

.lavrus-button--transparent:hover,
.lavrus-button--transparent:focus-visible,
.lavrus-button--transparent[aria-pressed="true"] {
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-button--purple:hover,
.lavrus-button--purple:focus-visible,
.lavrus-button--purple[aria-pressed="true"] {
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-affair);
}

.lavrus-button--green:hover,
.lavrus-button--green:focus-visible,
.lavrus-button--green[aria-pressed="true"] {
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-aqua-forest);
}

.lavrus-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.lavrus-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lavrus-button[hidden] {
  display: none;
}

/* Лайк и избранное в активном состоянии - заливка фиолетовым */

[data-like-button][aria-pressed="true"],
[data-favorite-button][aria-pressed="true"] {
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-affair);
  border-color: var(--lavrus-tretyakov-ru-affair);
}

/* Кнопка «Наверх» */

.lavrus-scroll-top {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 1000;
  display: flex;
  width: 60px;
  height: 150px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-image: url("../assets/images/bg/lavrus-site-cover-glow.webp");
  background-position: center;
  background-size: cover;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lavrus-scroll-top[hidden] {
  display: none;
}

.lavrus-scroll-top:hover {
  transform: scale(1.1);
}

.lavrus-scroll-top:focus-visible {
  outline: 2px solid var(--lavrus-tretyakov-ru-black);
  outline-offset: 3px;
}

.lavrus-scroll-top__icon {
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
}

.lavrus-scroll-top--inverted .lavrus-scroll-top__icon {
  filter: invert(1);
}

@media (max-width: 1024px) {
  .lavrus-scroll-top {
    right: 15px;
    bottom: 15px;
    width: 55px;
    height: 140px;
  }

  .lavrus-scroll-top__icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 767px) {
  .lavrus-scroll-top {
    right: 10px;
    bottom: 10px;
    width: 55px;
    height: 140px;
  }

  .lavrus-scroll-top__icon {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 767px) {
  .lavrus-scroll-top--shifted {
    bottom: 135px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lavrus-button,
  .lavrus-courses__arrow,
  .lavrus-subscribe__label,
  .lavrus-test-card__image,
  .lavrus-scroll-top,
  .lavrus-scroll-top__icon,
  .lavrus-material-card,
  .lavrus-material-card__image,
  .lavrus-material-card__favorite,
  .lavrus-person-card__image-wrapper,
  .lavrus-filter-sort__icon,
  .lavrus-filter-btn__chevron,
  .lavrus-author-detail__image-wrapper {
    transition: none !important;
  }
}

/* Поделиться */

.lavrus-share {
  padding: 65px 0 70px;
}

.lavrus-share .lavrus-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.lavrus-share__title {
  margin: 0;
  color: var(--lavrus-tretyakov-ru-black);
  text-align: center;
  font-family: var(--second-family);
  font-size: 17.7px;
  font-weight: 800;
  line-height: 22px;
}

.lavrus-share__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 19.5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lavrus-share__item {
  flex-shrink: 0;
}

.lavrus-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lavrus-tretyakov-ru-black);
  color: var(--lavrus-tretyakov-ru-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.lavrus-share__link:hover,
.lavrus-share__link:focus-visible {
  opacity: 0.75;
}

.lavrus-share__icon {
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
  filter: brightness(0) invert(1);
}

.lavrus-share__icon--ok {
  width: 18px;
  height: 29px;
}

.lavrus-share__icon--vk {
  width: 21px;
  height: 13px;
}

.lavrus-share__icon--max {
  width: 25px;
  height: 25px;
}

@media (max-width: 767px) {
  .lavrus-share {
    padding: 40px 0 50px;
  }

  .lavrus-share .lavrus-container {
    gap: 18px;
  }

  .lavrus-share__title {
    font-size: 15px;
    line-height: 20px;
  }

  .lavrus-share__list {
    gap: 14px;
  }

  .lavrus-share__link {
    width: 44px;
    height: 44px;
  }
}

/* Подписка */

.lavrus-subscribe {
  padding: 0 0 70px;
  background-color: var(--lavrus-tretyakov-ru-white);
}

.lavrus-subscribe__inner {
  display: flex;
  height: 488px;
  padding: 67px 70px;
  border-radius: 30px;
  flex-direction: column;
  align-items: center;
  background-color: var(--lavrus-tretyakov-ru-concrete);
  background-image: url("../assets/images/bg/sub.webp");
  background-repeat: no-repeat;
  background-position: right -42% top 42%;
  background-size: 75% auto;
}

.lavrus-subscribe__title {
  width: 100%;
  max-width: 640px;
  margin-bottom: 68px;
  font-weight: 400;
  text-align: center;
  color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-subscribe__title-italic,
.lavrus-subscribe__title-main {
  display: block;
  line-height: 40px;
}

.lavrus-subscribe__title-italic {
  font-family: var(--font4);
  font-size: 35px;
  font-style: italic;
}

.lavrus-subscribe__title-main {
  font-family: var(--second-family);
  font-size: 34px;
  font-weight: 400;
}

.lavrus-subscribe__form {
  display: flex;
  width: 100%;
  max-width: 740px;
  align-items: flex-start;
}

.lavrus-subscribe__field {
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 20px;
}

.lavrus-subscribe__email {
  position: relative;
  width: 100%;
}

.lavrus-subscribe__input {
  width: 100%;
  height: 54px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--lavrus-tretyakov-ru-black);
  border-radius: 0;
  font-family: var(--font-family);
  font-size: 21px;
  font-weight: 400;
  line-height: 40px;
  color: var(--lavrus-tretyakov-ru-black);
  background-color: transparent;
}

.lavrus-subscribe__input:focus {
  outline: none;
}

.lavrus-subscribe__label {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -10px;
  font-family: var(--font-family);
  font-size: 21px;
  line-height: 22px;
  color: var(--lavrus-tretyakov-ru-black);
  pointer-events: none;
  transition: all 0.3s ease;
}

.lavrus-subscribe__input:focus + .lavrus-subscribe__label,
.lavrus-subscribe__input:not(:placeholder-shown) + .lavrus-subscribe__label {
  top: -5px;
  font-size: 14px;
}

.lavrus-subscribe__accept {
  display: flex;
  min-height: 41px;
  margin-top: 20px;
  margin-left: 29px;
  align-items: flex-start;
  cursor: pointer;
}

.lavrus-subscribe__accept + .lavrus-subscribe__accept {
  margin-top: 21px;
}

.lavrus-subscribe__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lavrus-subscribe__checkbox-mark {
  position: relative;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border: 1px solid var(--lavrus-tretyakov-ru-tangaroa);
  flex: 0 0 auto;
  background-color: transparent;
}

.lavrus-subscribe__checkbox:checked + .lavrus-subscribe__checkbox-mark::after {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--lavrus-tretyakov-ru-black);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.lavrus-subscribe__checkbox:focus-visible + .lavrus-subscribe__checkbox-mark {
  outline: 2px solid var(--lavrus-tretyakov-ru-black);
  outline-offset: 2px;
}

.lavrus-subscribe__accept-text {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 19px;
  color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-subscribe__accept-text a {
  color: var(--lavrus-tretyakov-ru-black);
  text-decoration: underline;
}

.lavrus-subscribe__form.is-validated
  .lavrus-subscribe__checkbox:not(:checked)
  ~ .lavrus-subscribe__accept-text,
.lavrus-subscribe__form.is-validated
  .lavrus-subscribe__checkbox:not(:checked)
  ~ .lavrus-subscribe__accept-text
  a {
  color: #cd5151;
}

.lavrus-subscribe__button {
  width: 159px;
  min-width: 159px;
  margin-top: 20px;
  border-radius: 20px;
  flex: 0 0 auto;
}

@media (min-width: 1401px) {
  .lavrus-subscribe__title {
    width: 47%;
    max-width: 47%;
  }

  .lavrus-subscribe__form {
    width: 60%;
    max-width: 60%;
  }
}

@media (max-width: 640px) {
  .lavrus-subscribe {
    padding-bottom: 30px;
  }

  .lavrus-subscribe__inner {
    height: auto;
    min-height: 488px;
    margin: 0 -15px;
    padding: 40px 30px;
    border-radius: 0;
    background-position: right 80% top 35%;
    background-size: 275% auto;
  }

  .lavrus-subscribe__title {
    margin-bottom: 30px;
  }

  .lavrus-subscribe__title-italic {
    font-size: 32px;
    line-height: 24px;
  }

  .lavrus-subscribe__title-main {
    margin-top: 5px;
    font-size: 26px;
    line-height: 24px;
  }

  .lavrus-subscribe__form {
    flex-direction: column;
  }

  .lavrus-subscribe__field {
    width: 100%;
    padding-right: 0;
  }

  .lavrus-subscribe__button {
    margin: 30px auto 0;
  }
}

/* Увеличение изображений  */

.lavrus-image-zoom {
  cursor: none;
}

.lavrus-image-zoom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 0;
  height: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lavrus-image-zoom-cursor.is-visible {
  opacity: 1;
}

.lavrus-image-zoom-cursor::before {
  content: "";
  position: absolute;
  top: -51px;
  left: -51px;
  width: 102px;
  height: 102px;
  background: url("../assets/icons/plus.svg") no-repeat center / contain;
}

.lavrus-image-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: auto;
  background-color: hsla(0, 0%, 100%, 0.8);
  cursor: none;
}

.lavrus-image-fullscreen[hidden] {
  display: none;
}

.lavrus-image-fullscreen__bg {
  position: absolute;
  inset: 0;
}

.lavrus-image-fullscreen__wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.lavrus-image-fullscreen__wrapper.is-vertical {
  align-items: flex-start;
  padding-top: 100px;
  padding-bottom: 100px;
}

.lavrus-image-fullscreen__image {
  display: block;
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: calc(100vh - 80px);
  transform: scale(0.8);
  transform-origin: center center;
  transition: all 0.3s ease;
  pointer-events: none;
}

.lavrus-image-fullscreen__wrapper.is-vertical .lavrus-image-fullscreen__image {
  width: 100%;
  max-height: none;
}

.lavrus-image-fullscreen.is-ready .lavrus-image-fullscreen__image {
  transform: scale(1);
}

body.is-open-img {
  overflow: hidden;
}

/* Ошибка загрузки контента */

.lavrus-content-error {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 305px;
  padding: 45px 20px 160px;
  box-sizing: border-box;
}

.lavrus-content-error[hidden] {
  display: none;
}

.lavrus-content-error__text {
  margin: 0;
  color: var(--color-grey-20);
  font-size: 28px;
  line-height: 50px;
  text-align: center;
}

.lavrus-content-error__title {
  font-family: var(--second-family);
  font-weight: 800;
}

.lavrus-content-error__reload {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font3);
  font-size: inherit;
  font-style: italic;
  font-weight: 400;
  line-height: inherit;
  cursor: pointer;
}

.lavrus-content-error__reload:hover {
  text-decoration: underline;
}

.lavrus-content-error__reload:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .lavrus-content-error {
    min-height: 270px;
    padding: 45px 0 120px;
  }

  .lavrus-content-error__text {
    max-width: 330px;
    font-size: 21px;
    line-height: 32px;
  }
}

@media (hover: none), (pointer: coarse) {
  .lavrus-image-zoom {
    cursor: zoom-in;
  }

  .lavrus-image-zoom-cursor {
    display: none;
  }

  .lavrus-image-fullscreen {
    cursor: pointer;
  }
}

/* Баннер согласия на cookie */

.lavrus-cookies {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--lavrus-tretyakov-ru-gallery);
}

.lavrus-cookies[hidden] {
  display: none;
}

.lavrus-cookies__text {
  flex: 1 1 auto;
  padding-right: 20px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
}

.lavrus-cookies__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lavrus-cookies__link:hover,
.lavrus-cookies__link:focus-visible {
  text-decoration: none;
}

.lavrus-cookies__button {
  flex: 0 0 auto;
  min-width: 140px;
}

@media (max-width: 767px) {
  .lavrus-cookies {
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
  }

  .lavrus-cookies__text {
    margin-bottom: 15px;
    padding-right: 0;
    text-align: center;
  }

  .lavrus-cookies__button {
    width: 100%;
    max-width: 280px;
  }
}
