html {
  font-size: 16px;
}

#main-nav .holesum {
  padding-left: 50px !important;
  padding-right: 50px !important;
}

@media (max-width: 991px) {
  #main-nav .holesum {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Screen reader only */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Hide the old nav-search column entirely */
#nav-search {
  display: none !important;
}


/* RA button — fixed top-right at all sizes */
.ra-desktop-btn {
  position: fixed;
  right: 25px;
  top: 0;
  height: 54px;
  display: flex;
  align-items: center;
  z-index: 1031;
}

/* Shift left to sit beside the hamburger up to 991px */
@media (max-width: 991px) {
  .ra-desktop-btn {
    right: 80px;
    height: 50px;
    margin-top: 15px;
  }
}

/* =====================
   HERO SECTION
   ===================== */
.negov-hero {
  position: relative;
  min-height: 600px;
  background: url('../img/bg-birds.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.negov-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,rgba(255,255,255,1) 0%,rgba(255,255,255,0.9) 47%,rgba(255,255,255,0.2) 80%,transparent 100%);
}

.negov-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
}

.negov-hero__headline {
  font-family: Montserrat, sans-serif;
  font-size: 3.75rem;
  font-weight: 900;
  color: #20416a;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.negov-hero__sub {
  font-size: 1.75rem;
  color: #20416a;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.negov-hero__btns {
  display: flex;
  column-gap: 0.75rem;
  row-gap: 0;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.negov-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.negov-btn--outline {
  border: 1px solid #ccc;
  color: #1a2744;
}

.negov-btn--outline:hover {
  color: #1a2744;
  text-decoration: none;
}

#aiFieldWrap {
  max-width: 550px;
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
}

#homeAiInput {
  position: relative;
  flex: 1 0 100%;
  min-width: 100%;
  margin-bottom: 0.5rem;
}

#homeAiText {
  width: 100%;
  height: 55px;
  background: #fff;
  padding: 0.6rem 7rem 0.6rem 0.85rem;
  font-size: 1rem;
  color: #333;
  outline: none;
  font-family: Roboto, sans-serif;
  border: 1px solid #ccc;
  border-radius: 10px;
}

#homeAiText:focus { border-color: #00607d; }

.button_ai-voice-search {
  position: absolute;
  right: 4.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #555;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  transition: color 0.15s;
}

.button_ai-voice-search:hover { color: #222; }

.button_ai-voice-search i.listening {
  animation: pulse-icon-scale 1s infinite;
  color: #f2b14a;
}

#homeAiInputSubmit {
  background-image: linear-gradient(to right, #f2b14a 0%, #F2C94C 51%, #f1a329 100%);
  position: absolute;
  right: 0;
  top: 0;
  height: 55px;
  width: 3.5rem;
  border: 0;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  background-size: 200% auto;
}

#homeAiInputSubmit:hover { background-position: right center; }
#homeAiInputSubmit svg { fill: #fff; }
#homeAiInputSubmit:hover svg { fill: #322200; }

.negov-hero__btns .aiCard {
  opacity: 1;
  background: #f3eee7;
  border-radius: 10px;
  padding: 0;
  margin-top: 0;
  flex-basis: auto;
  cursor: pointer;
}

/* Forces the buttons after it onto a new row, like a <br>. Its height
   is the row spacing — set to match the 0.75rem gap between buttons.
   Container row-gap is 0 so this is the only vertical space. */
.negov-hero__btns-break {
  flex-basis: 100%;
  height: 0.75rem;
}

.negov-hero__btns .aiCard:hover {
  background: #ffffff;
}

.negov-hero__btns .aiCard p {
  margin: 0;
  color: #1a2744;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  white-space: nowrap;
}

.negov-hero__disclaimer {
  font-size: 0.8125rem;
  color: #555;
  margin-top: 2.45rem;
  margin-bottom: 0;
}

.negov-hero__disclaimer a {
  color: #00607d;
  text-decoration: underline;
}

@keyframes pulse-icon-scale {
  0%   { transform: translateY(-50%) scale(1); }
  50%  { transform: translateY(-50%) scale(1.15); }
  100% { transform: translateY(-50%) scale(1); }
}

@media (max-width: 1199px) {
  .negov-hero__overlay {
    background: linear-gradient(to right,rgba(255,255,255,1) 0%,rgba(255,255,255,0.95) 60%,rgba(255,255,255,0.5) 90%,rgba(255,255,255,0.1) 100%);
  }
}

@media (max-width: 991px) {
  .negov-hero__overlay {
    background: linear-gradient(to right,rgba(255,255,255,1) 0%,rgba(255,255,255,0.95) 75%,rgba(255,255,255,0.6) 95%,rgba(255,255,255,0.2) 100%);
  }
  /* Below desktop the pills wrap naturally rather than in a forced 3/3
     split, so drop the break spacer and give the container a real row-gap
     so wrapped rows keep their vertical spacing. */
  .negov-hero__btns-break { display: none; }
  .negov-hero__btns { row-gap: 0.75rem; }
}

@media (max-width: 768px) {
  #aiFieldWrap { max-width: 100%; }
  .negov-hero__headline { font-size: 2.2rem; }
  .negov-hero__sub { font-size: 1.2rem; }
  .negov-hero__overlay {
    background: rgba(255,255,255,0.92);
  }
}

/* =====================
   STICKY TOP HEADER
   ===================== */
/* Floating Resident Assistant button */
#negov-sticky-btn {
  position: fixed;
  top: 69px;
  right: 15px;
  z-index: 1029;
  background-image: linear-gradient(to right, #f2b14a 0%, #F2C94C 51%, #f1a329 100%);
  background-size: 200% auto;
  padding: 8px 25px 8px 15px;
  border-radius: 14px;
  border: none;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.31);
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-position 0.5s, padding 0.4s ease, border-radius 0.4s ease;
}

