@font-face {
  font-display: swap;
  font-family: Canela;
  font-weight: 500;
  src: url('../themes/lepekhin-museum/assets/fonts/Canela-Medium-Web.woff2') format('woff2'), url('../themes/lepekhin-museum/assets/fonts/Canela-Medium-Web.woff') format('woff'), url('../themes/lepekhin-museum/assets/fonts/Canela-Medium-Web.ttf') format('truetype');
  font-feature-settings: "ss10" 1;
}
@font-face {
  font-family: 'Graphik';
  src: url('../themes/lepekhin-museum/assets/fonts/Graphik-Regular-Web.woff2') format('woff2'), url('../themes/lepekhin-museum/assets/fonts/Graphik-Regular-Web.woff') format('woff'), url('../themes/lepekhin-museum/assets/fonts/Graphik-Regular-Web.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Graphik';
  src: url('../themes/lepekhin-museum/assets/fonts/Graphik-Medium-Web.woff2') format('woff2'), url('../themes/lepekhin-museum/assets/fonts/Graphik-Medium-Web.woff') format('woff'), url('../themes/lepekhin-museum/assets/fonts/Graphik-Medium-Web.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
html {
  color-scheme: dark;
  --container-padding: 1rem;
  --header-height: 45px;
  scroll-padding-top: var(--header-height);
}
@media (min-width: 744px) {
  html {
    --container-padding: 2rem;
    --header-height: 80px;
  }
}
@media (min-width: 1280px) {
  html {
    --container-padding: 3rem;
    --header-height: 65px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .home-festivals__list,
  html {
    scroll-behavior: smooth;
  }
}
body {
  background-color: #29282d;
  color: #f4f2e7;
  font-family: 'Graphik', Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}
h1,
h2,
h3 {
  font-family: Canela, 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', Pserif;
  font-weight: inherit;
  text-wrap: balance;
}
img {
  vertical-align: middle;
}
.visually-hidden {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.fw-medium {
  font-weight: 500;
}
.f-h1 {
  font-size: 2rem;
  line-height: 2.25rem;
}
.f-h2 {
  font-size: 1.625rem;
  line-height: 1.875rem;
}
.f-h3 {
  font-size: 1.25rem;
  line-height: 1.5rem;
}
.f-t1 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.f-t2 {
  font-size: 0.75rem;
  line-height: 1rem;
}
.f-header3 {
  font-size: 1.625rem;
  line-height: 1.875rem;
}
@media (min-width: 744px) {
  .f-body1 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .f-body2 {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .f-header1 {
    font-size: 4.25rem;
    line-height: 1;
  }
  .f-header2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
  .f-header3--t {
    font-size: 1.625rem;
    line-height: 1.875rem;
  }
}
.link--solid {
  color: #c6a565;
}
.m-0 {
  margin: 0;
}
div.stripe-loading-indicator .stripe,
div.stripe-loading-indicator .stripe-loaded {
  background-color: #c6a565;
}
/* MARK: Fields */
.field {
  border: 1px solid #29282d;
  border-radius: 0;
  box-sizing: border-box;
  color: #474747;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0;
  max-width: 100%;
  padding: 0.75rem 1rem;
}
/* MARK: Buttons */
.content .oc-link-strong,
.btn {
  background-color: #c6a565;
  border: 1px solid transparent;
  color: #29282d;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  padding: 0.75rem 2rem;
  text-decoration: none;
}
.btn[href],
.btn:enabled {
  cursor: pointer;
}
a.btn {
  display: inline-block;
}
.btn--inverted {
  background-color: #29282d;
  color: #c6a565;
}
/* MARK: Banner */
.banner {
  background-color: #f4f2e7;
  color: #29282d;
  font-size: 0.75rem;
  line-height: 1rem;
  grid-column: span 2;
  justify-content: space-between;
  padding-inline-start: 1rem;
}
.banner:not([hidden]) {
  display: flex;
}
.banner__text {
  margin-block: 0.625rem;
}
.banner__text > * {
  margin: 0;
}
.banner__btn {
  border: 0;
  background: url('../themes/lepekhin-museum/assets/images/icons/cross.svg') 50% 0.625rem / 1rem no-repeat;
  color: inherit;
  cursor: pointer;
  padding: 1.125rem;
}
.banner:has(~ .home-header .home-header__menu[open]) {
  display: none;
}
@media (min-width: 1280px) {
  .banner {
    font-size: 0.875rem;
    justify-content: center;
    line-height: 1.25rem;
    padding-inline-start: 3rem;
  }
  .banner__btn {
    background-position: 50% 0.75rem;
  }
  .banner:not([hidden]):has(~ .home-header .home-header__menu[open]) {
    display: flex;
  }
}
/* MARK: Announcement */
.announcement {
  border: none;
  box-sizing: border-box;
  box-shadow: 0 16px 32px #0C0C0D66;
  background-color: #f4f2e7;
  color: #29282d;
  max-height: 90vh;
  max-width: 90vw;
  width: 984px;
  overflow-y: auto;
  padding: 42px 9px 110px;
  position: fixed;
  top: 10%;
  left: 1rem;
  right: 1rem;
  z-index: 2;
}
.announcement h2 {
  font-weight: 500;
  font-size: 26px;
  line-height: 30px;
  margin-block: 0 16px;
}
.announcement a {
  color: inherit;
}
.announcement .btn {
  margin-block-start: 32px;
  background-color: #29282d;
  color: #c6a565;
}
@media (min-width: 744px) {
  .announcement {
    padding: 110px 40px;
  }
  .announcement h2 {
    font-size: 40px;
    line-height: 48px;
  }
}
@media (min-width: 1280px) {
  .announcement > * {
    max-width: 610px;
    margin-inline: auto;
  }
}
/* MARK: Cookies */
.cookies {
  background-color: #f4f2e7;
  border: none;
  bottom: 0;
  box-sizing: border-box;
  color: #29282d;
  color-scheme: light;
  line-height: 1.25rem;
  letter-spacing: -0.02em;
  max-width: 100vw;
  overflow-y: auto;
  padding: 1rem;
  position: fixed;
  text-align: start;
  width: 800px;
}
@media (min-width: 744px) {
  .cookies {
    bottom: 1.25rem;
  }
}
.cookies__form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookies .link--solid {
  color: inherit;
}
.cookies .filters__row {
  align-self: center;
  display: flex;
  flex-basis: 200px;
  flex-grow: 1;
  gap: 0.5rem;
  padding: 0;
}
.cookies__actions {
  display: flex;
  gap: 1rem;
}
.cookies a.btn {
  display: flex;
  place-items: center;
}
.cookies__actions > * {
  flex-grow: 1;
}
.content--policy > p {
  text-align: start;
}
/* MARK: Header */
.home-header {
  background-color: rgba(41, 40, 45, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr;
  overscroll-behavior: contain;
  overflow-y: auto;
  position: sticky;
  text-align: center;
  top: 0;
  z-index: 2;
}
.home-header:has(.home-header__menu[open]) {
  height: 100dvh;
}
.home-header__toggle {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/burger.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5rem;
  border: 0;
  justify-self: end;
  margin: 0;
  padding: 1.375rem;
}
.home-header__menu[open] + .home-header__toggle {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/cross.svg');
}
.home-header__logo {
  justify-self: start;
  padding: 0.375rem 1rem;
}
.home-header__logo img {
  height: auto;
}
.home-header__menu {
  background-color: transparent;
  border: 0;
  color: inherit;
  flex-direction: column;
  gap: 1.5rem;
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
  justify-self: center;
  margin: 0;
  order: 1;
  padding: 0;
  position: static;
}
.home-header__menu[open] {
  display: flex;
}
.banner:not([hidden]) ~ .home-header__menu {
  grid-row: span 1;
}
.home-header__nav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 1;
  justify-content: space-evenly;
  margin-block: auto;
}
.home-header__link {
  color: inherit;
  text-decoration: none;
  padding: 0.375rem;
}
.home-header__link--active {
  color: #c6a565;
}
.home-external {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0.375rem;
}
.home-header .home-external {
  padding-block-end: 1.5rem;
}
@media (min-width: 744px) {
  .home-header__logo {
    padding: 1.125rem 2rem;
  }
  .home-header__toggle {
    margin: 1.125rem 2rem;
  }
  .home-header .home-external {
    padding-block-end: 4rem;
  }
}
@media (min-width: 1280px) {
  .home-header {
    height: auto !important;
  }
  .home-header__logo {
    padding: 0.625rem 3rem;
  }
  .home-header__logo img {
    width: 4.5rem;
  }
  .home-header__toggle,
  .home-header .home-external {
    display: none;
  }
  .home-header__menu {
    display: block;
    grid-column: 2/3;
    justify-self: stretch;
    margin-inline: 3rem;
    width: auto;
  }
  .home-header__nav {
    align-items: baseline;
    flex-direction: row;
    justify-content: space-between;
  }
  .home-header__link {
    box-sizing: border-box;
    min-height: 65px;
    padding: 1.25rem 1rem;
  }
  .home-header__nav > :first-child,
  .home-header__nav > :last-child {
    margin-inline-start: auto;
  }
}
/* MARK: Hero */
.home-hero {
  display: grid;
  margin: 2rem auto 0;
  padding-inline: 1rem;
  place-items: center;
}
.home-hero__img {
  grid-column: 1/2;
  grid-row: 1/2;
  object-fit: cover;
  opacity: 0;
  max-width: 552px;
  width: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero__img {
    transition: opacity 1s;
  }
}
.home-hero__img--active {
  opacity: 1;
}
@media (min-width: 744px) {
  .home-hero {
    margin-block-start: 5rem;
  }
  .home-hero__img {
    height: 210px;
    max-width: 788px;
  }
}
/* MARK: Home title */
.home__title {
  margin: 1.5rem auto 1rem;
  max-width: 23em;
  padding-inline: var(--container-padding);
}
@media (min-width: 744px) {
  .home__title {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-block-start: 3.75rem;
  }
}
@media (min-width: 1280px) {
  .home__title {
    margin-block-start: 3.25rem;
  }
}
.home__description {
  margin: 0 auto 4rem;
  max-width: 40em;
  padding-inline: var(--container-padding);
  text-wrap: balance;
}
/* MARK: Video */
.home-video {
  margin-block-end: 4rem;
  position: relative;
}
@media (min-width: 744px) {
  .home-video {
    margin: 0 var(--container-padding) 132px;
  }
}
@media (min-width: 744px) {
  .home-video {
    margin-block-end: 6.25rem;
  }
}
.home-video iframe {
  aspect-ratio: 16/9;
  border: 0;
  height: calc(100dvh - var(--header-height));
  margin: 0;
  max-height: 580px;
  max-width: 100%;
  vertical-align: middle;
  width: auto;
}
/* MARK: Categories */
.home-categories {
  background-color: #ddc9a4;
  color-scheme: light;
  color: #29282d;
  padding: 2.75rem var(--container-padding);
}
@media (min-width: 744px) {
  .home-categories {
    padding-block: 5rem;
  }
}
@media (min-width: 1280px) {
  .home-categories {
    padding-block: 6.25rem;
  }
}
.home-categories > h2 {
  margin: 0 auto 1rem;
  max-width: 15em;
}
.home-categories > p {
  margin: 0 auto 2rem;
  max-width: 32em;
}
@media (min-width: 744px) {
  .home-categories > p {
    margin-block-end: 2.75rem;
  }
}
@media (min-width: 1280px) {
  .home-categories > p {
    margin-block-end: 3.25rem;
  }
}
.home-categories__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  max-width: 74rem;
  padding: 0;
}
.home-categories__list > li {
  flex-basis: 288px;
}
@media (min-width: 744px) {
  .home-categories__list > li {
    flex-basis: 328px;
  }
}
@media (min-width: 1280px) {
  .home-categories__list > li {
    flex-basis: 384px;
  }
}
.home-categories__list:has(li:nth-child(4):last-child) {
  max-width: 820px;
}
@media (min-width: 1700px) {
  .home-categories__list:has(li:nth-child(4):last-child) {
    max-width: none;
  }
}
.home-categories__link {
  background-color: #29282d;
  color-scheme: dark;
  color: #f4f2e7;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.home-categories__link img {
  height: auto;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 744px) {
  .home-categories__link img {
    height: 298px;
  }
}
.home-categories__link div {
  box-sizing: border-box;
  flex-grow: 1;
  padding: 1.25rem 1rem 1.5rem;
  min-height: 140px;
}
@media (min-width: 744px) {
  .home-categories__link div {
    min-height: 154px;
  }
}
@media (min-width: 1280px) {
  .home-categories__link div {
    padding: 1.25rem;
  }
}
.home-categories__link h3 {
  margin: 0 0 0.5rem;
}
.home-categories__link p {
  margin: 0;
}
@media (min-width: 744px) {
  .home-categories__link p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
/* MARK: Festivals */
.home-festivals {
  margin-inline: auto;
  max-width: 48rem;
  position: relative;
  text-align: start;
}
@media (min-width: 744px) {
  .home-festivals {
    margin-block: 6.25rem 0;
  }
}
@media (min-width: 1280px) {
  .home-festivals {
    margin-block-start: 7.5rem;
    max-width: 74rem;
  }
}
.home-festivals__bars {
  display: flex;
  gap: 8px;
  left: 8px;
  position: absolute;
  right: 8px;
  top: 8px;
}
@media (min-width: 744px) {
  .home-festivals__bars {
    gap: 13px;
    left: 20px;
    right: 20px;
    top: 20px;
  }
}
@media (min-width: 1280px) {
  .home-festivals__bars {
    left: calc(50% + 2rem);
    right: 2rem;
    top: 1rem;
  }
}
.home-festivals__bar {
  background-color: #29282d;
  flex-grow: 1;
  padding: 2px;
}
.home-festivals__bar--active {
  background-color: #c6a565;
}
.home-festivals__actions {
  display: flex;
  gap: 24px;
  position: absolute;
  right: 0.5rem;
  top: 268px;
}
@media (min-width: 744px) {
  .home-festivals__actions {
    bottom: 2rem;
    right: 2rem;
    top: auto;
  }
}
.home-festivals__action {
  background-color: #29282d;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
  border-radius: 0;
  border: 0;
  color: #c6a565;
  cursor: pointer;
  margin: 0;
  padding: 22px;
}
.home-festivals__action:first-child {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/arrow-left.svg');
}
.home-festivals__action:last-child {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/arrow-right.svg');
}
.home-festivals__list {
  -ms-overflow-style: none;
  display: flex;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 0;
}
.home-festivals__list::-webkit-scrollbar {
  display: none;
}
.home-festivals__item {
  background-color: #1b4536;
  flex-basis: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
}
@media (min-width: 1280px) {
  .home-festivals__item {
    display: flex;
    justify-content: space-between;
  }
}
.home-festivals__item:nth-child(3n - 1) {
  background-color: #1a2f60;
}
.home-festivals__item:nth-child(3n) {
  background-color: #951a1a;
}
.home-festivals__cover {
  height: 320px;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 744px) {
  .home-festivals__cover {
    height: 526px;
  }
}
@media (min-width: 1280px) {
  .home-festivals__cover {
    height: 100%;
    width: 50%;
  }
}
.home-festivals__item:only-child .home-festivals__cover {
  height: auto;
}
@media (min-width: 1280px) {
  .home-festivals__item:only-child .home-festivals__cover {
    height: 100%;
  }
}
.home-festivals__text {
  flex-shrink: 0;
  padding: 1rem 1rem 2rem;
}
@media (min-width: 744px) {
  .home-festivals__text {
    align-items: start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 364px;
    padding: 2rem;
  }
}
@media (min-width: 1280px) {
  .home-festivals__text {
    flex-basis: 50%;
    padding: 3.25rem 2rem 2rem;
  }
}
.home-festivals__title {
  margin-block: 0 0.5rem;
}
.home-festivals__desc {
  -webkit-line-clamp: 9;
  line-clamp: 9;
  margin-block: 0 0.75rem;
  max-height: 9lh;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: balance;
}
.home-festivals__date {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  margin-block-start: auto;
  order: 1;
  padding-block-start: 1em;
}
.home-festivals__btn {
  display: block;
  margin-block-start: 1.5rem;
  text-align: center;
}
/* MARK: Events */
.events {
  padding: 4rem var(--container-padding) 0;
}
.events__list {
  color-scheme: light;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  margin: 0 auto 4rem;
  max-width: 74rem;
  padding: 0 var(--container-padding);
  text-align: center;
}
@media (min-width: 744px) {
  .events__list {
    display: grid;
    gap: 1.5rem;
    grid-auto-flow: row dense;
    grid-template-columns: 1fr 1fr;
    margin-block-end: 6.25rem;
  }
}
@media (min-width: 1280px) {
  .events__list {
    gap: 1rem;
    grid-template-columns: repeat(6, 1fr);
    margin-block-end: 7.5rem;
  }
}
.events__list:has(.events__item--closest)::before,
.events__list:empty::before {
  content: 'Таких событий нет';
  grid-column: 1/-1;
  font-family: Canela, 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', Pserif;
  font-size: 1.625rem;
  line-height: 1.875rem;
  margin-block: 3rem;
}
@media (min-width: 744px) {
  .events__list:has(.events__item--closest)::before,
  .events__list:empty::before {
    font-size: 2rem;
    line-height: 2.5rem;
    margin-block: 4rem 5rem;
  }
}
.events__list:has(.events__item--closest)::before {
  content: 'Таких событий нет, но есть похожие';
}
.events .events__list {
  margin-block-end: 2rem;
}
@media (min-width: 744px) {
  .events .events__list {
    margin-block-end: 2.75rem;
  }
}
@media (min-width: 1280px) {
  .events .events__list {
    margin-block-end: 3.25rem;
  }
}
.events__item {
  flex-basis: 424px;
  flex-grow: 1;
}
@media (min-width: 744px) {
  .events__item {
    flex-grow: 0;
  }
}
@media (min-width: 1280px) {
  .events__item {
    grid-column: span 2;
  }
}
@media (min-width: 1280px) {
  .events__item:nth-child(5n),
  .events__item:nth-child(5n - 1) {
    grid-column: span 3;
  }
  .events .events__item:nth-child(5) ~ .events__item {
    display: none;
  }
}
.events__block {
  background-color: #f4f2e7;
  box-sizing: border-box;
  color: #29282d;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  text-decoration: none;
  padding-block-end: 1em;
}
.events__cover {
  aspect-ratio: 1.62711864;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
  width: 100%;
}
.events__cover ~ :not(.events__date):last-child {
  margin-block-end: auto;
  padding-block-end: 2rem;
}
.events__cover ~ .events__date {
  margin-top: auto;
}
.events__category {
  margin-block: 1em .5em;
}
@media (min-width: 744px) {
  .events__category {
    font-size: 1rem;
    line-height: 1.25rem;
  }
}
.events__title {
  margin: 1.5rem 1rem 2rem;
  word-break: break-word;
}
.events > .btn {
  display: block;
}
@media (min-width: 744px) {
  .events > .btn {
    display: inline-block;
    margin-inline: auto;
  }
}
.events__date {
  font-weight: 500;
}
/* MARK: Event */
.page-event > main {
  background-color: #ddc9a4;
  color: #29282d;
  color-scheme: light;
  padding: var(--container-padding) var(--container-padding) 4rem;
  text-align: start;
}
@media (min-width: 744px) {
  .page-event > main {
    padding-block-end: 7.5rem;
  }
}
.page-event > main .events__list {
  margin-block: 0;
  padding: 0;
}
.event__cover {
  display: block;
  margin-inline: auto;
  max-height: 50vh;
  min-height: 200px;
  object-fit: cover;
  max-width: 74rem;
  width: 100%;
  height: auto;
}
.event__cover--narrow {
  display: block;
  max-width: 100%;
  width: auto;
}
.event__grid {
  display: grid;
  gap: 1rem;
  grid-auto-rows: min-content;
  grid-template-areas: "title" "content" "widget";
  grid-template-rows: auto;
  margin-inline: auto;
  max-width: 74rem;
  width: 100%;
}
@media (min-width: 744px) {
  .event__grid {
    row-gap: 1.75rem;
  }
  .event__grid:not(.event__grid--festivals) {
    grid-template-columns: 1.9fr 1fr;
    grid-template-areas: "title title" "content widget";
  }
}
@media (min-width: 1280px) {
  .event__grid:not(.event__grid--festivals) {
    grid-template-areas: "title widget" "content widget";
    grid-template-rows: auto 1fr;
  }
}
.event__cover + .event__grid {
  margin-block-start: 1rem;
}
@media (min-width: 744px) {
  .event__cover + .event__grid {
    margin-block-start: 3rem;
  }
}
.event__grid--festivals .event__title {
  text-align: center;
}
.event__grid--festivals .event__props {
  justify-content: center;
}
.event__grid--festivals .event__content {
  margin-inline: auto;
  width: 100%;
}
.event__grid--festivals .event__action {
  border-image: linear-gradient(to right, rgba(71, 71, 71, 0), #474747, rgba(71, 71, 71, 0)) 1;
  text-align: center;
}
.event__title {
  grid-area: title;
  text-wrap: initial;
}
.event__title h1 {
  margin: 0;
}
.event__parent-link {
  color: inherit;
  display: inline-block;
  margin-block-end: 0.5rem;
}
.event__props {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block: 0 1rem;
}
@media (min-width: 744px) {
  .event__props {
    gap: 1.25rem;
    margin-block-end: 1.75rem;
  }
}
.event__prop {
  background-position: 0 .05rem;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  color: inherit;
  display: inline-block;
  padding-inline-start: 1.5rem;
  text-decoration: none;
}
.event__prop--date {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/date.svg');
}
.event__prop--time {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/clock.svg');
}
.event__prop--cost {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/card.svg');
}
.event__prop--hidden {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/cross.svg');
}
.event__prop--edit {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/arrow-diagonal.svg');
}
.event__prop--category {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/category.svg');
}
.event__content {
  grid-area: content;
  max-width: 684px;
}
.event__content a {
  color: inherit;
}
.event__content strong {
  font-weight: 500;
}
.event__content blockquote {
  border-inline-start: 2px solid #c6a565;
  margin: 1em 0;
  padding: 0 0 0 1.5rem;
}
.event__action {
  margin-block: 1.25rem 0;
  max-width: 328px;
}
.event__action .btn {
  display: block;
  margin-block-end: 0.75rem;
  text-align: center;
}
@media (min-width: 744px) {
  .event__action {
    border-top: 1px solid;
    border-image: linear-gradient(to right, #474747, rgba(71, 71, 71, 0)) 1;
    font-size: 1rem;
    line-height: 1.5;
    max-width: none;
    margin-block-start: 2.375rem;
    padding-block-start: 1.25rem;
  }
  .event__action .btn {
    display: none;
  }
  .event__action ~ * {
    font-size: 1rem;
    line-height: 1.5;
  }
}
.event__note {
  margin-block-start: 1.5rem;
}
.event__note > *:first-child {
  margin-block-start: 0;
}
@media (min-width: 744px) {
  .event__note {
    border-top: 1px solid;
    margin-block-start: 1.25rem;
    padding-block-start: 2.375rem;
  }
}
.event__register {
  background-color: #ddc9a4;
  grid-area: widget;
  margin-block: 1rem 0;
}
@media (min-width: 744px) {
  .event__register {
    margin: 0;
  }
}
.event__register > div {
  border: 1px solid;
  padding: 1rem;
}
@media (min-width: 744px) {
  .event__register > div {
    min-height: 200px;
    padding: 1.5rem;
  }
}
.event-similar:not(:has(.events__item)) {
  display: none;
}
.event-similar {
  margin-block-start: 4rem;
}
.event-similar__title {
  margin-block: 0 2rem;
  text-align: center;
}
@media (min-width: 744px) {
  .event-similar__list {
    display: flex;
  }
}
.event-questions {
  background-color: #1b4536;
  color: #f4f2e7;
  column-gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  margin-block-start: 4rem;
  padding: 1.25rem 1rem 1rem;
}
@media (min-width: 744px) {
  .event-questions {
    justify-content: center;
    margin-block-start: 7.5rem;
    padding: 6.25rem 4rem;
    text-align: center;
  }
}
@media (min-width: 1280px) {
  .event-questions {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: 988px;
    padding: 7.5rem 6.25rem;
  }
}
.event-questions__title {
  margin: 0;
}
@media (min-width: 744px) {
  .event-questions__title {
    font-size: 4.25rem;
    line-height: 1;
  }
}
.event-questions__text {
  flex-basis: 100%;
  margin-block: 0.5rem 1.5rem;
}
.event-questions__text a {
  color: inherit;
}
@media (min-width: 744px) {
  .event-questions__text {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-block: 1rem 2rem;
  }
}
@media (min-width: 1280px) {
  .event-questions__text {
    margin-block-end: 2.25rem;
  }
}
.event-questions .btn {
  flex-grow: 1;
  margin-block-end: 1rem;
  text-align: center;
}
@media (min-width: 744px) {
  .event-questions .btn {
    flex-grow: 0;
  }
}
/* MARK: Feedback */
.home-feedback {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-block-start: 4rem;
  padding-inline: var(--container-padding);
}
@media (min-width: 744px) {
  .home-feedback {
    margin-block-start: 6.25rem;
  }
}
@media (min-width: 1280px) {
  .home-feedback {
    margin-block-start: 7.5rem;
  }
}
.home-feedback__heading {
  margin-block: 0;
  max-width: 14em;
}
.home-feedback__more {
  order: 1;
}
.home-feedback__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 74rem;
  padding: 0;
}
@media (min-width: 744px) {
  .home-feedback__list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
    margin-block: 2.75rem;
  }
}
@media (min-width: 1280px) {
  .home-feedback__list {
    gap: 1rem;
    margin-block: 3.25rem;
  }
}
.home-feedback__item {
  background-color: #f4f2e7;
  color-scheme: light;
  color: #29282d;
  display: flex;
  flex-direction: column;
  flex-basis: 320px;
  flex-grow: 1;
  padding: 1rem;
  text-align: start;
}
@media (min-width: 744px) {
  .home-feedback__item {
    padding: 1.75rem;
  }
}
@media (min-width: 1280px) {
  .home-feedback__item {
    padding: 3rem;
  }
}
.home-feedback__more + .home-feedback__list .home-feedback__item:nth-child(4) ~ .home-feedback__item {
  display: none;
}
.home-feedback__title {
  margin-block: 0 0.5rem;
}
@media (min-width: 744px) {
  .home-feedback__title {
    margin-block-end: 0.75rem;
  }
}
.home-feedback__text {
  margin-block-end: auto;
}
.home-feedback__text p {
  margin: 0;
}
.home-feedback__text strong {
  background-color: #EDE0C8;
  font-weight: inherit;
}
.home-feedback__date {
  font-weight: 500;
  margin-block: 2rem 0;
}
/* MARK: Media */
.home-media {
  margin-block-start: 4rem;
}
@media (min-width: 744px) {
  .home-media {
    margin-block-start: 6.25rem;
  }
}
@media (min-width: 1280px) {
  .home-media {
    margin-block-start: 7.5rem;
  }
}
.home-media__heading {
  align-items: center;
  margin-block: 0 1rem;
  padding-inline: var(--container-padding);
}
.home-media__description {
  align-items: center;
  margin-block: 0 2rem;
  padding-inline: var(--container-padding);
}
.home-media__link {
  align-items: start;
  border-bottom: 1px solid #474747;
  color: inherit;
  display: block;
  gap: 1rem 2.75rem;
  padding: 1.5rem var(--container-padding) 1.25rem;
  text-decoration: none;
  text-align: start;
}
@media (min-width: 744px) {
  .home-media__link {
    grid-template-columns: 152px 1fr auto;
    grid-template-rows: auto 1fr;
    display: grid;
    padding-block: 2rem;
  }
}
@media (min-width: 1280px) {
  .home-media__link {
    grid-template-columns: 1fr 1fr 3fr auto;
    grid-template-rows: auto;
    padding-block: 2.25rem;
  }
}
.home-media__link:first-of-type {
  border-top: 1px solid #474747;
}
.home-media__link b {
  display: block;
  font-weight: 500;
  margin-block-end: 2.5rem;
}
@media (min-width: 744px) {
  .home-media__link b {
    font-size: 1rem;
    line-height: 1.25rem;
    margin: 0;
  }
}
@media (min-width: 1280px) {
  .home-media__link b {
    font-size: 0.875rem;
  }
}
@media (min-width: 744px) {
  .home-media__link span {
    font-size: 1rem;
    line-height: 1.25rem;
  }
}
.home-media__link h3 {
  display: block;
  margin-block-start: 1.5rem;
}
@media (min-width: 744px) {
  .home-media__link h3 {
    grid-column: 2/3;
    grid-row: 1/3;
    margin: 0 0 0 2.75rem;
  }
}
@media (min-width: 1280px) {
  .home-media__link h3 {
    grid-column: 3/4;
    grid-row-end: 2;
  }
}
.home-media__link::before {
  background: url('../themes/lepekhin-museum/assets/images/icons/arrow-diagonal.svg') center / 1.5rem no-repeat #c6a565;
  content: '';
  color: #29282d;
  float: right;
  margin: 0 0 1.5rem 1.5rem;
  padding: 1.375rem;
}
@media (min-width: 744px) {
  .home-media__link::before {
    grid-column: 3/4;
    grid-row: 1/3;
    margin: 0;
  }
}
@media (min-width: 1280px) {
  .home-media__link::before {
    grid-column: 4/5;
    grid-row-end: 2;
  }
}
/* MARK: Social links */
.home-links {
  padding-inline: var(--container-padding);
}
.home-links__heading {
  margin: 4rem auto 2rem;
  max-width: 812px;
}
@media (min-width: 744px) {
  .home-links__heading {
    margin-block: 6.25rem 2.75rem;
  }
}
@media (min-width: 1280px) {
  .home-links__heading {
    margin-block: 7.5rem 3.25rem;
  }
}
.home-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-inline: auto;
  max-width: 74rem;
  text-align: start;
}
@media (min-width: 744px) {
  .home-links__grid {
    gap: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .home-links__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 1rem;
  }
}
.home-link {
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2329282D' d='M0 0h44v44H0z'/%3E%3Cpath fill='%23000' fill-opacity='.2' d='M0 0h44v44H0z'/%3E%3Cpath d='M16 16v2h8.59L15 27.59 16.41 29 26 19.41V28h2V16H16Z' fill='%23C6A565'/%3E%3C/svg%3E");
  background-position: calc(100% - 1rem) 1rem;
  background-repeat: no-repeat;
  background-size: 2.75rem;
  box-sizing: border-box;
  color: inherit;
  display: block;
  flex-basis: 210px;
  flex-grow: 1;
  padding: 1rem 5rem 1rem 1rem;
  text-decoration: none;
}
@media (min-width: 744px) {
  .home-link {
    gap: 1.5rem;
    padding: 5.75rem 1rem 1rem;
  }
}
@media (min-width: 1280px) {
  .home-link {
    grid-column-start: 2;
    padding: 1.5rem 5rem 1.5rem 1.5rem;
  }
}
.home-link--tg {
  background-color: #015a66;
}
.home-link--vk {
  background-color: #1a2f60;
}
.home-link--yt {
  background-color: #951a1a;
}
.home-link__heading {
  margin-block: 0 0.5rem;
}
@media (min-width: 1280px) {
  .home-link__heading {
    margin-block-end: 0.75rem;
  }
}
.home-link__description {
  margin: 0;
}
@media (min-width: 1280px) {
  .home-link__description {
    font-size: 1rem;
  }
}
/* MARK: Social subscription */
.home-subscription {
  background-color: #ddc9a4;
  color-scheme: light;
  color: #29282d;
  padding: 1.25rem var(--container-padding) 2rem;
}
@media (min-width: 744px) {
  .home-subscription {
    padding: 2.5rem;
  }
}
@media (min-width: 1280px) {
  .home-subscription {
    grid-row: span 3;
    order: -1;
    padding: 4rem;
  }
}
.home-subscription__heading {
  margin: 0;
}
.home-subscription__description {
  margin-block: 0.5rem 1.5rem;
  max-width: 670px;
}
@media (min-width: 744px) {
  .home-subscription__description {
    margin-block-end: 2rem;
  }
}
@media (min-width: 1280px) {
  .home-subscription__description {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}
.home-subscription__form {
  max-width: 332px;
}
.home-subscription__form .field {
  width: 100%;
}
.home-subscription__submit {
  margin: 0.75rem 0 0.5rem;
  width: 100%;
}
@media (min-width: 744px) {
  .home-subscription__submit {
    margin-block-end: 0.75rem;
  }
}
.home-subscription__policy {
  color: #474747;
  font-size: 0.625rem;
  gap: 0.5rem !important;
  line-height: 0.875rem;
  padding: 0 !important;
}
@media (min-width: 744px) {
  .home-subscription__policy {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}
.home-subscription__policy a {
  color: inherit;
}
/* MARK: Footer */
.home-footer {
  border-top: 1px solid #474747;
  margin: 4rem 0 0;
  padding: 2.5rem 0 1.5rem;
}
.home-footer a {
  color: inherit;
  text-decoration: none;
}
.home-footer .home-external {
  max-width: 144px;
  margin-inline: auto;
}
@media (min-width: 744px) {
  .home-footer {
    align-items: start;
    display: grid;
    grid-template-areas: "logo logo" "nav nav" "social contacts" "partners partners" "studio studio";
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
    margin-block-start: 6.25rem;
    padding-block: 2.75rem;
  }
}
@media (min-width: 1280px) {
  .home-footer {
    gap: 1rem 1.5rem;
    grid-template-columns: 184px 1fr auto;
    grid-template-rows: auto 128px auto;
    grid-template-areas: "logo nav contacts" "logo nav social" "logo partners studio";
    margin-block-start: 7.5rem;
    padding: 3rem var(--container-padding) 1.75rem;
    text-align: start;
  }
}
.home-footer__logo {
  grid-area: logo;
  justify-self: center;
}
@media (min-width: 1280px) {
  .home-footer__logo {
    justify-self: start;
  }
}
.home-footer__nav {
  border-block: 1px solid #474747;
  display: grid;
  gap: 1.125rem 1.625rem;
  grid-area: nav;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 2.5rem 0 1.5rem;
  padding: 1.5rem var(--container-padding);
  text-align: start;
}
@media (min-width: 744px) {
  .home-footer__nav {
    font-size: 1rem;
    grid-template-columns: 1fr 1fr 50%;
    grid-template-rows: repeat(4, auto);
  }
  .home-footer__nav::after {
    content: '';
    grid-column-start: 3;
    grid-row: 3/6;
  }
}
@media (min-width: 1280px) {
  .home-footer__nav {
    border: 0;
    display: inline-grid;
    gap: 1.5rem 1rem;
    margin: 0;
    padding: 0;
    grid-template-columns: auto auto auto;
  }
}
.home-footer__nav--long {
  order: 1;
}
@media (min-width: 744px) {
  .home-footer__nav--long {
    order: 0;
  }
}
.home-footer__contacts {
  font-style: normal;
  grid-area: contacts;
  margin-block-end: 1.5rem;
  padding-inline: var(--container-padding);
}
@media (min-width: 744px) {
  .home-footer__contacts {
    padding-inline-start: 0;
    text-align: start;
  }
}
@media (min-width: 1280px) {
  .home-footer__contacts {
    padding: 0;
  }
}
.home-footer .home-external {
  grid-area: social;
}
@media (min-width: 744px) {
  .home-footer .home-external {
    justify-content: space-between;
    margin: 0 auto 0 var(--container-padding);
    width: 100%;
  }
}
@media (min-width: 1280px) {
  .home-footer .home-external {
    margin: 0;
  }
}
.home-footer__partners {
  align-items: center;
  border-block: 1px solid #474747;
  display: flex;
  gap: 1.125rem;
  flex-wrap: wrap;
  justify-content: center;
  grid-area: partners;
  margin-block-start: 1.5rem;
  padding: 1.5rem var(--container-padding);
}
@media (min-width: 744px) {
  .home-footer__partners {
    margin-block-start: 2.75rem;
    gap: 2.75rem;
    padding-block: 2.75rem 2.5rem;
  }
}
@media (min-width: 1280px) {
  .home-footer__partners {
    border: 0;
    display: inline-flex;
    justify-content: start;
    margin: 0;
    padding: 0;
  }
}
.home-footer__partners img {
  width: auto;
}
@media (min-width: 744px) {
  .home-footer__partners img {
    height: 24px;
  }
  .home-footer__partners img[height="36"] {
    height: 42px;
  }
}
.home-footer__studio {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 0.75rem;
  grid-area: studio;
  font-size: 0.75rem;
  justify-content: center;
  line-height: 0.875rem;
  font-weight: 500;
  margin-block-start: 1.5rem;
  text-align: start;
}
@media (min-width: 744px) {
  .home-footer__studio {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-block-start: 2.75rem;
  }
}
@media (min-width: 1280px) {
  .home-footer__studio {
    justify-content: flex-end;
    margin: 0;
  }
}
.home-footer__studio img {
  height: auto;
  max-width: 100%;
}
@media (min-width: 744px) {
  .home-footer__studio img {
    vertical-align: middle;
    width: 84px;
  }
}
/* MARK: Catalog */
.catalog__title {
  margin: 4rem auto 1rem;
  padding-inline: var(--container-padding);
}
.catalog__description {
  margin: 0 auto 2rem;
  padding-inline: var(--container-padding);
}
@media (min-width: 744px) {
  .catalog__description {
    margin-block-end: 2.75rem;
  }
}
@media (min-width: 1280px) {
  .catalog__description {
    margin-block-end: 3.25rem;
  }
}
@media (min-width: 744px) {
  .catalog__title + .events__list {
    margin-block-start: 2.75rem;
  }
}
@media (min-width: 1280px) {
  .catalog__title + .events__list {
    margin-block-start: 3.25rem;
  }
}
/* MARK: Filters */
.filters {
  color-scheme: light;
  display: grid;
  gap: 0.75rem;
  margin: 0 auto 1.5rem;
  padding-inline: var(--container-padding);
  text-align: start;
}
@media (min-width: 744px) {
  .filters {
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    margin-block-end: 2rem;
  }
}
@media (min-width: 1280px) {
  .filters {
    gap: 1rem;
    grid-template-columns: repeat(3, 288px);
    justify-content: center;
  }
}
.filters__group {
  background-color: #f4f2e7;
  color: #29282d;
  font-weight: 500;
  max-width: 100%;
  position: relative;
}
.filters__summary {
  -webkit-user-select: none;
  border: 1px solid transparent;
  cursor: pointer;
  list-style: none;
  overflow-x: hidden;
  padding: 0.75rem 1rem;
  text-overflow: ellipsis;
  touch-action: manipulation;
  user-select: none;
  white-space: nowrap;
}
.filters__summary::marker,
.filters__summary::-webkit-details-marker {
  display: none;
}
.filters__summary::before {
  background: url('../themes/lepekhin-museum/assets/images/icons/chevron.svg') center / contain no-repeat;
  content: '';
  float: right;
  padding: 0.625rem;
}
.filters__group[open] .filters__summary::before {
  transform: rotate(180deg);
}
.filters__group .filters__popup {
  background-color: #f4f2e7;
  border: 1px solid;
  margin: 0;
  min-width: fit-content;
  padding: 0;
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  z-index: 1;
}
.pika-single .pika-lendar {
  float: none;
  margin: 0;
  min-height: 245px;
  width: auto;
}
.pika-single .pika-title {
  align-items: center;
  border-bottom: 1px solid;
  display: flex;
}
.pika-single .pika-label {
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  vertical-align: middle;
}
.pika-single .pika-select {
  font-family: inherit;
}
.pika-single .pika-prev,
.pika-single .pika-next {
  background-color: #29282d;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.5rem;
  height: 2.75rem;
  margin: 0;
  opacity: 1;
  text-indent: 2.75rem;
  vertical-align: middle;
  width: 2.75rem;
}
.pika-single .pika-prev {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/arrow-left.svg');
  margin-right: auto;
  order: -1;
}
.pika-single .pika-next {
  background-image: url('../themes/lepekhin-museum/assets/images/icons/arrow-right.svg');
  margin-left: auto;
  margin-right: -1px;
}
.pika-single .pika-table {
  margin: 16px;
  width: calc(100% - 32px);
}
.pika-single .pika-button {
  background: none;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 500;
  text-align: center;
}
.pika-single .is-today .pika-button {
  border-color: #29282d;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1;
}
.pika-single .is-selected .pika-button {
  background: #c6a565;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
}
.pika-single .is-disabled .pika-button {
  background: transparent;
  color: #CDCBC6;
  opacity: 1;
}
.pika-single .pika-button:hover {
  background: #ddc9a4;
  border-radius: 0;
  color: inherit;
}
.pika-single .pika-table th {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  padding-bottom: 8px;
}
.pika-single abbr {
  cursor: default;
  text-decoration: none;
}
.filters__row {
  align-items: start;
  display: flex;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
}
.filters__row + .filters__row {
  border-top: 1px solid;
}
.filters__row input {
  accent-color: #29282d;
  margin: .15em 0 0;
  zoom: 1.25;
}
#dateAt {
  left: -1px;
  max-width: none;
  position: absolute;
  right: -1px;
}
#dateReset {
  bottom: -300px;
  left: 16px;
  position: absolute;
  right: 16px;
  z-index: 2;
}
.filters__group--hide-btn #dateReset {
  display: none;
}
.filters__group:not(.filters__group--hide-btn) .pika-single {
  min-height: 315px;
}
#seriesReset {
  border-top: 1px solid;
  border-inline: 0;
  box-sizing: border-box;
  margin-top: -1px;
  width: 100%;
}
#series:has(input:checked) #seriesReset {
  display: block;
  margin-top: 0;
}
/* MARK: Visitors */
.content-nav {
  background-color: rgba(41, 40, 45, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-block: 1px solid #474747;
  justify-content: center;
  list-style: none;
  margin: 0 0 1.5rem;
  max-width: 100%;
  min-height: 3rem;
  overflow-x: auto;
  padding: 0;
  position: sticky;
  top: var(--header-height, 45px);
  white-space: nowrap;
  z-index: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.content-nav::-webkit-scrollbar {
  width: 0 !important;
  display: none;
}
@media (min-width: 744px) {
  .content-nav {
    margin-block-end: 3.25rem;
  }
}
.content-nav li {
  display: inline-block;
}
.content-nav a {
  color: inherit;
  display: block;
  padding: 0.875rem 0.75rem;
  text-decoration: none;
}
@media (min-width: 744px) {
  .content-nav a {
    padding: 1.25rem 1rem;
  }
}
.content-nav a:hover {
  color: #c6a565;
}
.content-nav li:first-child a {
  padding-inline-start: var(--container-padding);
}
.content-nav li:last-child a {
  padding-inline-end: var(--container-padding);
}
.content--visitors {
  padding-inline: var(--container-padding);
}
.content--trimmed {
  margin-inline: auto;
  max-width: 784px;
}
h2.content--trimmed + .content--trimmed {
  margin-block-start: 1rem;
}
.content {
  /* Ячейка с картой */
  /* Таблицы без заголовков */
  /* Цвет метро */
}
.content h2 {
  font-size: 1.625rem;
  line-height: 1.875rem;
  margin-block: 2.5rem 0.5rem;
  scroll-margin-top: var(--header-height);
}
.content h2:first-child {
  margin-block-start: 0;
}
@media (min-width: 744px) {
  .content h2 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-block: 5rem 1rem;
  }
}
.content h3 {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin-block: 0 0.5rem;
}
.content h3:not(:first-child) {
  margin-block-start: 2.25rem;
}
@media (min-width: 744px) {
  .content h3 {
    font-size: 2rem;
    line-height: 2.5rem;
    margin-block-end: 1rem;
  }
}
.content ul + h3 {
  margin-block-start: 1rem;
}
@media (min-width: 744px) {
  .content ul + h3 {
    margin-block-start: 2rem;
  }
}
.content p {
  margin: 0;
}
.content p + ul[style],
.content ul[style] + p,
.content p + p {
  margin-block-start: 0.75rem;
}
@media (min-width: 744px) {
  .content p + ul[style],
  .content ul[style] + p,
  .content p + p {
    margin-block-start: 1.25rem;
  }
}
.content strong {
  font-weight: 500;
}
.content hr {
  color: #474747;
  margin-block: 0.75rem;
  border-bottom: 0;
  border-image: linear-gradient(to right, rgba(71, 71, 71, 0), #474747, rgba(71, 71, 71, 0)) 1;
  border-top: 1px solid;
  border-inline: 0;
}
.content table {
  border-collapse: collapse;
  margin-block-start: 1rem;
  text-align: start;
}
@media (min-width: 744px) {
  .content table {
    margin-block-start: 2rem;
  }
}
.content th {
  border-block: 1px solid #474747;
  border-left: 1px solid #474747;
  font-weight: 500;
  padding: 0.75rem 1rem;
  text-align: start;
}
@media (min-width: 744px) {
  .content th {
    padding: 1rem 1.375rem;
  }
}
.content td {
  border-left: 1px solid #474747;
  padding: 3px 1rem;
}
@media (min-width: 744px) {
  .content td {
    padding: 4px 1.375rem;
  }
}
.content th:last-child,
.content td:last-child {
  border-right: 1px solid #474747;
}
.content tr:first-child td {
  padding-top: 0.75rem;
}
@media (min-width: 744px) {
  .content tr:first-child td {
    padding-top: 1rem;
  }
}
.content tr:last-child td {
  border-bottom: 1px solid #474747;
  padding-bottom: 0.75rem;
}
@media (min-width: 744px) {
  .content tr:last-child td {
    padding-bottom: 1rem;
  }
}
.content td[colspan="2"] {
  border-top: 1px solid #474747;
  padding: 1rem;
}
@media (min-width: 744px) {
  .content td[colspan="2"] {
    padding: 1.375rem;
  }
}
.content table:has(tbody:first-child) {
  border-collapse: separate;
  border-spacing: 0 20px;
  margin-block: -12px -20px;
}
.content table:has(tbody:first-child) td {
  border: 1px solid #474747;
  padding: 1rem;
}
@media (min-width: 744px) {
  .content table:has(tbody:first-child) td {
    padding: 1.75rem 2rem;
  }
}
.content thead + tbody ul {
  --dot-color: currentColor;
  list-style: none;
  margin: 0;
  padding: 0 0 13px;
}
.content thead + tbody ul li {
  align-items: baseline;
  display: flex;
  gap: 8px;
}
.content thead + tbody ul li::before {
  background-color: var(--dot-color);
  border-radius: 50%;
  content: '';
  display: inline-block;
  padding: 4px;
}
@media (min-width: 744px) {
  .content thead + tbody ul li::before {
    padding: 5px;
  }
}
.content thead + tbody td:first-child li:nth-child(1) {
  --dot-color: #6C3120;
}
.content thead + tbody td:first-child li:nth-child(2) {
  --dot-color: #60206C;
}
.content thead + tbody td:first-child li:nth-child(3) {
  --dot-color: #AE4A1E;
}
.content .oc-text-bordered {
  border: 1px solid #474747;
  font-size: 0.75rem;
  line-height: 1rem;
  margin-block-start: 1.25rem;
  padding: 1rem;
}
@media (min-width: 744px) {
  .content .oc-text-bordered {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-block-start: 2rem;
    padding: 1.75rem 2rem;
  }
}
.content a {
  color: #c6a565;
}
.content .oc-link-strong {
  display: block;
  padding-inline: 1.625rem;
  text-align: center;
}
.content .oc-link-strong:not(:first-child) {
  margin-block-start: 1.25rem;
}
@media (min-width: 744px) {
  .content .oc-link-strong {
    display: inline-block;
  }
  .content .oc-link-strong:not(:first-child) {
    margin-block-start: 2rem;
  }
}
.content blockquote {
  border-left: 2px solid #c6a565;
  font-size: 0.75rem;
  line-height: 1rem;
  margin: 1rem 0;
  padding: 0 0 0 14px;
}
@media (min-width: 744px) {
  .content blockquote {
    border-left-width: 4px;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-block: 2rem;
    max-width: 86%;
    padding-inline-start: 28px;
  }
}
.event__content ul,
.content ul[style] {
  list-style: none !important;
  margin: 0;
  padding: 0;
  text-align: start;
}
.event__content ul li,
.content ul[style] li {
  background: url("data:image/svg+xml,%3Csvg width='8' height='20' fill='%23C6A565' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.167 11.543 5.274 13 3.987 9.503 2.7 13 .782 11.543l2.776-2.384L0 8.947l.707-2.331L3.71 8.629 2.8 5h2.372L4.24 8.63l3.028-2.014L8 8.947l-3.609.212 2.776 2.384Z'/%3E%3C/svg%3E") 0 0.1em no-repeat;
  padding-inline-start: 0.875rem;
}
@media (min-width: 744px) {
  .event__content ul li,
  .content ul[style] li {
    background-size: auto 1.75rem;
    padding-inline-start: 1.25rem;
  }
}
.event__content ul em,
.content ul[style] em {
  border: 1px solid #474747;
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.625rem;
  font-style: normal;
  line-height: 0.875rem;
}
@media (min-width: 744px) {
  .event__content ul em,
  .content ul[style] em {
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 4px 8px;
  }
}
.event__content ul em + em,
.content ul[style] em + em {
  margin-left: 8px;
}
.event__content ul li {
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='20' fill='%2329282d' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.167 11.543 5.274 13 3.987 9.503 2.7 13 .782 11.543l2.776-2.384L0 8.947l.707-2.331L3.71 8.629 2.8 5h2.372L4.24 8.63l3.028-2.014L8 8.947l-3.609.212 2.776 2.384Z'/%3E%3C/svg%3E");
}
.event__content li + li,
.content li + li {
  margin-block-start: 0.5rem;
}
@media (min-width: 744px) {
  .event__content li + li,
  .content li + li {
    margin-block-start: 1rem;
  }
}
@media (min-width: 744px) {
  .content iframe {
    height: 292px;
  }
}
/* MARK: Contact */
.content--contact {
  border-top: 1px solid #474747;
  margin-inline: var(--container-padding);
  padding-block-start: 1.5rem;
}
@media (min-width: 744px) {
  .content--contact {
    padding-block-start: 3.25rem;
  }
}
.content div.contact-emails table:has(td) {
  border-collapse: collapse;
  display: block;
  margin: 1rem 0 2.5rem;
  max-width: 784px;
  width: 100%;
}
@media (min-width: 744px) {
  .content div.contact-emails table:has(td) {
    display: table;
    margin-block: 2rem 5rem;
  }
}
.contact-emails tbody {
  display: block;
}
@media (min-width: 744px) {
  .contact-emails tbody {
    display: table-row-group;
  }
}
.contact-emails tr {
  display: grid;
  gap: 1rem;
}
@media (min-width: 744px) {
  .contact-emails tr {
    display: table-row;
  }
}
.content .contact-emails tbody tr td {
  box-sizing: border-box;
  padding: 0.75rem 0;
  width: 100% !important;
}
@media (min-width: 744px) {
  .content .contact-emails tbody tr td {
    padding-block: 1rem;
    width: auto !important;
  }
}
.content .contact-emails tbody tr td > *:not(hr) {
  padding-inline: 1rem;
}
@media (min-width: 744px) {
  .content .contact-emails tbody tr td > *:not(hr) {
    padding-inline: 1.375rem;
  }
}
.contact-emails p + p {
  margin-block-start: 0.375rem;
}
@media (min-width: 744px) {
  .contact-emails p + p {
    margin-block-start: 0.5rem;
  }
}
@media (min-width: 744px) {
  .contact-emails hr ~ * {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem auto 2.5rem;
  max-width: 74rem;
  text-align: start;
}
@media (min-width: 744px) {
  .contact-socials {
    gap: 1.5rem;
    margin-block-end: 5rem;
  }
}
.contact-socials .home-link {
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23C6A565' d='M0 0h44v44H0z'/%3E%3Cpath fill='%23000' fill-opacity='.2' d='M0 0h44v44H0z'/%3E%3Cpath d='M16 16v2h8.59L15 27.59 16.41 29 26 19.41V28h2V16H16Z' fill='%2329282D'/%3E%3C/svg%3E");
  border: 1px solid #474747;
  background-color: transparent;
  color: inherit;
}
/* MARK: Documents */
.page-docs main {
  padding-block-start: 4rem;
}
@media (min-width: 744px) {
  .page-docs main {
    padding-block-start: 5rem;
  }
}
@media (min-width: 1280px) {
  .page-docs main {
    padding-block-start: 6.25rem;
  }
}
.documents__list {
  font-family: Canela, 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', Pserif;
  list-style: none;
  margin: 1.5rem auto 0;
  max-width: 36.5rem;
  padding: 0 var(--container-padding);
  text-align: start;
}
@media (min-width: 744px) {
  .documents__list {
    margin-block-start: 3rem;
  }
}
.documents__item + .documents__item {
  margin-block-start: 1rem;
}
@media (min-width: 744px) {
  .documents__item + .documents__item {
    margin-block-start: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .documents__item + .documents__item {
    margin-block-start: 1rem;
  }
}
.documents__link {
  align-items: flex-start;
  border: 1px solid #474747;
  color: inherit;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
  text-decoration: none;
}
@media (min-width: 744px) {
  .documents__link {
    padding: 1.375rem 1.5rem;
  }
}
.documents__link[target]::after {
  background: url('../themes/lepekhin-museum/assets/images/icons/arrow-diagonal.svg') center / 24px no-repeat #c6a565;
  content: '';
  display: inline-block;
  padding: 22px;
}
/* MARK: Errors */
.container--error {
  box-sizing: border-box;
  padding: 1.5rem var(--container-padding) 0;
}
@media (min-width: 744px) {
  .container--error {
    padding-block-start: 5rem;
  }
}
@media (min-width: 1280px) {
  .container--error {
    padding-block-start: 6.25rem;
  }
}
.container--error img {
  margin-block-end: 1rem;
  vertical-align: middle;
}
@media (min-width: 744px) {
  .container--error img {
    margin-block-end: 1.5rem;
  }
}
.container--error p {
  margin: 0.5rem auto 1.5rem;
  max-width: 30rem;
}
@media (min-width: 744px) {
  .container--error p {
    margin-block-end: 2rem;
  }
}
.container--error .btn {
  display: inline-block;
}
/* MARK: About */
.content--about {
  padding-inline: var(--container-padding);
}
.content--about > *:not(h2) {
  text-align: start;
}
.content--about > h2 {
  border-image: linear-gradient(to right, rgba(71, 71, 71, 0), #474747, rgba(71, 71, 71, 0)) 1;
  border-style: solid;
  border-width: 0 0 1px;
  padding-block-end: 1rem;
}
@media (min-width: 1280px) {
  .content--about > h2 {
    font-size: 3rem;
    line-height: 3.5rem;
    padding-block-end: 1.5rem;
  }
}
.content--about > p:has(img) + p {
  margin-block-start: 1.25rem;
}
.content--about > table:has(tbody:first-child) {
  margin-block: 0;
}
@media (min-width: 744px) {
  .content--about > table:has(tbody:first-child) {
    margin-block-start: 0.75rem;
  }
}
.content--about > p + p:has(img) {
  margin-block-start: 2.5rem;
}
@media (min-width: 744px) {
  .content--about > p + p:has(img) {
    margin-block-start: 5rem;
  }
}
@media (min-width: 1280px) {
  .content--about > p + p:has(img) {
    margin-block-start: 6.25rem;
  }
}
.content--about > p:has(img) + h2 {
  margin-block: 1.25rem 1rem;
}
@media (min-width: 744px) {
  .content--about > p:has(img) + h2 {
    margin-block-start: 3rem;
  }
}
@media (min-width: 1280px) {
  .content--about > p:has(img) + h2 {
    margin-block-start: 2rem;
  }
}
.content--about > h2 + h3:not(:first-child) {
  margin-block-start: 0.5rem;
}
.content--about p + ul[style] {
  margin-block-start: 0.5rem;
}
@media (min-width: 744px) {
  .content--about p + ul[style] {
    margin-block-start: 0.75rem;
  }
}
.content--about ul + p {
  margin-block-start: 1.5rem;
}
@media (min-width: 744px) {
  .content--about ul + p {
    margin-block-start: 2.25rem;
  }
}
.content--about + .content--about {
  margin-block-start: 1.25rem;
}
@media (min-width: 744px) {
  .content--about + .content--about {
    margin-block-start: 2.75rem;
  }
}
table.about-table {
  width: 100%;
}
.about-table {
  margin-inline: auto;
  max-width: 74rem;
}
.about-table thead {
  display: none;
}
.about-table tr {
  border: 1px solid #474747;
}
.about-table tr:not([hidden]):has(td:nth-child(2)) {
  display: block;
}
.about-table tr + tr:not([hidden]) {
  border-top: 0;
}
.about-table tr td:not([hidden]) {
  border: 0;
  display: block;
  width: auto !important;
}
.about-table small {
  display: block;
  margin-block-start: 0.25rem;
}
@media (min-width: 744px) {
  .about-table small {
    margin-block-start: 0.5rem;
  }
}
.about-table td:first-child {
  padding-block-start: 0.75rem;
}
.about-table td:nth-child(3) {
  padding-block-end: 0.75rem;
}
.content--about-stolen {
  margin-block-start: 0.75rem;
}
.content--about-stolen > *:not(:has(td:nth-child(2))) {
  margin-inline: auto;
  max-width: 784px;
}
.content--about-stolen td:nth-child(2) {
  font-size: 0.75rem;
  line-height: 1rem;
}
@media (min-width: 744px) {
  .about-table thead {
    display: table-row-group;
  }
  .about-table tr:not([hidden]):has(td:nth-child(2)) {
    display: table-row;
  }
  .about-table tr td:not([hidden]) {
    display: table-cell;
  }
  .about-table tr td:nth-child(n) {
    border: 1px solid #474747;
    padding: 1rem 1.375rem;
    vertical-align: baseline;
  }
  .content--about-stolen {
    margin-block-start: 2.75rem;
  }
  .content--about-stolen table:not(:first-child) td:nth-child(2),
  .content--about-stolen table:not(:first-child) td {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .about-table td.f-t2 {
    font: inherit;
  }
}
@media (min-width: 1280px) {
  .about-table .about-table__desktop-hide {
    display: none;
  }
  .about-table__desktop-show {
    display: table-cell;
  }
  .content--about-stolen {
    margin-block-start: 5rem;
  }
}
.content--about > .about-table__expand-wrapper {
  padding: 0.75rem 1rem;
  text-align: center;
}
@media (min-width: 744px) {
  .content--about > .about-table__expand-wrapper {
    padding-block: 1rem;
  }
}
@media (min-width: 1280px) {
  .content--about > .about-table__expand-wrapper {
    padding-block: 2rem;
  }
}
.about-gallery {
  margin: 0 auto 2rem;
  max-width: calc(784px + 2 * var(--container-padding));
  position: relative;
}
.about-gallery:has(.about-gallery__controls)::after {
  background-image: linear-gradient(90deg, #29282d, transparent var(--container-padding)), linear-gradient(-90deg, #29282d, transparent var(--container-padding));
  bottom: 0;
  content: '';
  height: 2.5rem;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}
@media (min-width: 744px) {
  .about-gallery:has(.about-gallery__controls)::after {
    height: 4.625rem;
    /* 74px */
  }
}
@media (min-width: 744px) {
  .about-gallery {
    margin-block-end: 4rem;
  }
}
.about-gallery__figure {
  font-size: 0.625rem;
  line-height: 0.875rem;
  margin: 1.25rem 0 0.75rem;
  padding-inline: var(--container-padding);
}
@media (min-width: 744px) {
  .about-gallery__figure {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-block: 2rem 1.25rem;
  }
}
@media (min-width: 1280px) {
  .about-gallery__figure {
    margin-block-start: 3rem;
  }
}
.about-gallery__img {
  width: 100%;
  height: auto;
  margin-block-end: 0.5rem;
  vertical-align: middle;
}
.about-gallery__controls {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-inline: var(--container-padding);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.about-gallery__controls::-webkit-scrollbar {
  display: none;
}
@media (min-width: 744px) {
  .about-gallery__controls {
    gap: 0.75rem;
  }
}
.about-gallery__control {
  background-origin: border-box;
  background-size: cover;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  padding: 1.125rem 2rem;
}
@media (min-width: 744px) {
  .about-gallery__control {
    border-width: 3px;
    padding: 2.125rem 4rem;
  }
}
.about-gallery__control[aria-selected="true"] {
  border-color: #c6a565;
  cursor: default;
}
/* MARK: Virtual tour */
.virtual-tour-wrapper {
  margin: var(--container-padding) var(--container-padding) 0;
  min-height: calc(100vh - var(--container-padding) * 2 - var(--header-height));
}
.virtual-tour-wrapper > div > div:nth-child(2) {
  z-index: 1 !important;
}
/* MARK: Collection */
.container {
  color-scheme: light;
}
main:has(> #content) + footer .home-footer {
  margin-block-start: 0;
}
