/* Основные стили */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style-type: none;
  text-decoration: none;
  color: inherit;
}

body {
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

/* Контейнеры */
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-title {
  max-width: 70%;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 8px;
  margin-right: auto;
  margin-left: auto;
}

.core-title {
  font-size: 170%;
  line-height: 110%;
/*  max-width: 1000px;*/
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 1.5rem !important;
  color: #000;
  margin-left: 5.5%;
  margin-right: 5.5%;
  text-align: center;
/*  max-width: 800px;*/
}

/* Секция видео */
.div-video {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 30px;
}

.video {
  max-width: 900px;
  width: 100%;
  cursor: pointer;
}
.section-form{
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* Офер (Inline) */
#offer-inline {
/*  margin-top: 20px;
  border: 2px solid #e7e7e7;
  padding: 15px;*/
  background-color: #fff;
  text-align: center;
  opacity: 0; /* Скрыт по умолчанию */
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#offer-inline.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CTA кнопка */
#offer-inline .cta-button {
  display: inline-block;
  background-color: #ff6600;
  color: white;
  padding: 15px 25px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 8px;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#offer-inline .cta-button:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

/* Комментарии */
.comments-container {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  background-color: #f8f8f8;
}

.comment {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}
.section-info-video{
  max-width: 75%;text-align: center;margin-left: auto;margin-right: auto;
}


/* Медиа-запросы */
@media (max-width: 900px) {
  .core-title {
    font-size: 180%;
    line-height: 110%;
  }
}

@media (max-width: 500px) {
  .core-title {
    font-size: 180%;
    line-height: 110%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
.container-title {max-width: 100%;margin: 0px;padding-left: 8px;padding-right: 8px}
.core-title{font-size: 100% !important;line-height: 110%;margin-left: 0px!important;margin-right: 0px!important;}
.section-info-video{max-width: 100%;text-align: center;margin-left: auto;margin-right: auto;}
}

@media (min-width: 1500px) and (max-width: 3000px) {
.core-title{font-size: 180%; line-height: 110%;max-width: 90%;margin-left: auto;margin-right: auto;}
}