/* ==========================================================================
   FutureNest Placements — All Videos Page Stylesheet
   ========================================================================== */

/* Active link indicator for All Videos */
.fn-videos-page .nav__link[href*="video"].active {
  color: #a56400;
}
.fn-videos-page .nav__link[href*="video"].active::after {
  background: var(--fn-gold, #f5a623);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.vd-hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 25%, #183358 0%, #0c1a2e 85%);
  color: #ffffff;
  padding: clamp(4.5rem, calc(var(--fn-layout-width) * 0.06), 7rem) 0 clamp(3.5rem, calc(var(--fn-layout-width) * 0.045), 5.5rem);
  text-align: center;
  overflow: hidden;
}

.vd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(245, 166, 35, 0.08) 0, transparent 40%),
    radial-gradient(circle at 80% 40%, rgba(56, 189, 248, 0.06) 0, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.vd-hero__inner {
  max-width: 54rem;
  margin-inline: auto;
}

.vd-hero__title {
  font-family: 'Urbanist', var(--font-display, sans-serif);
  font-size: clamp(2.35rem, calc(var(--fn-layout-width) * 0.038), 4.25rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45em;
}

.vd-hero__gold {
  color: var(--fn-gold, #f5a623);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.vd-hero__white {
  color: #ffffff;
  font-weight: 400;
}

.vd-hero__lead {
  font-family: 'Manrope', var(--font-body, sans-serif);
  font-size: clamp(0.95rem, calc(var(--fn-layout-width) * 0.0105), 1.18rem);
  line-height: 1.65;
  color: #e2e8f0;
  max-width: 42.5rem;
  margin: 1.25rem auto 0;
}

/* --------------------------------------------------------------------------
   Videos Grid Section
   -------------------------------------------------------------------------- */
.vd-section {
  position: relative;
  background: #ffffff;
  padding: clamp(3.5rem, calc(var(--fn-layout-width) * 0.045), 5.5rem) 0 clamp(4.5rem, calc(var(--fn-layout-width) * 0.06), 7rem);
  transition: background-color 0.25s ease;
}

[data-theme="dark"] .vd-section {
  background: #090e18;
}

.vd-wrap {
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, calc(var(--fn-layout-width) * 0.025), 2.5rem);
}

.vd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
  gap: clamp(1.25rem, calc(var(--fn-layout-width) * 0.018), 2rem);
  list-style: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Video Card
   -------------------------------------------------------------------------- */
.vd-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 16 / 9;
  background: #142747;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(10, 25, 47, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.3s ease;
}

[data-theme="dark"] .vd-card {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.vd-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-color: rgba(245, 166, 35, 0.5);
}

[data-theme="dark"] .vd-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

/* Card Thumbnail */
.vd-card picture {
  display: contents;
}

.vd-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.vd-card:hover .vd-card__img {
  transform: scale(1.03);
}

/* Center Play Button matching user reference design */
.vd-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(45, 35, 28, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease;
}

.vd-card__play svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: #ffffff;
  margin-left: 2px;
}

.vd-card:hover .vd-card__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(45, 35, 28, 0.6);
}

/* Bottom Caption Overlay */
.vd-card__caption {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.35rem 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 14, 28, 0.42) 28%, rgba(5, 12, 24, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.vd-card__info {
  min-width: 0;
  flex: 1;
}

.vd-card__name {
  font-family: 'Urbanist', var(--font-display, sans-serif);
  font-size: clamp(0.95rem, calc(var(--fn-layout-width) * 0.011), 1.15rem);
  font-weight: 600;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vd-card__role {
  font-family: 'Manrope', var(--font-body, sans-serif);
  font-size: clamp(0.78rem, calc(var(--fn-layout-width) * 0.0085), 0.9rem);
  font-weight: 400;
  color: #ffffff !important;
  margin: 0.25rem 0 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-card__stars {
  color: #f5a623;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  margin-top: 0.35rem;
  line-height: 1;
}

/* Verified Pill Badge */
.vd-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  font-family: 'Manrope', var(--font-body, sans-serif);
  font-size: clamp(0.75rem, calc(var(--fn-layout-width) * 0.0078), 0.88rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.vd-card__verified-icon {
  width: 0.95rem;
  height: 0.85rem;
  display: inline-block;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.vd-cta {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 65% 50%, #f5ac25 0%, #c57f00 100%);
  color: #ffffff;
  padding: clamp(3.75rem, calc(var(--fn-layout-width) * 0.048), 5.75rem) 0;
  overflow: visible;
}

.vd-cta__wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vd-cta__copy {
  max-width: 52%;
}

.vd-cta h2 {
  font-family: 'Urbanist', var(--font-display, sans-serif);
  font-size: clamp(1.85rem, calc(var(--fn-layout-width) * 0.026), 3.15rem);
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
}

.vd-cta h2 strong {
  font-weight: 800;
  text-transform: uppercase;
}

.vd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.vd-cta .btn--header {
  background: #ffffff;
  color: #333333;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vd-cta .btn--header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.vd-cta__btn-journey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: #784409;
  color: #ffffff;
  min-height: 2.75rem;
  padding: 0.625rem 1.75rem;
  border-radius: 1.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.vd-cta__btn-journey:hover {
  background: #5b3305;
  transform: translateY(-2px);
}

.vd-cta__advisor {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 35%;
  max-width: 31rem;
  height: 145%;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vd-card,
  .vd-card__img,
  .vd-card__play,
  .vd-cta__btn-journey,
  .vd-cta .btn--header {
    transition: none !important;
    transform: none !important;
  }
}
