.paragraph-tabs .tab-pane-inner h1,
.paragraph-tabs .tab-pane-inner h2,
.paragraph-tabs .tab-pane-inner h3,
.paragraph-tabs .tab-pane-inner h4 {
  color: var(--orange);
}

/* Hide empty accordion sections that create unnecessary bottom spacing */
.paragraph-tabs .accordion:empty {
  display: none;
}

/* When accordion is empty, remove the mt-4 margin from tab-extras row */
.paragraph-tabs .tab-extras .accordion:empty {
  margin-top: 0;
}

/* Reduce bottom margin on the Apply Now section (Bootstrap my-5 class override) */
.paragraph-tabs .tab-pane .row.my-5 {
  margin-bottom: 2rem !important;
}

/* Slightly reduce bottom spacing on the paragraph-tabs component only */
@media screen and (min-width: 1200px) {
  .paragraph-tabs {
    padding-bottom: 1.5rem;
  }
  
  .paragraph-tabs .tab-pane .row.my-5 {
    margin-bottom: 1.5rem !important;
  }
}
