/* ==========================================================================
   Highlight
   ========================================================================== */

.highlight {
  background-color: var(--color-yellow-lightest);
}

.highlight .grid {
  display: flex;
  flex-direction: column;
}

.highlight .highlight-media {
  order: 1;
  width: 100%;
}

.highlight .highlight-media img {
  display: block;
  height: auto;
  width: 100%;
}

.highlight .highlight-content {
  order: 2;
  padding-block: 1rem;
}

.highlight .highlight-content h1 {
  padding-block: 1rem;
}



/* ==========================================================================
   Representatives
   ========================================================================== */

.representatives {
  padding-block: 1rem;
  text-align: center;
}

.representatives .grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}

.representatives .card {
  border: .1rem solid var(--color-yellow-light);
  display: grid;
  gap: .5rem;
  padding-block: 1rem;
}

.representatives .item {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.representatives .icon {
  color: var(--color-yellow-dark);
  display: block;
  height: 3rem;
  width: 3rem;
}

.representatives h4 {
  font-weight: 500;
}

.representatives p a:hover,
.representatives p a:focus-visible {
  text-decoration: underline;
}



/* ==========================================================================
   Location
   ========================================================================== */

.location {
  background-color: var(--color-yellow-lightest);
  padding-block: 1rem;
}

.location h2 {
  padding-block: 1rem 2rem;
}

.location h4 {
  padding-block: 1rem;
}

.location .btn {
  margin: 3rem auto 0;
}



/* ==========================================================================
   Responsive Desktop
   ========================================================================== */

@media (min-width: 1024px) {

  .highlight .grid {
    align-items: center;
    flex-direction: row;
    gap: 5rem;
  }

  .highlight .highlight-content {
    flex: 1 1 0;
    min-width: 0;
    order: 1;
  }

  .highlight .highlight-media {
    flex: 0 0 64rem;
    min-width: 0;
    order: 2;
  }

  .representatives .grid {
    gap: 3rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location .btn {
    margin-inline: 0;
  }

}