@charset "UTF-8";
/* Built from antler/scss/antler.scss by `python manage.py build_css`; edit the SCSS, not this file. */
@font-face {
  font-family: "Jost";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/JostRegular.f3c99f0ebb39.woff2") format("woff2"), url("../fonts/JostRegular.b16e75cef452.woff") format("woff");
}

@font-face {
  font-family: "Jost";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/JostMedium.a31930c98831.woff2") format("woff2"), url("../fonts/JostMedium.14e11edade06.woff") format("woff");
}

@font-face {
  font-family: "Raleway";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/RalewayRegular.f8db8d5a1c3b.woff2") format("woff2"), url("../fonts/RalewayRegular.75bbfb53c29f.woff") format("woff");
}

@font-face {
  font-family: "Raleway";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/RalewayMedium.232dfc40dded.woff2") format("woff2"), url("../fonts/RalewayMedium.0c185002f905.woff") format("woff");
}

:root {
  --color-text: #393939;
  --color-add: #4c2b12;
  --color-olive: #798262;
  --color-green: #283618;
  --color-green-rgb: 40, 54, 24;
  --color-cream: #f5f5d3;
  --color-white: #fff;
  --font-heading: "Jost", Arial, sans-serif;
  --font-body: "Raleway", Verdana, sans-serif;
  --transition: 0.4s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
html * {
  font-feature-settings: "lnum";
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 320px;
  margin: 0;
  background-color: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
}

body.page--fixed {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

.page__main {
  display: block;
  flex: 1 0 auto;
}

@media (min-width: 1601px) {
  .page__main {
    margin-top: 80px;
  }
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip-path: inset(100%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  border: 0;
}

/* Lucide icons from templates/icons, sized by the font size of their place. */
.icon {
  display: inline-flex;
  flex: none;
  width: 1em;
  height: 1em;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.container {
  width: 100%;
  max-width: 1506px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

.section {
  overflow: hidden;
  margin-bottom: 40px;
}

.section__title {
  display: block;
  max-width: max-content;
  margin-bottom: 13px;
}

.section__title--center {
  margin-right: auto;
  margin-left: auto;
}

.section__grid--right {
  width: max-content;
}

@media (min-width: 768px) {
  .container {
    padding-right: 60px;
    padding-left: 60px;
  }
  .section {
    margin-bottom: 80px;
  }
  .section__title {
    margin-bottom: 30px;
  }
  .section__grid--right {
    margin-left: auto;
  }
}

@media (min-width: 1326px) {
  .container {
    padding-right: 100px;
    padding-left: 100px;
  }
  .section {
    margin-bottom: 100px;
  }
}

@media (min-width: 1601px) {
  .container {
    padding-right: 80px;
    padding-left: 80px;
  }
  .section {
    margin-bottom: 150px;
  }
  .section__title {
    margin-bottom: 40px;
  }
}

.title-h1 {
  font: 500 28px/40px var(--font-heading);
}

.title-h2 {
  font: 500 24px/1.45 var(--font-heading);
}

.title-h3 {
  font: 400 20px/1.44 var(--font-heading);
  letter-spacing: 0.03em;
}

.title-h4 {
  font: 400 18px/1.4 var(--font-heading);
  letter-spacing: 0.03em;
}

.title-h5 {
  font: 400 18px/1.4 var(--font-heading);
  letter-spacing: 0.03em;
}

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

.title-h3--style-color-white,
.title-h5--style-color-white {
  color: var(--color-white);
}

.title-h3--style-color-add {
  color: var(--color-add);
}

.subtitle {
  font: 500 15px/1.6 var(--font-body);
  letter-spacing: 0.03em;
}

.text-default {
  font: 400 13px/1.6 var(--font-body);
  letter-spacing: 0.03em;
}

.text-default--style-color-add {
  color: var(--color-add);
}

.text-default--style-color-white {
  color: var(--color-white);
}

.text-secondary {
  font: 400 10px/1.6 var(--font-body);
  letter-spacing: 0.03em;
}

.text--nowrap {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .title-h1 {
    font-size: 32px;
    line-height: 46px;
  }
  .title-h2 {
    font-size: 28px;
  }
  .title-h3 {
    font-size: 22px;
  }
  .title-h4,
.title-h5 {
    font-size: 20px;
  }
  .subtitle {
    font-size: 17px;
  }
  .text-secondary {
    font-size: 12px;
  }
}

@media (min-width: 1326px) {
  .title-h1 {
    font-size: 40px;
    line-height: 58px;
  }
  .title-h2 {
    font-size: 32px;
  }
  .title-h3 {
    font-size: 24px;
  }
  .title-h4 {
    line-height: 29px;
  }
  .subtitle {
    font-size: 18px;
  }
  .text-default {
    font-size: 14px;
    line-height: 1.8;
  }
}

@media (min-width: 1601px) {
  .title-h1 {
    font-size: 48px;
    line-height: 69px;
  }
  .title-h2 {
    font-size: 40px;
  }
  .title-h3 {
    font-size: 26px;
  }
  .title-h4,
.title-h5 {
    font-size: 22px;
    line-height: 32px;
  }
  .subtitle {
    font-size: 20px;
  }
  .text-default {
    font-size: 16px;
  }
  .text-secondary {
    font-size: 14px;
  }
}

/* Text from the editor (rich text of pages). */
.ustyle {
  overflow-wrap: break-word;
}

.ustyle p {
  font: 400 13px/1.6 var(--font-body);
  letter-spacing: 0.03em;
}

.ustyle h1 {
  font: 500 28px/40px var(--font-heading);
}

.ustyle h2 {
  font: 500 24px/1.45 var(--font-heading);
}

.ustyle h3 {
  font: 400 20px/1.44 var(--font-heading);
  letter-spacing: 0.03em;
}

.ustyle h4 {
  font: 400 18px/1.4 var(--font-heading);
  letter-spacing: 0.03em;
}

.ustyle h5 {
  font: 400 18px/1.4 var(--font-heading);
  letter-spacing: 0.03em;
}

.ustyle h6 {
  font: 400 14px/1.4 var(--font-body);
  letter-spacing: 0.03em;
}

.ustyle ul,
.ustyle ol {
  max-width: max-content;
  font: 400 12px/1.78 var(--font-body);
  letter-spacing: 0.03em;
}

.ustyle ol {
  counter-reset: ol;
}

.ustyle li {
  position: relative;
  margin-bottom: 1.2em;
}

.ustyle li:last-child {
  margin-bottom: 0;
}

.ustyle ul li {
  padding-left: 12px;
}

.ustyle ul li::before {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 5px;
  height: 1px;
  background-color: currentColor;
  content: "";
}

.ustyle ol li {
  counter-increment: ol;
}

.ustyle ol li::before {
  display: inline-block;
  margin-right: 5px;
  content: counters(ol, ".") ".";
}

.ustyle b,
.ustyle strong {
  font-weight: 600;
}

.ustyle em,
.ustyle i {
  font-style: italic;
}

.ustyle a {
  line-height: 1.2;
  text-decoration: underline;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.ustyle a[href^="tel:"],
.ustyle a[href^="mailto:"] {
  white-space: nowrap;
}

.ustyle img {
  margin: 1.5em 0;
}

.ustyle h1 + p {
  margin-top: 0.89em;
}

.ustyle h2 + p,
.ustyle h3 + p {
  margin-top: 0.9em;
}

.ustyle h4 + p,
.ustyle h5 + p,
.ustyle h6 + p {
  margin-top: 1em;
}

.ustyle h1 + ul,
.ustyle h1 + ol,
.ustyle h2 + ul,
.ustyle h2 + ol,
.ustyle h3 + ul,
.ustyle h3 + ol {
  margin-top: 0.9em;
}

.ustyle h4 + ul,
.ustyle h4 + ol,
.ustyle h5 + ul,
.ustyle h5 + ol,
.ustyle h6 + ul,
.ustyle h6 + ol {
  margin-top: 1em;
}

.ustyle p + h2 {
  margin-top: 1.15em;
}

.ustyle p + h3 {
  margin-top: 1.37em;
}

.ustyle p + h4 {
  margin-top: 2.15em;
}

.ustyle p + h5 {
  margin-top: 2.55em;
}

.ustyle p + h6 {
  margin-top: 2.8em;
}

.ustyle p + p {
  margin-top: 1.5em;
}

.ustyle p + ul,
.ustyle p + ol {
  margin-top: 1.55em;
}

.ustyle ul + p,
.ustyle ol + p {
  margin-top: 1.6em;
}

.ustyle ul + h2,
.ustyle ul + h3,
.ustyle ul + h4,
.ustyle ol + h2,
.ustyle ol + h3,
.ustyle ol + h4 {
  margin-top: 0.6em;
}

@media (min-width: 405px) {
  .ustyle a {
    position: relative;
    display: inline-block;
    text-decoration: none;
  }
  .ustyle a::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    border-bottom: 1px solid currentColor;
    transition: var(--transition);
    content: "";
  }
  .ustyle a:hover,
.ustyle a:focus {
    opacity: 0.8;
  }
  .ustyle a:hover::after,
.ustyle a:focus::after {
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .ustyle h1 {
    font-size: 32px;
    line-height: 46px;
  }
  .ustyle h2 {
    font-size: 28px;
  }
  .ustyle h3 {
    font-size: 22px;
  }
  .ustyle h4,
.ustyle h5 {
    font-size: 20px;
  }
  .ustyle h6 {
    font-size: 16px;
  }
  .ustyle ul,
.ustyle ol {
    font-size: 13px;
  }
  .ustyle li {
    margin-bottom: 1.5em;
  }
  .ustyle ul li::before {
    top: 11px;
  }
  .ustyle ul + p,
.ustyle ol + p {
    margin-top: 2.6em;
  }
}

@media (min-width: 1326px) {
  .ustyle p {
    font-size: 14px;
    line-height: 1.8;
  }
  .ustyle h1 {
    font-size: 40px;
    line-height: 58px;
  }
  .ustyle h2 {
    font-size: 32px;
  }
  .ustyle h3 {
    font-size: 24px;
  }
  .ustyle h4 {
    line-height: 29px;
  }
  .ustyle h6 {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (min-width: 1601px) {
  .ustyle p {
    font-size: 16px;
  }
  .ustyle h1 {
    font-size: 48px;
    line-height: 69px;
  }
  .ustyle h2 {
    font-size: 40px;
  }
  .ustyle h3 {
    font-size: 26px;
  }
  .ustyle h4,
.ustyle h5 {
    font-size: 22px;
    line-height: 32px;
  }
  .ustyle h6 {
    font-size: 20px;
  }
  .ustyle ul,
.ustyle ol {
    font-size: 14px;
  }
  .ustyle ul li::before {
    top: 12px;
  }
  .ustyle h2 + p,
.ustyle h3 + p {
    margin-top: 1.6em;
  }
  .ustyle h4 + p {
    margin-top: 1.2em;
  }
}

/* «Подробнее»: text with a short line under it that stretches on hover. */
.link-more {
  position: relative;
  overflow: hidden;
  display: inline-block;
  max-width: max-content;
  color: var(--color-add);
  font: 400 14px/1.2 var(--font-heading);
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.link-more::after {
  display: block;
  width: 55%;
  height: 1px;
  margin-top: 10px;
  background-color: currentColor;
  border-bottom: 1px solid currentColor;
  transition: width var(--transition);
  content: "";
}

.link-more:hover::after,
.link-more:focus::after {
  width: 100%;
}

.link-more--style-color-white {
  color: var(--color-white);
}

@media (min-width: 768px) {
  .link-more {
    font-size: 16px;
  }
  .link-more::after {
    width: 66%;
    margin-top: 11px;
  }
}

@media (min-width: 1024px) {
  .link-more {
    font-size: 18px;
  }
  .link-more::after {
    width: 55%;
  }
}

@media (min-width: 1326px) {
  .link-more {
    font-size: 20px;
  }
  .link-more::after {
    width: 50%;
    margin-top: 12px;
  }
}

/* Section title as a link: a line slides in under it on hover. */
.link-border-start {
  position: relative;
  overflow: hidden;
  display: block;
  max-width: max-content;
  color: var(--color-text);
  transition: var(--transition);
}

.link-border-start::before {
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0.8;
  transition: left var(--transition);
  content: "";
}

.link-border-start:hover::before,
.link-border-start:focus::before {
  left: 0;
}

.link-border-start--style-white {
  color: var(--color-white);
}

/* Card title as a link: underlined until hovered. */
.link-title {
  max-width: max-content;
  transition: var(--transition);
}

.link-title--style-color-white {
  color: var(--color-white);
}

.link-title--style-color-accent {
  color: var(--color-green);
}

.link-border-out {
  display: inline;
  border-bottom: 1px solid;
  transition: var(--transition);
}

.link-title:hover .link-border-out,
.link-border-out:hover {
  border-bottom-color: transparent;
}

.link-underline {
  max-width: max-content;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-decoration: underline;
  transition: var(--transition);
}

.link-underline--style-color-hf {
  color: var(--color-white);
}

.link-underline--style-color-accent-text {
  color: var(--color-text);
}

@media (min-width: 405px) {
  .link-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
  }
  .link-underline::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    border-bottom: 1px solid currentColor;
    transition: var(--transition);
    content: "";
  }
  .link-underline:hover,
.link-underline:focus {
    opacity: 0.8;
  }
  .link-underline:hover::after,
.link-underline:focus::after {
    opacity: 0;
  }
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: max-content;
  padding: 12px 18px;
  color: var(--color-white);
  background-color: var(--color-olive);
  font: 400 14px/1.2 var(--font-heading);
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: var(--transition);
}

.button-big {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: max-content;
  padding: 12px;
  font: 500 12px/1.2 var(--font-heading);
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: var(--transition);
}

.button-big--style-hf {
  color: var(--color-add);
  background-color: var(--color-white);
}

.button:hover,
.button:focus,
.button-big:hover,
.button-big:focus {
  opacity: 0.8;
}

/* Square slider arrow. */
.button-arrow {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 19px;
  line-height: 1;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  transition: var(--transition);
}

.button-arrow .icon svg {
  stroke-width: 1.25;
}

.button-arrow--style-in-black-background {
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.6);
}

.button-arrow--style-white {
  color: var(--color-white);
}

.button-arrow--style-base {
  color: var(--color-white);
  background-color: var(--color-olive);
}

.button-arrow--style-base-text-to-white {
  color: var(--color-white);
}

.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .button-big {
    padding: 13px 22px;
    font-size: 14px;
  }
  .button-arrow {
    width: 35px;
    height: 35px;
  }
  .button-arrow--style-base {
    color: var(--color-text);
    background-color: transparent;
  }
}

@media (min-width: 1024px) {
  .button {
    padding: 11px 26px;
    font-size: 15px;
  }
}

@media (min-width: 1326px) {
  .button-arrow {
    width: 30px;
    height: 30px;
    font-size: 25px;
  }
  .button-arrow:hover {
    transform: scale(1.2);
  }
  .button-arrow--style-in-black-background {
    background-color: transparent;
  }
  .button-arrow--style-base-text-to-white {
    color: var(--color-text);
  }
}

@media (min-width: 1367px) {
  .button {
    padding: 15px 27px;
    font-size: 18px;
  }
  .button-big {
    padding: 16px 42px;
    font-size: 18px;
  }
}

@media (min-width: 1600px) {
  .button-big {
    padding: 19px 50px;
  }
}

.header {
  position: relative;
  z-index: 15;
}

/* Inner pages keep room for the fixed header; on the home page it covers the slider. */
.header--inner {
  flex: none;
  min-height: 70px;
}

.header__top-block {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  min-width: 320px;
}

.header__top {
  position: relative;
  z-index: 16;
  background-color: rgba(var(--color-green-rgb), 0.7);
  transition: background-color var(--transition);
}

.header__top-block--scrolled .header__top {
  background-color: rgba(var(--color-green-rgb), 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header__top-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-column-gap: 20px;
  align-items: center;
  min-height: 70px;
}

.header__top-block--scrolled .header__top-container {
  grid-template-columns: 1fr auto;
}

.header__content {
  display: grid;
  grid-auto-flow: column;
  grid-column-gap: 20px;
  align-items: center;
}

.header__content--left {
  justify-content: start;
  order: 1;
}

.header__top-block--scrolled .header__content--left {
  display: none;
}

.header__content--right {
  justify-content: end;
  justify-items: end;
  order: 2;
}

.link--logo {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  max-width: max-content;
  max-height: 60px;
}

.header__logo {
  height: 50px;
  max-width: 100px;
  object-fit: contain;
  object-position: left;
}

/* Phone: a round button on phones, the number itself from 1326px. */
.link--phone {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color var(--transition);
}

.link--phone:hover,
.link--phone:focus {
  color: rgba(255, 255, 255, 0.6);
}

.header__contacts-phone {
  display: flex;
  align-items: center;
}

.header__contacts-phone-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.header__contacts-phone-link span {
  display: none;
}

.link--address {
  max-width: 360px;
  min-width: 240px;
  color: var(--color-white);
  transition: var(--transition);
}

.link--address:hover,
.link--address:focus {
  opacity: 0.6;
}

.header__contacts-address {
  display: none;
  max-width: 310px;
}

.header__button-booking {
  display: none;
}

.header__top-block--scrolled .header__button-booking {
  display: flex;
}

.header__lk {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-white);
}

.header__lk-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.header__lk-link-text {
  display: none;
  font-size: 13px;
  line-height: 1.2;
}

.header__top-block--scrolled .header__lk {
  display: none;
}

.button-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  color: var(--color-white);
  background-color: transparent;
  font-size: 16px;
  line-height: 1;
  border: 0;
  cursor: pointer;
  transition: var(--transition);
}

.button-menu:hover,
.button-menu:focus {
  opacity: 0.8;
}

.button-menu__icon--close,
.header__navigation--open-menu .button-menu__icon--open {
  display: none;
}

.header__top-block--menu-open .button-menu__icon--open {
  display: none;
}

.header__top-block--menu-open .button-menu__icon--close {
  display: inline-flex;
}

/* Navigation: a bar under the top line from 1326px, a full-screen panel behind the button below. */
.header__navigation {
  position: relative;
  z-index: 15;
  display: flex;
  align-items: center;
  background-color: rgba(var(--color-green-rgb), 0.8);
  transition: min-height var(--transition);
}

.header--inner .header__navigation,
.header__top-block--scrolled .header__navigation {
  background-color: var(--color-green);
}

.header__menu {
  display: none;
}

.menu__item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu__link {
  display: inline-flex;
  align-items: center;
  color: var(--color-white);
  font: 500 12px/2 var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.menu__link--active,
.menu__link:hover,
.menu__link:focus {
  color: rgba(255, 255, 255, 0.6);
}

.menu__link--submenu {
  position: relative;
  padding-right: 15px;
}

.menu__arrow {
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  transform: translateY(-50%) rotate(-90deg);
}

.menu__arrow svg {
  stroke-width: 2;
}

.submenu__link {
  display: inline-block;
  padding: 5px 0;
  color: var(--color-white);
  font: 500 12px/2 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.submenu__link--active,
.submenu__link:hover,
.submenu__link:focus {
  color: rgba(255, 255, 255, 0.6);
}

/* Open menu panel (below 1326px). */
.header__navigation--open-menu {
  overflow-y: auto;
  align-items: flex-start;
  min-height: calc(100vh - 70px);
  max-height: calc(100vh - 70px);
  padding-top: 35px;
  padding-bottom: 40px;
  background-color: var(--color-green);
}

.header__menu--show {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: minmax(175px, 40%);
}

.header__menu--show .menu__item {
  margin-bottom: 10px;
}

.header__menu--show .menu__link {
  padding-top: 5px;
  padding-bottom: 5px;
  white-space: break-spaces;
}

.header__menu--show .menu__sub {
  position: absolute;
  top: -36px;
  left: 100%;
  display: inline-grid;
  padding-left: 40px;
  transform: scale(0, 1);
  transform-origin: left;
  transition: transform var(--transition);
}

.header__menu--show .menu__item--submenu-show .menu__sub {
  transform: scale(1, 1);
}

.header__menu--show .submenu__item {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
}

/* Below 1326px the dropdown lives in the menu panel; from 1326px it opens on hover. */
@media (max-width: 1325px) {
  .header__menu:not(.header__menu--show) .menu__sub {
    display: none;
  }
}

.header__contacts-mobile {
  display: none;
}

.header__navigation--open-menu .header__contacts-mobile {
  display: grid;
  justify-items: start;
  gap: 20px;
  margin-top: 30px;
}

.header__navigation--open-menu .header__contacts-mobile .link--address {
  min-width: 0;
}

@media (min-width: 768px) {
  .header--inner {
    min-height: 160px;
  }
  .header__top-container {
    grid-template-columns: 1fr auto 1fr;
    min-height: 80px;
  }
  .header__top-block--scrolled .header__top-container {
    grid-template-columns: 1fr auto 1fr;
  }
  .header__content--left,
.header__content--right {
    order: 0;
  }
  .header__top-block--scrolled .header__content--left {
    display: grid;
  }
  .header__content--right {
    gap: 40px;
  }
  .header__content--left .header__contacts-phone {
    display: none;
  }
  .link--logo {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    max-height: 90px;
    padding: 10px 0;
  }
  .header__logo {
    height: 80px;
    max-width: 120px;
    max-height: 60px;
    object-position: center;
  }
  .header__lk-icon {
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .header__lk-link-text {
    display: flex;
  }
  .button-menu {
    font-size: 22px;
  }
  .header__navigation {
    min-height: 80px;
  }
  .header__top-block--scrolled .header__navigation:not(.header__navigation--open-menu) {
    overflow: hidden;
    min-height: 0;
  }
  .header__navigation-container {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .header__top-block--scrolled .header__navigation:not(.header__navigation--open-menu) .header__navigation-container {
    display: none;
  }
  .header__contacts-mobile {
    display: grid;
    grid-template-columns: auto 1fr;
    justify-items: end;
    align-items: center;
    min-height: 46px;
  }
  .header__contacts-mobile .link--phone {
    font-size: 13px;
  }
  .header__contacts-mobile .link--address {
    margin-left: 20px;
    text-align: right;
  }
  .header__navigation--open-menu {
    min-height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    padding-top: 90px;
    padding-bottom: 100px;
  }
  .header__navigation--open-menu .header__navigation-container {
    padding-top: 0;
    padding-bottom: 20px;
  }
  .header__menu--show {
    grid-auto-columns: min-content;
  }
  .header__menu--show .menu__item {
    margin-bottom: 20px;
  }
  .header__menu--show .menu__link {
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
  }
  .header__menu--show .menu__link--submenu {
    padding-right: 25px;
  }
  .header__menu--show .menu__sub {
    top: -50px;
    padding-left: 52px;
  }
  .header__menu--show .submenu__link {
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
  }
  .header__navigation--open-menu .header__contacts-mobile {
    grid-template-columns: auto;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .header__navigation--open-menu .header__contacts-mobile .link--address {
    margin-left: 0;
    text-align: left;
  }
}

@media (min-width: 1326px) {
  .header--inner {
    min-height: 130px;
  }
  .header__top-container {
    grid-column-gap: 40px;
  }
  .header__content {
    grid-column-gap: 40px;
  }
  .header__content--left .header__contacts-phone {
    display: flex;
  }
  .header__contacts-phone-link {
    width: auto;
    height: auto;
    font-size: 14px;
    border: 0;
    border-radius: 0;
  }
  .header__contacts-phone-link .icon {
    display: none;
  }
  .header__contacts-phone-link span {
    display: inline;
  }
  .link--address {
    max-width: 300px;
  }
  .header__contacts-address {
    display: block;
    max-width: 310px;
  }
  .header__top-block--scrolled .header__contacts-address {
    display: none;
  }
  .header__logo {
    max-width: 160px;
  }
  .header__lk-link-text {
    font-size: 14px;
  }
  .header__top-block--scrolled .header__lk {
    display: flex;
  }
  .header__button-menu {
    display: none;
  }
  .header__navigation,
.header__top-block--scrolled .header__navigation:not(.header__navigation--open-menu) {
    overflow: visible;
    min-height: 0;
  }
  .header__navigation-container,
.header__top-block--scrolled .header__navigation:not(.header__navigation--open-menu) .header__navigation-container {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }
  .header__menu {
    display: grid;
    grid-auto-columns: min-content;
    grid-auto-flow: column dense;
    justify-content: space-between;
    align-items: center;
  }
  .menu__item {
    min-height: 50px;
  }
  .menu__link {
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
  }
  .menu__arrow {
    width: 7px;
    height: 7px;
    transform: translateY(-50%);
  }
  .header__menu .menu__sub {
    position: absolute;
    top: 100%;
    left: -33px;
    display: block;
    min-width: 150px;
    padding: 20px 30px;
    background-color: var(--color-white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition);
  }
  .menu__item--submenu:hover .menu__sub,
.menu__item--submenu:focus-within .menu__sub {
    transform: scaleY(1);
  }
  .submenu__item {
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .submenu__item:last-child {
    margin-bottom: 0;
  }
  .menu__item--submenu:hover .submenu__item,
.menu__item--submenu:focus-within .submenu__item {
    opacity: 1;
  }
  .submenu__item--mobile {
    display: none;
  }
  .submenu__link {
    padding: 0;
    color: var(--color-add);
    font-size: 12px;
    line-height: 1.6;
  }
  .submenu__link--active,
.submenu__link:hover,
.submenu__link:focus {
    color: rgba(76, 43, 18, 0.6);
  }
  .header__contacts-mobile {
    display: none;
  }
}

@media (min-width: 1601px) {
  .header--inner {
    min-height: 160px;
  }
  .header__top-container {
    min-height: 90px;
  }
  .header__content {
    grid-column-gap: 60px;
  }
  .header__content--right {
    gap: 60px;
  }
  .header__contacts-phone-link {
    font-size: 16px;
  }
  .header__logo {
    max-width: 200px;
    max-height: 80px;
  }
  .header__lk-icon {
    width: 60px;
    height: 60px;
    padding: 16px;
  }
  .menu__item {
    min-height: 70px;
  }
  .menu__link {
    font-size: 14px;
  }
  .menu__link--submenu {
    padding-right: 19px;
  }
  .menu__arrow {
    width: 9px;
    height: 9px;
  }
  .header__menu .menu__sub {
    left: -50px;
    min-width: 220px;
    padding: 30px 50px 25px;
  }
  .submenu__link {
    font-size: 14px;
  }
}

.section--slider {
  position: relative;
  margin-top: 70px;
}

.slider--main {
  position: relative;
  overflow: hidden;
  max-height: 1080px;
}

.slider__main-item {
  position: relative;
  height: auto;
}

.slider__picture {
  position: relative;
  height: calc(100vh - 70px);
  max-height: 1080px;
}

/* On phones the search form follows the slider, and both fit the screen together. */
.section--slider:has(.search-form) .slider__picture {
  height: calc(100vh - 70px - 179px);
}

.slider__picture::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
  content: "";
}

.slider__img,
.slider__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__content {
  position: absolute;
  top: 55%;
  right: 0;
  left: 0;
  z-index: 2;
  color: var(--color-white);
  transform: translateY(-50%);
}

.slider__content-title {
  max-width: 900px;
  font: 400 22px/34px var(--font-heading);
  text-transform: uppercase;
}

.slider__content-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 1045px;
  color: var(--color-white);
  font: 500 15px/1.6 var(--font-body);
  letter-spacing: 0.03em;
}

@media (max-width: 360px) {
  .slider__content-description {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .slider__content-description {
    -webkit-line-clamp: 3;
    font-size: 17px;
  }
}

@media (min-width: 1326px) {
  .slider__content-description {
    display: block;
    font-size: 18px;
  }
}

@media (min-width: 1601px) {
  .slider__content-description {
    font-size: 20px;
  }
}

.slider-main-navigation {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  height: max-content;
}

/* TravelLine search form (drawn by its script): under the slider, under the header on inner pages. */
.search-form {
  position: relative;
  z-index: 3;
  min-height: 94px;
}

.search-form--inner + .page__main {
  margin-top: 60px;
}

@media (min-width: 416px) {
  .slider__content-title {
    margin-bottom: 15px;
    font-size: 26px;
    line-height: 40px;
  }
}

@media (min-width: 768px) {
  .section--slider {
    margin-top: 0;
  }
  .slider__picture,
.section--slider:has(.search-form) .slider__picture {
    height: 100vh;
  }
  .slider-main-navigation {
    right: 60px;
    bottom: 60px;
  }
}

@media (min-width: 1024px) {
  .slider__content-title {
    font-size: 42px;
    line-height: 64px;
  }
}

@media (min-width: 1326px) {
  .slider__content {
    top: 54%;
  }
  .slider__content-title {
    font-size: 54px;
    line-height: 78px;
  }
  .slider-main-navigation {
    top: 125px;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: space-between;
    width: 96%;
    margin: auto;
  }
  .section--slider .search-form {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  }
}

@media (min-width: 1601px) {
  .slider__content-title {
    margin-bottom: 34px;
    font-size: 72px;
    line-height: 90px;
  }
  .slider-main-navigation {
    top: 75px;
    width: 92%;
  }
}

.about {
  overflow: hidden;
  display: grid;
  grid-template-columns: 100%;
  grid-row-gap: 40px;
}

.about--one-column {
  grid-template-columns: 100%;
}

.about__picture {
  position: relative;
  height: 100%;
  max-height: 340px;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 24px;
}

.about__title-inline {
  display: inline;
}

.about__description p,
.about__description div {
  display: inline;
}

.about__link-more {
  margin-top: 32px;
}

@media (max-width: 360px) {
  .about__picture {
    max-height: 290px;
  }
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
  }
  .about--reverse .about__picture {
    order: 2;
  }
  .about__picture {
    max-height: 406px;
  }
  .about__title {
    margin-bottom: 30px;
  }
  .about__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
  }
  .about__link-more {
    margin-top: 40px;
  }
}

@media (min-width: 1326px) {
  .about {
    grid-column-gap: 119px;
  }
  .about__picture {
    max-height: 420px;
  }
  .about__link-more {
    margin-top: 33px;
  }
}

@media (min-width: 1601px) {
  .about {
    grid-template-columns: minmax(474px, 526px) 1fr;
    grid-column-gap: 157px;
  }
  .about__picture {
    max-height: 526px;
  }
  .about__title {
    margin-bottom: 40px;
  }
  .about__link-more {
    margin-top: 40px;
  }
}

.advantages__title {
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
  text-align: center;
}

.advantages__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.advantages__item {
  width: 120px;
  text-align: center;
}

.advantages__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  color: var(--color-olive);
  font-size: 36px;
  border: 1px solid var(--color-olive);
  border-radius: 50%;
}

.advantages__icon svg {
  stroke-width: 1.25;
}

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

.advantages__description .link-title {
  color: var(--color-add);
}

.advantages__text {
  margin-top: 8px;
  color: var(--color-text);
  text-align: center;
}

@media (min-width: 361px) {
  .advantages__title {
    margin-bottom: 40px;
  }
}

@media (min-width: 550px) {
  .advantages__item {
    width: 140px;
  }
}

@media (min-width: 767px) {
  .advantages__icon {
    margin-bottom: 24px;
  }
}

@media (min-width: 769px) {
  .advantages__item {
    width: 201px;
  }
  .advantages__icon {
    width: 80px;
    height: 80px;
  }
  .advantages__text {
    margin-top: 16px;
  }
}

@media (min-width: 991px) {
  .advantages__title {
    margin-bottom: 48px;
  }
}

@media (min-width: 1367px) {
  .advantages__title {
    max-width: 100%;
  }
  .advantages__items {
    flex-wrap: nowrap;
    max-width: 100%;
  }
}

@media (min-width: 1415px) {
  .advantages__item {
    width: 237px;
  }
  .advantages__icon {
    width: 100px;
    height: 100px;
    font-size: 46px;
  }
}

@media (min-width: 1601px) {
  .advantages__icon {
    margin-bottom: 32px;
  }
}

.card__slider {
  position: relative;
  height: max-content;
}

.card__slide-wrapper {
  height: auto;
}

.card__slide {
  position: relative;
}

.card__slide-picture {
  overflow: hidden;
}

.card__slide-img,
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__slide-content {
  overflow: hidden;
  text-align: left;
  background-color: var(--color-cream);
}

.card__slide-content-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 24px;
  color: var(--color-text);
}

.card__slide-content-description p,
.card__slide-content-description div {
  display: inline;
}

@media (min-width: 1326px) {
  .room .card__slide-content-description {
    max-width: 350px;
  }
}

@media (min-width: 1326px) {
  .card__slide-content-description {
    margin-top: 35px;
  }
}

@media (min-width: 1601px) {
  .card__slide-content-description {
    margin-top: 47px;
  }
}

.event {
  position: relative;
  color: var(--color-white);
}

.event__container {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.event__container--top {
  top: 15%;
}

.event__container--bottom {
  bottom: 40px;
}

.card__slide--overlay {
  height: 420px;
}

.card__slide-picture--overlay {
  height: 100%;
}

.card__slide-content--overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.event__content-container {
  display: flex;
  flex-direction: column;
  padding: 210px 20px 10px;
}

.event__title-link {
  display: block;
  margin-bottom: 17px;
}

.event__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-width: 410px;
}

.event__description p,
.event__description div {
  display: inline;
}

.event__slider .card__slider-button {
  position: absolute;
  top: 143px;
  z-index: 2;
}

.event__slider .card__slider-button-prev {
  left: 10px;
}

.event__slider .card__slider-button-next {
  left: 123px;
}

@media (min-width: 768px) {
  .event__container {
    width: 450px;
    padding: 0 60px;
  }
  .event__container--bottom {
    bottom: 58px;
  }
  .card__slide--overlay {
    height: 360px;
  }
  .card__slide-content--overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 450px;
  }
  .event__content-container {
    width: 450px;
    max-width: 575px;
    padding: 0 60px;
  }
  .event__slider .card__slider-button {
    top: 50%;
    transform: translateY(-50%);
  }
  .event__slider .card__slider-button-prev {
    left: 18px;
  }
  .event__slider .card__slider-button-next {
    left: 398px;
  }
}

@media (min-width: 1326px) {
  .event__container {
    width: 575px;
    padding: 0 100px;
  }
  .event__container--bottom {
    bottom: 98px;
  }
  .card__slide--overlay {
    height: calc(100vw * 580 / 1920);
  }
  .card__slide-content--overlay {
    max-width: 575px;
  }
  .event__content-container {
    width: 575px;
    padding: 0 100px;
  }
  .event__slider .card__slider-button {
    top: 53%;
  }
  .event__slider .card__slider-button-prev {
    left: 35px;
  }
  .event__slider .card__slider-button-next {
    left: 510px;
  }
}

@media (min-width: 1601px) {
  .event__container {
    left: 53%;
    width: 729px;
    padding: 0;
    transform: translateX(-100%);
  }
  .event__container--top {
    top: 17%;
  }
  .event__container--bottom {
    bottom: 160px;
  }
  .card__slide-content--overlay {
    justify-content: flex-end;
    width: 53%;
    max-width: none;
  }
  .event__content-container {
    width: 729px;
    max-width: none;
    padding: 0;
  }
  .event__slider .card__slider-button-prev {
    left: 50px;
  }
  .event__slider .card__slider-button-next {
    left: calc(53% - 80px);
  }
}

@media (min-width: 1901px) {
  .event__content-container {
    position: absolute;
    top: 210px;
    right: 0;
    height: max-content;
  }
}

@media (min-width: 1921px) {
  .event__container--bottom {
    bottom: 120px;
  }
}

.slider-swiper {
  position: relative;
}

.slider-swiper__content {
  overflow: visible;
  height: max-content;
}

.slider-swiper__grid--right {
  width: max-content;
}

.slider-swiper__link-more {
  margin-top: 30px;
}

.card-content-type-1 {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  margin: 0 auto;
}

.card-content-type-1--accent {
  background: var(--color-cream);
}

.card-content-type-1__description {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  width: 100%;
  padding: 20px 20px 40px;
}

.card-content-type-1__description .link-title {
  color: var(--color-text);
}

/* «Круглый год» with a calendar in a circle, and capacities under the venue name. */
.card-content-type-1__pretitle {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  color: var(--color-text);
}

.card-content-type-1__pretitle-icon {
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  margin-right: 15px;
  padding: 8px;
  border: 1px solid;
  border-radius: 50%;
}

.card-content-type-1__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-top: 20px;
  color: var(--color-text);
}

.card-content-type-1__feature {
  display: flex;
  align-items: center;
}

.card-content-type-1__feature-icon {
  box-sizing: content-box;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  padding: 7px;
  border: 1px solid;
  border-radius: 50%;
}

.card-content-type-1__text-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 25px;
  color: var(--color-text);
}

.card-content-type-1__text-description p,
.card-content-type-1__text-description div {
  display: inline;
}

.card-content-type-1__link-more {
  margin-top: 25px;
}

.card-content-type-1__image-wrapper {
  width: 100%;
  height: calc((100vw - 40px) * 520 / 705);
}

.card-content__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-navigation {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 16px;
}

.slider-navigation__button {
  z-index: 2;
}

@media (min-width: 361px) {
  .card-content-type-1__description {
    padding: 40px;
  }
  .slider-navigation {
    margin-top: 24px;
    margin-right: 20px;
  }
}

@media (min-width: 768px) {
  .card-content-type-1 {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
  .card-content-type-1__text-description {
    -webkit-line-clamp: 2;
  }
  .card-content-type-1__image-wrapper {
    height: calc(100vw * 520 / 1325);
  }
  .slider-navigation {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: max-content;
    margin: auto;
  }
  .slider-swiper__grid--right {
    margin-left: auto;
  }
  .slider-navigation__button {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .slider-navigation__button:first-child {
    left: -40px;
  }
  .slider-navigation__button:last-child {
    right: -40px;
  }
}

@media (min-width: 769px) {
  .card-content-type-1__description {
    max-width: 640px;
    padding: 40px 64px;
  }
  .card-content-type-1__image-wrapper {
    max-width: 705px;
  }
}

@media (min-width: 768px) {
  .card-content-type-1__pretitle-icon {
    width: 24px;
    height: 24px;
    padding: 10px;
  }
}

@media (min-width: 1024px) {
  .slider-swiper-type-1__content {
    min-height: 380px;
  }
  .card-content-type-1__link-more {
    margin-top: 40px;
  }
  .card-content-type-1__pretitle {
    margin-bottom: 58px;
  }
  .card-content-type-1__pretitle-icon {
    width: 26px;
    height: 26px;
    padding: 11px;
  }
  .slider-swiper__link-more {
    margin-top: 40px;
  }
  .card-content-type-1__text-description {
    -webkit-line-clamp: 3;
  }
}

@media (min-width: 1326px) {
  .card-content-type-1__image-wrapper {
    height: calc(130vw * 520 / 1920);
  }
  .slider-navigation__button:first-child {
    left: -60px;
  }
  .slider-navigation__button:last-child {
    right: -60px;
  }
}

@media (min-width: 1367px) {
  .card-content-type-1__description {
    padding: 20px 80px;
  }
}

@media (min-width: 1601px) {
  .slider-swiper-type-1__content {
    min-height: 520px;
  }
  .card-content-type-1__text-description {
    min-height: 87px;
  }
  .card-content-type-1__image-wrapper {
    height: 520px;
  }
  .slider-navigation__button:first-child {
    left: -80px;
  }
  .slider-navigation__button:last-child {
    right: -80px;
  }
}

.card__slide-picture--outline {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc((100vw - 40px) * 5 / 8);
}

.card__slide-content--outline {
  width: 100%;
  height: auto;
  padding: 40px 20px;
}

.card__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin-top: 32px;
  font: 400 14px/1.3 var(--font-heading);
  letter-spacing: 0.03em;
}

.card__features {
  display: none;
}

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

.card__feature-icon {
  box-sizing: content-box;
  width: 31px;
  height: 31px;
  margin-right: 15px;
  padding: 8px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
}

.card__feature-person .card__feature-icon {
  width: 25px;
  height: 25px;
  padding: 11px;
}

.card__feature sup {
  font-size: 85%;
}

.card__slider-control {
  position: absolute;
  top: calc((100vw - 40px) * 5 / 16);
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px;
  transform: translateY(-50%);
}

.card__link-more-container {
  margin-top: 30px;
  text-align: right;
}

@media (min-width: 768px) {
  .card__slide-picture--outline {
    width: 648px;
    height: 405px;
  }
  .room__picture--gradient::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
    content: "";
  }
  .card__slide-content--outline {
    width: 648px;
    max-width: 100%;
    height: 310px;
    padding: 100px 60px 50px 40px;
    transform: translate(60px, -60px);
  }
  .card__action {
    flex-direction: row;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 28px;
  }
  .card__features {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(115px, auto) minmax(99px, auto) auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    max-width: calc(100% - 80px);
  }
  .card__slider-control {
    top: 202.5px;
    max-width: 648px;
    padding: 0 30px;
  }
  .room .card__slider {
    max-width: 728px;
    margin: 0 auto;
  }
  .card__link-more-container {
    margin-top: 0;
  }
}

@media (min-width: 1326px) {
  .card__slide {
    padding-top: 95px;
  }
  .card__slide-picture--outline {
    position: absolute;
    top: 0;
    right: 0;
    width: 672px;
    height: 420px;
  }
  .card__slide-content--outline {
    width: max(49%, 573px);
    max-width: 49%;
    height: 410px;
    padding: 62px 140px 80px 80px;
    transform: none;
  }
  .card__action {
    margin-top: 50px;
    font-size: 16px;
  }
  .card__features {
    grid-template-columns: minmax(133px, auto) minmax(115px, auto) auto;
    grid-column-gap: 5px;
  }
  .card__slider-control {
    top: 210px;
    right: 0;
    left: auto;
    max-width: 100%;
  }
  .room .card__slider {
    max-width: none;
  }
  .room .card__slider-button {
    position: absolute;
  }
  .room .card__slider-button:first-child {
    left: -60px;
  }
  .room .card__slider-button:last-child {
    right: -60px;
  }
  .card__link-more-container {
    margin-top: 30px;
  }
}

@media (min-width: 1401px) {
  .card__slide-picture--outline {
    width: 700px;
  }
}

@media (min-width: 1601px) {
  .card__slide {
    padding-top: 80px;
  }
  .card__slide-picture--outline {
    width: 800px;
    height: 500px;
  }
  .card__slide-content--outline {
    width: 100%;
    max-width: 683px;
    height: 500px;
    padding: 72px 193px 73px 100px;
  }
  .card__action {
    margin-top: 60px;
    font-size: 18px;
  }
  .card__features {
    bottom: 50px;
    left: 50px;
    grid-template-columns: minmax(135px, auto) minmax(115px, auto) auto;
    grid-column-gap: 20px;
    max-width: calc(100% - 100px);
  }
  .card__slider-control {
    top: 250px;
  }
  .room .card__slider-button:first-child {
    left: -80px;
  }
  .room .card__slider-button:last-child {
    right: -80px;
  }
}

.service__container {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  grid-auto-rows: minmax(100px, auto);
  grid-gap: 10px;
  margin-bottom: 30px;
}

.service__item {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service__picture {
  height: 100%;
}

.service__picture::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
  content: "";
}

.service__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service__content {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 30px;
  background-color: transparent;
  transition: top 0.3s linear, bottom 0.4s linear, background-color 0.3s;
}

.service__content-title-wrap {
  display: flex;
  align-items: flex-end;
  min-height: 76px;
}

.service__content-title {
  transition: color 0.3s;
}

.service__content-inside {
  display: none;
}

.service__content-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--color-text);
}

