.abc-habits a {
  text-decoration: none !important;
  color: var(--abc-color-primary, #005bac);
  transition: color 0.2s ease;
}

.abc-habits a:hover {
  color: var(--abc-color-primary-dark, #004182);
}

.abc-habits p {
  margin-bottom: 1.6em;
  line-height: 1.8;
}

.abc-habits h2 {
  font-size: clamp(20px, 2vw + 10px, 28px);
  line-height: 1.4;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid var(--abc-color-gold, #c5a059);
}

.abc-habits h3 {
  font-size: clamp(16px, 1.5vw + 8px, 20px);
  line-height: 1.6;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  padding-left: 0.8em;
  border-left: 3px solid var(--abc-color-gold, #c5a059);
}

.abc-habits .abc-heading-unit {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .abc-habits .abc-heading-unit {
    display: block;
    white-space: normal;
  }
}

.abc-habits ul,
.abc-habits ol {
  margin: 0 0 1.6em;
  padding-left: 1.5em;
  line-height: 1.8;
}

.abc-habits li {
  margin-bottom: 0.4em;
}

.abc-habits li:last-child {
  margin-bottom: 0;
}

.abc-habits figure {
  margin: 0 0 1.6em;
}

.abc-habits figure img {
  width: 100%;
  height: auto;
  display: block;
}

.abc-habits hr {
  border: none;
  border-top: 1px solid var(--abc-color-gold-light, #e6dcc5);
  margin: 2.5em 0;
}

.abc-habits__section-image {
  margin: 1em auto 1.6em;
  max-width: 500px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--abc-shadow-soft, 0 10px 40px -10px rgba(0, 0, 0, 0.08));
}

.abc-habits__section-image img {
  width: 100%;
  height: auto;
  display: block;
}

.abc-habits__symptom-card {
  margin: 1.2em 0;
  padding: 1.2em 1.5em;
  background: var(--abc-color-white, #ffffff);
  border: 1px solid var(--abc-color-gold-light, #e6dcc5);
  border-radius: 8px;
}

.abc-habits__symptom-card h3 {
  margin-top: 0;
}

.abc-habits__symptom-card p:last-of-type {
  margin-bottom: 0;
}

.abc-habits__symptom-card .abc-habits__section-image {
  margin-top: 1.2em;
  margin-bottom: 0;
}

.abc-habits__table-wrap {
  margin: 0 0 1.6em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.abc-habits__table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.abc-habits__table-wrap thead th {
  background: var(--abc-color-navy, #002b55);
  color: var(--abc-color-white, #ffffff);
  font-weight: bold;
  padding: 0.8em 1em;
  text-align: left;
  font-size: 0.9em;
}

.abc-habits__table-wrap td {
  padding: 0.8em 1em;
  border-bottom: 1px solid var(--abc-color-gold-light, #e6dcc5);
  font-size: 0.9em;
  line-height: 1.6;
}

.abc-habits__table-wrap tbody tr:nth-child(even) {
  background: var(--abc-color-beige, #f9f8f4);
}

.abc-habits .rank-math-list-item {
  margin-bottom: 1em;
  padding: 1.2em 1.5em;
  background: var(--abc-color-beige, #f9f8f4);
  border-left: 3px solid var(--abc-color-gold, #c5a059);
  border-radius: 0 4px 4px 0;
}

.abc-habits .rank-math-question {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0.5em;
  color: var(--abc-color-navy, #002b55);
}

.abc-habits .rank-math-answer p {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .abc-habits__symptom-card {
    padding: 1em;
  }

  .abc-habits .rank-math-list-item {
    padding: 1em;
  }

  .abc-habits__section-image {
    max-width: 100%;
  }
}
