.accordion {
  border: 1px solid var(--neutral-075-color);
  border-radius: 16px;
  overflow: hidden;
}

.accordion:hover {
  border: 1px solid var(--yellow-050-color);
  background-color: var(--yellow-050-color);
}

.accordion:hover .accordion-icon {
  background-image: url("../images-v2/arrow-down-icon-hover.webp");
}

.accordion.active {
  background-color: var(--yellow-050-color);
  outline: 2px solid var(--border-primary-pressed);
  outline-offset: -1px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  padding: 16px;
  gap: 16px;
}

.accordion-header h2 {
  font-family: var(--krungsri-500);
  font-weight: 500;
  color: var(--content-high-color);
  font-size: 14px;
  line-height: 20px;
}

.accordion-header h2 span {
  font-family: var(--krungsri-500);
  font-weight: 500;
  white-space: nowrap;
}

.accordion-icon {
  min-width: 24px;
  height: 24px;
  background-image: url("../images-v2/arrow-down-icon.webp");
  background-repeat: no-repeat;
  background-size: contain;
}

.accordion.active .accordion-icon {
  background-image: url("../images-v2/arrow-up-icon.webp");
}

.accordion-body {
  padding: 0px 16px 16px 16px;
  max-height: none;
  display: none;
  cursor: pointer;
}

.accordion.active .accordion-body {
  display: block;
}

.accordion-body p {
  font-family: var(--krungsri-400);
  font-weight: 400;
  color: var(--content-high-color);
  font-size: 12px;
  line-height: 20px;
}

.accordion-body p span {
  font-family: var(--krungsri-400);
  font-weight: 400;
  white-space: nowrap;
}

.link {
  font-family: var(--krungsri-400);
  font-weight: 400;
  color: #0d76c9;
  font-size: 12px;
  line-height: 20px;
}

/* Big Screen (768px++) */
@media (min-width: 768px) {
  .accordion-header h2 {
    font-size: 16px;
    line-height: 24px;
  }

  .accordion-body p {
    font-size: 14px;
    line-height: 20px;
  }

  .link {
    font-size: 14px;
    line-height: 20px;
  }
}
