.doctor-profile-hub {
  margin: clamp(56px, 8vw, 96px) 0;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(125, 97, 24, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(200, 163, 95, 0.18), transparent 32%),
    #f7f5f0;
}

.doctor-profile-hub__intro {
  max-width: 780px;
  margin-bottom: 32px;
}

.doctor-profile-hub__eyebrow,
.doctor-profile-card__label {
  margin: 0 0 10px;
  color: #7d6118;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.doctor-profile-hub h2 {
  margin-top: 0;
}

.doctor-profile-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doctor-profile-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(26, 54, 93, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(15, 36, 64, 0.06);
}

.doctor-profile-card h3 {
  margin: 0 0 10px;
  color: #1a365d;
}

.doctor-profile-card > p:not(.doctor-profile-card__label) {
  flex: 1;
}

.doctor-profile-card a,
.doctor-profile-hub__button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1a365d;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.doctor-profile-hub__credentials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background: #0f2440;
}

.doctor-profile-hub__credentials h3,
.doctor-profile-hub__credentials p {
  color: inherit;
}

.doctor-profile-hub__credentials h3 {
  margin: 0 0 8px;
}

.doctor-profile-hub__credentials p:last-child {
  margin-bottom: 0;
}

.doctor-profile-hub__button {
  flex: none;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  color: #0f2440;
  background: #f4dfb3;
  text-decoration: none;
}

/* The page content stores this closing advice block as white text on navy.
   Restore its intended background after the theme's generic group styling. */
.postid-12 .entry-content > .wp-block-group.has-white-color.has-background {
  color: #fff !important;
  background-color: #112f40 !important;
}

.postid-12 .entry-content > .wp-block-group.has-white-color.has-background h3,
.postid-12 .entry-content > .wp-block-group.has-white-color.has-background p {
  color: inherit !important;
}

@media (max-width: 640px) {
  .doctor-profile-hub {
    margin-block: 48px;
    padding: 26px 18px;
    border-radius: 22px;
  }

  .doctor-profile-hub__grid {
    grid-template-columns: 1fr;
  }

  .doctor-profile-card {
    padding: 20px;
  }

  .doctor-profile-hub__credentials {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 20px;
  }

  .doctor-profile-hub__button {
    width: 100%;
  }
}
