/* ==========================================================================
   RAMOJI STUDIO — VIDEO TESTIMONIALS PAGE STYLESHEET
   Consistent with Homepage, Case Studies, Locations & Stages Design System
   ========================================================================== */

/* Hero Header (#sd-fiveb) — Blue Background, No Images */
#sd-fiveb.sd-video-hero {
  position: relative;
  z-index: 10;
  background: var(--primary-clr);
  color: #ffffff;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: clamp(380px, 44vh, 520px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--comm-spc);
  text-align: center;
}

#sd-fiveb.sd-video-hero .sd-fmt-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

#sd-fiveb.sd-video-hero .sd-breadcrumbs {
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: clamp(14px, 1.8vh, 22px);
}

#sd-fiveb.sd-video-hero .sd-breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

#sd-fiveb.sd-video-hero .sd-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#sd-fiveb.sd-video-hero .sd-breadcrumbs .sd-bc-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

#sd-fiveb.sd-video-hero .sd-breadcrumbs .sd-bc-current {
  color: #ffffff;
  font-weight: 400;
}

#sd-fiveb.sd-video-hero .sd-fmt-heading {
  color: #ffffff;
  margin: 0 0 clamp(16px, 2vh, 24px);
  text-wrap: balance;
}

#sd-fiveb.sd-video-hero p {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.55;
  color: #f1efea;
  margin: 0 auto;
  max-width: 860px;
}

/* ==========================================================================
   VIDEO TESTIMONIALS MAIN SECTION (#sd-video-section)
   Full-Width 2-Column Grid matching Wireframe
   ========================================================================== */
#sd-video-section {
  position: relative;
  z-index: 7;
  background: #ffffff;
  color: var(--primary-clr);
  box-sizing: border-box;
  width: 100%;
  padding: clamp(64px, 8vh, 100px) clamp(20px, 3.8vw, 64px) clamp(72px, 9vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sd-video-container {
  width: 100%;
  max-width: var(--container-max, 1280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

/* Full-Width 2-Column Grid */
.sd-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 48px);
  width: 100%;
  max-width: var(--container-max, 1280px);
  box-sizing: border-box;

  margin-left: auto;
  margin-right: auto;
}

/* Video Card Article */
.sd-vtest-card {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.sd-vtest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.09);
  border-color: rgba(227, 30, 36, 0.35);
}

/* Video Media Thumbnail Wrapper — 16:9 Aspect Ratio */
.sd-vtest-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111111;
  overflow: hidden;
}

.sd-vtest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}

.sd-vtest-card:hover .sd-vtest-img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

/* Dark Gradient Vignette */
.sd-vtest-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.05) 40%,
      rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

/* Top Meta Badges */
.sd-vtest-badge-row {
  position: absolute;
  top: clamp(14px, 1.2vw, 16px);
  left: clamp(14px, 1.2vw, 16px);
  right: clamp(14px, 1.2vw, 16px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.sd-vtest-badge {
  background: rgba(27, 54, 82, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: "Geist", sans-serif;
  font-size: clamp(14px, 0.68vw, 12px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  padding: 5px 10px;
  border-radius: 0;
}

.sd-vtest-duration {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: "Geist", monospace;
  font-size: clamp(9px, 0.65vw, 11px);
  font-weight: 600;
  letter-spacing: 0px;
  padding: 5px 8px;
}

/* Center Frosted Play Button */
.sd-vtest-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: clamp(48px, 3.8vw, 64px);
  height: clamp(48px, 3.8vw, 64px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-clr);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.sd-vtest-play-btn svg,
.sd-vtest-play-btn i {
  font-size: clamp(20px, 1.5vw, 26px);
  margin-left: 2px;
  transition: transform 0.3s ease;
}

.sd-vtest-card:hover .sd-vtest-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #e31e24;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(227, 30, 36, 0.45);
}

.sd-vtest-card:hover .sd-vtest-play-btn svg,
.sd-vtest-card:hover .sd-vtest-play-btn i {
  transform: scale(1.08);
}

/* Video Card Content / Typography */
.sd-vtest-info {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vw, 28px);
  gap: clamp(14px, 1.2vh, 16px);
  flex-grow: 1;
  justify-content: space-between;
}

.sd-vtest-quote {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0px;
  color: var(--primary-clr);
  margin: 0;
  transition: color 0.25s ease;
}

.sd-vtest-card:hover .sd-vtest-quote {
  color: #e31e24;
}

.sd-vtest-desc {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: #555555;
  margin: 0;
}

/* Author Row with Avatar */
.sd-vtest-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: clamp(16px, 1.4vh, 18px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: auto;
}

.sd-vtest-avatar {
  width: clamp(44px, 3.2vw, 52px);
  height: clamp(44px, 3.2vw, 52px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.sd-vtest-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sd-vtest-author-name {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--primary-clr);
  margin: 0;
}

.sd-vtest-author-role {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 0.8vw, 14px);
  font-weight: 500;
  color: var(--grey);
  margin: 0;
}

/* ==========================================================================
   INTERACTIVE VIDEO MODAL LIGHTBOX
   ========================================================================== */
#sd-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 4vw;
  box-sizing: border-box;
}

#sd-video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.sd-modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  /* overflow: hidden; */
}

.sd-modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sd-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.sd-modal-close:hover {
  transform: scale(1.15) rotate(90deg);
  color: #e31e24;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .sd-video-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
  }

  #sd-fiveb.sd-video-hero {
    min-height: 360px;
  }

  #sd-fiveb.sd-video-hero .sd-fmt-heading {
    font-size: clamp(30px, 6vw, 52px);
  }
}

@media (max-width: 640px) {
  #sd-fiveb.sd-video-hero {
    padding: 14vh 5vw 5vh;
  }

  #sd-fiveb.sd-video-hero .sd-fmt-heading {
    font-size: clamp(26px, 8vw, 38px);
  }

  #sd-video-section {
    padding: 48px 5vw 64px;
  }

  .sd-vtest-info {
    padding: 20px;
  }

  .sd-vtest-quote {
    font-size: 20px;
  }

  .sd-modal-close {
    top: -40px;
    font-size: 26px;
  }
}