/* Post CTA shortcode */
.post-cta {
  background: #ecf1f5;
  padding: 24px 20px;
  border-radius: 12px;
  margin: 32px 0;
  font-family: 'Lato', sans-serif;
  text-align: center;
}

.post-cta p,
.post-cta li,
.post-cta a:not(.post-cta-button) {
  color: #404040;
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
}

.post-cta p {
  margin: 0;
}

.post-cta a:not(.post-cta-button) {
  color: #1a5699;
  text-decoration: underline;
}

.post-cta strong {
  color: #000;
  font-weight: 700;
}

.post-cta .post-cta-button {
  padding: 20px 40px;
  border-radius: 200px;
  border: 1.2px solid #1a5699;
  background: #1a5699;
  color: #fff !important;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 26px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all ease-in-out 200ms;
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 0;
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.post-cta .post-cta-button:hover {
  background: #1a6a7b;
  border-color: #1a6a7b;
  color: #fff !important;
}

.post-cta .post-cta-button img.button-icon {
  width: auto;
  height: 20px;
  display: block;
}

/* Accordion shortcode */
.custom-accordion {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Lato', sans-serif;
}

.custom-accordion .accordion-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dadada;
}

.custom-accordion .accordion-title {
  background: #1a5699;
  border: none;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}

.custom-accordion .accordion-title:hover,
.custom-accordion .accordion-title:focus-visible {
  background: #1a6a7b;
}

.custom-accordion .accordion-title[aria-expanded='true'] {
  background: #1a5699;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-accordion .accordion-title-text {
  flex: 1;
  min-width: 0;
}

.custom-accordion .accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.custom-accordion .accordion-content {
  padding: 20px;
  background: #f8f8f8;
}

.custom-accordion .accordion-content[hidden] {
  display: none;
}

.custom-accordion .accordion-content .wysiwyg-content p,
.custom-accordion .accordion-content .wysiwyg-content li {
  font-size: 20px;
  line-height: 28px;
  color: #404040;
}

.custom-accordion .accordion-content .wysiwyg-content a {
  color: #1a5699;
}

.custom-accordion .accordion-content .wysiwyg-content strong {
  color: #000;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .post-cta {
    padding: 20px 16px;
    margin: 24px 0;
  }

  .post-cta p,
  .post-cta li,
  .post-cta a:not(.post-cta-button) {
    font-size: 18px;
    line-height: 26px;
  }

  .post-cta .post-cta-button {
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    line-height: 24px;
  }

  .custom-accordion .accordion-title {
    padding: 14px 16px;
    font-size: 18px;
    line-height: 26px;
  }

  .custom-accordion .accordion-content {
    padding: 16px;
  }

  .custom-accordion .accordion-content .wysiwyg-content p,
  .custom-accordion .accordion-content .wysiwyg-content li {
    font-size: 18px;
    line-height: 26px;
  }
}
