/* Culina sample: Q&A accordion alignment. */
.qa-section {
  background: #eaf7fc;
  margin: 0 auto;
  padding-bottom: 36px;
  width: 100%;
}

.qa-section .qa-header {
  display: block;
  height: auto;
  width: 100%;
}

.acd-all {
  background: #eaf7fc;
  padding: 10px 36px 38px;
  width: 100%;
}

.acd-child {
  margin: 0 0 16px;
  position: relative;
}

.acd-child:last-child {
  margin-bottom: 0;
}

.acd-check {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.acd-label {
  background: #fff;
  border: 2px solid #2089c7;
  border-radius: 8px;
  color: #333;
  cursor: pointer;
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  min-height: 72px;
  padding: 20px 72px 18px 24px;
  position: relative;
  text-align: left;
}

.acd-label::before,
.acd-label::after {
  background: #2089c7;
  content: "";
  position: absolute;
  top: 50%;
}

.acd-label::before {
  height: 3px;
  right: 26px;
  transform: translateY(-50%);
  width: 24px;
}

.acd-label::after {
  height: 24px;
  right: 36.5px;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
  width: 3px;
}

.acd-content {
  background: #fff;
  border: 2px solid #2089c7;
  border-radius: 0 0 8px 8px;
  border-top: 0;
  color: #333;
  display: none;
  font-size: 17px;
  line-height: 1.8;
  padding: 20px 24px 22px;
  text-align: left;
}

.acd-check:checked + .acd-label {
  background: #f8fdff;
  border-radius: 8px 8px 0 0;
}

.acd-check:checked + .acd-label::after {
  opacity: 0;
}

.acd-check:checked ~ .acd-content {
  display: block;
}

@media screen and (max-width: 650px) {
  .qa-section {
    padding-bottom: 28px;
  }

  .acd-all {
    padding: 8px 18px 30px;
  }

  .acd-child {
    margin-bottom: 12px;
  }

  .acd-label {
    font-size: 16px;
    min-height: 62px;
    padding: 16px 50px 15px 16px;
  }

  .acd-label::before {
    right: 18px;
    width: 20px;
  }

  .acd-label::after {
    height: 20px;
    right: 26.5px;
  }

  .acd-content {
    font-size: 15px;
    padding: 16px;
  }
}
