/* Health page modern styles (scoped) */
:root {
  --health-bg: #ffffff;
  --health-card: #ffffff;
  --health-text: #0f172a; /* slate-900 */
  --health-muted: #64748b; /* slate-500 */
  --health-border: rgba(15, 23, 42, 0.10);
  --health-accent: #1e50a2;
  --health-accent-2: #096fc2;
  --health-radius: 14px;
  --health-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}

.contents .inner {
  max-width: 900px;
}
.health {

  margin: 24px auto 56px;
  padding: clamp(16px, 2.2vw, 28px);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.health * {
  box-sizing: border-box;
}

.health a {
  color: var(--health-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.health a:hover {
  color: #153d7a;
}

.health .wp-block-heading,
.health h2,
.health h3,
.health h4 {
  color: var(--health-text);
  line-height: 1.35;
  margin: 1.2em 0 0.6em;
}

.health h2.wp-block-heading,
.health h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--health-border);
}

.health h3.wp-block-heading,
.health h3 {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.health h3.wp-block-heading::before,
.health h3::before {

}

.health h4.wp-block-heading,
.health h4 {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 800;
}

.health p {
  margin: 0.85em 0;
}

/* WP utility classes */
.health .has-vivid-cyan-blue-color {
  color: var(--health-accent-2) !important;
}
.health .has-medium-font-size {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Lists */
.health ul,
.health ol {
  margin: 0.9em 0 1.1em;
  padding-left: 1.35em;
}
.health li {
  margin: 0.35em 0;
}
.health ol > li::marker {
  font-weight: 800;
  color: var(--health-accent);
}
.health ul > li::marker {
  color: var(--health-accent);
}
.health li > ul,
.health li > ol {
  margin-top: 0.5em;
}

/* Images / figures */
.health img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.health figure {
  margin: 1.1em 0;
}
.health figure.wp-block-image,
.health figure.wp-block-gallery,
.health figure.wp-block-table {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--health-border);
  border-radius: 16px;
  padding: 12px;
}
.health figure.wp-block-image a {
  text-decoration: none;
}

/* Aligns */
.health .aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.health .alignright {
  float: right;
  margin: 0.2em 0 1em 1em;
  max-width: min(420px, 45%);
}
.health .alignleft {
  float: left;
  margin: 0.2em 1em 1em 0;
  max-width: min(420px, 45%);
}

/* Table */
.health table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--health-border);
  background: #fff;
}
.health td,
.health th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--health-border);
  border-right: 1px solid var(--health-border);
  vertical-align: top;
}
.health tr:last-child td,
.health tr:last-child th {
  border-bottom: none;
}
.health td:last-child,
.health th:last-child {
  border-right: none;
}
.health table tbody tr:first-child td {
  font-weight: 800;
  background: rgba(30, 80, 162, 0.06);
}
.health .has-text-align-center {
  text-align: center;
}

/* Spacer */
.health .wp-block-spacer {
  height: var(--spacer-h, 24px);
}

/* Clear floats for long sections */
.health::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 768px) {
  .health {
    margin: 16px auto 44px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.07);
  }
  .health .alignright,
  .health .alignleft {
    float: none;
    max-width: 100%;
    margin: 0.6em 0;
  }
  .health figure.wp-block-image,
  .health figure.wp-block-gallery,
  .health figure.wp-block-table {
    padding: 10px;
  }
  .health td,
  .health th {
    padding: 9px 10px;
  }
}

