:root {
  /* Primary Brand Colors */
  --white: #ffffff;
  --black: #000000;
  --blue-primary: #0078b3; /* Primary Blue - RGB: 0 120 179 */

  /* Accent Colors */
  --blue-inky: #0d1c3d; /* Inky - RGB: 13 28 61 */
  --blue-accent: #003b71; /* Blue Accent - RGB: 0 59 113 */
  --blue-light: #92ccf0; /* Light Blue - RGB: 146 204 240 */
  --orange-accent: #f36c0d; /* Orange - RGB: 243 108 13 */

  /* Background Colors (Graphite Palette) */
  --bg-deep-graphite: #d3d6dc; /* Deep Graphite - RGB: 211 214 220 */
  --bg-mid-graphite: #e9ebee; /* Mid Graphite - RGB: 233 235 238 */
  --bg-light-graphite: #f4f5f6; /* Light Graphite - RGB: 244 245 246 */
  --bg-pebble: #f7f7f7; /* Pebble - RGB: 247 247 247 */
  --bg-pale-blue: #f0f7fa; /* Pale Blue - RGB: 240 247 250 */

  /* Semantic Color Assignments */
  --text-dark: var(--blue-inky);
  --text-medium: var(--blue-accent);
  --text-muted: var(--blue-accent);
  --text-white: var(--white);
  --text-black: var(--black);

  /* Background assignments */
  --bg-white: var(--white);
  --bg-black: var(--black);
  --bg-light: var(--bg-light-graphite);
  --bg-badge: var(--bg-mid-graphite);

  /* Border colors */
  --border-light: var(--bg-mid-graphite);
  --border-blue: var(--blue-light);

  /* Alert/Message colors */
  --info-bg: var(--bg-pale-blue);
  --info-border: var(--blue-light);
  --info-text: var(--blue-inky);

  /* Interactive colors */
  --hover-color: var(--orange-accent);
  --link-color: var(--blue-primary);

  /* Legacy aliases for backwards compatibility */
  --steelblue: var(--blue-primary);
  --darkblue: var(--blue-inky);
}
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
}
main {
  min-height: 46.9vh;
}
/* Global Banner */
.global-banner {
  background-color: var(--global-banner-bg, var(--blue-primary));
  color: var(--global-banner-text, var(--text-white));
  padding: 12px 0;
  position: relative;
  z-index: 1001;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  display: block;
  text-decoration: none;
  cursor: pointer;
  font-family: Arial, sans-serif;
  margin-bottom: 4px;
}

.global-banner:hover {
  transition: all 0.3s ease;
  color: var(--text-white);
  text-decoration: none;
  opacity: 0.95;
}

.global-banner-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
}

.global-banner-dismiss {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--global-banner-text, var(--text-white));
  cursor: pointer;
  padding: 4px 8px;
  font-size: 18px;
  line-height: 1;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.global-banner-dismiss:hover {
  opacity: 0.7;
}

.global-banner-dismiss span {
  display: block;
  font-weight: bold;
  margin-top: -5px;
}

.global-banner-link,
.global-banner-text {
  color: var(--global-banner-text, var(--text-white));
  text-decoration: none;
  font-weight: 600;
  margin: 0 40px;
  display: block;
  transition: opacity 0.2s ease;
}

.global-banner-link:hover {
  opacity: 0.9;
  color: var(--text-white);
  text-decoration: none;
}

/* Hidden state */
.global-banner.hidden {
  display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .global-banner {
    font-size: 13px;
    padding: 10px 0;
  }

  .global-banner-content {
    padding: 0 15px;
  }

  .global-banner-dismiss {
    left: 15px;
    font-size: 16px;
  }

  .global-banner-link,
  .global-banner-text {
    margin: 0 30px;
  }
}

@media (max-width: 480px) {
  .global-banner {
    font-size: 12px;
    padding: 8px 0;
  }

  .global-banner-content {
    padding: 0 10px;
  }

  .global-banner-dismiss {
    left: 10px;
    font-size: 14px;
  }

  .global-banner-link,
  .global-banner-text {
    margin: 0 25px;
  }
}

.container {
  box-sizing: border-box;
}

a {
  color: var(--link-color);
}
img {
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  background-color: var(--blue-inky);
  padding: 30px 40px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  gap: 0 16px;
}