.service__content-description p,
.service__content-description div {
  display: inline;
}

.service__content-link {
  margin-top: 15px;
}

.service__container-bottom {
  text-align: left;
}

@media (min-width: 768px) {
  .service__container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(200px, auto);
    grid-gap: 20px;
  }
  .service__item--full {
    grid-row: span 2;
  }
  .service__container-bottom {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .service__container {
    margin-bottom: 40px;
  }
}

@media (min-width: 1326px) {
  .service__container {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
  }
  .service__item {
    max-height: 260px;
  }
  .service__item--full {
    max-height: 540px;
  }
  .service__content {
    top: 100px;
    bottom: auto;
    padding: 40px 40px 35px;
  }
  .service__item--full .service__content {
    top: 380px;
  }
  .service__content-inside {
    display: block;
    padding-top: 40px;
    transition: padding-top 0.3s;
  }
  .service__item:hover .service__content,
.service__item:focus-within .service__content {
    top: 0;
    bottom: 0;
    background-color: var(--color-cream);
  }
  .service__item:hover .link-title,
.service__item:focus-within .link-title {
    color: var(--color-green);
  }
  .service__item:hover .service__content-inside,
.service__item:focus-within .service__content-inside {
    padding-top: 20px;
  }
}

@media (min-width: 1601px) {
  .service__container {
    grid-gap: 40px;
  }
  .service__item--full {
    max-height: 560px;
  }
  .service__item--full .service__content {
    top: 400px;
  }
}

