html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
}

/* Лёгкое покачивание подвешенных на кране контейнеров (slide-sh1.png) — как будто тяжёлый груз в воздухе */
.crane-sway {
  transform-origin: top center;
  animation: crane-sway 4.5s ease-in-out infinite alternate;
}

/* Вращающееся кольцо-надпись бейджа "О компании" (донор TransHub, text-rotate.png) */
.spin-badge-ring {
  animation: spin-badge-ring 12s linear infinite;
}
@keyframes spin-badge-ring {
  to { transform: rotate(360deg); }
}
@keyframes crane-sway {
  from { transform: rotate(-1.5deg); }
  to { transform: rotate(1.5deg); }
}

/* Блок "Почему выбирают нас": карточки фото+тег+заголовок+текст, стиль блог-карточек TransHub */
.why-card {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(2, 14, 40, 0.06);
  transition: box-shadow 0.3s ease;
}
.why-card:hover {
  box-shadow: 0 10px 30px rgba(2, 14, 40, 0.12);
}
.why-tag {
  background: rgba(241, 65, 9, 0.1);
  color: #F14109;
}

/* Скобка под иконками-фичами в блоке "О компании" — отдельный класс, без Tailwind-утилит, чтобы не было двойного рендера */
.ab-feat-bracket {
  width: 64px;
  height: 10px;
  margin-top: 4px;
  border-left: 2px solid #F14109;
  border-right: 2px solid #F14109;
  border-bottom: 2px solid #F14109;
  border-top: none;
  border-radius: 0;
  box-sizing: border-box;
}

/* Оранжевый бейдж в блоке "О компании": медленное покачивание вверх/вниз (как moveYS в TransHub) */
.ab-float {
  animation: ab-float 8s ease-in-out infinite;
}
@keyframes ab-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Ссылки навигации в футере: двойная стрелка выезжает СЛЕВА (в зарезервированном отступе), текст не сдвигается */
.footer-nav-link {
  position: relative;
  display: inline-block;
}
.footer-nav-arrow {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translate(-6px, -50%);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.footer-nav-arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}
.footer-nav-link:hover .footer-nav-arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Заголовки колонок футера (Навигация/Контакты/Оставить заявку): двойная подчёркивающая чёрточка — короткая белая + длинная оранжевая, суммарно ~80% ширины слова */
.footer-heading-wrap {
  display: inline-block;
}
.footer-heading-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 80%;
  margin-top: 8px;
}
.footer-heading-bar .seg-white {
  flex: 0 0 22%;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.footer-heading-bar .seg-orange {
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: #F14109;
}

/* Фон футера: фото фиксируется при скролле (параллакс), поверх — серая полупрозрачная заливка */
.footer-parallax-bg {
  background-image: url('../img/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  /* background-attachment:fixed на мобильных браузерах глючит/не поддерживается — на мобилке фон просто скроллится вместе с футером */
  .footer-parallax-bg {
    background-attachment: scroll;
  }
}

/* Параллакс-фон блока "Нам доверяют" — та же техника, что и в футере.
   Включён и на мобильных (по просьбе клиента) — в отличие от футера/баннеров внутр. страниц. */
.trust-parallax-bg {
  background-image: url('../img/trust-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .trust-parallax-bg {
    background-attachment: fixed;
  }
}

/* Параллакс-баннер офиса перед "О компании" — та же техника, что и в футере */
/* Параллакс-фон баннера внутренних страниц (about/fleet/advantages/contacts) — та же техника, что и в футере */
.page-banner-parallax {
  background-size: cover;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .page-banner-parallax {
    background-attachment: scroll;
  }
}

/* Параллакс-фон блока "Цифры" (счётчики, 5 значений) — та же техника, что и в футере.
   Включён и на мобильных (по просьбе клиента) — в отличие от футера/баннеров внутр. страниц. */
.stats-parallax-bg {
  background-image: url('../img/stats-parallax-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .stats-parallax-bg {
    background-attachment: fixed;
  }
}

/* Плавающий бейдж reCAPTCHA v3 скрыт — вместо него текстовый дисклеймер у форм (см. footer/contacts) */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* Пульсирующая точка в бейдже над заголовком (эффект "live") */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #F14109;
  animation: pulse-dot-glow 2s ease-in-out infinite;
}
@keyframes pulse-dot-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(241, 65, 9, 0.55);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 9px 3px rgba(241, 65, 9, 0.35);
  }
}

