/* ─── Page Layout ────────────────────────────────────────────────────────── */
.faqs-fees-layout {
  padding: 60px 0;
}
@media (min-width: 1024px) { .faqs-fees-layout { padding: 80px 0; } }

.faqs-fees-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media (min-width: 1024px) {
  .faqs-fees-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

/* ─── Shared Column Styles ───────────────────────────────────────────────── */
.faqs-section,
.fees-section {
  width: 100%;
}
@media (min-width: 1024px) {
  .faqs-section { flex: 1; padding-right: 60px; border-right: 1px solid rgba(0,0,0,0.1); }
  .fees-section  { flex: 1; padding-left:  60px; }
}

.ff-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 20px;
}
@media (min-width: 1024px) { .ff-heading { font-size: 48px; margin-bottom: 40px; } }

/* ─── FAQ Accordion ──────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-top: 1px solid rgba(0,0,0,0.15); }
.faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.15); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-text);
}
@media (min-width: 768px)  { .faq-question { font-size: 18px; } }
@media (min-width: 1024px) { .faq-question { font-size: 20px; padding: 28px 0; } }

.faq-question:hover { color: var(--color-primary); }

.faq-icon {
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--color-primary);
  font-weight: 300;
  width: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}
@media (min-width: 1024px) { .faq-icon { font-size: 28px; } }

/* Expanded state */
.faq-question[aria-expanded="true"] .faq-icon {
  content: '−';
}

.faq-answer {
  display: none;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
  overflow: hidden;
}
.faq-answer-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
@media (min-width: 768px)  { .faq-answer p { font-size: 16px; } }
@media (min-width: 1024px) { .faq-answer p { font-size: 18px; line-height: 1.6; } }

.faq-answer a {
  color: var(--color-primary);
  text-decoration: underline;
}

.faq-answer a:hover {
  text-decoration: none;
}

.faq-placeholder {
  font-style: italic;
  opacity: 0.6;
  border: 1px dashed rgba(0,0,0,0.2);
  padding: 12px 16px;
  border-radius: 6px;
}

/* Add bottom padding to open answers */
.faq-item.open .faq-answer-inner {
  padding-bottom: 24px;
}

/* ─── Fees Table ─────────────────────────────────────────────────────────── */
.fees-table {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.fees-divider {
  height: 1px;
  background: rgba(0,0,0,0.15);
}

.fees-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font-weight: 300;
  font-size: 16px;
  color: #333;
}
@media (min-width: 1024px) { .fees-row { font-size: 18px; gap: 24px; } }

.fees-header {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  padding: 0 0 10px;
}

.fees-col-type { flex: 1; min-width: 0; }
.fees-col-time { flex-shrink: 0; width: 110px; }
@media (min-width: 1024px) { .fees-col-time { width: 140px; } }
.fees-col-cost { flex-shrink: 0; width: 120px; text-align: right; }
@media (min-width: 1024px) { .fees-col-cost { width: 140px; } }

.fees-footnote {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 40px;
}
@media (min-width: 1024px) { .fees-footnote { font-size: 16px; } }

/* ─── No Surprises Act ───────────────────────────────────────────────────── */
.no-surprises {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.no-surprises-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: #333;
}
@media (min-width: 1024px) { .no-surprises-title { font-size: 16px; } }

.no-surprises p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}
@media (min-width: 1024px) { .no-surprises p { font-size: 16px; } }

.no-surprises a {
  color: var(--color-primary);
  text-decoration: underline;
}

.no-surprises a:hover {
  text-decoration: none;
}
