/**
 * Help section.
 *
 * Mobile-first: base padding/sizes are the narrow values; the 768px query
 * opens up the section padding and heading size.
 */

.dc-help-section {
  padding: 32px 20px;
  border-top: 1px solid var(--border-subtle);
}

.dc-help-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.dc-help-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.dc-help-section__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--digicel-red);
  border-radius: var(--radius-sm);
  color: var(--digicel-red);
}

.dc-help-section__title {
  margin: 0;
  font-weight: var(--weight-black);
  font-size: 22px;
  color: var(--digicel-red);
}

.dc-help-section__item {
  border-top: 1px solid var(--border-subtle);
}

.dc-help-section__item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.dc-help-section__question-wrap {
  margin: 0;
}

.dc-help-section__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  font-family: var(--font-brand);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--fg-primary);
  text-align: left;
  cursor: pointer;
}

.dc-help-section__icon-toggle {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--digicel-red);
  transition: transform var(--dur-med) var(--ease-out);
}

.dc-help-section__question[aria-expanded="true"] .dc-help-section__icon-toggle {
  transform: rotate(45deg);
}

.dc-help-section__panel {
  max-width: 680px;
  padding-bottom: 24px;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  line-height: 1.6;
}

.dc-help-section__panel p {
  margin: 0;
}

@media (min-width: 768px) {
  .dc-help-section {
    padding: 48px 32px;
  }

  .dc-help-section__title {
    font-size: 26px;
  }

  .dc-help-section__question {
    padding: 22px 0;
    font-size: var(--text-md);
  }
}
