.logo {
  margin-left: 1rem;
  margin-right: 0.5rem;
}
.brand-name {
  text-align: center;
  font-size: 1.1rem;
}
.brand-name-mobile {
  display: none;
}

.navbar-toggler {
  border: none;
}
.createtime {
  color: #4a4a4a;
}
.content {
  width: 75vw;
  margin: auto;
}

.footer {
  background-color: rgb(251, 251, 251);
  padding-left: 2rem;
  padding-right: 2rem;
  overflow: hidden;
}

.section-btn {
  margin-top: 1.7rem;
}

.section-h1 {
  font-size: 2.4rem;
  font-weight: regular;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.section-h2 {
  font-size: 1.7rem;
  font-weight: regular;
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
}

.margin {
  margin: auto 1rem;
}
.cs-margin {
  padding: 1rem;
}

.cs-btn {
  width: 33%;
  margin: 1rem auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.card,
.btn,
img {
  border-radius: 1rem;
}
.aspect-ratio-4-3 {
  position: relative;
  width: 100%; /* 100% ширины */
  padding-top: 75%; /* 4:3 соотношение */
  overflow: hidden;
}
.close-btn {
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 10; /* Помещаем кнопку поверх iframe */
  background-color: #f44336; /* Цвет фона для кнопки */
  color: white; /* Цвет текста */
  border: none;
  padding: 8px 16px;
  border-radius: 50%; /* Круглая кнопка */
}
.aspect-ratio-4-3 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Подгонка изображения */
}
.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.limited-text,
.limited-text-event {
  line-height: 1.5; /* Высота строки */
  height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.limited-text-event {
  height: 3em;
  -webkit-line-clamp: 2;
}

.limited-text-club {
  height: 1.5em;
  -webkit-line-clamp: 1;
}

.limited-text-hashtags {
  line-height: 1.1; /* Высота строки */
  height: 2.2em;
  -webkit-line-clamp: 2;
}

.hashtags {
  margin-top: 0px;
}
.cs-margin-center {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}
.ticket {
  flex: 1; /* Растягивает iframe по всей ширине и высоте */
  width: 100%; /* Полная ширина */
  height: 100%; /* Полная высота */
  border: none; /* Убирает рамку */
}

.custom-bg-color {
  background-color: rgb(237, 234, 231);
}
.carousel {
  width: 85%;
}
@media (max-width: 576px) {
  .content {
    width: 98vw;
  }
  .card-text {
    font-size: 13px;
  }
  .createtime {
    font-size: 11px;
  }
  .brand-name {
    display: none;
  }
  .brand-name-mobile {
    display: block;
    text-align: center;
    font-size: 1rem;
    margin: auto auto;
  }

  .logo {
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: 7px;
    margin-right: 0;
  }
  .navbar {
    height: 5.2rem;
  }

  .footer {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
    overflow: hidden;
  }
  .carousel {
    width: 95%;
  }
}
@media (max-width: 991px) {
  .content {
    width: 95vw;
  }
  .cs-btn {
    width: 85%;
  }
  .section-h1 {
    font-size: 1.8rem;
  }
  .container-xxl {
    padding: 6px;
  }
}
@media (min-width: 576px), (max-width: 991px) {
  .content {
    width: 95vw;
  }
}

.navbar {
  background-color: rgb(251, 251, 251);
}
.navbar-collapse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fffbf2;
}
.navbar-toggler,
.navbar-brand {
  z-index: 1;
}

.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-collapse .nav-link {
  font-size: 1.5em;
  letter-spacing: 2px;
  color: #2b2b2b;
}
.navbar-collapse .nav-link:hover,
.navbar-collapse .nav-link.active {
  color: rgb(21, 96, 235);
}
.nav-item-header:not(:last-child) {
  border-bottom: 1px solid gray;
  padding: 0.2em 4em;
}
@media screen and (min-width: 768px) {
  .nav-item-header:not(:last-child) {
    padding: 0.5em 8em;
  }
}
.navbar-collapse.show {
  transition: all 0.3s;
}
.nav-icon {
  width: 1.5rem;
  border-radius: 0;
}

.body-padding {
  padding-top: 5rem;
}