#negov-sticky-btn:hover,
#negov-sticky-btn:focus {
  background-position: right center;
  outline: none;
}

#negov-sticky-btn svg {
  vertical-align: sub;
  flex-shrink: 0;
}

.negov-sticky-btn__label {
  display: inline-block;
  max-width: 160px;
  overflow: hidden;
  opacity: 1;
  transition: max-width 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
}

/* Compact (icon-only) state after scroll */
#negov-sticky-btn.is-compact {
  padding: 10px;
  border-radius: 50%;
  z-index: 9999;
}

#negov-sticky-btn.is-compact .negov-sticky-btn__label {
  max-width: 0;
  opacity: 0;
  margin: 0;
}

@media (max-width: 991px) {
  #negov-sticky-btn {
    top: 20px;
    z-index: 9999;
    right: 100px;
  }
}

@media (max-width: 415px) {
  #negov-sticky-btn {
    padding: 10px;
    border-radius: 50%;
  }
  #negov-sticky-btn .negov-sticky-btn__label {
    display: none;
  }
}

/* Push fixed navbar to top */
#navigation.navbar-fixed-top {
  top: 0 !important;
}

/* Strip the gray background from the page content area */
.home #content {
  background: none !important;
  padding-top: 53px;
  padding-bottom: 0 !important;
}

/* =====================
   ICON ROW (desktop)
   ===================== */
/* =====================
   TABS SECTION
   ===================== */
.negov-tabs {
  border-bottom: 1px solid #dde0e6;
}

.negov-tabs__bar {
  background: #324b6b;
}

.negov-tabs__bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.negov-tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.5rem;
  color: rgba(255,255,255,0.75);
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  gap: 0.25rem;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}

.negov-tabs__tab:last-child { border-right: none; }

.negov-tabs__tab:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.negov-tabs__tab.is-active {
  background: #253a54;
  color: #fff;
}

.negov-tabs__icon { opacity: 0.9; }

.negov-tabs__label {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.negov-tabs__sub {
  font-size: 0.8125rem;
  opacity: 0.9;
}

.negov-tabs__panel {
  display: none;
  background: #f5f6f8;
}

.negov-tabs__panel.is-active {
  display: block;
}

.negov-tabs__panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.75rem;
}

.negov-topics__grid {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem 1.5rem;
}

.negov-topics__grid li a {
  font-size: 1rem;
  color: #00607d;
  display: block;
  padding: 0.3rem 0;
  border-bottom: 1px solid #e4e7ed;
  text-decoration: none;
}

