/* CTA SECTION */
.cta-section {
  background: var(--medical-blue-dark);
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 110%, rgba(193, 85, 44, 0.16), transparent 55%);
  pointer-events: none;
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: white;
  margin-bottom: 16px;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-outline {
  border-color: white;
  color: white;
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--medical-blue);
}

/* On a dark hero, shifting white to var(--bg-primary) reads as
   no change at all. A white button needs a dark-tinted shadow to read
   as "lifted" here — none of the theme's --shadow-* tokens would even
   be visible against this background, so this one is intentionally
   bespoke rather than reused. */
.cta-buttons .btn-primary:hover {
  background: var(--bg-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* PAGINATION */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.pagination,
.pagination-wrap ul.page-numbers {
  display: flex;
  gap: 4px;
  list-style: none;
}

.pagination-wrap a.page-numbers,
.pagination-wrap span.page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
}

.pagination-wrap a.page-numbers:hover,
.pagination-wrap span.page-numbers.current {
  background: var(--medical-blue);
  color: white;
  border-color: var(--medical-blue);
}
