/*!
Theme Name: unit
Text Domain: unit
 */
.site-main {
  margin-top: 130px;
}
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mb-yt-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.video-overlay:hover {
  background: rgba(0, 0, 0, 0.35);
}

.video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.play-button {
  position: relative;
  z-index: 20;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button:hover {
  transform: scale(1.08);
}

.play-button:active {
  transform: scale(0.95);
}

.play-icon {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: filter 0.2s ease;
}

.play-button:hover .play-icon {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .video-wrapper {
    border-radius: 4px;
  }

  .play-icon {
    width: 60px;
    height: 60px;
  }
}

/* Адаптив для больших экранов */
@media (min-width: 1200px) {
  .video-wrapper {
    border-radius: 12px;
  }
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  transition: transform 0.2s ease;
}

.yt-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.yt-play-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}
.wpcf7-spinner {
   position: absolute;
   right: -30px;
   z-index: 3;
 }
form.wpcf7-form .politics input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-basis: 30px;
  display: block;
  cursor: pointer;
}
form.wpcf7-form .politics label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.politics__link {
  text-decoration: underline;
}
[data-graph-target="object-request"] .modal-title {
  font-size: clamp(24px, 1.3239rem + 0.7512vw, 32px);
  font-weight: 500;
}
[data-graph-target="object-request"] .modal-text {
  margin-bottom: 30px;
  font-weight: 500;
  font-size: clamp(17px, 0.9965rem + 0.2817vw, 20px);
  line-height: 120%;
  letter-spacing: 0.03em;
  color: var(--deep-blue);
}
[data-graph-target="object-request"] .bold {
  margin-bottom: 12px;
  font-family: var(--second-family);
  font-weight: 600;
  font-size: clamp(16px, 0.912rem + 0.3756vw, 20px);
  line-height: 158%;
  color: #000;
}
.graph-modal [data-graph-target=object-slider] .object-content-text,
.object__title{
  pointer-events: none;
  user-select: none;
}
@media (max-width: 500px) {
  [data-graph-target="object-request"] .bold {
    font-weight: 500;
    line-height: 1.4;
  }
  [data-graph-target=object-request] .btn__back-close {
    margin-bottom: 15px;
  }
}

