/* Cache cleared: 2025-08-07 16:40:59 */
/* Cache cleared: 2025-07-20 13:08:19 */
@import "../css-edit/video-cat-edit.css";

body {
  background-color: var(--video-cat-color-background-light);
  font-family: var(--video-cat-font-family-main);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* CSS from section:videos */
#videos {
  /* background-color: #f7f7f7; */
  padding: 96px 0;
  display: flex;
  justify-content: center;
}

.video-gallery-container {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  padding-top: 100px;
}

.video-banner {
  /* background-color: #e3e3e3; */
  border-radius: 26.2px;
  min-height: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  height: 600px;
}

.video-banner-content {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  /* gap: 14.4px; */
  /* Approximated from layout */
  text-align: center;
  z-index: 2;
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.banner-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.banner-play-overlay:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.banner-description {
  color: var(--video-cat-color-text-primary);
  font-weight: 400;
  font-size: var(--video-cat-font-size-medium);
  line-height: 25.36px;
  margin: 0;
  max-width: 600px;
  position: relative;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  color: var(--video-cat-color-text-secondary);
}

.play-icon-large {
  width: 87.32px;
  height: 78.59px;
  position: relative;
  z-index: 3;
}

.play-icon {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.banner-play-overlay:hover .play-icon {
  transform: scale(1.1);
}

.banner-text {
  color: #ffffff;
  font-weight: 500;
  font-size: var(--video-cat-font-size-large);
  line-height: 50.72px;
  margin: 0;
  position: relative;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px 25px;
  border-radius: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 56px;
}

.title-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.main-title {
  color: var(--video-cat-color-text-primary);
  font-weight: 700;
  font-size: var(--video-cat-font-size-xlarge);
  line-height: 67.63px;
  margin: 0;
  position: relative;
  padding-bottom: 11px;
  /* Approximated spacing for the line */
}

.main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 282.94px;
  height: 5.4px;
  /* Approximated from layout */
  background-color: var(--video-cat-color-text-primary);
}

.subtitle {
  color: var(--video-cat-color-text-primary);
  font-weight: 500;
  font-size: var(--video-cat-font-size-medium);
  line-height: 25.36px;
  margin: 0;
  max-width: 470px;
}

.filter-button {
  background-color: var(--video-cat-color-background-button);
  color: var(--video-cat-color-text-on-dark);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--video-cat-font-family-main);
  white-space: nowrap;
}

.filter-icon {
  width: 18px;
  height: 16px;
}

.filter-text {
  font-weight: 500;
  font-size: var(--video-cat-font-size-medium);
  line-height: 1.2;
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background-color: var(--video-cat-color-background-dark);
  border-radius: 19.21px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-thumbnail {
  margin: 0;
  background-color: var(--video-cat-color-background-dark);
  position: relative;
  aspect-ratio: 384.2 / 288.15;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12.5px;
  /* Approximated from layout */
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 15px;
  transition: all 0.3s ease;
  opacity: 0;
}

.video-card:hover .card-play-overlay {
  cursor: pointer;
  opacity: 1;
}

.card-play-overlay:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon-small {
  width: var(--video-cat-font-size-medium);
  height: var(--video-cat-font-size-medium);
}

.thumbnail-text {
  color: var(--video-cat-color-text-on-dark);
  font-weight: 500;
  font-size: var(--video-cat-font-size-xlarge);
  line-height: 41.85px;
}

.card-body {
  padding: 30.74px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  color: var(--video-cat-color-text-secondary);
  font-weight: 700;
  font-size: var(--video-cat-font-size-medium);
  line-height: 24.41px;
  margin: 0 0 13.31px 0;
}

.card-description {
  color: var(--video-cat-color-text-secondary);
  font-weight: 400;
  font-size: var(--video-cat-font-size-small);
  line-height: 20.34px;
  margin: 0 0 20.68px 0;
  flex-grow: 1;
}

.video-duration {
  color: var(--video-cat-color-text-secondary);
  font-weight: 400;
  font-size: var(--video-cat-font-size-small);
  line-height: 20.34px;
  margin: 0 0 8px 0;
}

.video-category {
  color: var(--video-cat-color-text-secondary);
  font-weight: 500;
  font-size: var(--video-cat-font-size-small);
  line-height: 20.34px;
  margin: 0 0 20.68px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.no-videos-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--video-cat-color-text-secondary);
  font-size: var(--video-cat-font-size-medium);
  background-color: var(--video-cat-color-background-dark);
  border-radius: 19.21px;
}

.card-link {
  color: var(--video-cat-color-background-button);
  font-weight: 600;
  font-size: var(--video-cat-font-size-small);
  line-height: 20.34px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8.69px;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--video-cat-color-background-hover);
}

.arrow-icon.rotated {
  transform: rotate(45deg);
}

@media (max-width: 1200px) {
  .section-header {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #videos {
    padding: 60px 0;
  }

  .main-title {
    font-size: var(--video-cat-font-size-large);
    line-height: 50px;
  }

  .subtitle {
    font-size: var(--video-cat-font-size-small);
    line-height: 22px;
  }

  .filter-text {
    font-size: var(--video-cat-font-size-medium);
    line-height: 30px;
  }

  .banner-text {
    font-size: var(--video-cat-font-size-large);
    line-height: 40px;
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-banner {
    min-height: 300px;
  }
}

/* Video Modal Styles */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.video-preview-container {
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.video-modal {
  background-color: var(--video-cat-color-background-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--video-cat-color-border);
  background-color: var(--video-cat-color-background-dark);
}

.modal-title {
  color: var(--video-cat-color-text-on-dark);
  font-weight: 600;
  font-size: var(--video-cat-font-size-large);
  margin: 0;
}

.close-button {
  color: var(--video-cat-color-text-on-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  background-color: var(--video-cat-color-border);
}

.close-button img {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 32px;
}

.video-container {
  margin-bottom: 24px;
  position: relative;
}

.video-placeholder {
  background-color: var(--video-cat-color-border);
  border-radius: 12px;
  padding: 60px 20px;
  text-align: center;
  border: 2px dashed var(--video-cat-color-border);
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-player {
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 400px;
  aspect-ratio: 16/9;
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder .play-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.placeholder-text {
  color: #666666;
  font-weight: 500;
  font-size: var(--video-cat-font-size-medium);
  margin: 0;
}

.text-content {
  margin-top: 24px;
}

.content-title {
  color: var(--video-cat-color-text-on-dark);
  font-weight: 600;
  font-size: var(--video-cat-font-size-large);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.content-description {
  color: var(--video-cat-color-text-on-dark);
  font-size: var(--video-cat-font-size-medium);
  line-height: 1.6;
  margin: 0;
}

.modal-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--video-cat-color-border);
  background-color: var(--video-cat-color-background-dark);
  display: flex;
  justify-content: flex-end;
}

/* .next-button {
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: var(--video-cat-font-size-medium);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
} */

.next-button:hover {
  background-color: var(--video-cat-color-background-light);
}

.next-button img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* Responsive modal */
@media (max-width: 768px) {
  .video-preview-container {
    width: 95%;
    margin: 20px;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }

  .video-placeholder {
    padding: 40px 16px;
  }

  .video-placeholder .play-icon {
    width: 50px;
    height: 50px;
  }
}