.card__container {
  position: relative;
}

.card__box--right {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 160px;
}

.card__box--left {
  width: 100%;
  padding: 20px 20px 40px;
  background-color: var(--color-cream);
}

.map {
  background-color: rgba(0, 0, 0, 0.2);
}

.map__frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.card__box--left.contacts__list {
  display: flex;
  flex-direction: column;
  height: auto;
  padding-top: 20px;
}

.contacts__item {
  display: flex;
  margin-top: 30px;
  word-break: break-word;
}

.contacts__item:first-child {
  margin-top: 0;
}

.contacts__icon {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  color: var(--color-olive);
}

.contacts__address {
  max-width: 336px;
  color: var(--color-text);
}

.contacts__link {
  color: var(--color-text);
  transition: var(--transition);
}

.contacts__link:hover,
.contacts__link:focus {
  opacity: 0.8;
}

.contacts__coords {
  display: block;
  margin-top: 20px;
}

.contacts__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

@media (min-width: 768px) {
  .contacts--main {
    margin-bottom: -60px;
  }
  .contacts--main .contacts__container {
    max-width: 708px;
    margin: 0 auto;
  }
  .card__box--right {
    width: 648px;
    height: 300px;
  }
  .card__box--left {
    max-width: 648px;
    height: 355px;
    padding: 100px 60px 50px 40px;
    transform: translate(60px, -60px);
  }
  .card__box--left.contacts__list {
    max-width: 647px;
    height: auto;
    min-height: 347px;
    padding-top: 100px;
  }
}

