/* Headings patterns */
.paragraph--type--headings.align-left {
  text-align: left;
}

.paragraph--type--headings.align-center {
  text-align: center;
}

.paragraph--type--headings.align-right {
  text-align: right;
}

.paragraph--type--headings h1,
.paragraph--type--headings h2,
.paragraph--type--headings h3,
.paragraph--type--headings h4,
.paragraph--type--headings h5,
.paragraph--type--headings h6 {
  padding-left: 0;
  margin-bottom: 0;
}

.paragraph--type--headings .title-style_none h1:before,
.paragraph--type--headings .title-style_none h2:before,
.paragraph--type--headings .title-style_none h3:before,
.paragraph--type--headings .title-style_none h4:before,
.paragraph--type--headings .title-style_none h5:before,
.paragraph--type--headings .title-style_none h6:before,
.paragraph--type--headings .title-style_none h1:after,
.paragraph--type--headings .title-style_none h2:after,
.paragraph--type--headings .title-style_none h3:after,
.paragraph--type--headings .title-style_none h4:after,
.paragraph--type--headings .title-style_none h5:after,
.paragraph--type--headings .title-style_none h6:after {
  display: none;
}

.paragraph--type--headings h1:after,
.paragraph--type--headings h2:after,
.paragraph--type--headings h3:after,
.paragraph--type--headings h4:after,
.paragraph--type--headings h5:after,
.paragraph--type--headings h6:after {
  margin-bottom: 0;
}
/* === HEADING STYLE #1 === */
.title-style_one h1,
.title-style_one h2,
.title-style_one h3,
.title-style_one h4,
.title-style_one h5,
.title-style_one h6 {
  text-align: center;
  padding-bottom: 5px;
  position: relative;
}

.title-style_one h1:before,
.title-style_one h2:before,
.title-style_one h3:before,
.title-style_one h4:before,
.title-style_one h5:before,
.title-style_one h6:before {
  width: 28px;
  height: 5px;
  display: block;
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  margin-left: -14px;
  background-color: #000;
}

.title-style_one h1:after,
.title-style_one h2:after,
.title-style_one h3:after,
.title-style_one h4:after,
.title-style_one h5:after,
.title-style_one h6:after {
  width: 100px;
  height: 1px;
  display: block;
  content: "";
  position: relative;
  margin-top: 25px;
  left: 50%;
  margin-left: -50px;
  background-color: #000;
}

/* === HEADING STYLE #2 === */
.title-style_two h1,
.title-style_two h2,
.title-style_two h3,
.title-style_two h4,
.title-style_two h5,
.title-style_two h6 {
  position: relative;
  padding-bottom: 15px;
}

.title-style_two h1:before,
.title-style_two h2:before,
.title-style_two h3:before,
.title-style_two h4:before,
.title-style_two h5:before,
.title-style_two h6:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  content: "";
  background-color: #000;
}

/* === HEADING STYLE #3 === */
.title-style_three h1,
.title-style_three h2,
.title-style_three h3,
.title-style_three h4,
.title-style_three h5,
.title-style_three h6 {
  /* font-size: 28px; */
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
  margin-bottom: 40px;
}

.title-style_three h1:before,
.title-style_three h2:before,
.title-style_three h3:before,
.title-style_three h4:before,
.title-style_three h5:before,
.title-style_three h6:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;
}

.title-style_three h1:after,
.title-style_three h2:after,
.title-style_three h3:after,
.title-style_three h4:after,
.title-style_three h5:after,
.title-style_three h6:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #333;
}

/* === HEADING STYLE #4 === */
.title-style_four h1,
.title-style_four h2,
.title-style_four h3,
.title-style_four h4,
.title-style_four h5,
.title-style_four h6 {
  text-align: center;
  font-weight: 700;
  word-spacing: 1px;
  letter-spacing: 2px;
  position: relative;
}

.title-style_four h1:before,
.title-style_four h2:before,
.title-style_four h3:before,
.title-style_four h4:before,
.title-style_four h5:before,
.title-style_four h6:before {
  position: absolute;
  left: 0;
  bottom: 38px;
  width: 60px;
  height: 4px;
  content: "";
  left: 50%;
  margin-left: -30px;
  background-color: #dfdfdf;
}

/* STYLE 5
   ----------------------------- */
.title-style_five h1,
.title-style_five h2,
.title-style_five h3,
.title-style_five h4,
.title-style_five h5,
.title-style_five h6 {
  text-align: center;
  font-weight: 400;
  word-spacing: 1px;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
}

.title-style_five h1:after,
.title-style_five h2:after,
.title-style_five h3:after,
.title-style_five h4:after,
.title-style_five h5:after,
.title-style_five h6:after,
.title-style_five h1:before,
.title-style_five h2:before,
.title-style_five h3:before,
.title-style_five h4:before,
.title-style_five h5:before,
.title-style_five h6:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 4px;
  content: "";
  right: 45px;
  margin: auto;
  background-color: #ccc;
}