/* Тёмный бейдж "4 типа КТК" в коллаже "О компании": top задан здесь (не инлайном),
   т.к. на мобильной ширине фото-коллаж сжимается по width, но фиксированные px-отступы
   не масштабируются вместе с ним — бейдж наезжал на текст ниже. На мобильных поднимаем выше. */
.about-badge-dark {
  top: 415px;
}
@media (max-width: 1023.98px) {
  .about-badge-dark {
    top: 300px;
  }
}

/* Значок телефона в hero ("Звоните нам в любое время"): периодическое белое свечение + лёгкая вибрация */
.phone-badge-live {
  animation: phone-badge-glow 2.6s ease-in-out infinite, phone-badge-shake 4s ease-in-out infinite;
}
@keyframes phone-badge-glow {
  0%, 60%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  75% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.35);
  }
  90% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }
}
@keyframes phone-badge-shake {
  0%, 85%, 100% { transform: rotate(0); }
  86% { transform: rotate(-12deg); }
  87.5% { transform: rotate(10deg); }
  89% { transform: rotate(-8deg); }
  90.5% { transform: rotate(6deg); }
  92% { transform: rotate(0); }
}

/* Плавающая кнопка WhatsApp: постоянное свечение + периодическая вибрация/подпрыгивание ("живая" кнопка) */
.wa-fab {
  animation: wa-glow 2.2s ease-in-out infinite, wa-liven 3s ease-in-out infinite;
}
.wa-fab:hover {
  animation: none;
  box-shadow: 0 0 0 14px rgba(37, 211, 102, 0.3), 0 0 30px 8px rgba(37, 211, 102, 0.45), 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.14);
}
@keyframes wa-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 4px 14px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(37, 211, 102, 0), 0 4px 14px rgba(0, 0, 0, 0.25);
  }
}
@keyframes wa-liven {
  0%, 82%, 100% { transform: translateY(0) rotate(0); }
  83% { transform: translateY(0) rotate(-9deg); }
  84.5% { transform: translateY(0) rotate(8deg); }
  86% { transform: translateY(0) rotate(-6deg); }
  87.5% { transform: translateY(0) rotate(5deg); }
  89% { transform: translateY(0) rotate(0); }
  91% { transform: translateY(-9px); }
  93% { transform: translateY(0); }
  95% { transform: translateY(-4px); }
  97% { transform: translateY(0); }
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0.85rem;
  margin: -0.5rem -0.85rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.22);
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #F14109;
}

/* Кнопка с направленной заливкой: цвет "вырастает" из точки, откуда зашла мышь (см. main.js) */
.btn-fill {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: border-color 0.3s ease, color 0.45s ease-in-out;
}
.btn-fill .fill-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0;
  height: 0;
  border-radius: 9999px;
  background-color: #F14109;
  transform: translate(-50%, -50%);
  transition: width 0.45s ease-in-out, height 0.45s ease-in-out;
  z-index: -1;
  pointer-events: none;
}
.btn-fill:hover .fill-dot {
  width: 300%;
  height: 900%;
}
/* Модификатор: заливка в чёрный (#020E28) вместо акцентного оранжевого */
.btn-fill-dark .fill-dot {
  background-color: #020E28;
}
/* Стрелка в кнопке: по умолчанию смотрит по диагонали вверх-вправо, при наведении плавно выравнивается строго вправо */
.arrow-rotate {
  transition: transform 0.35s ease;
}
.btn-fill-dark:hover .arrow-rotate {
  transform: rotate(45deg);
}

/* Плавная бесконечная лента (СОХРАНЕНО для будущего переиспользования в другом блоке — клиент попросил не терять этот эффект) */
.marquee-smooth {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: fleet-marquee 34s linear infinite;
  padding: 4px 20px;
}
.marquee-smooth:hover {
  animation-play-state: paused;
}
.marquee-smooth.no-pause:hover {
  animation-play-state: running;
}
@keyframes fleet-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Лента логотипов "Нам доверяют": сдвиг --trust-shift считается в JS через
   реальные offsetLeft элементов (main.js), не вручную — исключает любой
   рассинхрон от ручного расчёта ширин/gap. */
.trust-logos-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 4px 20px;
  animation: trust-logos-scroll 160s linear infinite;
}
@keyframes trust-logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--trust-shift, -816px)); }
}

