@charset "utf-8";

/* =========================================================
   ADVISOR ROW (single card)
========================================================= */

.advisor-row{
  margin-top: 40px;
  border: var(--line-thin);
  padding: 32px;
}

/* =========================================================
   ADVISOR GRID — 2 UP
========================================================= */

.advisor-grid-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* =========================================================
   ADVISOR GRID — 3 UP (archival)
========================================================= */

.advisor-grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* =========================================================
   MEDIA FRAMES (canonical)
========================================================= */

.media-frame{
  border-radius: 1px;
  overflow: hidden;
  border: 1px dotted var(--color-dark);
  background-color: var(--bg);
}

.media-frame img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
========================================================= */

/* Medium screens */
@media (max-width: 900px){
  .advisor-grid-2{
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .advisor-row{
    margin-top: 24px;
    padding: 18px;
  }

  .advisor-row .media-frame img{
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small screens */
@media (max-width: 700px){
  .advisor-grid-3{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Very small screens */
@media (max-width: 520px){
  .advisor-row{
    padding: 14px;
  }

  .advisor-row .media-frame img{
    max-width: 88%;
  }
}

/* =========================================
   FAQ ACCORDION 
========================================= */

/* Pull FAQ section closer to top */
.section.faq-wrap{
  padding-top: clamp(24px, 4vw, 40px);
}

.faq-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.faq-card{
  border: 1px dotted var(--plate-color);
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--card-pad);
}

.faq-card{ width: 100%; }

.faq-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px dotted rgba(79,56,0,.55);
  margin-bottom: var(--space-2);
}

.faq-title{
  margin: 0;
  font-size: var(--step-2);
  letter-spacing: 0.01em;
}

.faq-hint{
  margin: 0;
  font-size: 10px;
  color: var(--color-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.faq{
  display: block;
}

.faq-item{
  border: var(--line-thin);
  padding: 32px;
  position: relative;
}

.faq-item:first-child{
  border-top: var(--line-thin);
  margin-top: -1px;
}

.faq-q{
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--gap-2);

  padding: var(--space-2) 0;
  background: transparent;
  border: 0;

  color: var(--color-light);
  font-family: inherit;
  font-size: var(--step-0);
  text-align: left;
  cursor: crosshair;
}

.faq-q:hover{
  color: rgba(252,249,221,.92);
}

.faq-q:focus-visible{
  outline: 1px dotted rgba(252,249,221,.55);
  outline-offset: 6px;
}

/* Cursor language */
.faq-q,
.faq-q *{
  cursor: zoom-in;
}

.faq-item.is-open .faq-q,
.faq-item.is-open .faq-q *{
  cursor: zoom-out;
}

/* Icon box */
.faq-icon{
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px dotted rgba(79,56,0,.7);
  border-radius: var(--radius);

  color: var(--color-medium);
  user-select: none;
}

.faq-icon i{
  display: block;
  font-size: 18px;
  line-height: 1;
}

.faq-text{
  display: inline-block;
}

/* Motion: refined timing (keeps your theme and properties) */
.faq-a{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-2px);

  transition:
    max-height 420ms cubic-bezier(.4,0,.2,1),
    opacity 220ms ease,
    transform 220ms ease;
}

.faq-a-inner{
  width: 100%;
  padding: 0 0 var(--space-2);
  color: var(--color-medium);
  font-size: var(--step--1);
}

.faq-item.is-open .faq-a{
  opacity: 1;
  transform: translateY(0);
}

/* Optional: reduced motion */
@media (prefers-reduced-motion: reduce){
  .faq-a{
    transition: none;
  }
}