/* ============================================================
   BFGI — "Visitor Reviews" rotating spotlight.
   Designed to NOT look like the Alumni Voices section:
     - Dark navy background with giant quote-mark watermark
     - Single review visible at a time, fade transition
     - Dash-dot pagination (not arrow controls)
   ============================================================ */

:root {
  --vrev-navy:     #141414;
  --vrev-navy-2:   #1f1f1f;
  --vrev-red:      #e31e24;
  --vrev-red-d:    #c71920;
  --vrev-gold:     #f5a11a;
  --vrev-ink:      #ffffff;
  --vrev-muted:    rgba(255, 255, 255, 0.72);
  --vrev-muted-2:  rgba(255, 255, 255, 0.52);
  --vrev-line:     rgba(255, 255, 255, 0.14);
}

.bfgi-vrev,
.bfgi-vrev * { box-sizing: border-box; }

.bfgi-vrev {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
  /* Layered backdrop: navy base + subtle radial accent + diagonal weave */
  background:
    radial-gradient(ellipse at 20% 0%, rgba(227, 30, 36, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(227, 30, 36, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, #0d0d0d 0%, #141414 50%, #1b1b1b 100%);
  color: var(--vrev-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  isolation: isolate;
}

/* Opaque shield to defeat the hero overlay bleed, same trick as .bfgi-vox */
.bfgi-vrev__shield {
  position: absolute; inset: 0;
  background: var(--vrev-navy);
  z-index: -2;
}

/* Subtle diagonal weave on top of the gradient */
.bfgi-vrev::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg,
    rgba(255, 255, 255, 0.02) 0 2px,
    transparent 2px 24px);
  pointer-events: none;
  z-index: -1;
}

/* Giant decorative quote mark watermark — anchored top-right */
.bfgi-vrev__quote-mark {
  position: absolute;
  top: -30px;
  right: -40px;
  width: clamp(240px, 32vw, 460px);
  height: auto;
  color: rgba(227, 30, 36, 0.09);
  pointer-events: none;
  z-index: 0;
}

.bfgi-vrev__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======== Header ======== */
.bfgi-vrev__head {
  text-align: center;
  margin-bottom: 36px;
}
.bfgi-vrev__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 14px;
  background: var(--vrev-red);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(227, 30, 36, 0.4);
  margin-bottom: 18px;
}
.bfgi-vrev__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: #ffffff;
}
.bfgi-vrev__lede {
  margin: 0 auto;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--vrev-muted);
}

/* ======== Rotating spotlight ======== */
.bfgi-vrev__stage {
  position: relative;
  min-height: 300px;        /* reserves space during fade so nothing jumps */
  margin: 0 auto;
}
.bfgi-vrev__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bfgi-vrev__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* The quote itself — large editorial pull-quote */
.bfgi-vrev__quote {
  margin: 0 auto 24px;
  max-width: 760px;
  padding: 0 12px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  font-weight: 400;
  color: #f1f5f9;
  font-style: italic;
  letter-spacing: 0.005em;
  quotes: "\201C" "\201D";
}
.bfgi-vrev__quote::before { content: open-quote;  margin-right: 3px; color: var(--vrev-red); font-weight: 700; font-style: normal; }
.bfgi-vrev__quote::after  { content: close-quote; margin-left: 3px;  color: var(--vrev-red); font-weight: 700; font-style: normal; }

/* Star rating row */
.bfgi-vrev__rating {
  display: inline-flex;
  gap: 2px;
  margin: 0 0 18px;
  justify-content: center;
}
.bfgi-vrev__rating svg { display: block; }

/* Attribution row: circular photo (with red ring) + name/designation */
.bfgi-vrev__attr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.bfgi-vrev__photo {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vrev-navy-2);
  box-shadow: 0 0 0 3px var(--vrev-red),
              0 6px 18px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
}
.bfgi-vrev__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.bfgi-vrev__who {
  text-align: left;
  min-width: 0;
}
.bfgi-vrev__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}
.bfgi-vrev__sub {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--vrev-muted);
  line-height: 1.4;
  max-width: 440px;
}

/* ======== Dash-style pagination ======== */
.bfgi-vrev__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.bfgi-vrev__dot {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  transition: background .2s ease, width .25s ease;
}
.bfgi-vrev__dot:hover { background: rgba(255, 255, 255, 0.35); }
.bfgi-vrev__dot.is-active {
  background: var(--vrev-red);
  width: 44px;
}
.bfgi-vrev__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ======== Breakpoints ======== */
@media (max-width: 767px) {
  .bfgi-vrev { padding: 48px 0 56px; }
  .bfgi-vrev__inner { padding: 0 18px; }
  .bfgi-vrev__head { margin-bottom: 28px; }
  .bfgi-vrev__title { font-size: 22px; }
  .bfgi-vrev__lede { font-size: 13.5px; }
  .bfgi-vrev__quote { font-size: 16px; padding: 0 4px; }
  .bfgi-vrev__stage { min-height: 320px; }
  .bfgi-vrev__attr { gap: 12px; flex-direction: row; }
  .bfgi-vrev__photo { width: 48px; height: 48px; font-size: 18px; }
  .bfgi-vrev__name { font-size: 13.5px; }
  .bfgi-vrev__sub  { font-size: 11.5px; }
  .bfgi-vrev__dots { margin-top: 24px; }
  .bfgi-vrev__dot { width: 20px; }
  .bfgi-vrev__dot.is-active { width: 32px; }
  .bfgi-vrev__quote-mark { width: 180px; top: -16px; right: -30px; }
}

/* Reduced motion: no fade, no auto-rotate shift */
@media (prefers-reduced-motion: reduce) {
  .bfgi-vrev__slide { transition: opacity .2s linear; transform: none; }
  .bfgi-vrev__dot { transition: none; }
}
