.cmp-gabco-header,
.cmp-gabco-header * {
  box-sizing: border-box;
}

.cmp-gabco-header {
  --gabco-navy-950: #061735;
  --gabco-navy-800: #002868;
  --gabco-blue-650: #0a4d8c;
  --gabco-red-650: #bf0a30;
  --gabco-red-750: #9e0828;
  --gabco-gold-700: #8a6500;
  --gabco-gold-500: #c5960c;
  --gabco-gold-300: #f1d47b;
  --gabco-gold-100: #fff4cf;
  --gabco-canvas: #fbfaf6;
  --gabco-white: #ffffff;
  --gabco-ink: #10203d;
  --gabco-line: #d8dee8;
  --gabco-logo-media: url("https://www.gabcoonline.org/wp-content/uploads/2021/01/GABCO_online_logo_2021-e1611948466991.png");
  position: relative;
  z-index: 9000;
  width: 100%;
  color: var(--gabco-ink);
  background: var(--gabco-canvas);
  box-shadow: 0 16px 38px rgba(6, 23, 53, 0.16);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cmp-gabco-header a,
.cmp-gabco-header summary {
  letter-spacing: 0;
}

.cmp-gabco-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmp-gabco-header__masthead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 390px) minmax(0, 1fr) auto;
  grid-template-areas:
    "brand social actions"
    "nav nav nav";
  justify-content: space-between;
  align-items: center;
  column-gap: clamp(10px, 1.6vw, 24px);
  row-gap: 10px;
  min-height: 0;
  padding: 14px max(24px, calc((100vw - 1760px) / 2)) 0;
  background:
    linear-gradient(96deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.2) 58%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(115deg, #ffffff 0%, #fcfaf3 48%, #f1e8d2 100%);
}

.cmp-gabco-header__brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  align-self: center;
  width: min(350px, 31vw);
  min-width: 250px;
  height: 92px;
  margin-left: 0;
  color: var(--gabco-navy-800);
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.cmp-gabco-header__brand:hover,
.cmp-gabco-header__brand:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 18px rgba(0, 40, 104, 0.18));
}

.cmp-gabco-header__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  filter: drop-shadow(0 7px 13px rgba(0, 40, 104, 0.16));
}

.cmp-gabco-header__navigation {
  display: none;
}

.cmp-gabco-header__menu-toggle {
  display: none;
}

.cmp-gabco-header__panel {
  display: contents;
}

.cmp-gabco-header__utility {
  grid-area: actions;
  justify-self: end;
  align-self: center;
  margin-right: 0;
}

