:root {
  --est-indigo: #1b1f9a;
  --est-indigo-dark: #141775;
  --est-sky: #afcefa;
  --est-sky-bg: #f0f5fe;
  --est-ink: #111111;
  --est-muted: #4f5163;
  --est-line: #dfe3f0;
  --est-radius: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.est-crumbs {
  font-family: 'PragmaticaExtended', Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--est-muted);
  margin: 0 0 18px;
}
#allrecords .est-crumbs a {
  color: var(--est-indigo);
  text-decoration: none;
}
#allrecords .est-crumbs a:hover { text-decoration: underline; }
.est-crumbs span[aria-current] { color: var(--est-muted); }

.est-byline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--est-muted);
  margin: 0 0 20px;
}

.t-feed__post-popup__cover-wrapper .t-feed__post-popup__img {
  border-radius: var(--est-radius);
  width: 100%;
  height: auto;
}

.est-article { color: var(--est-ink); }
.est-nw { white-space: nowrap; }
.est-article p.t-redactor__text { margin: 0 0 .9rem; line-height: 1.55; }
.est-article .est-lead { font-size: 1.08em; }
.est-article .est-note { color: var(--est-muted); font-size: .92em; }
.est-article h2.t-redactor__h2,
.est-article h3.t-redactor__h3 { scroll-margin-top: 90px; }
#allrecords .est-article a:not(.est-cta__btn) {
  color: var(--est-indigo);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
#allrecords .est-article a:not(.est-cta__btn):hover { color: var(--est-indigo-dark); }
.est-article a:focus-visible,
.est-article summary:focus-visible,
.est-article .est-table:focus-visible {
  outline: 2px solid var(--est-indigo);
  outline-offset: 2px;
  border-radius: 4px;
}
#allrecords .est-article .est-ref {
  font-size: .78em;
  vertical-align: super;
  line-height: 0;
  text-decoration: none !important;
  white-space: nowrap;
}

.est-summary {
  background: var(--est-sky-bg);
  border-left: 4px solid var(--est-indigo);
  border-radius: var(--est-radius);
  padding: 18px 22px 12px;
  margin: 8px 0 28px;
}
.est-summary__title,
.est-toc__title,
.est-pros-cons__title,
.est-cta__title {
  font-weight: 700;
  color: var(--est-indigo);
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
}
.est-summary ul { margin: 0; padding-left: 20px; }
.est-summary li { margin: 0 0 8px; line-height: 1.5; }

.est-toc {
  border: 1px solid var(--est-line);
  border-radius: var(--est-radius);
  padding: 18px 22px 10px;
  margin: 0 0 12px;
}
.est-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}
.est-toc li { margin: 0 0 8px; line-height: 1.4; break-inside: avoid; }
#allrecords .est-toc a { text-decoration: none !important; }
#allrecords .est-toc a:hover { text-decoration: underline !important; }

.est-list,
.est-steps { margin: 0 0 1rem; padding-left: 22px; }
.est-list li { margin: 0 0 .5rem; line-height: 1.55; }
.est-steps { list-style: none; padding-left: 0; counter-reset: est-step; }
.est-steps li {
  position: relative;
  padding-left: 46px;
  margin: 0 0 14px;
  line-height: 1.55;
  min-height: 32px;
}
.est-steps li::before {
  counter-increment: est-step;
  content: counter(est-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--est-indigo);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 32px;
  text-align: center;
}

.est-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0 18px;
  border: 1px solid var(--est-line);
  border-radius: var(--est-radius);
}
.est-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
.est-table th,
.est-table td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--est-line);
}
.est-table thead th {
  background: var(--est-sky-bg);
  color: var(--est-indigo);
  font-weight: 700;
}
.est-table tbody tr:last-child td { border-bottom: 0; }
.est-table td:first-child { font-weight: 600; }

#allrecords .est-article figure.est-figure { margin: 18px 0 24px; }
.est-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--est-radius);
  background: #f4f5f9;
}
#allrecords .est-article figure.est-figure figcaption {
  font-size: 15px;
  font-style: normal;
  line-height: 1.45;
  color: var(--est-muted);
  opacity: 1;
  margin-top: 8px;
}

.est-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 18px;
}
.est-pros-cons__col {
  border: 1px solid var(--est-line);
  border-radius: var(--est-radius);
  padding: 16px 18px 6px;
}
.est-pros-cons__col:first-child { background: var(--est-sky-bg); border-color: transparent; }

.est-cta {
  background: var(--est-sky-bg);
  border-radius: var(--est-radius);
  padding: 20px 22px;
  margin: 14px 0 26px;
}
.est-cta p { margin: 0 0 14px; line-height: 1.5; }
#allrecords .est-cta__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 5px;
  background: var(--est-indigo);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1.3;
  transition: background-color .2s ease;
}
#allrecords .est-cta__btn:hover { background: var(--est-indigo-dark); }
.est-cta__btn:focus-visible { outline: 2px solid var(--est-indigo); outline-offset: 3px; }

.est-faq { margin: 8px 0 10px; }
.est-faq details {
  border-bottom: 1px solid var(--est-line);
}
.est-faq details:first-of-type { border-top: 1px solid var(--est-line); }
.est-faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 40px 16px 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--est-ink);
}
.est-faq summary::-webkit-details-marker { display: none; }
.est-faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--est-indigo);
  border-bottom: 2px solid var(--est-indigo);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.est-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.est-faq summary:hover { color: var(--est-indigo); }
.est-faq .est-faq__a { padding: 0 0 14px; }
.est-faq .est-faq__a p { margin: 0; line-height: 1.55; }

.est-sources { margin-top: 10px; }
.est-sources ol {
  margin: 0;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--est-muted);
}
.est-sources li { margin: 0 0 8px; overflow-wrap: anywhere; scroll-margin-top: 90px; }
.est-disclaimer {
  font-size: 14px;
  line-height: 1.5;
  color: var(--est-muted);
  border-top: 1px solid var(--est-line);
  padding-top: 14px;
  margin: 22px 0 0;
}

.est-share { margin-top: 26px; }
.est-share__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--est-indigo);
  margin: 0 0 12px;
}
.est-share__icons { display: flex; gap: 16px; align-items: center; }
.est-share__icons a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.est-share__icons img { width: 44px; height: 44px; display: block; }

@media screen and (max-width: 640px) {
  .est-table { overflow: visible; border: 0; border-radius: 0; }
  .est-table table { min-width: 0; font-size: 15px; }
  .est-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .est-table tbody,
  .est-table tr,
  .est-table td { display: block; width: 100%; box-sizing: border-box; }
  .est-table tr {
    border: 1px solid var(--est-line);
    border-radius: var(--est-radius);
    margin: 0 0 10px;
    padding: 10px 14px 6px;
  }
  .est-table td { border: 0; padding: 0 0 8px; }
  .est-table td:first-child { color: var(--est-indigo); font-size: 16px; }
  .est-table td[data-label]:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    color: var(--est-muted);
    margin-bottom: 2px;
  }
  .est-toc ol { columns: 1; }
  .est-pros-cons { grid-template-columns: 1fr; }
  .est-summary,
  .est-toc,
  .est-cta { padding-left: 16px; padding-right: 16px; }
  .est-faq summary { font-size: 17px; }
}
