/* RentGuarantor CSS: faq.css (source: src/assets/scss/_faq.scss) */
/* FAQ Styles - Atom, Molecule, and Organism */
.faq-item {
  background-color: #ffffff;
  border: none;
  border-radius: 20px !important;
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-item .faq-button {
  background-color: transparent;
  border: none;
  padding: 20px;
  box-shadow: none !important;
  color: var(--text-headings-primary);
  font-family: var(--font-family-bodycopy);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
}
.faq-item .faq-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.faq-item .faq-button:hover {
  background-color: transparent;
}
.faq-item .faq-button::after {
  content: "";
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-size: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M14 5.83337V22.1667' stroke='%23232D5D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.83337 14H22.1667' stroke='%23232D5D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  margin-left: auto;
}
.faq-item .faq-button:not(.collapsed) {
  background-color: var(--color-grey-100) !important;
}
.faq-item .faq-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M5.83337 14H22.1667' stroke='%23232D5D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.faq-item .faq-button span {
  flex: 1;
}
.faq-item .faq-body {
  padding: 0 20px 20px 20px;
  background-color: #ffffff;
  transition: background-color 0.2s ease;
}
.faq-item .faq-body p {
  font-family: var(--font-family-bodycopy);
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
  color: var(--text-bodycopy-primary);
}
.faq-item .faq-body a {
  color: var(--text-bodycopy-primary);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}
.faq-item .faq-body a:hover {
  color: var(--text-headings-primary);
}
.faq-item--open .faq-body {
  background-color: var(--color-grey-100);
}

.faq-section {
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}
@media (max-width: 991.98px) {
  .faq-section {
    margin-bottom: 36px;
  }
}
.faq-section:last-child {
  margin-bottom: 0;
}
.faq-section__heading {
  color: var(--color-core-black);
  font-family: var(--font-family-heading);
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  margin-bottom: 24px;
}
@media (max-width: 991.98px) {
  .faq-section__heading {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 16px;
  }
}
.faq-list {
  padding: 60px 0;
  background-color: var(--surface-general-fifth);
}
@media (max-width: 991.98px) {
  .faq-list {
    padding: 40px 0;
  }
}
.faq-list--blue {
  background-color: var(--surface-general-tertiary);
}
.faq-list--blue .faq-item .faq-button:not(.collapsed) {
  background-color: var(--tile-tertiary) !important;
}
.faq-list--blue .faq-item.faq-item--open .faq-body {
  background-color: var(--tile-tertiary);
}
.faq-list--blue .faq-list__cta {
  background-color: var(--color-light-blue-100);
}
.faq-list--grey-green .faq-item .faq-button:not(.collapsed) {
  background-color: var(--tile-brand-green) !important;
}
.faq-list--grey-green .faq-item.faq-item--open .faq-body {
  background-color: var(--tile-brand-green);
}
.faq-list--yellow {
  background-color: var(--surface-students-secondary);
}
.faq-list--yellow .faq-item .faq-button:not(.collapsed) {
  background-color: var(--tile-brand-yellow) !important;
}
.faq-list--yellow .faq-item.faq-item--open .faq-body {
  background-color: var(--tile-brand-yellow);
}
.faq-list--yellow .faq-list__cta {
  background-color: var(--color-yellow-100);
}
.faq-list__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 100px;
  align-items: start;
}
@media (max-width: 991px) {
  .faq-list__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.faq-list__sidebar {
  position: sticky;
  top: 100px;
}
@media (max-width: 991px) {
  .faq-list__sidebar {
    position: static;
  }
}
.faq-list__nav-title {
  margin-bottom: 24px;
  font-family: var(--font-family-heading);
  font-size: 36px;
  line-height: 48px;
  letter-spacing: -0.64px;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .faq-list__nav-title {
    font-size: var(--font-size-m);
    line-height: var(--line-height-m);
    margin-bottom: 0 !important;
  }
}
.faq-list__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 991.98px) {
  .faq-list__nav-list {
    display: none;
  }
}
.faq-list__nav-link {
  display: block;
  padding: 8px 0;
  color: var(--color-core-black);
  text-decoration: none;
  font-family: var(--font-family-heading);
  font-size: var(--typography-b1-size);
  line-height: var(--typography-b1-line-height);
  font-weight: 400;
  transition: color 0.2s ease;
  padding-left: 16px;
  margin-left: -16px;
}
.faq-list__nav-link:hover {
  color: var(--color-core-black);
  font-weight: var(--typography-b1-weight);
}
.faq-list__nav-link--active {
  font-weight: var(--typography-b1-weight);
}
.faq-list__main {
  max-width: 886px;
}
.faq-list__cta {
  margin-top: 30px;
  background-color: var(--tile-brand-grey);
  border-radius: 10px;
  padding: var(--spacing-600);
}
.faq-list__cta p {
  color: var(--text-bodycopy-primary);
  font-family: var(--font-family-heading);
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .faq-list__cta {
    display: none;
  }
}

.mb-24 {
  margin-bottom: 24px !important;
}

.mt-60 {
  margin-top: 60px !important;
}