.office-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Search bar container: blue background, white text */
.office-search {
  background-color: #004e9c;
  color: #ffffff;
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1rem 0 1.5rem;
}

.office-search label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffffff;
}

.office-search input[type="text"],
.office-search input[type="search"] {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #ffffff;
  background-color: #003c77;
  color: #ffffff;
}

.office-search input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* Country filters inside the search area */
.country-filters {
  margin: 1rem 0 0;
}

.country-filter {
  margin: 0 .5rem .5rem 0;
  padding: .4rem .8rem;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  cursor: pointer;
  border-radius: 4px;
}

.country-filter.active {
  background: #ffffff;
  color: #004e9c;
}

/* Office cards: blue background + white content */
.office-card {
  padding: 1rem;
  border-radius: 10px;
  background-color: #004e9c;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Make all text inside cards white by default */
.office-card,
.office-card * {
  color: #ffffff;
}

/* Links inside cards stay white, with subtle hover */
.office-card a {
  color: #ffffff;
  text-decoration: underline;
}

.office-card a:hover,
.office-card a:focus {
  opacity: 0.85;
}

/* Optional badge for featured cards */
.office-featured-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background-color: #ffffff;
  color: #004e9c;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Existing specific styles */
.office-name {
  color: #ffffff;
  margin-bottom: 0;
}

.office-country {
  color: #ffffff;
}

.contact-name {
  font-size: 20px;
  padding-bottom: 10px;
}