@media (min-width: 1326px) {
  .contacts--main {
    margin-bottom: 0;
  }
  .contacts--main .contacts__container {
    max-width: none;
  }
  .card__container {
    padding-top: 95px;
  }
  .card__box--right {
    position: absolute;
    top: 0;
    right: 0;
    width: 672px;
    height: 360px;
  }
  .card__box--left {
    max-width: calc(50% - 15px);
    height: 347px;
    padding: 60px;
    transform: none;
  }
  .card__box--left.contacts__list {
    max-width: 49%;
    height: auto;
    min-height: 347px;
    padding-top: 60px;
  }
  .contacts__item {
    margin-top: 35px;
  }
  .contacts__coords {
    margin-top: 10px;
  }
}

@media (min-width: 1401px) {
  .card__box--right {
    width: 700px;
  }
}

@media (min-width: 1601px) {
  .card__container {
    padding-top: 80px;
  }
  .contacts__container {
    padding-top: 70px;
  }
  .card__box--right {
    width: 800px;
    height: 500px;
  }
  .card__box--left {
    max-width: 50%;
    height: 500px;
    padding: 72px 183px 79px 100px;
  }
  .card__box--left.contacts__list {
    max-width: 663px;
    height: auto;
    min-height: 500px;
    padding-top: 80px;
  }
  .contacts__item {
    margin-top: 45px;
  }
  .contacts__coords {
    margin-top: 30px;
  }
}

