.hero-professionals {
  position: relative;
  background: #0b1220;
  color: #fff;
  overflow: hidden;
}

.hero-professionals .hero-media {
  position: relative;
  height: 260px;
}

.hero-professionals .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-professionals .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.78),
    rgba(15, 23, 42, 0.5),
    rgba(15, 23, 42, 0.12)
  );
  pointer-events: none;
}

.hero-professionals .hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-professionals .hero-content-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.hero-professionals .hero-text {
  max-width: 520px;
  text-align: left;
  pointer-events: auto;
  padding-left: 18px;
}

.hero-professionals .hero-heading {
  font-size: 2.1rem;
  line-height: 1.08;
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  animation: hero-pro-fade-up 0.8s ease-in-out 0.05s both;
}

.hero-professionals .hero-tagline {
  font-size: 1.05rem;
  color: #e6eaf4;
  margin: 0;
  letter-spacing: 0.01em;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  animation: hero-pro-fade-up 0.95s ease-in-out 0.2s both;
}

.section-professionals {
  background: #f7f7f7;
  padding: 60px 20px;
}

.section-professionals .section-inner {
  max-width: 1120px;
}

.pro-layout {
  display: grid;
  grid-template-columns: 7.5fr 2.5fr;
  gap: 28px;
  align-items: start;
}

.pro-head {
  margin-bottom: 12px;
}

.pro-head .section-kicker,
.pro-search-note {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #777;
  display: block;
  line-height: 1.25;
  padding: 2px 0 4px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  transform: scaleX(0.8);
  transform-origin: left center;
}

.pro-head .heading-bar {
  display: block;
  line-height: 1.08;
  padding: 2px 0 6px 24px;
  margin: 0;
  background: linear-gradient(90deg, #f7b71e 0 6px, transparent 6px);
  max-width: none;
  font-family: 'Roboto Condensed', 'Trebuchet MS', Helvetica, sans-serif;
  transform: scaleX(0.8);
  transform-origin: left center;
  font-size: 26px;
  letter-spacing: 0.01em;
}

.pro-head .pro-intro {
  margin: 10px 0 0 24px;
  color: #4b5563;
  font-size: 14px;
  max-width: 640px;
}

.pro-search-note {
  margin-top: 12px;
  margin-bottom: 8px;
}

.pro-search-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  min-width: 240px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pro-search-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.pro-search-card label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #6b7280;
  margin-bottom: 6px;
}

.pro-search-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pro-search-input:focus {
  border-color: #1c4b8f;
  box-shadow: 0 0 0 3px rgba(28, 75, 143, 0.15);
}

.pro-letter-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pro-letter-filter button {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pro-letter-filter button.is-active {
  border-color: #f7b71e;
  background: #fff9e5;
  color: #8b5a00;
}

.pro-letter-filter button:hover {
  border-color: #1c4b8f;
  color: #1c4b8f;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 6px;
}

.pro-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pro-card .team-card {
  min-width: auto;
  max-width: none;
}

.pro-card .team-name {
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 0px; /* leave breathing room from photo */
}

.pro-card .team-title {
  margin-top: 0;
  line-height: 1.2;
  color: #6b7280;
  font-style: italic;
}

.pro-card .team-image {
  height: 320px;
}

.pro-card .team-image img {
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.pro-empty {
  text-align: center;
  padding: 26px;
  color: #6b7280;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .hero-professionals .hero-media {
    height: 220px;
  }

  .hero-professionals .hero-heading {
    font-size: 1.8rem;
  }

  .pro-layout {
    grid-template-columns: 1fr;
  }

  .pro-search-card {
    max-width: none;
    order: -1;
  }

  .pro-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-professionals .hero-media {
    height: 200px;
  }

  .hero-professionals .hero-content-inner {
    padding: 0 16px;
  }

  .hero-professionals .hero-heading {
    font-size: 1.6rem;
  }

  .section-professionals {
    padding: 40px 16px;
  }

  .pro-search-card {
    width: 100%;
  }
}

@keyframes hero-pro-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
