html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  max-width: 100%;
}

#page-container,
#et-main-area {
  max-width: 100%;
}

.advertorial-banner {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 10px 16px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

/* Static header – do not follow on scroll */
.et_fixed_nav #main-header,
#main-header,
#main-header.et-fixed-header {
  position: relative !important;
  top: auto !important;
}

#page-container,
.et_fixed_nav.et_show_nav #page-container {
  padding-top: 0 !important;
}

#main-header {
  background-color: #025170 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: clip;
  width: 100%;
}

#main-header .container.et_menu_container {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
  min-height: 80px;
  overflow-x: clip;
  padding: 16px 24px;
  width: 100%;
}

#main-header .logo_container {
  float: none !important;
  flex-shrink: 0;
  max-width: 100%;
}

#main-header .logo_helper {
  display: none !important;
}

#et-top-navigation {
  align-items: center;
  display: flex;
  flex-shrink: 1;
  float: none !important;
  margin-left: auto;
  max-width: 100%;
  min-width: 0;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

#top-menu-nav {
  max-width: 100%;
}

#top-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

#top-menu li {
  float: none !important;
}

.et_header_style_left #et-top-navigation nav > ul > li.button-green > a,
#main-header #et-top-navigation #top-menu-nav #top-menu > li.button-green > a,
#main-header #top-menu > li.button-green > a,
.ds_flat_buttons #top-menu li.button-green > a,
.ds_flat_buttons li.button-green > a,
#top-menu li.button-green > a,
a.header-cta-btn {
  background-color: #9bc53d !important;
  background-image: none !important;
  border: none !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0 !important;
  padding: 12px 20px !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

#main-header #et-top-navigation #top-menu-nav #top-menu > li.button-green > a:hover,
#main-header #top-menu > li.button-green > a:hover,
#top-menu li.button-green > a:hover,
a.header-cta-btn:hover {
  background-color: #8ab52f !important;
  color: #ffffff !important;
  opacity: 1;
}

#top-menu li.button-green {
  align-items: center;
  display: flex;
}

#top-menu > li:not(.button-green) > a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 14px !important;
  text-decoration: none;
}

#top-menu > li:not(.button-green) > a:hover {
  opacity: 0.85;
}

.footer-nav {
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.site-logo-link {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.site-logo-icon {
  display: block;
  height: 48px;
  width: 48px;
}

.site-logo-text {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.article-byline {
  color: #666;
  font-size: 15px;
  margin: 0 0 12px;
}

@media (max-width: 980px) {
  #main-header .container.et_menu_container {
    padding: 14px 20px;
  }

  #et-top-navigation {
    padding-left: 0 !important;
  }

  .site-logo-text {
    font-size: 18px;
  }

  .site-logo-icon {
    height: 40px;
    width: 40px;
  }
}

/* Legal & contact subpages */
.legal-page-content {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 860px;
  overflow-wrap: break-word;
  padding: 48px 24px 64px;
  width: 100%;
  word-break: break-word;
}

.legal-page-content h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
}

.legal-page-content .legal-updated {
  color: #666;
  font-size: 15px;
  margin: 0 0 32px;
}

.legal-page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.legal-page-content p,
.legal-page-content li {
  color: #333;
  font-size: 16px;
  line-height: 1.65;
}

.legal-page-content p {
  margin: 0 0 16px;
}

.legal-page-content ul,
.legal-page-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-page-content a {
  color: #45a31f;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.legal-page-content a:hover {
  color: #378a19;
}

.contact-email-box {
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 24px 0;
  padding: 24px;
}

.contact-email-box a {
  font-size: 18px;
  font-weight: 600;
}

.site-footer-links {
  border-top: 1px solid #e0e0e0;
  margin-top: 32px;
  padding-top: 24px;
}

.site-footer-links p {
  margin: 0 0 8px;
}

.site-copyright {
  border-top: 1px solid #e0e0e0;
  color: #666;
  font-size: 14px;
  margin-top: 24px;
  padding-top: 24px;
  text-align: center;
}

#main-footer {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

#main-footer #footer-info {
  text-align: center;
  width: 100%;
}
