.extra-page {
  padding-bottom: 48px;
}

.extra-topbar {
  padding-top: 20px;
  min-height: 42px;
}

.extra-hero {
  margin-top: 28px;
  padding: 42px 28px;
  text-align: center;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(20, 20, 20, 0.92), rgba(74, 52, 35, 0.82)),
    url("images/texwiki.jpg") center/cover;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.extra-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.extra-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.extra-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.video-section {
  margin-top: 42px;
}

.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}

.section-heading p {
  margin: 0;
  color: #6b7280;
}

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

.video-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16);
}

.video-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
}

.video-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.26));
}

.video-preview:hover img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #ff0000;
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.play-button i {
  margin-left: 3px;
  font-size: 1.2rem;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .extra-hero {
    margin-top: 18px;
    padding: 32px 20px;
    border-radius: 18px;
  }

  .video-section {
    margin-top: 32px;
  }
}

@media (max-width: 500px) {
  .extra-page {
    padding-bottom: 32px;
  }

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