.newsdetail-body h2,
.newsdetail-body h3 {
  font-weight: 700;
  line-height: 1.5;
}

.newsdetail-body h2 {
  margin: 1.55em 0 0.65em;
  padding: 0.5em 0.75em;
  border-inline-start: 4px solid var(--kvh-accent);
  border-radius: 6px;
  background-color: var(--kvh-accent-soft);
  font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.375rem);
}

.newsdetail-body h3 {
  margin: 1.25em 0 0.55em;
  padding-block-end: 0.3em;
  border-block-end: 1px solid var(--line);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.125rem);
}

.newsdetail-body > :is(h2, h3):first-child,
.newsdetail-body h2 + h3 {
  margin-block-start: 0;
}

.newsdetail-body :is(ul, ol) {
  margin: 0.6em 0 1.1em;
  padding-inline-start: 1.55em;
}

.newsdetail-body ol {
  padding-inline-start: 2em;
}

.newsdetail-body li + li {
  margin-block-start: 0.35em;
}

.newsdetail-body li > :is(ul, ol) {
  margin-block: 0.3em 0;
}

.newsdetail-body li::marker {
  color: #a32955;
  font-weight: 700;
}

.newsdetail-body table {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.85em 0 1.2em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.newsdetail-body :is(th, td) {
  min-width: 5.5em;
  padding: 0.6em 0.9em;
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.newsdetail-body :is(th, td) + :is(th, td) {
  border-inline-start: 1px solid var(--line);
}

.newsdetail-body tr + tr > :is(th, td),
.newsdetail-body :is(thead, tbody, tfoot):not(:first-child) > tr:first-child > :is(th, td) {
  border-block-start: 1px solid var(--line);
}

.newsdetail-body :is(th, thead td) {
  background-color: var(--kvh-accent-soft);
  font-weight: 700;
}

.newsdetail-body caption {
  padding: 0.6em 0.9em;
  color: var(--muted);
  text-align: start;
}
