.tab {
  border-top: solid 1px #ECECEC;
  border-bottom: solid 1px #ECECEC;
  margin-top: 24px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #02374C;
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  user-select: none;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .tab {
    font-size: 16px;
    line-height: 24px;
    min-height: 56px;
    padding: 16px 0;
    margin-top: 19px;
  }
}

@media (max-width: 360px) {
  .tab {
    padding: 9px 0;
  }
}
  .tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
  }

  .tab-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
  }

  .tab input:checked~.tab-content {
    max-height: 10rem;
  }

  /* Visual styles */
  .accordion {
    color: rgb(0, 0, 0);
    overflow: hidden;
  }

  .tab-label,
  .tab-close {
    display: flex;
    cursor: pointer;
  }

  .tab-label {
    justify-content: space-between;
    position: relative;
    padding: 16px 25px 16px 0px;
    line-height: 35px;
  }            

  @media (max-width: 760px) {
    .tab-label {
      padding: 0;
      padding-right: 36px;
    }

    .accordion .tab-label::after {
      right: -13px;
    }
  }
  @media (max-width: 360px) {
    .tab-label {
      line-height: 31px;
    }
  }


  .tab-label::after {
    content: "";
    background-image: url(/images/icons/chevron.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    text-align: center;
    transition: all 1s;
    position: absolute;
    right: -13px;
    top: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
  }

  .tab input:checked+.tab-label::after {
    filter: brightness(0) saturate(100%) invert(79%) sepia(6%) saturate(253%) hue-rotate(27deg) brightness(95%) contrast(87%);
    background-image: url(/images/icons/chevron-active.svg);

  }

  .tab-content p {
    margin: 0;
    padding: 1rem;
    color: #121212;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
  }

  @media (max-width: 760px) {
    .tab-content p {
      font-size: 14px;
      line-height: 20px;
    }
  }

  /* .tab-close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
} */