.ds2-section-break {

  &__summary {
    font-family: uolSans, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid $color-brand-black-40;

    @include media(">=uol-media-m") {
      padding: 32px 48px;
    }
    
    cursor: pointer;

    &:before, &:after {
      content: "\2193";
      font-size: 32px;
      display: block;
    }

    &:before {
      display: none;
      
      @include media(">=uol-media-m") {
        display: block;
      }
    }    
    
    &__inner {
      width: 100%;
      max-width: 1440px;
      font-size: 32px;
      font-weight: 400;
      margin: 0 auto;
      text-align: left;

      @include media(">=uol-media-m") {
        text-align: center;
      }
    }
  }

  &__content {
    padding: 24px;
    margin: 0 auto;
    
    @include media(">=uol-media-m") {
      padding: 32px 48px;
    }

    &__inner {
      max-width: 1440px;
      margin: 0 auto;

      h3 {
        // style h4
        font-size: 32px;
        font-weight: 400;
      }

      *:first-of-type {
        margin-top: 0;
      }
      
      p {
        font-family: uolInter, "Arial";
        font-size: 20px;
        line-height: 24px;
      }
    }
  }

  &[open] {
   .ds2-section-break__summary::before,
    .ds2-section-break__summary::after {
      transform: rotate(180deg);
    }
  }
}

// theme options

// white
.ds2-section-break--grey {
  .ds2-section-break__summary {
    color: black;
    background: $color-brand-black-5;
    border-color: $color-brand-black-40;
  } 
  .ds2-section-break__content {
    color: $color-brand-black;
    background: $color-brand-black-10;
  }
}

// stone
.ds2-section-break--stone {
  .ds2-section-break__summary {
    color: black;
    background-color: rgba($color-brand-stone, 0.1);
  }
  .ds2-section-break__content {
    color: black;
    background-color: rgba($color-brand-stone, 0.4);
  }
}

// green
.ds2-section-break--green {
  .ds2-section-break__summary {
    color: black;
    background-color: rgba($color-brand-vivid-green, 0.1);
  }
  .ds2-section-break__content {
    color: black;
    background-color: rgba($color-brand-vivid-green, 0.4);
  }
}


