/* Build v0.9.8R.16 - Accordion Component Styles */

.accordion {
  width: 100%;
}

.accordion__item {
  border-bottom: 1px solid #e2e8f0;
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: 'Ubuntu Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #1f1f1f;
}

.accordion__trigger:hover {
  color: var(--color-red-primary);
}

.accordion__trigger[aria-expanded="true"] {
  color: var(--color-red-primary);
}

.accordion__trigger-text {
  flex: 1;
  margin-right: 12px;
}

.accordion__trigger-icon {
  transition: transform 0.2s ease;
  color: #64748b;
  flex-shrink: 0;
}

.accordion__trigger[aria-expanded="true"] .accordion__trigger-icon {
  transform: rotate(90deg);
}

.accordion__content {
  overflow: hidden;
  transition: height 0.2s ease;
}

.accordion__content[aria-hidden="true"] {
  height: 0;
}

.accordion__content[aria-hidden="false"] {
  height: auto;
}

.accordion__content-inner {
  padding: 0 0 16px 0;
  font-family: 'Ubuntu Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

.accordion__content-inner p {
  margin: 0 0 12px 0;
}

.accordion__content-inner p:last-child {
  margin-bottom: 0;
}

/* FAQ specific styles */
.faq {
  width: 100%;
}

.faq__title {
  font-family: 'Ubuntu Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.087;
  color: rgba(0, 0, 0, 0.9);
  margin: 0 0 16px;
  text-align: left;
}

.faq__description {
  font-family: 'Ubuntu Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 32px;
}

.faq__accordion {
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq__title {
    font-size: 36px;
  }
  
  .accordion__trigger {
    font-size: 14px;
    padding: 12px 0;
  }
  
  .accordion__content-inner {
    font-size: 13px;
  }
}
