/* Shared by all four pages so header geometry and interactions stay consistent. */
.site-header {
  position: relative;
  min-height: 120px;
  padding: 10px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  background-color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
}

.site-header > a:first-child {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.site-header .logo {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.site-header nav {
  position: static;
  inset: auto;
  transform: none;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.site-header .div-son {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.site-header .div-son a {
  color: #666666;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header .div-son a:hover,
.site-header .div-son [aria-current="page"] {
  color: #1abc9c;
}

.site-header .button-header {
  position: static;
  inset: auto;
  transform: none;
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 10px 20px;
  border: 0;
  border-radius: 5px;
  background-color: #1abc9c;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-header .button-header:hover {
  background-color: #0a8a70;
  transform: translateY(-1px);
}

.site-header a:focus-visible {
  outline: 2px solid #075e54;
  outline-offset: 4px;
}

@media screen and (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    padding: 12px 20px 18px;
  }

  .site-header > a:first-child,
  .site-header nav,
  .site-header .button-header {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .site-header .logo {
    width: 85px;
    height: 85px;
  }

  .site-header .div-son {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

@media screen and (max-width: 600px) {
  .site-header {
    padding: 10px 14px 18px;
  }

  .site-header .logo {
    width: 76px;
    height: 76px;
  }

  .site-header .div-son {
    gap: 12px 16px;
  }

  .site-header .div-son a {
    font-size: 0.95rem;
  }

  .site-header .button-header {
    max-width: 100%;
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}
