/* ===================================
   From The Journal Block Styles
   =================================== */

.advisors-carousel {
  position: relative;
  margin: 0 -8px;
}
.advisors-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 8px 24px;
  -webkit-overflow-scrolling: touch;
}
.advisors-track::-webkit-scrollbar { display: none; }

.advisor-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-card, rgba(28, 12, 64, 0.55));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line, rgba(212, 175, 55, 0.3));
  color: var(--gold, #d4af37);
  font-family: 'Cinzel', serif;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 24px rgba(7, 2, 26, 0.4);
}
.advisor-arrow:hover {
  background: var(--gold-soft, rgba(212, 175, 55, 0.15));
  border-color: var(--gold, #d4af37);
  color: var(--gold-bright, #f4d27a);
}
.advisor-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.advisor-arrow:disabled:hover {
  background: var(--bg-card, rgba(28, 12, 64, 0.55));
  border-color: var(--line, rgba(212, 175, 55, 0.3));
  color: var(--gold, #d4af37);
}
.advisor-arrow.prev { left: -22px; }
.advisor-arrow.next { right: -22px; }

.advisors-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 28px;
}
.advisors-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line, rgba(212, 175, 55, 0.3));
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.advisors-dots button.active {
  background: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
  transform: scale(1.3);
}

.advisors-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 800px) {
  .advisor-arrow { width: 44px; height: 44px; font-size: 18px; }
  .advisor-arrow.prev { left: -8px; }
  .advisor-arrow.next { right: -8px; }
}

/* ---------------------------------
   Blog Cards
   --------------------------------- */

.blog-track > .blog-card {
  flex: 0 0 calc(50% - 12px);
  scroll-snap-align: start;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.blog-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
    linear-gradient(135deg, #1c0c40 0%, #110632 100%);
  border-bottom: 1px solid var(--line-dim, rgba(212, 175, 55, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-glyph {
  font-family: 'Cinzel', serif;
  font-size: 64px;
  color: var(--gold, #d4af37);
  opacity: 0.7;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}
.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright, #f4d27a);
  background: rgba(7, 2, 26, 0.7);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dim, rgba(212, 175, 55, 0.12));
  font-weight: 500;
}
.blog-thumb::before {
  content: '✦';
  position: absolute;
  top: 18px; right: 18px;
  color: var(--gold, #d4af37);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  opacity: 0.45;
}
.blog-thumb::after {
  content: '✧';
  position: absolute;
  bottom: 18px; left: 18px;
  color: var(--purple-bright, #a78bfa);
  font-family: 'Cinzel', serif;
  font-size: 14px;
  opacity: 0.55;
}
.blog-content {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.blog-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--text-primary, #f5e6d3);
  line-height: 1.25;
}
.blog-content p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--text-secondary, #b5a89e);
  line-height: 1.55;
  flex-grow: 1;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line-dim, rgba(212, 175, 55, 0.12));
  margin-top: 8px;
}
.blog-date {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted, #7a6f80);
  font-weight: 500;
}
.blog-link {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright, #f4d27a);
  text-decoration: none;
  border-bottom: 1px solid var(--line, rgba(212, 175, 55, 0.3));
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.blog-link:hover { color: var(--gold, #d4af37); border-bottom-color: var(--gold-bright, #f4d27a); }

@media (max-width: 800px) {
  .blog-track > .blog-card {
    flex: 0 0 calc(100% - 8px);
  }
  .blog-glyph { font-size: 48px; }
}