.header-left img {
  max-height: 80px;
  max-width: 100%;
  height: auto;
  width: auto;
}

/* Navigation */
.main-nav {
  padding: 0;
  margin: 0;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px 40px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  font-family: Arial, sans-serif;
}

.main-nav .current-menu-item > a {
  text-decoration: underline;
}

/* Submenu */
.main-nav li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--blue-inky);
  padding: 20px 0;
  list-style: none;
  z-index: 1000;
  min-width: 240px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.main-nav li:hover > ul.sub-menu {
  display: block;
}

.main-nav li ul.sub-menu li {
  padding: 10px 30px;
}

.main-nav li ul.sub-menu li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}

.main-nav li ul.sub-menu li.current-menu-item > a {
  text-decoration: underline;
}

/* Desktop sub-menu positioning to prevent viewport overflow */
.main-nav li ul.sub-menu.position-left {
  left: auto;
  right: 0;
}

.main-nav li ul.sub-menu.position-right {
  left: 0;
  right: auto;
}

/* Footer */
.site-footer {
  background-color: var(--blue-inky);
  color: var(--text-white);
  font-family: Arial, sans-serif;
  padding: 2rem 2rem 1rem 2rem;
}

/* KPGV-16: Add 15px whitespace between top nav and hero on non-home templates */
body:not(.home) .flexible-banner,
body:not(.home) .hero-banner,
body:not(.home) .gform_wrapper .hero-banner {
  margin-top: 4px;
}

/* Add margin to page-description only when it's the first element (no flexible-banner) on non-home */
body:not(.home) .page-description:first-of-type {
  margin-top: 15px;
}

/* Override for page-description that comes after flexible-banner */
.flexible-banner + .page-description {
  margin-top: 0;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: 100%;
  margin: auto;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-buttons a {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid var(--text-white);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 600;
  transition: background 0.3s;
  text-align: center;
}

.footer-buttons a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: grid;
  max-width: 1200px;
  grid-template-columns: 3fr 1.5fr;
  grid-template-rows: auto auto;
  column-gap: 60px;
  width: 100%;
}

.main-content {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-content {
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.privacy {
  grid-column: 1 / 3;
  margin-top: 1rem;
}

.privacy a {
  color: var(--text-white);
  text-decoration: underline;
  font-size: 14px;
}

.privacy-mobile {
  display: none;
  grid-column: 1 / 3;
  margin-top: 1rem;
}

.privacy-mobile a {
  color: var(--text-white);
  text-decoration: underline;
  font-size: 14px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 13px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--text-white);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-white);
  font-size: 24px;
  text-decoration: none;
  border-radius: 5.4px;
  box-sizing: border-box;
  padding: 4px;
}

.social-icons i {
  font-family: "Font Awesome 6 Brands", serif;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  color: var(--white);
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  font-weight: 300;
  font-size: 21.94px;
  line-height: 27;
  letter-spacing: 0;
  vertical-align: middle;
  font-family: Arial, sans-serif;
}

/*--- PLEASE DON'T DELETE THIS CODE --- */

.award-link {
  display: inline-block;
  background-color: var(--blue-primary);
  color: var(--white) !important;
  text-decoration: none !important;
  padding: 2% 4%;
  border-radius: 50px;
  font-size: 18px;
  margin: 2%;
  transition: background 0.3s ease;
  font-family: Arial, sans-serif;
}

.award-link:hover {
  background-color: var(--blue-accent);
}

/*--- END OF THIS CODE --- */

/* Form styles */
.gform_wrapper .gform_wrapper {
  max-width: 800px;
  margin: 36px auto 0;
}

.gform_wrapper .gform_heading {
  display: none;
}

.gform_wrapper .gform_fields {
  gap: 16px !important;
}

.gform_wrapper input:not([type="submit"]),
.gform_wrapper textarea {
  border-radius: 0 !important;
  padding: 10px !important;
  min-height: 52px !important;
}

.gform_wrapper .gform-field-label {
  font-size: 16px !important;
  color: var(--blue-inky) !important;
}

.gform_wrapper .gfield_label {
  font-size: 18px !important;
}

.gform_wrapper .gfield_required {
  font-size: 16px !important;
  color: var(--blue-inky) !important;
  opacity: 0.7 !important;
}

