/* ===================================
   CAROUSEL
   =================================== */

.carousel-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track>* {
  scroll-snap-align: start;
  flex: 0 0 calc(50% - 14px);
}

@media (max-width: 800px) {
  .carousel-track>* {
    flex: 0 0 100%;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(7, 2, 26, 0.7);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
  backdrop-filter: blur(6px);
}

.carousel-arrow:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.carousel-arrow.prev {
  left: -58px;
}

.carousel-arrow.next {
  right: -58px;
}

@media (max-width: 1240px) {
  .carousel-arrow.prev {
    left: -12px;
  }

  .carousel-arrow.next {
    right: -12px;
  }
}

.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dots button.active {
  background: var(--gold);
  width: 24px;
  border-radius: 999px;
}

/* ===================================
   ADVISORS
   =================================== */

.advisor {
  text-align: center;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advisor-medallion {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-soft) 0%, var(--bg-deep) 72%);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 34px;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 26px;
  box-shadow: 0 0 0 6px var(--bg-deep), 0 0 30px rgba(212, 175, 55, 0.25);
}

.advisor h3 {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.advisor-role {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.advisor-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  flex-grow: 1;
}

.advisor-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.advisor-years {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
}

.advisor-link {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}

.advisor-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

/* ===================================
   LIGHT THEME OVERRIDES
   =================================== */

[data-theme="light"] .advisor-medallion {
  background: radial-gradient(circle, var(--purple-soft) 0%, #fff 72%);
  box-shadow: 0 0 0 6px var(--bg-deep), 0 0 24px rgba(176, 131, 34, 0.2);
}

[data-theme="light"] .carousel-arrow {
  background: rgba(255, 255, 255, 0.85);
}
