body {
  margin: 0;
  background: #faf7f1;
  color: #4f4f4f;
  font-family: Arial, sans-serif;
}

.videos-hero {
  background: #d95423;
  padding: 70px 20px 65px;
  text-align: center;
}

.videos-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 400;
}

.videos-section {
  padding: 60px 20px;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.narrow-container {
  max-width: 1200px;
}

.loading-message {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin: 40px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.video-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  background: rgba(217, 84, 35, 0.9);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  padding-left: 4px;
}

.video-content {
  padding: 18px;
}

.video-content h2 {
  margin: 0 0 10px;
  color: #333;
  font-size: 18px;
  line-height: 1.35;
}

.video-content p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 45px 0 10px;
  flex-wrap: wrap;
}

.pagination-wrap button {
  border: none;
  background: #d95423;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
}

.pagination-wrap button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.page-numbers button {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #d95423;
  border: 1px solid #d95423;
}

.page-numbers button.active {
  background: #d95423;
  color: #fff;
}

.videos-footer {
  text-align: center;
  padding: 18px 20px;
  color: #777;
  font-size: 14px;
}

.videos-footer p {
  margin: 0;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 600px) {
  .videos-hero {
    padding: 45px 16px;
  }

  .videos-hero h1 {
    font-size: 42px;
  }

  .videos-section {
    padding: 40px 16px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .pagination-wrap {
    gap: 10px;
  }

  .pagination-wrap button {
    padding: 10px 18px;
  }

  .page-numbers button {
    width: 38px;
    height: 38px;
    padding: 0;
  }
}