/* Header background */
.custom-header-wrapper {
  background-color: #f8f8f8;
}

/* Ensure inner bars inherit the same background */
.custom-header-wrapper .header-bar,
.custom-header-wrapper .header-inner,
.custom-header-wrapper .mobile-nav {
  background-color: #f8f8f8;
}

@media screen and (max-width: 499px) {
  .mailpoet_form_image {
    display: block;
  }
}

@media (max-width: 500px) { 
  #mp_form_Popupv2 {
    width: 90% !important; 
    min-width: 90% !important; 
  } 
}

h2.wp-block-post-title {
	align-content: center;
	padding-left: 50px;
	
}

body.home h2.wp-block-post-title {
    display: none !important;
}

.custom-header-wrapper {
  font-family: 'Inter', sans-serif;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

.header-bar {
  padding: 1.5rem 2rem;
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 1.25rem;
  font-size: 15px;
}

.nav-left a,
.dropdown-toggle {
  font-style: normal;
  text-decoration: normal;
  color: #111827;
}

.site-branding {
  text-align: center;
  min-width: 300px;
  flex-grow: 1;
  white-space: nowrap;
}

.site-branding p {
  font-size: 19px;
  margin: 0;
  line-height: 1.4;
}

/* Dropdown hover */
.dropdown {
  position: relative;
}

.dropdown .submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.5rem;
  z-index: 10;
}

.dropdown:hover .submenu {
  display: block;
}

/* LinkedIn icon */
.nav-right svg,
.mobile-nav svg {
  width: 20px;
  height: 20px;
  fill: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: absolute;
  right: 2rem;
  top: 1.75rem;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #333;
}

#nav-toggle {
  display: none;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem;
}

@media screen and (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-branding {
    padding-bottom: 1rem;
    white-space: normal;
  }

  #nav-toggle:checked ~ .mobile-nav {
    display: flex;
  }

  .mobile-nav a,
  .mobile-nav summary {
    font-style: normal;
    text-decoration: underline;
    font-size: 15px;
    color: #111827;
  }

  .mobile-nav .submenu {
    display: none;
    padding-left: 1rem;
  }

  .mobile-nav .dropdown:hover .submenu {
    display: block;
  }
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  text-decoration: underline;
  color: #111827;
  cursor: pointer;
  gap: 0.25rem;
}

.arrow {
  font-size: 0.75rem;
  line-height: 1;
}
