
/* =========================================================
   Prestige Rug Video Pages
   Shared styling for rug education video pages
========================================================= */

.rug-video-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center bottom;
  overflow: hidden;
}

.rug-video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.38) 52%,
    rgba(0,0,0,.16) 100%
  );
}

.rug-video-hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 0;
  color: white;
}

.rug-video-main-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(239,215,119,.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.rug-video-content {
  max-width: 720px;
}

.rug-video-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--prestige-dark);
  margin-bottom: 1.5rem;
}

.rug-video-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: 1.5rem;
}

.rug-video-card {
  padding: 1.25rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 55px rgba(0,0,0,.12);
  border: 1px solid rgba(47,88,116,.1);
}

.rug-video-wrap {
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}

.rug-video-note {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-left: 6px solid var(--prestige-gold);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.rug-video-note p:last-child {
  margin-bottom: 0;
}

.rug-video-links-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--prestige-blue-dark), #263946);
}

.rug-video-links-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
  color: white;
}

.rug-video-links-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
}

.rug-video-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.rug-video-link-card {
  display: block;
  height: 100%;
  padding: 1.35rem 1.5rem;
  background: rgba(255,255,255,.96);
  border-radius: 1rem;
  color: var(--prestige-dark);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  border: 1px solid rgba(239,215,119,.45);
  transition:
    box-shadow .25s ease,
    transform .25s ease;
}

.rug-video-link-card:hover {
  color: var(--prestige-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
}

.rug-video-link-card span {
  display: block;
  color: var(--prestige-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.rug-video-link-card strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .rug-video-hero {
    min-height: 220px;
  }

  .rug-video-hero-content {
    padding: 55px 0;
  }

  .rug-video-main-section,
  .rug-video-links-section {
    padding: 70px 0;
  }
}

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

/* =========================================================
   Rug Video Library / Related Videos
========================================================= */

.rug-video-links-section {
  position: relative;
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(239,215,119,.14), transparent 30%),
    linear-gradient(135deg, var(--prestige-blue-dark), #172530);
  overflow: hidden;
}

.rug-video-links-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .35;
}

.rug-video-links-section .container {
  position: relative;
  z-index: 2;
}

.rug-video-links-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
  color: white;
}

.rug-video-links-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
}

.rug-video-library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.rug-video-library-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1rem;
  color: white;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease;
}

.rug-video-library-card:hover {
  color: white;
  transform: translateY(-2px);
  background: rgba(255,255,255,.13);
  border-color: rgba(239,215,119,.55);
}

.rug-video-library-card span {
  position: relative;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(239,215,119,.14);
  border: 1px solid rgba(239,215,119,.45);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}

.rug-video-library-card span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;

  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--prestige-gold);
}

.rug-video-library-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
}

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

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

  .rug-video-library-card {
    min-height: 78px;
  }
}