.title-style_five h1:before,
.title-style_five h2:before,
.title-style_five h3:before,
.title-style_five h4:before,
.title-style_five h5:before,
.title-style_five h6:before {
  background-color: #222;
  left: 45px;
  width: 90px;
}

/* Style 6
   ----------------------------- */
.title-style_six h1,
.title-style_six h2,
.title-style_six h3,
.title-style_six h4,
.title-style_six h5,
.title-style_six h6 {
  text-align: center;
  /* font-size:30px; */
  font-weight: 300;
  letter-spacing: 1px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-template-rows: 27px 0;
  grid-gap: 20px;
  align-items: center;
}

.title-style_six h1:after,
.title-style_six h2:after,
.title-style_six h3:after,
.title-style_six h4:after,
.title-style_six h5:after,
.title-style_six h6:after,
.title-style_six h1:before,
.title-style_six h2:before,
.title-style_six h3:before,
.title-style_six h4:before,
.title-style_six h5:before,
.title-style_six h6:before {
  content: " ";
  display: block;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  height: 5px;
  background-color: #f8f8f8;
}

/* Style 7
   ----------------------------- */
.title-style_seven h1,
.title-style_seven h2,
.title-style_seven h3,
.title-style_seven h4,
.title-style_seven h5,
.title-style_seven h6 {
  text-align: center;
  letter-spacing: 1px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 16px 0;
  grid-gap: 22px;
}

.title-style_seven h1:after,
.title-style_seven h2:after,
.title-style_seven h3:after,
.title-style_seven h4:after,
.title-style_seven h5:after,
.title-style_seven h6:after,
.title-style_seven h1:before,
.title-style_seven h2:before,
.title-style_seven h3:before,
.title-style_seven h4:before,
.title-style_seven h5:before,
.title-style_seven h6:before {
  content: " ";
  display: block;
  border-bottom: 2px solid #ccc;
  background-color: #f8f8f8;
}

/* Light mode */
.text-light .title-style_one h1:before,
.text-light .title-style_one h2:before,
.text-light .title-style_one h3:before,
.text-light .title-style_one h4:before,
.text-light .title-style_one h5:before,
.text-light .title-style_one h6:before,
.text-light .title-style_one h1:after,
.text-light .title-style_one h2:after,
.text-light .title-style_one h3:after,
.text-light .title-style_one h4:after,
.text-light .title-style_one h5:after,
.text-light .title-style_one h6:after,
.text-light .title-style_two h1:before,
.text-light .title-style_two h2:before,
.text-light .title-style_two h3:before,
.text-light .title-style_two h4:before,
.text-light .title-style_two h5:before,
.text-light .title-style_two h6:before {
  background-color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
}

.text-light .title-style_three h1:before,
.text-light .title-style_three h2:before,
.text-light .title-style_three h3:before,
.text-light .title-style_three h4:before,
.text-light .title-style_three h5:before,
.text-light .title-style_three h6:before {
  background-color: #d0d0d0;
}

.text-light .title-style_three h1:after,
.text-light .title-style_three h2:after,
.text-light .title-style_three h3:after,
.text-light .title-style_three h4:after,
.text-light .title-style_three h5:after,
.text-light .title-style_three h6:after {
  background-color: #818181;
}

.text-light .title-style_four h1:before,
.text-light .title-style_four h2:before,
.text-light .title-style_four h3:before,
.text-light .title-style_four h4:before,
.text-light .title-style_four h5:before,
.text-light .title-style_four h6:before {
  background-color: #5f5f5f;
}

.text-light .title-style_five h1:after,
.text-light .title-style_five h2:after,
.text-light .title-style_five h3:after,
.text-light .title-style_five h4:after,
.text-light .title-style_five h5:after,
.text-light .title-style_five h6:after,
.text-light .title-style_five h1:before,
.text-light .title-style_five h2:before,
.text-light .title-style_five h3:before,
.text-light .title-style_five h4:before,
.text-light .title-style_five h5:before,
.text-light .title-style_five h6:before {
  background-color: #5d5d5d;
}

.text-light .title-style_five h1:before,
.text-light .title-style_five h2:before,
.text-light .title-style_five h3:before,
.text-light .title-style_five h4:before,
.text-light .title-style_five h5:before,
.text-light .title-style_five h6:before {
  background-color: #d3d3d3;
}

.text-light .title-style_six h1:after,
.text-light .title-style_six h2:after,
.text-light .title-style_six h3:after,
.text-light .title-style_six h4:after,
.text-light .title-style_six h5:after,
.text-light .title-style_six h6:after,
.text-light .title-style_six h1:before,
.text-light .title-style_six h2:before,
.text-light .title-style_six h3:before,
.text-light .title-style_six h4:before,
.text-light .title-style_six h5:before,
.text-light .title-style_six h6:before {
  border-bottom: 1px solid rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
  border-top: 1px solid rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
  background-color: #3e3e3e;
}