.footer {
  display: grid;
  gap: 30px;
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 60px;
  color: var(--color-white);
  background-color: var(--color-green);
  font: 400 13px/1.7 var(--font-body);
  letter-spacing: 0.03em;
}

.footer__container {
  display: grid;
  grid-template-columns: auto;
  grid-row-gap: 37px;
  justify-content: center;
  align-items: flex-start;
}

.footer__copyright {
  text-align: center;
}

/* The old site had the developer's logo here; the empty column keeps the links in place. */
.footer__developer {
  display: none;
}

.footer__page-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer {
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer__container {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, auto);
    grid-column-gap: 20px;
    grid-row-gap: 25px;
    justify-content: space-between;
  }
  .footer__copyright {
    text-align: left;
  }
  .footer__developer {
    display: block;
    width: 91px;
  }
  .footer__page-links {
    display: grid;
    align-items: start;
    padding-right: 19px;
    text-align: left;
  }
}

@media (min-width: 1326px) {
  .footer {
    padding-top: 50px;
    padding-bottom: 65px;
    font-size: 14px;
    line-height: 1.9;
  }
  .footer__container {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: auto;
  }
  .footer__page-links {
    gap: 20px;
    padding-right: 17px;
  }
}

@media (min-width: 1601px) {
  .footer {
    padding-top: 94px;
    padding-bottom: 91px;
    font-size: 16px;
  }
  .footer__page-links {
    padding-top: 9px;
    padding-right: 20px;
  }
  .footer__developer {
    width: 116px;
  }
}