.gform_wrapper input[type="submit"] {
  border-radius: 300px !important;
  background-color: transparent !important;
  color: var(--blue-primary) !important;
  border-color: var(--blue-primary) !important;
  font-size: 18px !important;
  padding: 21px 36px !important;
}

.gform_wrapper input[type="submit"]:hover {
  color: var(--white) !important;
  background: var(--blue-primary) !important;
}

.gform_wrapper .gform_footer {
  justify-content: center;
}

@media (max-width: 1024px) {
  .site-footer {
    padding: 45px 40px 0 40px;
  }
  .footer-container {
    column-gap: 50px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .site-footer {
    padding: 43px 30px 0 30px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 40px;
  }

  .footer-buttons a {
    flex-direction: column;
    align-items: center;
    margin: auto;
    padding: 19px 82px;
  }

  .main-content {
    display: grid;
    grid-column: 1;
  }

  .side-content {
    display: grid;
    grid-column: 1;
  }

  .privacy {
    display: none;
  }

  .privacy-mobile {
    display: block;
  }
}

@media (max-width: 390px) {
  .site-footer {
    padding: 22px 23px 0 23px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 33px;
  }

  .main-content {
    display: grid;
    grid-column: 1;
  }

  .side-content {
    display: grid;
    grid-column: 1;
  }

  .privacy {
    display: none;
  }

  .privacy-mobile {
    display: block;
  }
}

#header-menu-checkbox {
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

.header-menu-label {
  position: relative;
  display: flex;
  flex-shrink: 0;
  height: 35px;
  width: 35px;
  cursor: pointer;
  z-index: 999999;
}

.header-menu-label:before,
.header-menu-label:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  border-top: 1px solid #fff;
  top: 50%;
  transition: transform 0.5s ease;
  transform: translate(0, 5px);
}

.header-menu-label:after {
  transform: translate(0, -5px);
}

#header-menu-checkbox:checked + .header-menu-label:before {
  top: 50%;
  border-color: var(--blue-inky);
  transform: rotate(45deg);
}

#header-menu-checkbox:checked + .header-menu-label:after {
  top: 50%;
  border-color: var(--blue-inky);
  transform: rotate(-45deg);
}

@media (max-width: 991px) {
  #header-menu-checkbox:not(:checked) ~ .header-right {
    opacity: 0;
    visibility: hidden;
    transform: rotateX(90deg) translateY(200px);
  }

  .header-right {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--white);
    opacity: 1;
    visibility: visible;
    transform: rotateX(0) translateY(0);
    transition: all 0.5s ease;
    overflow: auto;
    z-index: 9999;
  }

  .main-nav {
    box-sizing: border-box;
    align-content: center;
    height: 100%;
    padding: 60px 50px;
    overflow: auto;
    max-height: 100%;
  }

  .main-nav ul {
    flex-direction: column;
    justify-content: center;
    /*height: 100%;*/
  }

  .main-nav > ul > li > a {
    position: relative;
    padding: 10px 0;
  }

  .main-nav > ul > li > a:not(:last-child):before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -24px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--blue-inky);
    border-right: 2px solid var(--blue-inky);
    transform: translateY(-40%) rotate(45deg);
    transition: all 0.5s ease;
  }

  .main-nav > ul > li > a:not(.active) ~ .sub-menu {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    transform: translate(180px, 0) rotateY(90deg) scale(0.5);
  }

  .main-nav > ul > li > a.active:before {
    transform: translateY(-60%) rotate(135deg);
  }

  .header-right a,
  .main-nav li ul.sub-menu li a {
    font-size: 6vmin;
    color: var(--blue-inky);
    font-family: Arial, sans-serif;
  }

  .main-nav li ul.sub-menu {
    display: block;
    position: relative;
    top: inherit;
    left: inherit;
    background: transparent;
    box-shadow: none;
    padding: 0;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease;
    max-height: 600px;
    overflow: hidden;
    transform: translate(0, 0) rotateY(0) scale(1);
  }
}

@media (min-width: 991px) {
  #header-menu-checkbox,
  .header-menu-label {
    display: none;
  }
}

/* Floated images and captions */
img.alignleft,
.wp-caption.alignleft {
  float: left;
  margin: 1em 1.5em 1em 0;
}
img.alignright,
.wp-caption.alignright {
  float: right;
  margin: 1em 0 1em 1.5em;
}