.cmp-gabco-header__utility-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmp-gabco-header__utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(0, 40, 104, 0.22);
  border-radius: 7px;
  color: var(--gabco-navy-950);
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(6, 23, 53, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cmp-gabco-header__utility-item--donate .cmp-gabco-header__utility-link {
  border-color: #b18108;
  background: linear-gradient(180deg, #f9e8a8 0%, #e2be55 100%);
  box-shadow: 0 9px 22px rgba(138, 101, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.cmp-gabco-header__utility-item--join .cmp-gabco-header__utility-link {
  border-color: var(--gabco-red-650);
  color: var(--gabco-white);
  background: linear-gradient(180deg, #d20b3b 0%, var(--gabco-red-650) 100%);
  box-shadow: 0 10px 24px rgba(191, 10, 48, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cmp-gabco-header__utility-link:hover,
.cmp-gabco-header__utility-link:focus-visible {
  border-color: var(--gabco-navy-800);
  color: var(--gabco-white);
  background: var(--gabco-navy-800);
  box-shadow: 0 10px 24px rgba(0, 40, 104, 0.22);
  transform: translateY(-1px);
}

.cmp-gabco-header__utility-item--join .cmp-gabco-header__utility-link:hover,
.cmp-gabco-header__utility-item--join .cmp-gabco-header__utility-link:focus-visible {
  border-color: var(--gabco-red-750);
  background: var(--gabco-red-750);
}

.cmp-gabco-header__social {
  grid-area: social;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-right: 0;
  padding: 6px 8px;
  border: 1px solid rgba(0, 40, 104, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(6, 23, 53, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
}

.cmp-gabco-header__social-label {
  color: rgba(16, 32, 61, 0.78);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.cmp-gabco-header__social-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cmp-gabco-header__social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  overflow: hidden;
  border: 1px solid rgba(0, 40, 104, 0.18);
  border-radius: 999px;
  color: var(--gabco-navy-800);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(6, 23, 53, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cmp-gabco-header__social-icon {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
  flex: 0 0 auto;
}

.cmp-gabco-header__social-link:hover,
.cmp-gabco-header__social-link:focus-visible {
  border-color: var(--gabco-gold-500);
  color: var(--gabco-white);
  background: linear-gradient(145deg, var(--gabco-navy-800) 0%, var(--gabco-blue-650) 100%);
  box-shadow: 0 12px 22px rgba(0, 40, 104, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px) scale(1.04);
}

.cmp-gabco-header__social-link:hover .cmp-gabco-header__social-icon,
.cmp-gabco-header__social-link:focus-visible .cmp-gabco-header__social-icon {
  filter: brightness(0) invert(1);
}

.cmp-gabco-header__nav-surface {
  position: relative;
  grid-area: nav;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.025) 42%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(105deg, #020b1f 0%, #06245a 24%, #0b4c88 51%, #073872 73%, #020b1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.48),
    0 12px 26px rgba(3, 18, 45, 0.16);
}

.cmp-gabco-header__primary {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 0 24px;
}

.cmp-gabco-header__primary-menu {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 58px;
}

.cmp-gabco-header__primary-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.cmp-gabco-header__explore {
  position: static;
}

.cmp-gabco-header__primary-composite {
  display: flex;
  width: 100%;
  min-width: 0;
}

.cmp-gabco-header__primary-composite .cmp-gabco-header__explore {
  flex: 0 0 auto;
}

.cmp-gabco-header__primary-link,
.cmp-gabco-header__primary-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  color: var(--gabco-white);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  min-width: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.cmp-gabco-header__primary-item:not(.cmp-gabco-header__primary-item--has-children) > .cmp-gabco-header__primary-link,
.cmp-gabco-header__primary-composite > .cmp-gabco-header__primary-link {
  width: 100%;
}

.cmp-gabco-header__primary-control::-webkit-details-marker,
.cmp-gabco-header__menu-toggle::-webkit-details-marker {
  display: none;
}

.cmp-gabco-header__primary-control::marker,
.cmp-gabco-header__menu-toggle::marker {
  content: "";
}

.cmp-gabco-header__primary-link:hover,
.cmp-gabco-header__primary-link:focus-visible,
.cmp-gabco-header__primary-control:hover,
.cmp-gabco-header__primary-control:focus-visible {
  color: var(--gabco-white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.055);
}

.cmp-gabco-header__explore[open] > .cmp-gabco-header__primary-control {
  color: var(--gabco-white);
  background: rgba(2, 11, 31, 0.3);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.055);
}

.cmp-gabco-header__primary-item.is-current > .cmp-gabco-header__primary-link,
.cmp-gabco-header__primary-item.is-current .cmp-gabco-header__primary-composite > .cmp-gabco-header__primary-link {
  color: var(--gabco-white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.055);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.cmp-gabco-header__chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: url("icons/menu-chevron-down.png?v=1.34.65") center / contain no-repeat;
  filter: brightness(0) invert(1);
  transform: translateY(1px);
  transition: transform 160ms ease, filter 160ms ease;
}

.cmp-gabco-header__explore[open] .cmp-gabco-header__chevron {
  transform: translateY(1px) rotate(180deg);
}

.cmp-gabco-header__label-short {
  display: none;
}

.cmp-gabco-header__mega {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  width: min(480px, calc(100vw - 48px));
  padding: 12px;
  color: var(--gabco-white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(112deg, #020b1f 0%, #061d47 44%, #07366b 72%, #041832 100%);
  box-shadow: 0 28px 54px rgba(6, 23, 53, 0.36);
  transform: translateX(-50%);
}

.cmp-gabco-header__mega-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(2, 11, 31, 0.28);
}

.cmp-gabco-header__mega-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cmp-gabco-header__mega-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 6px;
  padding: 0 6px;
  color: var(--gabco-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  list-style: none;
  pointer-events: none;
}

.cmp-gabco-header__mega-heading::-webkit-details-marker {
  display: none;
}

.cmp-gabco-header__mega-heading::marker {
  content: "";
}

.cmp-gabco-header__mega-section-chevron {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: url("icons/menu-chevron-down.png?v=1.34.65") center / contain no-repeat;
  filter: brightness(0) invert(1);
  transform: translateY(1px);
  transition: transform 160ms ease, filter 160ms ease;
}

.cmp-gabco-header__mega-links {
  display: grid;
  gap: 2px;
}

.cmp-gabco-header__mega-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px 8px 42px;
  border-radius: 5px;
  color: var(--gabco-white);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cmp-gabco-header__mega-link::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 24px;
  background: var(--gabco-menu-icon, url("icons/menu-default.png")) center / contain no-repeat;
  transition: transform 160ms ease, filter 160ms ease;
}

.cmp-gabco-header__mega-item--about { --gabco-menu-icon: url("icons/menu-about.png"); }
.cmp-gabco-header__mega-item--leadership { --gabco-menu-icon: url("icons/menu-leadership.png"); }
.cmp-gabco-header__mega-item--board { --gabco-menu-icon: url("icons/menu-board.png"); }
.cmp-gabco-header__mega-item--executive-director { --gabco-menu-icon: url("icons/menu-executive-director.png"); }
.cmp-gabco-header__mega-item--impact { --gabco-menu-icon: url("icons/menu-impact.png"); }
.cmp-gabco-header__mega-item--legislative-priorities { --gabco-menu-icon: url("icons/menu-legislative-priorities.png"); }
.cmp-gabco-header__mega-item--georgia-counties { --gabco-menu-icon: url("icons/menu-georgia-counties.png"); }
.cmp-gabco-header__mega-item--government-forum { --gabco-menu-icon: url("icons/menu-government-forum.png"); }
.cmp-gabco-header__mega-item--annual-report { --gabco-menu-icon: url("icons/menu-annual-report.png"); }
.cmp-gabco-header__mega-item--resources { --gabco-menu-icon: url("icons/menu-resources.png"); }
.cmp-gabco-header__mega-item--community-news { --gabco-menu-icon: url("icons/menu-community-news.png"); }
.cmp-gabco-header__mega-item--press { --gabco-menu-icon: url("icons/menu-press.png"); }
.cmp-gabco-header__mega-item--media-press { --gabco-menu-icon: url("icons/menu-media-press.png"); }
.cmp-gabco-header__mega-item--photo-galleries { --gabco-menu-icon: url("icons/menu-photo-galleries.png"); }
.cmp-gabco-header__mega-item--social-media { --gabco-menu-icon: url("icons/menu-social-media.png"); }
.cmp-gabco-header__mega-item--individual { --gabco-menu-icon: url("icons/menu-individual.png"); }
.cmp-gabco-header__mega-item--government { --gabco-menu-icon: url("icons/menu-government.png"); }
.cmp-gabco-header__mega-item--corporate { --gabco-menu-icon: url("icons/menu-corporate.png"); }
.cmp-gabco-header__mega-item--member-signup { --gabco-menu-icon: url("icons/menu-member-signup.png"); }
.cmp-gabco-header__mega-item--member-login { --gabco-menu-icon: url("icons/menu-member-login.png"); }

.cmp-gabco-header__mega-link:hover,
.cmp-gabco-header__mega-link:focus-visible,
.cmp-gabco-header__mega-link[aria-current="page"] {
  color: var(--gabco-white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
}

.cmp-gabco-header__mega-link:hover::before,
.cmp-gabco-header__mega-link:focus-visible::before,
.cmp-gabco-header__mega-link[aria-current="page"]::before {
  filter: drop-shadow(0 6px 10px rgba(6, 23, 53, 0.2));
  transform: scale(1.06);
}

.cmp-gabco-header__primary-control:hover .cmp-gabco-header__chevron,
.cmp-gabco-header__primary-control:focus-visible .cmp-gabco-header__chevron,
.cmp-gabco-header__explore[open] > .cmp-gabco-header__primary-control .cmp-gabco-header__chevron,
.cmp-gabco-header__mega-section[open] .cmp-gabco-header__mega-section-chevron {
  filter: brightness(0) invert(1);
}

@media (min-width: 701px) {
  .cmp-gabco-header__explore > .cmp-gabco-header__mega {
    display: none;
  }

  .cmp-gabco-header__explore:hover > .cmp-gabco-header__mega,
  .cmp-gabco-header__explore:focus-within > .cmp-gabco-header__mega {
    display: block;
  }

  .cmp-gabco-header__primary-item:first-child > .cmp-gabco-header__explore > .cmp-gabco-header__mega,
  .cmp-gabco-header__primary-item:first-child > .cmp-gabco-header__primary-composite > .cmp-gabco-header__explore > .cmp-gabco-header__mega,
  .cmp-gabco-header__primary-item:nth-child(2) > .cmp-gabco-header__explore > .cmp-gabco-header__mega,
  .cmp-gabco-header__primary-item:nth-child(2) > .cmp-gabco-header__primary-composite > .cmp-gabco-header__explore > .cmp-gabco-header__mega {
    left: 0;
    transform: none;
  }
}

@media (max-width: 1180px) and (min-width: 961px) {
  .cmp-gabco-header__masthead {
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr) auto;
    column-gap: 10px;
  }

  .cmp-gabco-header__brand {
    width: min(320px, 31vw);
  }

  .cmp-gabco-header__social {
    padding: 5px 7px;
    gap: 6px;
  }

  .cmp-gabco-header__social-label {
    font-size: 10px;
  }

  .cmp-gabco-header__social-menu {
    gap: 4px;
  }

  .cmp-gabco-header__social-link {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .cmp-gabco-header__utility-link {
    min-height: 44px;
    padding: 0 13px;
    font-size: 12px;
  }
}

/* The hero route borrows the footer's civic dossier language without changing menu ownership. */
.cmp-gabco-header--hero .cmp-gabco-header__masthead {
  background:
    linear-gradient(96deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.22) 58%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(115deg, #ffffff 0%, #fcf8ed 47%, #ecdfbb 100%);
}

.cmp-gabco-header--hero .cmp-gabco-header__nav-surface {
  padding: 10px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.015) 42%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(105deg, #061735 0%, #002868 48%, #0a4d8c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px rgba(3, 18, 45, 0.22);
}

.cmp-gabco-header--hero .cmp-gabco-header__primary-menu {
  min-height: 62px;
  gap: 4px;
}

.cmp-gabco-header--hero .cmp-gabco-header__primary-link,
.cmp-gabco-header--hero .cmp-gabco-header__primary-control {
  min-height: 62px;
  margin: 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cmp-gabco-header--hero .cmp-gabco-header__primary-link:hover,
.cmp-gabco-header--hero .cmp-gabco-header__primary-link:focus-visible,
.cmp-gabco-header--hero .cmp-gabco-header__primary-control:hover,
.cmp-gabco-header--hero .cmp-gabco-header__primary-control:focus-visible {
  color: var(--gabco-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.055);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.cmp-gabco-header--hero .cmp-gabco-header__explore[open] > .cmp-gabco-header__primary-control {
  color: var(--gabco-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(2, 11, 31, 0.28);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.055);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.cmp-gabco-header--hero .cmp-gabco-header__mega {
  padding-top: 12px;
  padding-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(112deg, #061735 0%, #0a2b5f 54%, #0a4d8c 100%);
}

.cmp-gabco-header--hero .cmp-gabco-header__mega-inner {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(6, 23, 53, 0.36);
  box-shadow: 0 24px 48px rgba(3, 18, 45, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cmp-gabco-header--hero .cmp-gabco-header__mega-heading {
  margin-bottom: 12px;
  padding: 0 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gabco-white);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.cmp-gabco-header--hero .cmp-gabco-header__mega-links {
  gap: 6px;
}

.cmp-gabco-header--hero .cmp-gabco-header__mega-link {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.cmp-gabco-header--hero .cmp-gabco-header__mega-link:hover,
.cmp-gabco-header--hero .cmp-gabco-header__mega-link:focus-visible,
.cmp-gabco-header--hero .cmp-gabco-header__mega-link[aria-current="page"] {
  color: var(--gabco-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.cmp-gabco-header a:focus-visible,
.cmp-gabco-header summary:focus-visible {
  outline: 3px solid var(--gabco-gold-300);
  outline-offset: 3px;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .cmp-gabco-header__primary-link,
  .cmp-gabco-header__primary-control {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13px;
  }
}

@media (max-width: 960px) and (min-width: 701px) {
  .cmp-gabco-header__masthead {
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr) auto;
    grid-template-areas:
      "brand social actions"
      "nav nav nav";
    column-gap: 18px;
    row-gap: 8px;
    padding: 12px 18px 0;
  }

  .cmp-gabco-header__brand {
    width: min(278px, 34vw);
    min-width: 220px;
    height: 76px;
    margin-left: 0;
  }

  .cmp-gabco-header__social-label {
    display: none;
  }

  .cmp-gabco-header__utility-menu {
    gap: 5px;
  }

  .cmp-gabco-header__utility-link {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }

  .cmp-gabco-header__nav-surface,
  .cmp-gabco-header__primary-menu {
    min-height: 52px;
  }

  .cmp-gabco-header__primary {
    padding: 0 8px;
  }

  .cmp-gabco-header__primary-link,
  .cmp-gabco-header__primary-control {
    min-height: 52px;
    padding: 0 11px;
    font-size: 12px;
  }

  .cmp-gabco-header__primary-composite .cmp-gabco-header__primary-link {
    flex: 1 1 auto;
  }

  .cmp-gabco-header__primary-composite .cmp-gabco-header__primary-control {
    width: 42px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .cmp-gabco-header__mega {
    width: min(360px, calc(100vw - 36px));
  }

  .cmp-gabco-header__label-full {
    display: none;
  }

  .cmp-gabco-header__label-short {
    display: inline;
  }

  .cmp-gabco-header__mega-grid {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .cmp-gabco-header__masthead {
    display: block;
    min-height: 88px;
    padding: 0;
    background: linear-gradient(115deg, #ffffff 0%, #fbf8ef 58%, #f3ead4 100%);
  }

  .cmp-gabco-header__brand {
    position: absolute;
    top: 10px;
    left: max(10px, env(safe-area-inset-left));
    width: min(256px, calc(100vw - 82px));
    min-width: 0;
    height: 68px;
    margin-left: 0;
    overflow: visible;
  }

  .cmp-gabco-header__navigation {
    display: block;
  }

  .cmp-gabco-header__menu-toggle {
    position: absolute;
    top: 21px;
    right: max(12px, env(safe-area-inset-right));
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    color: var(--gabco-white);
    background: linear-gradient(155deg, #0b4c88 0%, #041b42 100%);
    box-shadow: 0 9px 22px rgba(0, 40, 104, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    cursor: pointer;
    list-style: none;
  }

  .cmp-gabco-header__menu-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 16px;
  }

  .cmp-gabco-header__menu-icon span {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: top 160ms ease, opacity 160ms ease, transform 160ms ease;
  }

  .cmp-gabco-header__menu-icon span:nth-child(1) { top: 0; }
  .cmp-gabco-header__menu-icon span:nth-child(2) { top: 7px; }
  .cmp-gabco-header__menu-icon span:nth-child(3) { top: 14px; }

  .cmp-gabco-header__navigation[open] .cmp-gabco-header__menu-icon span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }

  .cmp-gabco-header__navigation[open] .cmp-gabco-header__menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .cmp-gabco-header__navigation[open] .cmp-gabco-header__menu-icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
  }

  .cmp-gabco-header__menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .cmp-gabco-header__navigation:not([open]) + .cmp-gabco-header__panel {
    display: none !important;
  }

  .cmp-gabco-header__navigation[open] + .cmp-gabco-header__panel {
    display: flex !important;
  }

  .cmp-gabco-header__panel {
    position: absolute;
    top: 88px;
    right: max(12px, env(safe-area-inset-right));
    left: auto;
    z-index: 30;
    display: flex;
    width: min(312px, calc(100vw - 48px));
    max-height: calc(100dvh - 100px);
    flex-direction: column;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, #061735 0%, #020b1f 100%);
    box-shadow: 0 28px 54px rgba(6, 23, 53, 0.34);
    overscroll-behavior: contain;
  }

  .cmp-gabco-header__nav-surface {
    order: 1;
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(0, 0, 0, 0.2) 100%),
      linear-gradient(145deg, #020b1f 0%, #06275d 46%, #0a4d8c 78%, #041832 100%);
    overscroll-behavior: contain;
  }

  .cmp-gabco-header__primary {
    padding: 8px;
  }

  .cmp-gabco-header__primary-menu {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-items: start;
    gap: 7px;
    min-height: 0;
  }

  .cmp-gabco-header--hero .cmp-gabco-header__nav-surface {
    padding: 6px 0;
  }

  .cmp-gabco-header--hero .cmp-gabco-header__primary-menu {
    gap: 3px;
  }

  .cmp-gabco-header--hero .cmp-gabco-header__primary-link,
  .cmp-gabco-header--hero .cmp-gabco-header__primary-control {
    min-height: 52px;
    margin: 0 1px;
    border-radius: 8px;
  }

  .cmp-gabco-header__primary-item--has-children {
    position: static;
    grid-column: 1 / -1;
  }

  .cmp-gabco-header__primary-item--has-children:has(> .cmp-gabco-header__explore[open]) {
    grid-column: 1 / -1;
  }

  .cmp-gabco-header__primary-link,
  .cmp-gabco-header__primary-control {
    min-height: 46px;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.18;
    white-space: normal;
  }

  .cmp-gabco-header__primary-control {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  .cmp-gabco-header__explore[open] > .cmp-gabco-header__primary-control {
    min-height: 44px;
    margin-bottom: 2px;
    border-radius: 8px;
    color: var(--gabco-white);
    background: rgba(2, 11, 31, 0.36);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }

  .cmp-gabco-header__primary-composite .cmp-gabco-header__primary-link {
    justify-content: flex-start;
    text-align: left;
  }

  .cmp-gabco-header__primary-composite .cmp-gabco-header__primary-control {
    width: 46px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .cmp-gabco-header__label-full {
    display: inline;
  }

  .cmp-gabco-header__label-short {
    display: none;
  }

  .cmp-gabco-header__mega {
    position: static;
    width: auto;
    padding: 2px 0 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .cmp-gabco-header__mega-inner {
    padding-top: 6px;
  }

  .cmp-gabco-header--hero .cmp-gabco-header__mega-inner {
    padding: 12px 10px 10px;
    border-radius: 12px;
  }

  .cmp-gabco-header--hero .cmp-gabco-header__mega {
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .cmp-gabco-header__mega-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cmp-gabco-header__mega-heading {
    min-height: 40px;
    margin-bottom: 0;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--gabco-white);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.085);
    cursor: pointer;
    pointer-events: auto;
  }

  .cmp-gabco-header__mega-section:not([open]) > .cmp-gabco-header__mega-links {
    display: none;
  }

  .cmp-gabco-header__mega-section-chevron {
    display: block;
  }

  .cmp-gabco-header__mega-section[open] .cmp-gabco-header__mega-section-chevron {
    transform: rotate(180deg);
  }

  .cmp-gabco-header__mega-section[open] .cmp-gabco-header__mega-heading {
    color: var(--gabco-white);
    background: rgba(255, 255, 255, 0.12);
  }

  .cmp-gabco-header__mega-link {
    min-height: 40px;
    padding: 7px 10px 7px 42px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 12px;
    line-height: 1.22;
  }

  .cmp-gabco-header__mega-link::before {
    left: 11px;
    width: 22px;
    height: 22px;
  }

  .cmp-gabco-header__mega-links {
    gap: 4px;
    padding: 6px 0 2px;
  }

  .cmp-gabco-header__utility {
    position: static;
    order: 2;
    flex: 0 0 auto;
    padding: 8px;
    border-top: 1px solid rgba(0, 40, 104, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
  }

  .cmp-gabco-header__utility-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
  }

  .cmp-gabco-header__utility-item--join {
    grid-column: auto;
  }

  .cmp-gabco-header__utility-link {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 6px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .cmp-gabco-header__social {
    position: static;
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 0 8px 8px;
    padding: 9px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(2, 11, 31, 0.94) 0%, rgba(0, 62, 126, 0.9) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 22px rgba(2, 11, 31, 0.14);
  }

  .cmp-gabco-header__social-label {
    display: block;
    color: var(--gabco-white);
    font-size: 11px;
    font-weight: 850;
    text-align: center;
  }

  .cmp-gabco-header__social-menu {
    display: grid;
    grid-template-columns: repeat(5, 44px);
    justify-content: center;
    gap: 4px;
  }

  .cmp-gabco-header__social-link {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    border-radius: 7px;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--gabco-white) !important;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%),
      rgba(2, 11, 31, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 16px rgba(2, 11, 31, 0.18);
    font-size: 0;
  }

  .cmp-gabco-header__social-icon {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
  }
}

@media (min-width: 520px) and (max-width: 700px) {
  .cmp-gabco-header__mega-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 330px) {
  .cmp-gabco-header__brand {
    width: min(205px, calc(100vw - 86px));
  }

  .cmp-gabco-header__panel {
    right: 12px;
    left: auto;
    width: calc(100vw - 48px);
  }

  .cmp-gabco-header__primary-menu {
    grid-template-columns: 1fr;
  }

  .cmp-gabco-header__utility-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmp-gabco-header__utility-link {
    font-size: 10px;
  }
}

body.omg-mc-gabco-theme-shell #main-wrapper {
  background:
    linear-gradient(180deg, rgba(244, 247, 252, 0.96) 0%, rgba(255, 255, 255, 1) 48%),
    #ffffff;
}

body.omg-mc-gabco-theme-shell #main-wrapper > .container {
  box-sizing: border-box;
  width: min(1240px, calc(100% - 48px));
  max-width: 1240px;
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

body.omg-mc-gabco-theme-shell #main-wrapper .column-content-wrapper {
  align-items: flex-start;
  gap: clamp(22px, 3vw, 36px);
}

body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container {
  flex: 1 1 0;
  max-width: none;
  padding: 0;
}

body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container > article {
  overflow: hidden;
  margin: 0;
  padding: clamp(24px, 3.6vw, 44px);
  border: 1px solid rgba(0, 40, 104, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(2, 11, 31, 0.08);
}

body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container > article .entry-title,
body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container > article h1.entry-title {
  margin-top: 0;
  color: #071735;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 0.98;
}

body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container > article .entry-content {
  color: #27364f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.62;
}

body.omg-mc-gabco-theme-shell #main-wrapper .left.sidebar.tc-sidebar {
  flex: 0 0 clamp(270px, 24vw, 330px);
  order: -1;
  max-width: clamp(270px, 24vw, 330px);
  padding: 0;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area {
  display: grid;
  gap: 16px;
  width: 100%;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .widget {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(0, 40, 104, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 34px rgba(2, 11, 31, 0.08);
  color: #27364f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .widget-title,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .widget h2,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .widget h3 {
  margin: 0 0 12px;
  color: #071735;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .search-form,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-block-search,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-block-search__inside-wrapper {
  display: grid;
  gap: 10px;
  width: 100%;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .search-form label,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-block-search__label {
  margin: 0;
  color: #071735;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .search-field,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-block-search__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 40, 104, 0.2);
  border-radius: 6px;
  background: #ffffff;
  color: #071735;
  font: 650 15px/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .search-submit,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-block-search__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #061947;
  border-radius: 6px;
  background: #061947;
  color: #ffffff;
  font: 850 13px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .search-submit:hover,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .search-submit:focus-visible,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-block-search__button:hover,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-block-search__button:focus-visible {
  border-color: #cf0038;
  background: #cf0038;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area a {
  color: #002868;
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .visual-portfolio,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__items-wrap {
  width: 100%;
  max-width: 100%;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-wrap {
  overflow: hidden;
  border: 1px solid rgba(0, 40, 104, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-img-wrap,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #edf2f8;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-img img,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-popup-img,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-meta,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-caption {
  padding: 12px;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-title,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__item-title a {
  color: #071735;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.22;
  text-decoration: none;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-filter,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__filter-wrap {
  margin-bottom: 12px;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-filter__items,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
}

body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-filter__item,
body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .vp-portfolio__filter a {
  min-height: 34px;
  border-radius: 6px;
}

@media (max-width: 991px) {
  body.omg-mc-gabco-theme-shell #main-wrapper > .container {
    width: min(100% - 32px, 920px);
  }

  body.omg-mc-gabco-theme-shell #main-wrapper .column-content-wrapper {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container,
  body.omg-mc-gabco-theme-shell #main-wrapper .left.sidebar.tc-sidebar {
    width: 100%;
    max-width: 100%;
  }

  body.omg-mc-gabco-theme-shell #main-wrapper .left.sidebar.tc-sidebar {
    order: 2;
  }

  body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 640px) {
  body.omg-mc-gabco-theme-shell #main-wrapper > .container {
    width: calc(100% - 24px);
    padding-top: 22px;
  }

  body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container > article {
    padding: 20px;
  }

  body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  body.omg-mc-gabco-theme-shell #main-wrapper #content.article-container > article {
    padding: 18px 16px;
  }

  body.omg-mc-gabco-theme-shell #main-wrapper #left.widget-area .widget {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-gabco-header *,
  .cmp-gabco-header *::before,
  .cmp-gabco-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
