/*
Theme Name: CarMaple
Theme URI:  
Description:
Author: Steyra
Author URI: https://steyra.ru/
Version: 1.0
Requires at least: 3.0
Requires PHP: 8.0
Tags: 
Text Domain: carmaplele
-------------------------------------------------------------- */

.button-global {
    color: #fff;
    background-color: #06B04D;
}

.pagination .nav-links .page-numbers.current {
    background-color: #06B04D;
    color: #fff;
}

.brand-list .more {
    color: #06B04D;
}

.product-tabs .tabs-list li.active {
    color: #06B04D;
    border-color: #06B04D;
    background-color: rgba(9, 185, 27, 0.08);
    transition: all 0.3s;
}

.intro-car .item:hover {
    color: #06B04D;
}

.intro .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: end;
    background: rgb(28, 31, 40);
    background: linear-gradient(90deg, rgb(28, 31, 40) 21%, rgba(32, 35, 44, 0.9) 24%, rgba(32, 35, 44, 0.1) 57%);
}


.button-global:hover, .button-global:active, .button-global:focus {
    color: #fff;
    background-color: #A9262B;
    border-color: #A9262B;
}

.section-brands .brands .item:hover {
    background: #06B04D;
    color: #f6f6f6;
}

.more-telegram-reviews {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
  border-radius: 14px;
  margin: 60px auto 0;
  max-width: 1000px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.more-telegram-reviews p {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
  margin: 0;
}

.more-telegram-reviews a {
  color: #00a859;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.more-telegram-reviews a:hover {
  color: #00924e;
}

.more-telegram-reviews .tg-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

/* 📱 Адаптив */
@media (max-width: 768px) {
  .more-telegram-reviews p {
    font-size: 18px;
  }

  .more-telegram-reviews .tg-icon {
    width: 26px;
    height: 26px;
  }
}

.intro small {
	color: #fff;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 100;
   
}

/** OURWORKS **/
.section-videos {
  background-color: inherit;;
  padding: 70px 0;
}

.videos-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.videos-title {
  text-align: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Сетка видео */
.videos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.video-item {
  width: calc(20% - 16px);
  aspect-ratio: 9 / 16;
  background-color: #000;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-item:hover {
  transform: translateY(-6px);

}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* 🔧 Адаптив */
@media (max-width: 1400px) {
  .video-item { width: calc(25% - 15px); } /* 4 */
}

@media (max-width: 1024px) {
  .video-item { width: calc(33.333% - 14px); } /* 3 */
}

@media (max-width: 768px) {
  .video-item { width: calc(50% - 12px); } /* 2 */
}

@media (max-width: 480px) {
  .video-item { width: 100%; } /* 1 */
  .videos-title { font-size: 24px; }
}