.header-scroll {
  opacity: 0;
}

.header-scroll.show {
  opacity: 1;
}

.wp-content .wp-block-group.-bg-white-br {
  margin-bottom: 30px;
}

.wp-block-group.-bg-white-br .custom-row {
  background: #fff;
  padding: 40px 20px 0;
  border-radius: 20px;
}

@media only screen and (max-width: 767px) {
  .wp-block-group.-bg-white-br .custom-row {
    padding: 20px;
  }
}

.wp-content .wp-bootstrap-blocks-row [class*="col-"] [class*="col-"] {
  margin-bottom: -30px;
}

/* Default state: hide submenus */
/* .submenu {
  display: none;
  position: absolute;
  top: 80%;
  z-index: 1;
  background: #FDF8EF;
  padding: 20px 15px;
} */
html {
  scroll-behavior: smooth;
}

.submenu.color {
  background: #fff;
}

.submenu li a {
  color: #5a8e8a;
  font-size: 1.2rem;
  font-weight: 700;
  transition: color 0.4s ease;
}

.submenu li a:hover {
  color: #a20000;
}

.submenu li:first-child {
  margin-bottom: 15px;
}

/* Desktop version (min-width: 992px) */
@media (min-width: 992px) {
  .submenu {
    display: none;
    position: absolute;
    top: 76%;
    z-index: 1;
    background: #fdf8ef;
    padding: 30px 15px 25px;
  }

  /* Show the submenu when hovering over the parent menu item */
  .has-submenu:hover .submenu {
    display: block;
  }

  /* Hide the toggle button on desktop */
  .submenu-toggle {
    display: none;
  }

  html {
    scroll-padding-top: 84px;
  }
}

/* Mobile version (max-width: 991px) */
@media (max-width: 991px) {
  html {
    scroll-padding-top: 70px;
  }

  /* Ensure submenus are hidden by default on mobile */
  .submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
    background: unset;
  }

  .has-submenu .nav__link {
    position: relative;
    z-index: 1;
    width: fit-content;
  }

  .submenu li:first-child {
    margin-block: 15px;
  }

  .has-submenu {
    position: relative;
  }

  .submenu.color {
    background: unset;
  }

  /* Display submenu when parent item has 'open' class */
  /* .has-submenu.open .submenu {
    display: block;
  } */

  /* Style the toggle button */
  .submenu-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    top: 6px;
    right: 10px;
    width: 100%;
    height: 16px;
  }

  /* Change button content when submenu is opened
  .has-submenu.open .submenu-toggle::after {
    content: "−";
  } */

  .submenu-toggle::before {
    content: "";
    background-color: #000;
    display: block;
    width: 2px;
    height: 16px;
    position: absolute;
    top: 50%;
    right: 7.5px;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
  }

  .submenu-toggle::after {
    content: "";
    background-color: #000;
    width: 16px;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  /* Change button content when submenu is opened */
  .has-submenu.open .submenu-toggle::before {
    transform: translateY(-50%) rotate(90deg);
    background-color: rgba(50, 78, 155, 0.1);
  }
}

.page-title {
  font-size: 5rem;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.8rem;
  }
}
.wp-content h2 {
  font-size: 3.5rem;
  width: 100%;
  color: #fff;
  padding-bottom: 5px;
  padding-left: 10px;
  background: linear-gradient(45deg, #a20000, rgba(162, 0, 0, 0.4) 100%);
  border-radius: 2px;
}

.wp-content h2:after {
  width: 100%;
  content: none;
}

.wp-content h3 {
  font-size: 2.4rem;
  text-shadow: 0 1px #afa6a6;
  border: none;
  padding-bottom: 0;
  padding-left: 15px;
  position: relative;
  padding: 6px 10px;
  border-left: 6px solid #a20000;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.wp-content h4 {
  font-size: 2.3rem;
  padding-left: 15px;
  width: fit-content;
  position: relative;
  z-index: 2;
  padding-block: 2px;
}

.wp-content h4:after {
  content: "";
  background: linear-gradient(to left, transparent 0, #d9958f 100%);
  border-radius: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.wp-content h4:before {
  content: none;
}

.wp-content h5 {
  font-size: 2.1rem;
  color: #222;
  border-bottom: 4px dotted #a20000;
  width: 100%;
  padding-bottom: 8px;
}

.wp-content h6 {
  font-size: 2rem;
  color: #a20000;
}

@media (max-width: 768px) {
  .wp-content h2 {
    font-size: 2.4rem;
    padding-bottom: 3px;
  }
  .wp-content h3 {
    font-size: 2.2rem !important;
  }

  .wp-content h4 {
    font-size: 2rem !important;
  }

  .wp-content h4:after {
    top: 50%;
  }

  .wp-content h5 {
    font-size: 1.9rem;
  }

  .wp-content h6 {
    font-size: 1.8rem;
  }
}

.wp-content p {
  font-size: 1.8rem;
}

.wp-content a {
  font-size: 1.8rem;
}

/* .font {
  font-size: 1.8rem !important;
} */

.text-intend {
  text-indent: 5px;
  margin-left: 15px;
}

.no-text-indent {
  margin-left: 15px;
}
