/* === Основной блок SEO === */
.seo-block {
  margin: 36px auto 42px auto;
  max-width: 1150px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
  padding: 32px 18px 22px 18px;
  position: relative;
  line-height: 1.6;
  font-size: 16px;
  color: #222;
}

/* Заголовок */
.seo-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 20px;
  text-align: left;
  letter-spacing: -0.02em;
}

/* Основной текст */
.seo-text {
  max-height: 8.4em;
  overflow: hidden;
  position: relative;
  transition: max-height 1s cubic-bezier(.55,0,.1,1);
  font-size: 17px;
  color: #34373c;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding-bottom: 28px;
}

.seo-text.expanded {
  max-height: 3200px;
}

/* Fade-градiєнт */
.fade-gradient {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 5%, #fff 95%);
  transition: opacity 0.4s;
  opacity: 1;
}
.seo-text.expanded .fade-gradient {
  opacity: 0;
}

/* Стили текста */
.seo-text p {
  margin-bottom: 18px;
  text-align: justify;
}
.seo-text ul {
  padding-left: 24px;
  margin-bottom: 24px;
}
.seo-text li {
  list-style: disc;
  margin-left: 14px;
  margin-bottom: 10px;
  position: relative;
}
.seo-text i {
  font-style: italic;
  color: #555;
}
.seo-text strong, .seo-text b {
  font-weight: 600;
}

/* Кнопка "Читати далі" */
.expand-btn {
  display: block;
  padding: 10px 30px;
  background: #8c8c8c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,107,0,.10);
  transition: background .2s, box-shadow .2s;
  text-transform: uppercase;
}
.expand-btn:hover {
  background: #FF8C00;
  box-shadow: 0 4px 18px rgba(255,140,0,.14);
}

/* Адаптив */
@media (max-width: 600px) {
  .seo-block {
    padding: 22px 10px 15px 10px;
        max-width: 99vw;
        margin: 0 10px 0 10px;
  }
  .seo-block h2 {
    font-size: 20px;
  }
  .seo-block p,
  .seo-block ul,
  .seo-block li {
    font-size: 15.3px;
  }
}
/* Контейнер */
.videoblock{
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;          /* Современные браузеры */
  overflow: hidden;
  border-radius: 8px;           /* опционально */
  /* height: 40%; */
  margin-top: 10px;
}
.videoblock_two {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.videoblock_two iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px; /* или любое значение, например: 8px, 16px */
  overflow: hidden;
}


.video-section {
  margin-top: 80px;
  margin-bottom: 80px;
  text-align: center;
}
/* Fallback для старых браузеров без aspect-ratio */
@supports not (aspect-ratio: 16/9) {
  .videoblock{
    height: 0;
    padding-top: 56.25%;        /* 16:9 */
  }
  .videoblock > .vvideoimg{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Картинка */
.vvideoimg{
  width: 100%;
  height: 100%;
  object-fit: cover;            /* заполняет блок без искажений */
  display: block;
}

