
/* XEROFI YOUTUBE SHOWCASE */

.youtube-section.youtube-showcase {
  padding: 80px 0;
  background: #f5f9fc;
  overflow: hidden;
}

.youtube-showcase .container-fluid {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
  padding: 0;
}

/* Header */

.youtube-showcase-header {
  text-align: center;
  margin-bottom: 38px;
}

.youtube-showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #208fd0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.youtube-showcase-label i {
  color: #e50914;
  font-size: 25px;
}

.youtube-showcase-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: #102f5f;
  margin-bottom: 15px;
  line-height: 1.25;
}

.youtube-showcase-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: #64748b;
}

/* Main Video */

.youtube-featured {
  max-width: 960px;
  margin: 0 auto 28px;
  border-radius: 18px;
  overflow: hidden;
  background: #102f5f;
  box-shadow: 0 12px 35px rgba(0, 35, 80, 0.13);
}

.youtube-featured iframe,
.youtube-video-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video Grid */

.youtube-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.youtube-video-card {
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 35, 80, 0.08);
  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

.youtube-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 35, 80, 0.15);
}

/* Channel Button */

.youtube-showcase-footer {
  text-align: center;
  margin-top: 38px;
}

.youtube-channel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 10px;
  background: #208fd0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.youtube-channel-button:hover {
  background: #126aa6;
  color: #fff;
}

.youtube-channel-button .fa-youtube {
  font-size: 22px;
}

/* Tablet */

@media (max-width: 991px) {
  .youtube-section.youtube-showcase {
    padding: 60px 0;
  }

  .youtube-video-grid {
    gap: 18px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .youtube-section.youtube-showcase {
    padding: 45px 0;
  }

  .youtube-showcase .container-fluid {
    width: calc(100% - 30px);
  }

  .youtube-showcase-header {
    margin-bottom: 25px;
  }

  .youtube-showcase-header p {
    font-size: 15px;
  }

  .youtube-featured {
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .youtube-video-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .youtube-video-card {
    border-radius: 12px;
  }

  .youtube-showcase-footer {
    margin-top: 28px;
  }

  .youtube-channel-button {
    font-size: 14px;
    padding: 14px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .youtube-video-card,
  .youtube-channel-button {
    transition: none;
  }
}
