/* =====================================================
   HEADER LAYOUT
   ===================================================== */

.ovatheme_header_default {
    margin-bottom: 15px !important;
}

.ovatheme_header_default nav.navbar .navbar-brand {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

#ovatheme_header_default .navbar-brand img {
  height: 50px;
  width: auto;
  max-width: none; /* only if something else is capping it */
}

/* =====================================================
   MAIN NAVIGATION
   ===================================================== */

.navbar #menu-main-navigation > li:not(.menu-button) > a {
    color: #E42766 !important;
}

.navbar #menu-main-navigation > li:not(.menu-button) > a:hover {
    color: #020A3B !important;
}

/* =====================================================
   CTA BUTTON
   ===================================================== */

.menu-button {
    display: flex;
    align-items: center;
}

.menu-button a {
    background: #ef2e7d;
    color: #ffffff !important;
    height: 50px;
    padding: 0 22px !important;
    border-radius: 6px;
    font-weight: 800 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: normal !important;
    margin: 0;
}

.menu-button a span {
    display: flex;
    align-items: center;
    height: 100%;
}

/* =====================================================
   DROPDOWN MENUS
   ===================================================== */

.navbar .dropdown-menu {
    background-color: #FBFBFB !important;
    border: none !important;
}

.navbar .dropdown-menu li,
.navbar .dropdown-menu li a {
    border: none !important;
}

.navbar .dropdown-menu li a {
    color: #E42766 !important;
}

.navbar .dropdown-menu li a:hover {
    background-color: #FBFBFB !important;
    color: #E42766 !important;
}

/* =====================================================
   MOBILE MENU
   ===================================================== */

@media (max-width: 991px) {

    #menu-main-navigation {
        align-items: center;
        text-align: center;
    }

    #menu-main-navigation > li {
        width: 100%;
        text-align: center;
        border-bottom: none !important;
    }

    #menu-main-navigation > li > a {
        justify-content: center;
        border-bottom: none !important;
    }

    .navbar .dropdown-menu {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 991px) {
  #menu-item-840,
  #menu-item-2969 {
    position: relative;
  }

  #menu-item-840 > a,
  #menu-item-2969 > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    pointer-events: none;
  }

  /* Click target = parent row only, not the submenu */
  #menu-item-840 > span.dropdown-toggle,
  #menu-item-2969 > span.dropdown-toggle {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 48px !important; /* parent row only — tweak if needed */
    margin: 0 !important;
    z-index: 5;
    cursor: pointer;
    background: transparent;
  }

  /* Hide carrot icon (class is arrow_carrot-down) */
  #menu-item-840 > span.dropdown-toggle i,
  #menu-item-840 > span.dropdown-toggle .arrow_carrot-down,
  #menu-item-2969 > span.dropdown-toggle i,
  #menu-item-2969 > span.dropdown-toggle .arrow_carrot-down {
    display: none !important;
  }

  /* Submenu stays clickable above the overlay */
  #menu-item-840 > .dropdown-menu,
  #menu-item-2969 > .dropdown-menu {
    position: relative !important;
    z-index: 20 !important;
  }

  #menu-item-840 > .dropdown-menu a,
  #menu-item-2969 > .dropdown-menu a {
    pointer-events: auto !important;
    position: relative;
    z-index: 21;
  }
}

/* =====================================================
   MOBILE MENU TOGGLE
   ===================================================== */

.navbar-toggler {
    background: #E42766 !important;
    border-color: #E42766 !important;
    color: #ffffff !important;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer .container {
    display: none !important;
}

#jp-relatedposts {
    display: none !important;
}

p.wp-block-paragraph:nth-child(4) {
    display: none !important;
}