/* Get Inspired Module Styles */


.get-inspired-container {
    width: 100%;
    max-width: 1328px;
    margin: 0 auto 49.76px;
}

.get-inspired-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Slider Styles */
.get-inspired-slider {
  position: relative;
  overflow: hidden;
}

.get-inspired-modal .modal-backdrop {
  z-index: 1;
}

.get-inspired-modal .modal-content {
  position: relative;
  z-index: 2;
}

.get-inspired-modal {
  display: none;
}

.get-inspired-modal.active {
  display: flex;
}

.modal-video-container iframe {
  min-height: 400px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


#modal-video-player > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

#modal-video-player > div > video {
    min-height: 400px !important;
    max-height: 80vh !important;
    width: 100%;
}

div#modal-video-player {}
.slider-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease;
}

.slider-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  box-sizing: border-box;
}

.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-prev,
.slider-next {
  background: #333;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: #555;
}

.slider-prev:disabled,
.slider-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background: #333;
}

.video-item {
  cursor: pointer;
  position: relative;
}

.video-thumbnail {
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 403px;
  object-fit: cover;
  transform: scale(1);
  -webkit-transform: scale(1);
  transition: all .4s linear;
  -webkit-transition: all .4s linear;
  -moz-transition: all .4s linear;
  -o-transition: all .4s linear;
}

.video-item:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-handle {
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    color: #E1CEBD;
}

/* Modal Styles */
.get-inspired-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.get-inspired-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-counter {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2px;
}

.current-video,
.total-videos {
  font-family: monospace;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-prev {
  left: 15px;
}

.modal-next {
  right: 15px;
}

.modal-video-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#modal-video-player {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Responsive */
@media (max-width: 1024px) {
    .get-inspired-grid {
      grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
  .get-inspired-section {
    padding: 0 12px;
  }

  .slider-slide {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  h2.get-inspired-title{
    display: none;
  }

  .video-thumbnail img {
    height: 232px;
  }

  .get-inspired-container {
    margin-bottom: 0;
  }


}

@media (max-width: 480px) {
  .get-inspired-grid {
    gap: 15px;
  }

  .slider-slide {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .slider-nav {
    gap: 15px;
  }

  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
  }
}
