body {
  background: #fff;
}

.unb-header {
  background: #f7f7f7;
  min-height: 58px;
  box-shadow: none;
}

.unb-header-container {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.unb-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.unb-logo img {
  max-height: 54px;
  width: auto;
}

.unb-main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.unb-main-nav a,
.unb-account-nav a {
  color: #001f4f;
  font-weight: 600;
  text-decoration: none;
}

.unb-main-nav a:hover,
.unb-account-nav a:hover {
  color: #005a9c;
  text-decoration: none;
}

.unb-account-nav {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.unb-home {
  background: #fff;
}

.unb-hero {
  min-height: 350px;
  background-image: url("/base/images/banner03_editado_unb.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.unb-search {
  max-width: 960px;
  margin: 70px auto 0;
}

.unb-search-box {
  display: flex;
  width: 100%;
  height: 42px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
  overflow: hidden;
}

.unb-search-box input {
  flex: 1;
  border: 0;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}

.unb-search-box button {
  width: 54px;
  border: 0;
  background: #fff;
  color: #888;
  font-size: 18px;
}

.unb-search-box button:hover {
  color: #003b7a;
}

.unb-groups {
  background: #fff;
  padding: 26px 0 24px;
}

.unb-groups-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 34px;
  row-gap: 28px;
  justify-items: center;
}

.unb-group-item {
  text-align: center;
  min-height: 120px;
}

.unb-group-item a {
  display: block;
  color: #003b7a;
  text-decoration: none;
}

.unb-group-item a:hover {
  color: #005a9c;
  text-decoration: none;
}

.unb-group-icon {
  height: 68px;
  line-height: 68px;
  margin-bottom: 6px;
}

.unb-group-icon img {
  max-height: 60px;
  max-width: 78px;
  object-fit: contain;
}

.unb-group-icon .fa {
  font-size: 38px;
  color: #aaa;
}

.unb-group-title {
  font-size: 16px;
  line-height: 20px;
  color: #003b7a;
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 991px) {
  .unb-groups-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .unb-header-container {
    flex-wrap: wrap;
    gap: 16px;
  }

  .unb-main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .unb-groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .unb-hero {
    min-height: 260px;
  }

  .unb-search {
    margin-top: 40px;
  }
}
