.res-hero {
  background: #fff;
  padding: 96px 0 72px;
}

.res-hero-inner {
  padding-left: var(--gutter);
  text-align: left;
}

.res-hero h1 {
  margin: 0;
  max-width: none;
}

.res-section {
  background: #fff;
}

.res-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 8px;
  margin-left: var(--gutter);
  border-bottom: 1px solid rgba(27, 48, 84, 0.3);
}

.res-filterbar-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.res-select-wrap {
  position: relative;
}

.res-select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.res-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 52px;
  min-width: 200px;
  padding: 12px 44px 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.res-select:hover { border-color: var(--teal); }
.res-select:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(32,48,142,0.14);
}

.res-clear {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.res-clear:hover { color: var(--teal); }

#resCount { margin: 20px 0 28px; }

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

@media (max-width: 900px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .res-grid { grid-template-columns: 1fr; }
}

.res-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.res-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.res-card-title {
  font-family: var(--font-title);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.3;
  color: var(--navy);
  margin: 0;
  transition: color 200ms var(--ease);
}

.res-card:hover .res-card-title { color: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .res-card, .res-card-title { transition: none; }
}
