.forum-section {
  padding: 0.8rem 0;
  border-bottom: 1px solid $border-color;
  margin-bottom: 0 !important;

  &.shadow {
    box-shadow: none !important;
  }

  @media (max-width: 768px) {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;

  .text-dark-brown {
    font-weight: 500;
  }

  @media (max-width: 560px) {
    font-size: 1rem;
  }

  @media (max-width: 380px) {
    font-size: 0.9rem;
  }

  .badge {
    font-size: 0.8rem;
  }

  .toggle {
    .icon {
      transition: all 0.2s;
      width: 20px;
      height: 20px;
    }
  }

  &[aria-expanded="true"] {
    .toggle {
      .icon {
        transform: rotate(-180deg);
      }
    }
  }

  .section-name {
    font-weight: 500;
    color: $dark_brown;
  }
}