.negov-topics__grid li a:hover { color: #003d4f; text-decoration: underline; }

/* Google CSE — span 2 grid columns and override injected inline styles */
.negov-topics__grid-cse {
  grid-column: span 2;
  border-bottom: none !important;
  overflow: hidden;
  min-width: 0;
}


.gsc-results-wrapper-overlay {
  height: 90% !important;
  width: 75% !important;
}

.gsc-control-cse {
  border-color: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  height: 75px;
}

.negov-topics__grid-cse .gsc-control,
.negov-topics__grid-cse .gsc-search-box,
.negov-topics__grid-cse table.gsc-search-box {
  width: 100% !important;
  max-width: 500px !important;
}

.gsib_b { display: none !important; }
.gsib_a { background-position: left 18px bottom 9px !important; }

.negov-topics__grid-cse .gsc-input-box {
  border: 1px solid #bbb !important;
  border-radius: 3px 0 0 3px !important;
  background: #fff !important;
  padding: 0 !important;
}

.negov-topics__grid-cse input.gsc-input {
  font-family: Roboto, sans-serif !important;
  font-size: 1rem;
  color: #333 !important;
  padding: 0.55rem 0.75rem !important;
  height: auto !important;
  background: transparent !important;
  margin: 1em 0px 0px !important;
}

.negov-topics__grid-cse .gsc-search-button-v2 {
  background-color: #00607d !important;
  border: none !important;
  border-radius: 0 3px 3px 0 !important;
  padding: 0.55rem 0.85rem !important;
  cursor: pointer !important;
}

.negov-topics__grid-cse .gsc-search-button-v2 svg {
  fill: #fff !important;
  width: 16px !important;
  height: 16px !important;
}

.negov-topics__grid-cse .gsc-search-button-v2:hover {
  background-color: #003d4f !important;
}

.negov-topics__grid-cse .gsc-clear-button { display: none !important; }

.negov-agency-search__title {
  font-family: Montserrat, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.negov-agency-search__input-wrap input {
  width: 100%;
  max-width: calc(50% - 0.75rem);
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  color: #333;
}

.negov-agency-card {
  background: #fff;
  border: 1px solid #dde0e6;
  border-radius: 4px;
  overflow: hidden;
}

.negov-agency-card__header {
  background: #eaf0f5;
  padding: 0.65rem 1.1rem;
  border-bottom: 1px solid #dde0e6;
}

.negov-agency-card__header h3 {
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0;
  color: #1a2744;
}

.negov-agency-card__abbr { color: #555; font-weight: 400; }

.negov-agency-card__body {
  display: grid;
  grid-template-columns: 275px 1fr 200px;
  gap: 0;
}

.negov-agency-card__col {
  padding: 1rem 1.1rem;
  border-right: 1px solid #eee;
}

.negov-agency-card__col:last-child { border-right: none; }

.negov-agency-card__col--contact {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.7;
}

.negov-agency-card__website {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  color: #00607d;
  margin-bottom: 0.5rem;
  word-break: break-all;
  text-decoration: none;
}

.negov-agency-card__col--contact address {
  font-style: normal;
  margin-bottom: 0.4rem;
  color: #444;
  font-size: 0.9375rem;
}

.negov-agency-card__col--contact p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0.1rem 0;
  font-size: 0.9375rem;
}

.negov-agency-card__col--about {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.55;
}

.negov-agency-card__col--about p { margin-top: 0.35rem; }

.negov-agency-card__col--links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.9rem;
}

.negov-agency-card__link {
  display: block;
  font-size: 0.9375rem;
  color: #00607d;
  padding: 0.22rem 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}

.negov-agency-card__link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .negov-tabs__bar-inner { grid-template-columns: 1fr; }
  .negov-tabs__sub { display: none; }
  .negov-tabs__tab { flex-direction: row; justify-content: left; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .negov-tabs__icon { margin-right: 10px; margin-left: 15px; }
  .negov-topics__grid { grid-template-columns: repeat(2, 1fr); }
  .negov-agency-card__body { grid-template-columns: 1fr; }
}

/* =====================
   Resident Assistant button
   ===================== */
#aiToggle {
  background-image: linear-gradient(to right, #f2b14a 0%, #F2C94C 51%, #f1a329 100%);
  background-size: 200% auto;
  padding: 8px 14px;
  border-radius: 14px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  transition: background-position 0.5s;
  vertical-align: middle;
}

#aiToggle:hover,
#aiToggle:focus {
  background-position: right center;
  outline: none;
}

#aiToggle svg {
  vertical-align: sub;
}

#aiToggle span {
  padding-left: 2px;
}

/* =====================
   Fullscreen chat overlay
   ===================== */
#fullscreenChatOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#fullscreenChatOverlay.active {
  display: flex;
  opacity: 1;
}

#fullscreenChatContainer {
  position: absolute;
  top: 2rem; left: 10rem; right: 10rem; bottom: 4rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#fullscreenChatHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #00607d;
  color: #fff;
}

#fullscreenChatHeader h1 {
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 19px;
  background: rgba(0, 96, 127, 0.8);
}

#fullscreenChatHeader h1 svg {
  fill: wheat;
  vertical-align: sub;
}