/* Лента карточек "Парк контейнеров": резкая смена по одной карточке раз в 4 секунды (JS управляет transform, см. main.js) */
.fleet-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 4px 20px;
  transition: transform 0.6s ease;
}
.fleet-marquee-track.no-transition {
  transition: none;
}
.fleet-card {
  flex: 0 0 320px;
  width: 320px;
  height: 380px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  border-radius: 20px;
}
.fleet-card-footer {
  margin-top: auto;
}
.fleet-card-photo {
  position: relative;
  height: 170px;
  overflow: hidden;
  -webkit-mask-image: url('../img/serv-shape.png');
  mask-image: url('../img/serv-shape.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.fleet-card-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020E28;
  background: #ECF0F1;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.fleet-card-btn:hover {
  background: #F14109;
  color: #ffffff;
}

/* Блок "Чего ожидать #1": пронумерованные шаги, коннекторы (стиль TransHub process-sec) */
.process-step {
  flex: 0 0 200px;
  min-width: 0;
}
@media (max-width: 639.98px) {
  .process-step {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
  }
}

/* Мобильный коннектор между шагами "Чего ожидать": вертикальный пунктир + повёрнутая стрелка (вместо ряда с поездом) */
.process-connector-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: -4px 0;
}
.process-connector-mobile-dash {
  display: none;
}
.process-connector-mobile-arrow {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transform: rotate(90deg);
}
.process-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #ECF0F1;
  color: #020E28;
  font-weight: 600;
  margin: 0 auto 24px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.process-step:hover .process-count {
  background: #F14109;
  color: #ffffff;
}
.process-step:hover .process-title {
  color: #F14109;
}
.process-thumb {
  width: 150px;
  height: 150px;
  border-radius: 9999px;
  overflow: hidden;
  margin: 0 auto 32px;
  border: 2px solid #F14109;
  box-shadow: 0 0 0 8px rgba(2, 14, 40, 0.05);
}
.process-title {
  transition: color 0.3s ease;
}
.process-connector {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
}
.process-connector-line {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-connector-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 2px dashed #d8dce0;
  transform: translateY(-1px);
}
.process-train {
  width: 44px;
  height: 22px;
  background: #FFFFFF;
  position: relative;
  z-index: 1;
}
.process-connector-chevron {
  position: absolute;
  top: 105px;
  left: 0;
  right: 0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-connector-chevron img {
  width: 130px;
  height: 95px;
}

/* Блок "Как мы работаем": карточки-фото с тегом+заголовком, стиль TransHub .portfolio-card */
.expect-tag-bg {
  background: #F14109;
  z-index: 0;
  transition: background-color 0.3s ease;
}
.expect-tag-text {
  z-index: 1;
}
.expect-title {
  position: relative;
  z-index: 1;
  background: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.expect-card:hover .expect-tag-bg {
  background: #020E28;
}
.expect-card:hover .expect-title {
  background: #F14109;
  color: #ffffff !important;
}

.mobile-nav-link {
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.mobile-nav-link.is-active {
  color: #ffffff;
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition: all 0.25s ease;
}
#burger.is-open .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#burger.is-open .burger-line:nth-child(2) { opacity: 0; }
#burger.is-open .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Оранжевые кнопки: лёгкий подъём + свечение при наведении */
/* a./button. здесь тоже нужны — иначе .reveal (transition 0.7s) перебивает по каскаду
   и подъём/свечение включаются с задержкой чужой длительности */
a.btn-glow,
button.btn-glow {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
/* a./button. добавлены для специфичности выше .reveal.is-visible — иначе на кнопках,
   у которых класс reveal висит прямо на самой кнопке, подъём гасится */
a.btn-glow:hover,
button.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(241, 65, 9, 0.45);
}
a.btn-glow:active,
button.btn-glow:active {
  transform: translateY(-1px);
}

/* Белая outline-кнопка: только подъём, без свечения */
a.btn-jump,
button.btn-jump {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
a.btn-jump:hover,
button.btn-jump:hover {
  transform: translateY(-3px);
}
a.btn-jump:active,
button.btn-jump:active {
  transform: translateY(-1px);
}

/* Затемнение фото в hero и баннерах: тёмное слева (~70%), к середине светлее (~35%), справа почти светло (~12%) */
.photo-tint {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* Лёгкое сине-серое тонирование фото вне hero/баннеров — чтобы цветовое настроение hero
   (тёмное затемнение фото) прослеживалось и на обычных фото-блоках по сайту. */
.photo-tint-soft {
  background: rgba(2, 14, 40, 0.22);
  mix-blend-mode: multiply;
}

/* Карусель фото в hero */
.hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
/* Галерея "Чего ожидать #2" на главной — тот же принцип кроссфейда, что у hero */
.gallery-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.gallery-slide.is-active {
  opacity: 1;
}
/* Кроссфейд-карусель фото внутри карточек типов КТК (fleet.php) — тот же принцип, что у hero,
   но все карточки на странице переключаются синхронно одним общим таймером (см. main.js). */
.card-photo-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.card-photo-slide.is-active {
  opacity: 1;
}
/* Параллакс фото в hero: та же техника, что и в футере (.footer-parallax-bg) — background-attachment:fixed.
   Включён и на мобильных (по просьбе клиента) — в отличие от футера/баннеров внутр. страниц. */
.hero-slide-bg {
  background-size: cover;
  background-position: 30% center;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .hero-slide-bg {
    background-attachment: fixed;
  }
}

/* Карусель-"сдвиг" для баннера внутренних страниц (fleet.php): слайды сдвигаются горизонтально
   (как карусель "Наши работы" в region-a, только один слайд вместо четырёх), а не кроссфейдом
   (как на главной hero-carousel) и не поворотом. */
.banner-flip-slide {
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.45, 0, 0.2, 1);
  z-index: 1;
}
.banner-flip-slide.is-active {
  transform: translateX(0);
  z-index: 2;
}
.banner-flip-slide.is-prev {
  transform: translateX(-100%);
  z-index: 1;
}

/* Красная геометка-капля на фото баннера (about.php) — крестфейд синхронно со слайдом,
   к которому она относится (см. main.js). transform ставит остриё капли ровно в точку top/left. */
.banner-flip-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  opacity: 0;
  transition: opacity 1s ease;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}
.banner-flip-marker.is-active {
  opacity: 1;
}
@media (max-width: 640px) {
  .banner-flip-marker {
    top: var(--m-top-mobile);
    left: var(--m-left-mobile);
  }
}
/* Подпись города под меткой — позиционируется absolute внутри .banner-flip-marker,
   поэтому НЕ влияет на transform:translate(-50%,-100%) самой метки (остриё капли остаётся точным). */
.banner-flip-marker-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 4px;
  white-space: nowrap;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Плавное появление блоков при прокрутке */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-160px);
  transition: opacity 1.1s ease 0.3s, transform 1.1s ease 0.3s;
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(160px);
  transition: opacity 1.1s ease 0.65s, transform 1.1s ease 0.65s;
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

#back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scroll-progress-ring {
  transition: stroke-dashoffset 80ms linear;
}

/* Видео-тизер (advantages.php): структура донора TransHub .sol-box — два вертикальных
   фото внахлёст, за ними оранжевая рамка-контур, поверх — пульсирующая play-кнопка */
.video-teaser-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 40px 0 90px 0;
}
.video-teaser-frame {
  position: absolute;
  border: 5px solid #F14109;
  border-radius: 28px;
  width: 250px;
  height: 535px;
  top: -30px;
  left: 168px;
  z-index: 0;
}
.video-teaser-media {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.5rem;
}
.video-teaser-media img {
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(2, 14, 40, 0.18);
}
.video-teaser-media img:first-child {
  width: 60%;
  height: 340px;
}
.video-teaser-media img:last-child {
  width: 36%;
  height: 300px;
  margin-top: 150px;
}
.video-teaser-play {
  position: absolute;
  top: 60%;
  left: 63%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  color: #F14109;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(2, 14, 40, 0.25);
  z-index: 2;
  animation: video-teaser-pulse 3s linear infinite;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.video-teaser-play:hover {
  background: #F5F5F5;
  transform: translate(-50%, -50%) scale(1.05);
}
@keyframes video-teaser-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55), 0 0 0 0 rgba(255, 255, 255, 0.35); }
  40% { box-shadow: 0 0 0 28px rgba(255, 255, 255, 0), 0 0 0 0 rgba(255, 255, 255, 0.35); }
  80%, 100% { box-shadow: 0 0 0 28px rgba(255, 255, 255, 0), 0 0 0 18px rgba(255, 255, 255, 0); }
}
@media (max-width: 640px) {
  .video-teaser-box { max-width: 360px; padding-bottom: 70px; }
  .video-teaser-frame { left: 130px; width: 200px; height: 420px; }
  .video-teaser-media img:first-child { height: 270px; }
  .video-teaser-media img:last-child { height: 240px; margin-top: 120px; }
  .video-teaser-play { width: 68px; height: 68px; }
}