.text-light .title-style_seven h1:after,
.text-light .title-style_seven h2:after,
.text-light .title-style_seven h3:after,
.text-light .title-style_seven h4:after,
.text-light .title-style_seven h5:after,
.text-light .title-style_seven h6:after,
.text-light .title-style_seven h1:before,
.text-light .title-style_seven h2:before,
.text-light .title-style_seven h3:before,
.text-light .title-style_seven h4:before,
.text-light .title-style_seven h5:before,
.text-light .title-style_seven h6:before {
  border-bottom: 2px solid #737373;
  background-color: #5e5e5e;
}

/* Dark mode */
.text-dark .title-style_one h1:before,
.text-dark .title-style_one h2:before,
.text-dark .title-style_one h3:before,
.text-dark .title-style_one h4:before,
.text-dark .title-style_one h5:before,
.text-dark .title-style_one h6:before,
.text-dark .title-style_one h1:after,
.text-dark .title-style_one h2:after,
.text-dark .title-style_one h3:after,
.text-dark .title-style_one h4:after,
.text-dark .title-style_one h5:after,
.text-dark .title-style_one h6:after,
.text-dark .title-style_two h1:before,
.text-dark .title-style_two h2:before,
.text-dark .title-style_two h3:before,
.text-dark .title-style_two h4:before,
.text-dark .title-style_two h5:before,
.text-dark .title-style_two h6:before {
  background-color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

.text-dark .title-style_three h1:before,
.text-dark .title-style_three h2:before,
.text-dark .title-style_three h3:before,
.text-dark .title-style_three h4:before,
.text-dark .title-style_three h5:before,
.text-dark .title-style_three h6:before {
  background-color: #e8e8e8;
}

.text-dark .title-style_three h1:after,
.text-dark .title-style_three h2:after,
.text-dark .title-style_three h3:after,
.text-dark .title-style_three h4:after,
.text-dark .title-style_three h5:after,
.text-dark .title-style_three h6:after {
  background-color: #c2c2c2;
}

.text-dark .title-style_four h1:before,
.text-dark .title-style_four h2:before,
.text-dark .title-style_four h3:before,
.text-dark .title-style_four h4:before,
.text-dark .title-style_four h5:before,
.text-dark .title-style_four h6:before {
  background-color: #b2b2b2;
}

.text-dark .title-style_five h1:after,
.text-dark .title-style_five h2:after,
.text-dark .title-style_five h3:after,
.text-dark .title-style_five h4:after,
.text-dark .title-style_five h5:after,
.text-dark .title-style_five h6:after,
.text-dark .title-style_five h1:before,
.text-dark .title-style_five h2:before,
.text-dark .title-style_five h3:before,
.text-dark .title-style_five h4:before,
.text-dark .title-style_five h5:before,
.text-dark .title-style_five h6:before {
  background-color: #b0b0b0;
}

.text-dark .title-style_five h1:before,
.text-dark .title-style_five h2:before,
.text-dark .title-style_five h3:before,
.text-dark .title-style_five h4:before,
.text-dark .title-style_five h5:before,
.text-dark .title-style_five h6:before {
  background-color: #e8e8e8;
}

.text-dark .title-style_six h1:after,
.text-dark .title-style_six h2:after,
.text-dark .title-style_six h3:after,
.text-dark .title-style_six h4:after,
.text-dark .title-style_six h5:after,
.text-dark .title-style_six h6:after,
.text-dark .title-style_six h1:before,
.text-dark .title-style_six h2:before,
.text-dark .title-style_six h3:before,
.text-dark .title-style_six h4:before,
.text-dark .title-style_six h5:before,
.text-dark .title-style_six h6:before {
  border-bottom: 1px solid rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
  border-top: 1px solid rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
  background-color: #8d8d8d;
}

.text-dark .title-style_seven h1:after,
.text-dark .title-style_seven h2:after,
.text-dark .title-style_seven h3:after,
.text-dark .title-style_seven h4:after,
.text-dark .title-style_seven h5:after,
.text-dark .title-style_seven h6:after,
.text-dark .title-style_seven h1:before,
.text-dark .title-style_seven h2:before,
.text-dark .title-style_seven h3:before,
.text-dark .title-style_seven h4:before,
.text-dark .title-style_seven h5:before,
.text-dark .title-style_seven h6:before {
  border-bottom: 2px solid #e0e0e0;
  background-color: #b6b6b6;
}

.paragraph--type--headings h2:after,
.paragraph--type--headings h3:after {
  display: none;
}

.paragraph--type--headings h4:before {
  top: unset;
}
