:root {
  --tsv-green: #0b8f3a;
  --tsv-green-dark: #087331;
  --tsv-ink: #111713;
  --tsv-muted: #5e665f;
  --tsv-border: #e6e9e6;
}

body.tsv-modern-header-active .tsv-modern-masthead,
body.tsv-modern-header-active #masthead.tsv-modern-masthead {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 18px 22px 12px !important;
  position: relative;
  z-index: 1000;
}

body.tsv-modern-header-active .tsv-modern-masthead .header-bar {
  max-width: 1540px !important;
  min-height: 110px !important;
  margin: 0 auto !important;
  padding: 14px 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  background: rgba(255,255,255,.98) !important;
  border: 1px solid var(--tsv-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 34px rgba(14,30,20,.14) !important;
  position: relative;
}

body.tsv-modern-header-active .tsv-modern-masthead .header-bar::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tsv-green) 12%, var(--tsv-green) 88%, transparent);
  border-radius: 999px;
}

body.tsv-modern-header-active .tsv-modern-masthead .branding {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 320px;
  text-decoration: none !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .branding > a {
  display: flex !important;
  align-items: center !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .branding img {
  width: 92px !important;
  height: 92px !important;
  max-width: 92px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

.tsv-brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.tsv-brand-wordmark strong {
  color: var(--tsv-ink);
  font: 800 24px/1.05 Arial, Helvetica, sans-serif;
  letter-spacing: -.5px;
}

.tsv-brand-wordmark em {
  margin-top: 7px;
  color: var(--tsv-green);
  font: normal 800 22px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .2px;
}

body.tsv-modern-header-active .tsv-modern-masthead .main-nav,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  margin-left: auto !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li {
  margin: 0 2px !important;
  position: relative;
}

body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li > a,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li > a {
  min-height: 62px !important;
  padding: 0 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: var(--tsv-ink) !important;
  font: 700 14px/1 Arial, Helvetica, sans-serif !important;
  letter-spacing: .15px !important;
  text-transform: uppercase !important;
  transition: color .2s ease !important;
  position: relative;
}

body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li > a::after,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 8px;
  height: 2px;
  background: var(--tsv-green);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li:hover > a,
body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li.act > a,
body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li.current-menu-item > a,
body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li.current-menu-ancestor > a,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li:hover > a,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li.current-menu-item > a,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li.current-menu-ancestor > a {
  color: var(--tsv-green) !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li:hover > a::after,
body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li.act > a::after,
body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li.current-menu-item > a::after,
body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li.current-menu-ancestor > a::after,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li:hover > a::after,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li.current-menu-item > a::after,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.tsv-menu-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
}

body.tsv-modern-header-active .tsv-modern-masthead .sub-nav,
body.tsv-modern-header-active .tsv-modern-masthead .main-nav .sub-nav,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu .sub-menu {
  min-width: 250px !important;
  padding: 8px 0 !important;
  background: #fff !important;
  border: 1px solid var(--tsv-border) !important;
  border-radius: 15px !important;
  box-shadow: 0 18px 42px rgba(10,24,15,.18) !important;
  overflow: hidden !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .sub-nav li,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu .sub-menu li {
  border-bottom: 1px solid #edf0ed !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .sub-nav li:last-child,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu .sub-menu li:last-child {
  border-bottom: 0 !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .sub-nav a,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu .sub-menu a {
  padding: 16px 20px !important;
  color: #242a25 !important;
  font: 600 15px/1.25 Arial, Helvetica, sans-serif !important;
  background: transparent !important;
  transition: background .18s ease, color .18s ease, padding-left .18s ease !important;
}

body.tsv-modern-header-active .tsv-modern-masthead .sub-nav a:hover,
body.tsv-modern-header-active .tsv-modern-masthead #primary-menu .sub-menu a:hover {
  color: var(--tsv-green) !important;
  background: #f2faf5 !important;
  padding-left: 25px !important;
}

.tsv-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.tsv-header-facebook {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--tsv-green);
  border-radius: 50%;
  color: var(--tsv-green) !important;
  background: #fff;
  font: 800 21px/1 Arial, Helvetica, sans-serif;
  text-decoration: none !important;
  transition: .2s ease;
}

.tsv-header-facebook:hover {
  color: #fff !important;
  background: var(--tsv-green);
  transform: translateY(-1px);
}

.tsv-header-sponsor {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 5px;
  color: #fff !important;
  background: linear-gradient(180deg, #169846, #087733);
  box-shadow: 0 7px 16px rgba(11,143,58,.22);
  font: 800 13px/1 Arial, Helvetica, sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
  transition: .2s ease;
}

.tsv-header-sponsor:hover {
  color: #fff !important;
  background: linear-gradient(180deg, #0d7f38, #08652d);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11,143,58,.3);
}

.tsv-heart {
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 1280px) {
  body.tsv-modern-header-active .tsv-modern-masthead .header-bar {
    padding: 12px 18px !important;
    gap: 12px !important;
  }
  body.tsv-modern-header-active .tsv-modern-masthead .branding {
    min-width: 245px;
  }
  .tsv-brand-wordmark strong { font-size: 20px; }
  .tsv-brand-wordmark em { font-size: 18px; }
  body.tsv-modern-header-active .tsv-modern-masthead .branding img {
    width: 76px !important;
    height: 76px !important;
  }
  body.tsv-modern-header-active .tsv-modern-masthead .main-nav > li > a,
  body.tsv-modern-header-active .tsv-modern-masthead #primary-menu > li > a {
    padding: 0 9px !important;
    font-size: 12px !important;
  }
  .tsv-header-sponsor { padding: 0 13px; font-size: 11px; }
}

@media (max-width: 1050px) {
  .tsv-brand-wordmark,
  .tsv-header-actions {
    display: none !important;
  }

  body.tsv-modern-header-active .tsv-modern-masthead,
  body.tsv-modern-header-active #masthead.tsv-modern-masthead {
    padding: 0 !important;
  }

  body.tsv-modern-header-active .tsv-modern-masthead .header-bar {
    min-height: 82px !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    padding: 8px 16px !important;
  }

  body.tsv-modern-header-active .tsv-modern-masthead .branding {
    min-width: auto;
  }

  body.tsv-modern-header-active .tsv-modern-masthead .branding img {
    width: 66px !important;
    height: 66px !important;
  }
}
