/* Page-specific banner tweaks — layout uses Bootstrap + common.css */

.cost-detail-hero__title {
  color: var(--brand);
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cost-detail-hero__tagline {
  font-size: 1.05rem !important;
  letter-spacing: 0 !important;
}

.cost-detail-hero__points {
  font-size: 0.95rem !important;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.cost-inner-table{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

.content-block__text p {
  letter-spacing: 0 !important;
}

@media (min-width: 992px) {
  .cost-detail-hero__title {
    font-size: 2.75rem;
    max-width: 560px;
  }

  .cost-detail-banner .hero-image-banner__overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.15) 45%,
      rgba(255, 255, 255, 0) 70%
    );
  }
}

@media (max-width: 991.98px) {
  /* Clear fixed mobile logo bar (~80–100px: logo img height + padding) */
  .cost-detail-banner.hero-image-banner {
    padding-top: 110px !important;
    min-height: auto;
  }

  .cost-detail-banner .hero-image-banner__inner {
    position: relative;
    z-index: 3;
    padding-top: 8px;
  }

  .cost-detail-hero__title {
    color: #8d2954 !important;
    font-size: 1.65rem;
    line-height: 1.3;
    position: relative;
    z-index: 3;
  }

  .cost-detail-hero__tagline,
  .cost-detail-hero__points {
    color: #8d2954 !important;
    position: relative;
    z-index: 3;
  }

  .hero-image-banner__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 55%,
      rgba(255, 255, 255, 0.82) 100%
    );
  }

  .hero-image-banner__bg {
    object-position: center top;
  }

  .hero-badge-grid {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .cost-detail-banner.hero-image-banner {
    padding-top: 100px !important;
  }

  .cost-detail-hero__title {
    font-size: 1.5rem !important;
  }

  .hero-badge-grid {
    grid-template-columns: 1fr;
  }

  .consult-card {
    padding: 22px 18px;
  }
  .cta-banner__text {
    font-size: 15px !important;
    line-height: 1.5;
  }
}

/* Cost detail content section */
.cost-detail-content {
  background: #fff;
}

.benefits-section,
.cost-tables,
.why-varies,
.specialists-section {
  background: #fff;
}

/* Doctor cards: fixed 6-col width; center row when fewer than 6 */
.specialists-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.specialists-grid--center {
  justify-content: center;
}

.specialists-grid__item {
  flex: 0 0 calc((100% - 12px) / 2);
  max-width: calc((100% - 12px) / 2);
  min-width: 0;
}

@media (min-width: 768px) {
  .specialists-grid__item {
    flex: 0 0 calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
  }
}

@media (min-width: 992px) {
  .specialists-grid__item {
    flex: 0 0 calc((100% - 60px) / 6);
    max-width: calc((100% - 60px) / 6);
  }
}

@media (max-width: 991.98px) {
  .candidate-banner__title {
    font-size: 22px;
  }

  .faq-section .section-heading {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .content-block__title {
    font-size: 20px;
  }

  .cost-table__title {
    font-size: 20px;
  }

  .candidate-banner__inner {
    padding: 22px 18px;
  }

  .candidate-banner .btn-call-inverse {
    width: 100%;
  }

  .benefit-item__icon-wrap {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .doctor-card--panel .doctor-card__name {
    font-size: 13px;
  }
}
