.health-wellness-page {
  --service-accent: #0891b2;
  --service-secondary: #db2777;
  --service-accent-rgb: 8, 145, 178;
  background:
    linear-gradient(180deg, rgba(236, 253, 245, 0.56), rgba(255, 255, 255, 0.9) 42%),
    #fff;
  border-radius: 8px;
  margin: -0.5rem auto 0;
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.health-hero {
  align-items: stretch;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  margin-bottom: 1.1rem;
  min-height: 360px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.health-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 32px);
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.health-hero-copy {
  align-self: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.health-hero .service-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 720px;
}

.health-hero .service-subtitle {
  font-size: 1.06rem;
  max-width: 720px;
}

.health-hero .service-action {
  border-radius: 8px;
  min-height: 44px;
}

.health-hero-panel {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.health-panel-kicker {
  align-items: center;
  color: #0f766e;
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.health-stat-list {
  display: grid;
  gap: 0.75rem;
}

.health-stat-card {
  background: #f8fafc;
  border: 1px solid #dce8f2;
  border-radius: 8px;
  color: #172033;
  display: grid;
  gap: 0.18rem;
  min-height: 104px;
  padding: 0.9rem;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.health-stat-card:hover,
.health-stat-card:focus {
  background: #fff;
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  color: #172033;
  transform: translateY(-2px);
}

.health-stat-card span {
  color: #0891b2;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.health-stat-card strong {
  color: #0f172a;
  font-size: 0.98rem;
}

.health-stat-card small {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.health-private-card {
  background: #fff7ed;
  border-color: #fed7aa;
}

.health-private-card i {
  align-items: center;
  background: #ffedd5;
  border-radius: 8px;
  color: #c2410c;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.health-support-strip {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.6rem;
}

.health-support-strip a {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  color: #334155;
  display: flex;
  font-weight: 820;
  gap: 0.7rem;
  min-height: 64px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.health-support-strip a:hover,
.health-support-strip a:focus {
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  color: #0f172a;
  transform: translateY(-2px);
}

.health-support-strip i {
  align-items: center;
  background: linear-gradient(135deg, #0891b2, #0f766e);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.health-content-grid {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
}

.health-content-main,
.health-publication-rail {
  min-width: 0;
}

.health-section-link {
  align-items: center;
  background: #eefafd;
  border: 1px solid #bdeaf2;
  border-radius: 8px;
  color: #087f8c;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 820;
  gap: 0.42rem;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.health-section-link:hover,
.health-section-link:focus {
  background: #0891b2;
  color: #fff;
  transform: translateY(-1px);
}

.health-card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.health-resource-card {
  border-radius: 8px;
  min-height: 292px;
}

.health-resource-card::after {
  background: linear-gradient(90deg, #0891b2, #0f766e, #db2777);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.health-card-meta {
  color: #0f766e;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.74rem;
  font-weight: 820;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.health-card-meta span {
  background: #ecfdf5;
  border: 1px solid #ccefe1;
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
}

.health-publication-rail {
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.health-rail-heading {
  align-items: start;
  margin: 0 0 0.9rem;
}

.health-rail-heading h2 {
  font-size: 1.18rem;
}

.health-rail-heading p {
  font-size: 0.88rem;
}

.health-publication-list {
  display: grid;
  gap: 0.75rem;
}

.health-publication-card {
  align-items: start;
  background: #f8fafc;
  border: 1px solid #e1e9f2;
  border-radius: 8px;
  color: #172033;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 40px minmax(0, 1fr);
  padding: 0.85rem;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.health-publication-card:hover,
.health-publication-card:focus {
  background: #fff;
  border-color: rgba(219, 39, 119, 0.28);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.09);
  color: #172033;
  transform: translateX(2px);
}

.health-publication-icon {
  align-items: center;
  background: #fdf2f8;
  border-radius: 8px;
  color: #db2777;
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.health-publication-card .health-card-meta {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
}

.health-publication-card h3 {
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 820;
  line-height: 1.32;
  margin: 0;
}

.health-publication-card p {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
}

.health-empty {
  background: #eefafd;
  border: 1px solid #bdeaf2;
  border-radius: 8px;
}

.health-empty.compact {
  min-height: 150px;
}

.health-empty strong {
  color: #0f172a;
  font-size: 0.94rem;
  line-height: 1.45;
}

.health-wellness-page a:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.65);
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .health-hero,
  .health-content-grid {
    grid-template-columns: 1fr;
  }

  .health-publication-rail {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .health-wellness-page {
    padding: 0.75rem;
  }

  .health-support-strip {
    grid-template-columns: 1fr;
  }

  .health-hero {
    min-height: auto;
  }
}

/* Linked public health pages */
.health-public-page {
  margin-top: 0;
}

.health-hero-compact {
  min-height: 310px;
}

.health-list-hero {
  min-height: 260px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.health-list-hero .health-hero-copy {
  max-width: 900px;
}

.health-search-panel {
  align-items: end;
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr) auto;
  margin: 0 0 1.25rem;
  padding: 1rem;
}

.health-publication-search {
  grid-template-columns: minmax(0, 1fr) auto;
}

.health-search-field {
  display: grid;
  gap: 0.35rem;
}

.health-search-field label {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.health-search-field input,
.health-search-field select {
  background: #f8fafc;
  border: 1px solid #d6e2ed;
  border-radius: 8px;
  color: #0f172a;
  min-height: 46px;
  padding: 0.7rem 0.82rem;
  width: 100%;
}

.health-search-field input:focus,
.health-search-field select:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 0.18rem rgba(8, 145, 178, 0.16);
  outline: 0;
}

.health-search-button {
  align-items: center;
  background: #0891b2;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  gap: 0.45rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.health-search-button:hover,
.health-search-button:focus {
  background: #0f766e;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
  transform: translateY(-1px);
}

.health-section-link-muted {
  background: #f8fafc;
  border-color: #dbe7f2;
  color: #475569;
}

.health-section-link-muted:hover,
.health-section-link-muted:focus {
  background: #0f172a;
  color: #fff;
}

.health-publication-grid {
  display: grid;
  gap: 0.95rem;
}

.health-publication-card.large {
  background: #fff;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 1rem;
}

.health-publication-card.large .health-publication-icon {
  height: 52px;
  width: 52px;
}

.health-publication-card.large h2 {
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.32;
  margin: 0.25rem 0 0.25rem;
}

.health-publication-authors {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
}

.health-detail-shell {
  margin: 0 auto;
  max-width: 980px;
}

.health-breadcrumb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.health-detail-card {
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
}

.health-detail-card::before {
  background: linear-gradient(90deg, #0891b2, #0f766e, #db2777);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.health-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.health-detail-meta span {
  background: #ecfdf5;
  border: 1px solid #ccefe1;
  border-radius: 999px;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  padding: 0.36rem 0.62rem;
  text-transform: uppercase;
}

.health-detail-card h1 {
  color: #0f172a;
  font-size: clamp(1.8rem, 3.3vw, 2.75rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

.health-detail-byline,
.health-detail-subline {
  color: #64748b;
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
}

.health-detail-body,
.health-abstract-block {
  border-top: 1px solid #e5edf4;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.health-abstract-block h2 {
  color: #0f172a;
  font-size: 1.12rem;
  font-weight: 850;
  margin-bottom: 0.55rem;
}

.health-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.health-detail-actions .service-action {
  background: #0891b2;
  border-radius: 8px;
  color: #fff;
}

.health-detail-actions .service-action:hover,
.health-detail-actions .service-action:focus {
  background: #0f766e;
  color: #fff;
}

.health-detail-actions .health-ghost-light {
  background: #f8fafc;
  border: 1px solid #dbe7f2;
  color: #334155;
}

.health-detail-actions .health-ghost-light:hover,
.health-detail-actions .health-ghost-light:focus {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.health-pagination-wrap .pagination {
  gap: 0.35rem;
}

.health-pagination-wrap .page-link {
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  color: #087f8c;
  font-weight: 800;
}

.health-pagination-wrap .page-item.active .page-link {
  background: #0891b2;
  border-color: #0891b2;
  color: #fff;
}

@media (max-width: 991.98px) {
  .health-search-panel,
  .health-publication-search {
    grid-template-columns: 1fr;
  }

  .health-search-button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .health-breadcrumb-actions .health-section-link,
  .health-detail-actions .service-action {
    justify-content: center;
    width: 100%;
  }
}
