/* STEP201 — approved TOC design 4, scoped to news article only.
   Native <details>/<summary> and anchor links remain unchanged. */
.clean-article-layout .article-inline-toc {
  margin: 22px 0 30px;
  border: 1px solid #d51b32;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}
.clean-article-layout .article-inline-toc__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px !important;
  border: 0 !important;
  background: #fff3f4;
  font-family: var(--st190-serif, "Source Serif 4", "PT Serif", Georgia, serif) !important;
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #141824 !important;
}
.clean-article-layout .article-inline-toc__title::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ce1028' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='m12 2 10 6-10 6L2 8z'/%3E%3Cpath d='m2 12 10 6 10-6M2 16l10 6 10-6'/%3E%3C/svg%3E") !important;
}
.clean-article-layout .article-inline-toc__title > span:first-child {
  margin-right: auto;
}
.clean-article-layout .article-inline-toc__chevron {
  border-color: #141824;
}
.clean-article-layout .article-inline-toc__list {
  position: relative;
  margin: 0;
  padding: 9px 18px 13px 52px;
  background: #fff;
}
.clean-article-layout .article-inline-toc__list::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 29px;
  bottom: 32px;
  width: 2px;
  background: #d51b32;
}
.clean-article-layout .article-inline-toc__item,
.clean-article-layout .article-inline-toc__item:visited {
  position: relative;
  display: block;
  padding: 11px 0 !important;
  border-bottom: 1px solid #e5e8ee;
  background: transparent !important;
  color: #171a25 !important;
  font-family: var(--st190-serif, "Source Serif 4", "PT Serif", Georgia, serif) !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}
.clean-article-layout .article-inline-toc__item:last-child { border-bottom: 0; }
.clean-article-layout .article-inline-toc__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid #d51b32;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}
.clean-article-layout .article-inline-toc__item--h3 { padding-left: 14px !important; }
.clean-article-layout .article-inline-toc__item:hover,
.clean-article-layout .article-inline-toc__item:focus-visible {
  color: #ba1026 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
@media (max-width: 640px) {
  .clean-article-layout .article-inline-toc { margin: 18px 0 26px; }
  .clean-article-layout .article-inline-toc__title { padding: 12px 14px !important; font-size: 1.35rem !important; }
  .clean-article-layout .article-inline-toc__list { padding: 6px 14px 11px 45px; }
  .clean-article-layout .article-inline-toc__list::before { left: 24px; top: 25px; bottom: 27px; }
  .clean-article-layout .article-inline-toc__item { font-size: 1rem !important; padding: 10px 0 !important; }
  .clean-article-layout .article-inline-toc__item::before { left: -27px; }
}
