/**
 * VIP Articles Slider – same UX/UI as Our Fleet cards
 *
 * @package VIP_Theme
 */

.vip-articles-slider {
  position: relative;
  padding: 2rem 0 3rem;
  width: 100%;
}

.vip-articles-slider-header {
  text-align: center;
  margin-bottom: 2rem;
}

.vip-articles-slider-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vip-articles-slider-description {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.vip-articles-swiper-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.vip-articles-slider-prev,
.vip-articles-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.vip-articles-slider-prev { left: -12px; }
.vip-articles-slider-next { right: -12px; }

.vip-articles-slider-prev:hover,
.vip-articles-slider-next:hover {
  background: rgba(214, 183, 123, 0.3);
  border-color: rgba(214, 183, 123, 0.5);
  color: #D6B77B;
}

.vip-articles-swiper {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 2.5rem;
}

.vip-articles-swiper .swiper-pagination {
  bottom: 0;
}

.vip-articles-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.vip-articles-swiper .swiper-pagination-bullet-active {
  background: #D6B77B;
  transform: scale(1.2);
}

/* Article card – same look as fleet card */
.vip-article-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  isolation: isolate;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.vip-article-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 8px 25px rgba(214, 183, 123, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-color: rgba(214, 183, 123, 0.25);
}

.vip-article-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.vip-article-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vip-article-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.vip-article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vip-article-card:hover .vip-article-card-image img {
  transform: scale(1.05);
}

.vip-article-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.vip-article-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(24, 40, 68, 0.6) 0%, rgba(8, 14, 24, 0.8) 100%);
}

.vip-article-card-content {
  position: relative;
  z-index: 1;
  padding: 16px 18px 18px;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vip-article-card-title {
  font: 600 22px/1.2 Montserrat, system-ui, sans-serif;
  margin: 0 0 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.vip-article-card:hover .vip-article-card-title {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(214, 183, 123, 0.2);
  transform: translateY(-2px);
}

.vip-article-card-excerpt {
  font: 400 14px/1.6 Manrope, system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
  flex: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.vip-article-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font: 600 12px/1 Manrope, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vip-article-card:hover .vip-article-card-cta {
  background: linear-gradient(135deg, #D6B77B 0%, #E5C894 100%);
  color: #0B0B0C;
  border-color: #D6B77B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 183, 123, 0.5);
}

.vip-articles-swiper .swiper-slide {
  height: auto;
}

@media (max-width: 768px) {
  .vip-articles-slider-prev { left: 4px; }
  .vip-articles-slider-next { right: 4px; }
  .vip-article-card-title { font-size: 18px; }
  .vip-article-card-excerpt { font-size: 13px; }
}