#fullscreenChatClose {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 1.12rem;
  border-radius: 4px;
}

#fullscreenChatClose:hover {
  background: rgba(255, 255, 255, 0.1);
}

#fullscreenChatBody {
  flex: 1;
  overflow: hidden;
}

@media (max-width: 900px) {
  #fullscreenChatContainer {
    top: 1rem; left: 1rem; right: 1rem; bottom: 1rem;
  }
}

@media (max-width: 768px) {
  #fullscreenChatContainer {
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 0;
  }
}

/* =====================
   NEWS + CALENDAR
   ===================== */
.negov-home-bottom {
  position: relative;
  padding: 6rem 0 9rem 0;
  background: #ffffff;
}

.negov-home-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(255 255 255 / 90%), transparent), url(../img/whats-happening-bg.jpg) center center / cover no-repeat;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.negov-home-bottom > * {
  position: relative;
  z-index: 1;
}

.negov-home-bottom__heading {
  font-family: Montserrat, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #20416a;
  text-align: center;
  margin: 0 0 2.5rem;
  text-shadow: 0 0 12px #FFFFFF, 0 0 12px #FFFFFF, 0 0 20px #FFFFFF, 0 0 20px #FFFFFF, 0 0 30px #FFFFFF, 0 0 40px #FFFFFF;
  padding-top: 25px;
}

.negov-home-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.negov-feed-loading,
.negov-feed-error {
  padding: 1rem;
  color: #666;
  font-size: 0.9375rem;
}

/* Featured top-story hero card */
.negov-news-col { position: relative; display: flex; flex-direction: column; }
.negov-news { display: flex; flex-direction: column; flex: 1; }

/* "See more news" overlaid on the card, bottom-right, across from the date */
.negov-news__more {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 2;
  font-family: Montserrat, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.8);
}

.negov-news__more:hover {
  color: #fff;
  text-decoration: underline;
}

.negov-news__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 1;
  min-height: 400px;
  border: 1px solid #dde0e6;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a2744;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.negov-news__item:hover {
  border-color: #1a2744;
  box-shadow: 0 3px 10px rgba(26, 39, 68, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.negov-news__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0) 68%);
}

.negov-news__overlay {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.75rem 1.75rem;
}

.negov-news__badge {
  display: inline-block;
  background: #f2b544;
  color: #1a2744;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  margin-bottom: 0.85rem;
}

.negov-news__title {
  font-family: Montserrat, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.6rem;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.8);
}

.negov-news__date {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Public Calendar card */
.negov-calendar {
  display: flex;
  flex-direction: column;
  background: rgb(255 255 255 / 85%);
  border: 1px solid #dde0e6;
  border-radius: 8px;
  padding: 1.75rem 2rem;
  backdrop-filter: blur(5px);
}

/* "See more events" in the bottom-right of the calendar card */
.negov-calendar__more {
  align-self: flex-end;
  margin-top: 1rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #20416a;
  text-decoration: none;
}

.negov-calendar__more:hover {
  text-decoration: underline;
}

.negov-calendar__title {
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2744;
  margin: 0 0 1rem;
}

.negov-calendar__list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.negov-calendar__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid #eceef2;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}

.negov-calendar__item:first-child { border-top: none; }

.negov-calendar__item:hover { opacity: 0.75; text-decoration: none; }

.negov-calendar__date {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  background: #324b6b;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.negov-calendar__day {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.negov-calendar__month {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.negov-calendar__detail { flex: 1; min-width: 0; overflow-wrap: break-word; }

.negov-calendar__event {
  font-family: Montserrat, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
  line-height: 1.3;
  color: #1a2744;
}

.negov-calendar__detail time {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a2744;
}

/* =====================
   EXPLORE NEBRASKA
   ===================== */
.negov-explore {
  background: #fff6e1;
  padding: 4rem 0;
}

.negov-explore__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.negov-explore__title {
  font-family: Montserrat, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #20416a;
  margin: 0 0 1.25rem;
}

.negov-explore__text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1a2744;
  margin: 0 0 1.75rem;
}

.negov-explore__btn {
  display: inline-block;
  background-image: linear-gradient(to right, #f2b14a 0%, #F2C94C 51%, #f1a329 100%);
  background-size: 200% auto;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: Montserrat, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  transition: background-position 0.3s;
}

.negov-explore__btn:hover {
  background-position: right center;
  color: #333;
  text-decoration: none;
}

.negov-explore__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.negov-explore-card {
  border: 1px solid #dde0e6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.negov-explore-card:hover {
  border-color: #1a2744;
  box-shadow: 0 3px 10px rgba(26, 39, 68, 0.12);
  transform: translateY(-2px);
}

.negov-explore-card__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #dde0e6;
}

.negov-explore-card__info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.negov-explore-card__name {
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2744;
  margin: 0 0 0.65rem;
}

.negov-explore-card__desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* =====================
   STATE OFFICIALS
   ===================== */
.negov-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.negov-section-title {
  font-family: Montserrat, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #20416a;
  margin: 0;
}

.negov-officials {
  padding: 4rem 0 4rem 0;
  background: #f5f6f8;
}

.negov-officials__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.negov-officials__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.negov-official {
  border: 1px solid #dde0e6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.negov-official:hover {
  border-color: #1a2744;
  box-shadow: 0 3px 10px rgba(26, 39, 68, 0.12);
  transform: translateY(-2px);
}

/* Whole-card link: display:contents keeps the photo/info as grid items
   of the <li> (so featured tiles still span 2 columns) while making the
   entire card clickable. */
.negov-official__link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.negov-official__link:hover { text-decoration: none; }

.negov-official__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #dde0e6;
}