.section-subtitle {
  overflow: hidden;
}

.breadcrumbs,
.breadcrumbs__list {
  display: flex;
  align-items: center;
}

.breadcrumbs__list {
  position: relative;
  flex-wrap: wrap;
}

.breadcrumbs__item {
  position: relative;
}

.breadcrumbs__item--parent {
  margin-right: 30px;
}

.breadcrumbs__item--parent::after {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 12px;
  border-bottom: 1px solid var(--color-text);
  content: "";
}

.breadcrumbs__item-link {
  color: var(--color-text);
  transition: var(--transition);
}

a.breadcrumbs__item-link:hover,
a.breadcrumbs__item-link:focus {
  opacity: 0.8;
}

.page__inner-subtitle--index {
  margin: 20px 0 9px;
}

.page__inner-subtitle--detail {
  margin: 20px 0;
}

.page__inner-description {
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .page__inner-subtitle--index {
    margin: 30px 0 12px;
  }
  .page__inner-subtitle--detail {
    margin: 29px 0 20px;
  }
  .page__inner-description {
    margin-bottom: 30px;
  }
}

@media (min-width: 1326px) {
  .page__inner-subtitle--index {
    margin: 25px 0 17px;
  }
  .page__inner-subtitle--detail {
    margin: 26px 0;
  }
  .page__inner-description {
    margin-bottom: 55px;
  }
}

