/* Start custom CSS *//* ===== How Pimloc uses AI — article layout (Figma 1454:17144) ===== */

/* ---------- Table of contents (sidebar, HTML widget 63a7e1f) ---------- */
.aiw-toc { display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 272px; font-family: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif; }
.aiw-toc .aiw-toc__title { margin: 0; font-weight: 500; font-size: 28px; line-height: 34px; letter-spacing: -0.5px; color: #302c2c; }
.aiw-toc .aiw-toc__list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.aiw-toc .aiw-toc__list li { margin: 0; padding: 0; }
.aiw-toc .aiw-toc__list li::before { content: none; }
.aiw-toc .aiw-toc__list li.is-sub { padding-left: 16px; }
.aiw-toc .aiw-toc__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 400; font-size: 18px; line-height: 29px; color: #a69d95; text-decoration: none;
  transition: color .2s ease;
}
.aiw-toc .aiw-toc__list a::after {
  content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: #e1675d; opacity: 0; transition: opacity .2s ease;
}
.aiw-toc .aiw-toc__list a:hover { color: #302c2c; }
.aiw-toc .aiw-toc__list a.is-active { font-weight: 700; color: #e1675d; }
.aiw-toc .aiw-toc__list a.is-active::after { opacity: 1; }
.aiw-toc .aiw-toc__list a:focus-visible { outline: 2px solid #302c2c; outline-offset: 2px; border-radius: 2px; }
.aiw-toc .aiw-toc__rule { height: 1px; background: #d1c8be; }

/* sidebar column stays in view while reading (desktop) */
@media (min-width: 768px) {
  [data-id="ace8649"] { position: sticky; top: 140px; align-self: start; }
}

/* ---------- Article (HTML widget in the right column) ---------- */
.aiw-article {
  display: flex; flex-direction: column; gap: 64px; max-width: 848px;
  font-family: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif; color: #302c2c;
}
.aiw-article .aiw-ch { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 140px; }
.aiw-article h2, .aiw-article h3, .aiw-article p, .aiw-article ul, .aiw-article ol, .aiw-article figure { margin: 0; }
.aiw-article h2 { font-weight: 500; font-size: 36px; line-height: 43px; letter-spacing: -1px; color: #302c2c; }
.aiw-article h3 { font-weight: 500; font-size: 28px; line-height: 34px; letter-spacing: -0.5px; color: #302c2c; }
.aiw-article p, .aiw-article li { font-weight: 400; font-size: 20px; line-height: 32px; color: #302c2c; }
.aiw-article strong { font-weight: 700; }
.aiw-article a { color: #8b4a31; text-decoration: underline; text-underline-position: from-font; }
.aiw-article a:hover { color: #302c2c; }

/* lists: 24px marker column + 12px gap, 10px between items */
.aiw-article .aiw-list { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; counter-reset: aiw; }
.aiw-article .aiw-list li { position: relative; margin: 0; padding-left: 36px; }
.aiw-article .aiw-list li::before { position: absolute; left: 0; top: 0; width: 24px; }
.aiw-article .aiw-list--dash li::before { content: '-'; }
.aiw-article .aiw-list--dot li::before { content: '\25CF'; }
.aiw-article .aiw-list--num li { counter-increment: aiw; }
.aiw-article .aiw-list--num li::before { content: counter(aiw) ')'; }

/* figure: statistical example */
.aiw-article .aiw-fig {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px 24px 22px; background: #f5f1ed;
}
.aiw-article .aiw-fig img { display: block; width: 100%; max-width: 552px; height: auto; }
.aiw-article .aiw-fig figcaption { max-width: 800px; font-size: 16px; line-height: 24px; text-align: center; color: #302c2c; }

.aiw-article .aiw-back-wrap { margin: 0; }
.aiw-article .aiw-back { font-size: 18px; line-height: 29px; }

@media (max-width: 767px) {
  .aiw-toc { max-width: none; }
  .aiw-article { gap: 48px; }
  .aiw-article .aiw-ch { scroll-margin-top: 100px; }
  .aiw-article h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.5px; }
  .aiw-article h3 { font-size: 24px; line-height: 30px; }
  .aiw-article p, .aiw-article li { font-size: 18px; line-height: 29px; }
  .aiw-article .aiw-fig { padding: 16px; }
}
/* ===== end How Pimloc uses AI ===== *//* End custom CSS */