/* ------- Osmo [https://osmo.supply/] ------- */
/* Osmo UI: https://slater.app/10324/23333.css */

body {
  background-color: var(--color-black);
  color: var(--color-light);
  font-size: var(--size-font);
  font-family: Unbounded, sans-serif;
  margin: 0; /* Убираем отступы */
  padding: 0; /* Убираем отступы */
}

.cloneable {
  padding: var(--container-padding);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  display: flex;
  position: relative;
  font-size: 1.1vw;
}

.tab-container {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 100%;
  padding: 0;
  padding-right: 2.5em;
  display: flex;
}

.tab-layout-container {
  width: 100%;
  max-width: 36em;
  height: 100%;
  margin-left: auto;
  margin-right: 0;
  padding-top: 1em;
  padding-bottom: 2em;
}

.tab-container-bottom {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.tab-container-top {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.tab-layout-col {
  width: 50%;
}

.tab-content-wrap {
  width: 100%;
  min-width: 24em;
  position: relative;
}

.content-button__bg {
  z-index: -1;
  background-color: #efeeec;
  border-radius: .25em;
  position: absolute;
  inset: 0%;
}

.content-p {
  margin: 0;
  font-size: 1.25em;
  line-height: 1.4;
}

.tab-button__bg {
  z-index: 0;
  background-color: #efeeec0f;
  border: 1px solid #efeeec14;
  border-radius: .25em;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.tab-content-item {
  z-index: 1;
  grid-column-gap: 1.25em;
  grid-row-gap: 1.25em;
  visibility: hidden;
  flex-flow: column;
  display: flex;
  position: absolute;
  inset: auto 0% 0%;
}

.tab-content-item.active {
  visibility: visible;
}

.tab-layout {
  z-index: 1;
  grid-row-gap: 3em;
  flex-flow: wrap;
  width: 100%;
  min-height: 37em;
  display: flex;
  position: relative;
}

.filter-bar {
  background-color: #efeeec0f;
  border: 1px solid #efeeec14;
  border-radius: .5em;
  padding: .5em;
  display: flex;
}

.filter-button {
  background-color: #0000;
  border: 1px solid #efeeec00;
  padding: 1.125em 1.5em;
  transition: border-color .2s;
  position: relative;
}

.filter-button.active {
  border-color: #efeeec4d;
  border-radius: .25em;
}

.filter-button__p {
  z-index: 1;
  font-size: 1.125em;
  position: relative;
  font-family: Unbounded, sans-serif;
  color: var(--color-light);
}

.tab-visual-wrap {
  border-radius: .5em;
  width: 100%;
  height: 42em;
  max-height: 80vh;
  position: relative;
  overflow: hidden;
}

.tab-visual-item {
  visibility: hidden;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
}

.tab-visual-item.active {
  visibility: visible;
}

.tab-image {
  object-fit: cover;
  border-radius: .5em;
  width: 100%;
  max-width: none;
  height: 100%;
}

.tab-content__heading {
  letter-spacing: -.02em;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.75em;
  font-weight: 500;
  line-height: 1;
}

.tab-layout-heading {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 4em;
  font-weight: 500;
  line-height: 1;
}

.tab-content__button {
  color: #131313;
  justify-content: center;
  align-items: center;
  height: 4em;
  padding-left: 1.5em;
  padding-right: 1.5em;
  text-decoration: none;
  display: flex;
  position: relative;
  gap: 10px; /* Создаем расстояние между кнопками */
}

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    font-size: 22px; /* Уменьшаем базовый размер шрифта */
  }

  .cloneable {
    font-size: 3.8vw; /* Уменьшаем размер шрифта для мобильных устройств */
    padding: 0.5em; /* Уменьшаем отступы для меньших экранов */
  }

  .tab-container {
    grid-column-gap: 0.5em; /* Уменьшаем отступы для меньших экранов */
    padding-right: 0.5em; /* Уменьшаем отступы */
  }

  .tab-layout-container {
    padding: 0.5em; /* Уменьшаем отступы для меньших экранов */
  }

  .tab-layout-col {
    width: 100%; /* Делим на весь экран на мобильных устройствах */
  }

  .content-p,
  .filter-button__p,
  .tab-content__heading,
  .tab-layout-heading {
    font-size: 1em; /* Уменьшаем размер шрифта для текста */
  }

  .tab-content__button {
    height: auto; /* Адаптируем размер кнопок */
    padding: 0.5em 1em; /* Уменьшаем отступы */
  }

  .tab-visual-wrap {
    height: 15vh; /* Уменьшаем высоту для мобильных */
    max-height: none; /* Убираем ограничение по максимальной высоте */
  }

  .tab-image {
    height: auto; /* Позволяем изображению адаптироваться по высоте */
  }
}