@media (min-width: 1601px) {
  .page__inner-subtitle--index {
    margin: 36px 0 22px;
  }
  .page__inner-description {
    margin-bottom: 100px;
  }
}

.page__inner-cards {
  display: flex;
  flex-direction: column;
}

.page__inner-cards--default {
  gap: 20px;
}

.page__inner-cards--reverse-cards {
  align-items: center;
  gap: 20px;
}

.card.page__inner-card {
  width: 100%;
}

.card__box--right-size {
  height: 320px;
}

.card__picture {
  height: 100%;
}

.card__box--left-size {
  max-width: 100%;
  padding: 20px 20px 40px;
}

.card__date {
  margin-top: 10px;
  color: var(--color-add);
}

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

.card__price-container {
  min-width: max-content;
}

.card__price {
  color: var(--color-text);
  font-size: 20px;
  font-weight: 500;
}

.link-more--style-color-accent,
.link-more--style-color-add {
  color: var(--color-green);
}

.link-title--style-color-add {
  color: var(--color-green);
}

@media (min-width: 768px) {
  .page__inner-cards--default {
    gap: 30px;
  }
  .page__inner-card .card__container {
    width: 708px;
  }
  .card__container--inverse .card__box--right {
    margin-left: auto;
  }
  .card__box--right-size {
    height: 405px;
  }
  .page__inner-card .card__box--left-size {
    max-width: 648px;
    height: auto;
    padding: 100px 60px 50px 40px;
  }
  .card__container--inverse .card__box--left {
    margin-left: auto;
    padding: 100px 40px 50px 60px;
    transform: translate(-60px, -60px);
  }
}

@media (min-width: 1326px) {
  .page__inner-cards--reverse-cards {
    align-items: stretch;
    gap: 60px;
  }
  .page__inner-card .card__container {
    width: auto;
  }
  .card__container--inverse .card__box--right {
    right: auto;
    left: 0;
  }
  .card__box--right-size {
    height: 420px;
  }
  .page__inner-card .card__box--left-size {
    max-width: calc(50% - 15px);
    height: 410px;
    padding: 60px 135px 80px 80px;
  }
  .card__container--inverse .card__box--left,
.page__inner-card .card__container--inverse .card__box--left-size {
    padding: 60px 80px 80px 135px;
    transform: none;
  }
  .card__price {
    font-size: 22px;
  }
}

@media (min-width: 1601px) {
  .page__inner-cards--default {
    gap: 40px;
  }
  .page__inner-cards--reverse-cards {
    gap: 100px;
  }
  .card__box--right-size {
    height: 500px;
  }
  .page__inner-card .card__box--left-size {
    max-width: 50%;
    height: 500px;
    padding: 72px 183px 79px 100px;
  }
  .card__container--inverse .card__box--left,
.page__inner-card .card__container--inverse .card__box--left-size {
    padding: 72px 100px 79px 183px;
  }
  .card__price {
    font-size: 24px;
  }
}

/* News list: photo on the left, cream panel on the right. */
.card-content-type-default {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
}

.card-content-type-default--add,
.card-content-type-default--accent {
  background: var(--color-cream);
}

.card-content-type-default__image-wrapper {
  flex-shrink: 0;
  width: calc(100vw - 40px);
  height: calc((100vw - 40px) * 360 / 540);
}

.card-content-type-default__description {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  width: 100%;
  padding: 40px 20px;
}

.card-content-type-default__text-date {
  display: block;
  margin-bottom: 15px;
}

.card-content-type-default__text-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 24px;
}

.card-content-type-default__text-description p,
.card-content-type-default__text-description div {
  display: inline;
}

.card-content-type-default__text-description--add p {
  color: var(--color-add);
}

.card-content-type-default__link-more {
  margin-top: 15px;
}

@media (min-width: 768px) {
  .card-content-type-default {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  .card-content-type-default__image-wrapper {
    width: calc(100vw * 540 / 1325);
    height: calc(100vw * 360 / 1325);
  }
  .card-content-type-default__description {
    padding: 20px 40px;
  }
  .card-content-type-default__text-description {
    -webkit-line-clamp: 2;
    margin-top: 15px;
  }
}

@media (min-width: 1024px) {
  .card-content-type-default__text-description {
    -webkit-line-clamp: 3;
  }
}

@media (min-width: 1326px) {
  .card-content-type-default__image-wrapper {
    width: calc(130vw * 540 / 1920);
    height: calc(130vw * 360 / 1920);
  }
  .card-content-type-default__description {
    padding: 21px 60px;
  }
  .card-content-type-default__link-more {
    margin-top: 32px;
  }
}

@media (min-width: 1601px) {
  .card-content-type-default__image-wrapper {
    width: 540px;
    height: 360px;
  }
  .card-content-type-default__description {
    padding: 25px 80px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page__inner-cards--poster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 166px 44px;
  margin-top: 130px;
}

.card-content-type-poster {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 15px 30px;
  background: var(--color-cream);
}

.card-content-type-poster__image-wrapper {
  display: block;
  width: calc(100% + 18px);
  margin: -120px 0 24px -25px;
  aspect-ratio: 1.27;
  overflow: hidden;
}

.card-content-type-poster__image-wrapper .card-content__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.card-content-type-poster__image-wrapper:hover .card-content__image {
  transform: scale(1.05);
}

.card-content-type-poster__date {
  margin-bottom: 20px;
}

.card-content-type-poster .title-h3 {
  margin-bottom: 24px;
}

.card-content-type-poster__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-bottom: 32px;
}

.card-content-type-poster__description p {
  display: inline;
}

.card-content-type-poster__link {
  align-self: flex-start;
  margin-top: auto;
}

@media (min-width: 768px) {
  .page__inner-cards--poster {
    grid-template-columns: repeat(2, 1fr);
    gap: 196px 44px;
  }
  .card-content-type-poster {
    padding: 0 30px 56px;
  }
  .card-content-type-poster__image-wrapper {
    width: calc(100% + 31px);
    margin: -134px 0 38px -52px;
  }
}

@media (min-width: 1326px) {
  .page__inner-cards--poster {
    grid-template-columns: repeat(3, 1fr);
  }
}

.detail {
  margin-top: 20px;
}

.slider--detail {
  position: relative;
  overflow: hidden;
}

.slide__detail {
  position: relative;
}

.slide__detail::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  content: "";
}

