/* ==========================================================================
   SEO content sections + specialty-grouped doctor headings
   All sizing in rem to stay consistent with the fluid root (5.31vw / 2.76vw)
   ========================================================================== */

/* ---------- Specialty group headings (doctor directory) ---------- */
.doctor-group {
  margin: 0 0 1.09rem 0;
}
.doctor-group__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.45rem 0 0.2rem 0;
}
.doctor-group__title {
  font-size: 1.09rem;
  font-weight: 700;
  color: #2d2d2d;
  line-height: 1.1;
}
.doctor-group__count {
  font-size: 0.55rem;
  font-weight: 600;
  color: #802a8f;
  background: #d280a01a;
  border-radius: 2rem;
  padding: 0.1rem 0.5rem;
}
.doctor-group__blurb {
  font-size: 0.68rem;
  color: #5c575e;
  line-height: 1.3;
  margin: 0 0 0.8rem 0;
  max-width: 16.5rem;
}
.doctor-group__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .doctor-group {
    margin: 0 0 0.6rem 0;
  }
  .doctor-group__head {
    margin: 0.9rem 0 0.1rem 0;
  }
  .doctor-group__title {
    font-size: 0.7rem;
  }
  .doctor-group__count {
    font-size: 0.4rem;
    padding: 0.06rem 0.35rem;
  }
  .doctor-group__blurb {
    font-size: 0.42rem;
    max-width: 24rem;
    margin: 0 0 0.45rem 0;
  }
  .doctor-group__cards {
    gap: 0;
  }
}

/* ---------- Shared section title ---------- */
.seo-section {
  margin: 2.72rem 0 0 0;
}
.seo-title {
  font-size: 1.45rem;
  font-weight: 500;
  color: #2d2d2d;
  line-height: 1.05;
}
.seo-title span {
  color: #802a8f;
  font-weight: 700;
}
.seo-subtitle {
  font-size: 0.72rem;
  color: #5c575e;
  line-height: 1.3;
  margin: 0.3rem 0 0 0;
  max-width: 16.5rem;
}

@media screen and (min-width: 768px) {
  .seo-section {
    margin: 1.63rem 0 0 0;
  }
  .seo-title {
    font-size: 1.018rem;
  }
  .seo-subtitle {
    font-size: 0.45rem;
    margin: 0.15rem 0 0 0;
    max-width: 26rem;
  }
}

/* ---------- Types of oncology specialists (services) ---------- */
.specialist-types__grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0 0 0;
}
.specialist-card {
  background: #faf9f7;
  border: 0.045rem solid #eadff0;
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
}
.specialist-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #802a8f;
  margin: 0 0 0.25rem 0;
}
.specialist-card p {
  font-size: 0.68rem;
  color: #2d2d2d;
  line-height: 1.35;
}

@media screen and (min-width: 768px) {
  .specialist-types__grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0.7rem 0 0 0;
  }
  .specialist-card {
    flex: 1 1 calc(33.333% - 0.7rem);
    min-width: 9rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.3rem;
  }
  .specialist-card h3 {
    font-size: 0.5rem;
    margin: 0 0 0.15rem 0;
  }
  .specialist-card p {
    font-size: 0.4rem;
    line-height: 1.4;
  }
}

/* ---------- Why choose CION oncologists ---------- */
.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin: 1rem 0 0 0;
}
.why-card {
  background: #d280a01a;
  border-radius: 0.5rem;
  padding: 0.8rem;
}
.why-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  color: #802a8f;
  margin: 0 0 0.2rem 0;
  line-height: 1.15;
}
.why-card p {
  font-size: 0.63rem;
  color: #2d2d2d;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .why-choose__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin: 0.7rem 0 0 0;
  }
  .why-card {
    padding: 0.55rem 0.6rem;
    border-radius: 0.3rem;
  }
  .why-card h3 {
    font-size: 0.46rem;
  }
  .why-card p {
    font-size: 0.4rem;
    line-height: 1.4;
  }
}

/* ---------- Popular searches ---------- */
.popular-searches {
  margin: 2.18rem 0 1rem 0;
}
.popular-searches__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0 0;
}
.popular-searches__list a {
  font-size: 0.63rem;
  color: #802a8f;
  background: #f3f3f3;
  border: 0.045rem solid #e7e7e7;
  border-radius: 2rem;
  padding: 0.35rem 0.8rem;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .popular-searches {
    margin: 1.63rem 0 0.8rem 0;
  }
  .popular-searches__list {
    gap: 0.4rem;
    margin: 0.6rem 0 0 0;
  }
  .popular-searches__list a {
    font-size: 0.4rem;
    padding: 0.22rem 0.55rem;
    border-radius: 1.2rem;
  }
}
