/* Approved green-and-gold header and highway identity strip. */
.site-header {
  padding-bottom: 1px;
  border-bottom: 0;
  background-color: var(--green);
  background-image: url('/assets/header-geometria-dourada-aprovada.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.site-header .header-seal {
  display: block;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}

.site-header .header-seal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.hero-bottom.wrap {
  width: 100%;
  margin-inline: 0;
  padding-inline: max(48px, calc((100% - 1180px) / 2));
  background-color: #303335;
  background-image: url('/assets/rodovia-asfalto-acabamento.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #f4f0e6;
  border-top: 0;
}

.hero-bottom i {
  height: 12px;
  background-color: transparent;
  background-image: url('/assets/rodovia-refletores.svg');
  background-size: 68px 12px;
  background-repeat: repeat-x;
  background-position: left center;
}

/* Keep the navigation at its original right edge on compact screens. */
@media (max-width: 1240px) {
  .site-header .header-inner {
    gap: 16px;
  }

  .site-header .wordmark {
    width: 166px;
    padding-left: 62px;
    font-size: 14px;
    letter-spacing: .045em;
  }

  .site-header .wordmark span {
    display: block;
  }

  .site-header .wordmark small {
    font-size: 7px;
    margin-top: 4px;
  }

  .site-header .header-seal {
    position: absolute;
    left: 48px;
    top: calc((100% - 1px) / 2);
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
  }
}

@media (max-width: 1100px) {
  .site-header .header-seal {
    left: 32px;
  }

  .hero-bottom.wrap {
    padding-inline: 32px;
  }
}

@media (max-width: 980px) {
  .site-header .header-seal {
    left: 22px;
  }

  .hero-bottom.wrap {
    padding-inline: 22px;
  }
}

@media (max-width: 620px) {
  .site-header .header-seal {
    left: 20px;
  }

  .hero-bottom.wrap {
    padding-inline: 20px;
  }

  .hero-bottom i {
    height: 10px;
    background-size: 56.667px 10px;
  }
}