.slide__detail-picture {
  height: calc((100vw - 40px) * 640 / 1346);
}

.slide__detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-navigation-in-box {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 93%;
  height: max-content;
  margin: auto;
}

.detail__picture {
  position: relative;
  overflow: hidden;
  height: calc((100vw - 40px) * 640 / 1346);
}

.detail-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.detail-image--horizontal {
  object-fit: cover;
}

.detail__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0 5px;
}

.detail__content--with-sidebar {
  flex-direction: column-reverse;
  gap: 20px;
}

.detail__text-description--with-icon-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail__info {
  display: grid;
  grid-auto-flow: row;
  grid-row-gap: 20px;
  padding: 20px 0;
}

.detail__info-item {
  display: flex;
  align-items: center;
}

.detail__info-icon {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  padding: 6px;
  border: 1px solid var(--color-text);
  border-radius: 50%;
}

.detail__info-item-person .detail__info-icon {
  width: 20px;
  height: 20px;
  padding: 9px;
}

.detail__info-item sup {
  align-self: baseline;
  padding-top: 5px;
  font-size: 85%;
}

.detail__description p {
  margin-bottom: 20px;
}

.detail__description p:last-of-type {
  margin-bottom: 0;
}

.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 30px 20px;
  background-color: var(--color-cream);
}

.button--full-width {
  width: 100%;
  max-width: 100%;
}

.detail__characteristics {
  display: grid;
  grid-auto-flow: row;
  grid-row-gap: 40px;
  margin-top: 50px;
  padding: 30px 20px;
  border: 0.5px solid var(--color-text);
}

.detail__characteristics-title {
  margin-bottom: 26px;
}

.list-ul {
  max-width: max-content;
  font: 400 12px/1.78 var(--font-body);
  letter-spacing: 0.03em;
}

.list-ul li {
  position: relative;
  margin-bottom: 1.2em;
  padding-left: 12px;
}

.list-ul li:last-child {
  margin-bottom: 0;
}

.list-ul li::before {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 5px;
  height: 1px;
  background-color: var(--color-text);
  content: "";
}

@media (min-width: 768px) {
  .slide__detail-picture,
.detail__picture {
    height: calc((100vw - 120px) * 640 / 1346);
  }
}

@media (min-width: 1326px) {
  .slide__detail-picture {
    height: 640px;
  }
}

@media (min-width: 768px) {
  .detail__content {
    gap: 40px;
    padding: 40px 0 5px;
  }
  .detail__content--with-sidebar {
    flex-direction: row;
    justify-content: space-between;
    align-items: self-start;
  }
  .detail__text-description--with-icon-details {
    gap: 40px;
  }
  .detail__info {
    grid-template-columns: auto;
    grid-row-gap: 30px;
    padding: 0;
  }
  .detail__info-icon {
    width: 31px;
    height: 31px;
    margin-right: 15px;
    padding: 7px;
  }
  .detail__info-item-person .detail__info-icon {
    width: 23px;
    height: 23px;
    padding: 11px;
  }
  .detail__description p {
    margin-bottom: 25px;
  }
  .booking-sidebar {
    width: auto;
    min-width: 335px;
    padding: 40px;
  }
  .detail__characteristics {
    grid-row-gap: 63px;
    margin-top: 70px;
    padding: 40px;
  }
  .list-ul {
    font-size: 13px;
  }
  .list-ul li {
    margin-bottom: 1.5em;
  }
  .list-ul li::before {
    top: 11px;
  }
}

@media (min-width: 1326px) {
  .detail {
    margin-top: 30px;
  }
  .detail__content {
    padding-top: 60px;
  }
  .detail__info {
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 80px;
    grid-row-gap: 10px;
  }
  .detail__description p {
    margin-bottom: 30px;
  }
  .detail__characteristics {
    grid-auto-flow: column;
    grid-column-gap: 119px;
    grid-row-gap: 0;
    margin-top: 90px;
  }
}

@media (min-width: 1601px) {
  .slide__detail-picture,
.detail__picture {
    height: 640px;
  }
  .booking-sidebar {
    max-width: 335px;
    padding: 50px 40px;
  }
  .detail__characteristics {
    grid-column-gap: 156px;
    padding: 60px 80px;
  }
  .detail__characteristics-title {
    margin-bottom: 40px;
  }
  .list-ul {
    font-size: 14px;
  }
  .list-ul li::before {
    top: 12px;
  }
}

.contacts__map {
  height: 400px;
  background-color: rgba(0, 0, 0, 0.2);
}

.contacts__info {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-row-gap: 30px;
  margin-bottom: 40px;
  padding: 20px 20px 40px;
  color: var(--color-text);
  background-color: var(--color-cream);
}

.contacts__info-block {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: row;
  grid-row-gap: 30px;
}

.contacts--page .contacts__item {
  margin: 0;
}

.contacts--page .contacts__item:first-child {
  max-width: 330px;
}

.contacts--page .contacts__address {
  max-width: 280px;
}

.contacts__reach-container {
  margin-top: 40px;
  padding: 20px 20px 40px;
  border: 0.5px solid var(--color-text);
}

.contacts__reach-container h2,
.contacts__reach-container h3 {
  margin-bottom: 26px;
  font: 500 15px/1.6 var(--font-body);
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .contacts__map {
    height: 480px;
  }
  .contacts__info {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    grid-gap: 20px 40px;
    margin-bottom: 55px;
    padding: 50px 60px 50px 40px;
  }
  .contacts__info-block {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    grid-gap: 20px 40px;
  }
  .contacts__reach-container {
    margin-top: 55px;
    padding: 41px 86px 60px 45px;
  }
  .contacts__reach-container h2,
.contacts__reach-container h3 {
    font-size: 17px;
  }
}

@media (min-width: 1326px) {
  .contacts__info {
    grid-template-columns: auto;
    grid-template-rows: none;
    grid-auto-flow: column;
    align-items: start;
    margin-bottom: 0;
    padding: 60px;
  }
  .contacts--page .contacts__item:first-child {
    min-width: max-content;
  }
  .contacts__info-block {
    grid-template-rows: none;
    grid-template-columns: max-content;
    grid-auto-columns: auto;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: start;
    column-gap: 20px;
  }
  .contacts__reach-container {
    padding: 37px 99px 80px 40px;
  }
  .contacts__reach-container h2,
.contacts__reach-container h3 {
    font-size: 18px;
  }
}

@media (min-width: 1601px) {
  .contacts__info {
    padding: 80px 0 80px 80px;
  }
  .contacts__reach-container {
    padding: 60px 90px 60px 80px;
  }
  .contacts__reach-container h2,
.contacts__reach-container h3 {
    margin-bottom: 33px;
    font-size: 20px;
  }
}

.gallery__list {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 20px;
}

.gallery__item,
.gallery__picture {
  position: relative;
  overflow: hidden;
  display: block;
  height: 240px;
}

.gallery__picture {
  transition: transform 0.4s linear, opacity 0.4s linear;
}

.gallery__picture::before,
.gallery_name {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery__picture::before {
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  content: "";
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery_name {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .gallery__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1326px) {
  .gallery__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery__item:hover .gallery__picture,
.gallery__item:focus .gallery__picture {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@media (min-width: 1601px) {
  .gallery__list {
    grid-template-columns: repeat(4, 322px);
  }
}

.landing__text {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .landing__text {
    margin-bottom: 80px;
  }
}

/* Lightbox zoom and slideshow buttons, next to GLightbox's close button. */
.gallery-tools {
  position: absolute;
  top: 15px;
  right: 55px;
  z-index: 99999;
  display: flex;
  gap: 10px;
}

.gallery-tools__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--color-white);
  cursor: pointer;
  opacity: 0.7;
}

.gallery-tools__button:hover,
.gallery-tools__button:focus-visible {
  opacity: 1;
}

.gallery-tools__button[hidden] {
  display: none;
}

.gallery-tools__button svg {
  width: 18px;
  height: 18px;
}

.gallery-tools__progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 3px;
  background: var(--color-olive);
  transform: scaleX(0);
  transform-origin: left;
  transition-property: none;
  transition-timing-function: linear;
}

.gallery-tools__progress.is-running {
  transform: scaleX(1);
  transition-property: transform;
}