.negov-official__info {
  padding: 1rem 1.25rem;
}

/* Featured tiles (Governor, Lt. Governor) span two columns with the
   headshot on the left sized to match the single-column tiles, and a
   bio filling the remaining half on the right. */
.negov-official--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.negov-official--featured .negov-official__photo {
  height: 100%;
}

.negov-official--featured .negov-official__photo img {
  height: 100%;
  aspect-ratio: auto;
}

.negov-official--featured .negov-official__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.negov-official__bio {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.5;
  margin: 0.65rem 0 0;
}

.negov-official__name {
  font-family: Montserrat, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1a2744;
  margin: 0 0 0.25rem;
}

.negov-official__title {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

@media (max-width: 992px) {
  .negov-home-bottom__heading { font-size: 2.25rem; }
  .negov-explore__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .negov-home-bottom { padding: 2.5rem 0; }
  .negov-home-bottom__heading { font-size: 1.875rem; margin-bottom: 1.75rem; }
  .negov-home-bottom__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .negov-news__item { min-height: 300px; }
  .negov-news__title { font-size: 1.375rem; }
  .negov-officials__grid { grid-template-columns: repeat(2, 1fr); }
  /* Featured tiles fill the full 2-column row */
  .negov-official--featured { grid-column: span 2; }
  .negov-explore__title,
  .negov-section-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .negov-officials__grid { grid-template-columns: 1fr; }
  .negov-official--featured { grid-column: span 1; }
  .negov-explore__cards { grid-template-columns: 1fr; }
}

/* =====================
   FOOTER
   ===================== */
.negov-footer {
  background: #39393b;
  color: #ccc;
  padding: 1.25rem 0;
}

.negov-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2.5rem;
  align-items: center;
}

.negov-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.negov-footer__ne-logo {
  height: auto;
  width: 100%;
  display: block;
  max-width: 200px;
}

.negov-footer__powered {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-right: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 2.5rem;
}

.negov-footer__powered-by { margin: 0; font-weight: bold; font-size: 1rem; }
.negov-footer__powered-by a { color: #f2c94c; }
.negov-footer__powered-by a:hover { color: #ffe082; text-decoration: underline; }

.negov-footer__official-badge {
  height: auto;
  width: 100%;
  display: block;
  opacity: 0.75;
  max-width: 230px;
  margin-bottom: 5px;
}

.negov-footer__address {
  font-style: normal;
  font-size: 0.875rem;
  color: #ababab;
  line-height: 1.6;
  margin: 0;
}

.negov-footer__copyright {
  margin: 0;
  color: #ababab;
  font-size: 0.875rem;
}


.negov-footer__resources-label {
  font-family: Montserrat, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ababab;
  margin: 0 0 .2rem;
}

.negov-footer__resources ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.negov-footer__resources ul li + li::before {
  content: '|';
  color: rgba(255,255,255,0.3);
  padding: 0 0.6rem;
  font-size: 0.875rem;
}

.negov-footer__resources ul a { font-size: 0.875rem; color: #fff; white-space: nowrap; text-decoration: none; }
.negov-footer__resources ul a:hover { color: #f2c94c; text-decoration: underline; }

@media (max-width: 768px) {
  .negov-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .negov-footer__powered { border: none; padding: 0; }
}

.back-to-top a {
  bottom: 15px;
  right: 15px;
  height: 45px;
  width: 45px;
  font-size: 36px;
}
