body.ap-editorial-page, .ape-materials {
  --ap-bg: #f7f1e8;
  --ap-bg-soft: #fbf7f0;
  --ap-bg-white: #fffdf9;
  --ap-text: #211d19;
  --ap-text-soft: #5f554b;
  --ap-gold-deep: #8f703e;
  --ap-line: rgba(183,151,93,.28);
  --ape-link: #755827;
}
body.ap-editorial-page { background: var(--ap-bg); color: var(--ap-text); }
body.ap-editorial-page .site { background: var(--ap-bg); }
body.ap-editorial-page .content-area { margin-top: clamp(28px, 4vw, 52px); margin-bottom: clamp(36px, 5vw, 64px); }
body.ap-editorial-page .site-main { min-width: 0; }
body.ap-editorial-page .site-main .single-entry {
  max-width: 930px; margin-inline: auto; background: var(--ap-bg-soft);
  border: 1px solid var(--ap-line); border-radius: 28px; box-shadow: none;
}
body.ap-editorial-page .single-entry > .entry-content-wrap { padding: clamp(24px, 5vw, 52px) !important; }
body.ap-editorial-page .single-entry .entry-header { max-width: 800px; margin: 0 auto 28px; }
body.ap-editorial-page h1.entry-title,
body.ap-editorial-page .entry-hero h1,
body.ap-editorial-page .page-header h1,
body.ap-editorial-page .ap-article-body > h1,
body.ap-editorial-page .ap-self-check-hub > h1 {
  color: var(--ap-text); font-family: inherit; font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 600; line-height: 1.12; letter-spacing: -.028em; overflow-wrap: anywhere;
}
body.ap-editorial-page .entry-hero { background: var(--ap-bg); }
body.ap-editorial-page .entry-hero .entry-hero-container-inner { background: transparent; }
body.ap-editorial-page .entry-hero .entry-header { min-height: 0; max-width: 930px; margin-inline: auto; padding: 26px 24px 8px; text-align: left; }
body.ap-editorial-page .entry-meta { color: var(--ap-text-soft); font-size: 14px; }
body.ap-editorial-page .entry-taxonomies a { color: #755827; }
body.ap-editorial-page .ap-article-body,
body.ap-editorial-page .ap-self-check-hub { max-width: 800px; margin-inline: auto; color: var(--ap-text); font-family: inherit; font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
body.ap-editorial-page .ap-article-body > p,
body.ap-editorial-page .ap-self-check-hub > p { margin: 0 0 1.15em; }
body.ap-editorial-page .ap-article-body > h2,
body.ap-editorial-page .ap-self-check-hub > h2 { color: var(--ap-text); font-family: inherit; font-size: clamp(26px, 3.2vw, 32px); line-height: 1.22; letter-spacing: -.018em; font-weight: 600; margin: 1.7em 0 .6em; }
body.ap-editorial-page .ap-article-body > h3,
body.ap-editorial-page .ap-self-check-hub > h3 { color: var(--ap-text); font-family: inherit; font-size: 23px; line-height: 1.3; font-weight: 600; margin: 1.4em 0 .6em; }
body.ap-editorial-page .ap-article-body > :first-child,
body.ap-editorial-page .ap-self-check-hub > :first-child { margin-top: 0; }
body.ap-editorial-page .ap-article-body > ul,
body.ap-editorial-page .ap-article-body > ol { padding-left: 1.4em; margin: .8em 0 1.3em; }
body.ap-editorial-page .ap-article-body > ul > li,
body.ap-editorial-page .ap-article-body > ol > li { margin: .45em 0; padding-left: .15em; }
body.ap-editorial-page .ap-article-body > blockquote { margin: 1.5em 0; border-left: 3px solid var(--ap-gold-deep); padding: 18px 22px; background: var(--ap-bg-white); border-radius: 0 16px 16px 0; font: inherit; }
body.ap-editorial-page .ap-article-body a,
body.ap-editorial-page .ap-self-check-hub a,
.ape-materials a { color: var(--ape-link); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
body.ap-editorial-page .ap-article-body a:hover,
body.ap-editorial-page .ap-self-check-hub a:hover,
.ape-materials a:hover { color: var(--ap-text); }
body.ap-editorial-page .ap-article-meta { color: var(--ap-text-soft); font-size: 14px; line-height: 1.5; }
body.ap-editorial-page .ap-article-body > h1,
body.ap-editorial-page .ap-self-check-hub > h1 { margin: 0 0 24px; }
body.ap-editorial-page .ap-article-body > .ap-site-kicker,
body.ap-editorial-page .ap-self-check-hub > .ap-site-kicker { font-size: 14px; line-height: 1.5; color: var(--ap-text-soft); margin: 0 0 16px; }
body.ap-editorial-page .ap-article-body > table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
body.ap-editorial-page .ap-article-body > table :is(th, td) { border-bottom: 1px solid var(--ap-line); padding: 12px 10px; text-align: left; vertical-align: top; }
body.ap-editorial-page.category .loop-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 930px; margin-inline: auto; }
body.ap-editorial-page.category .loop-entry { border: 1px solid var(--ap-line); border-radius: 28px; background: var(--ap-bg-soft); box-shadow: none; }
body.ap-editorial-page.category .loop-entry .entry-content-wrap { padding: 26px 30px; }
body.ap-editorial-page.category .loop-entry .entry-title { font-family: inherit; font-size: clamp(23px, 3vw, 30px); line-height: 1.25; }
.ape-materials { font-family: inherit; color: var(--ap-text); max-width: 800px; margin: 22px auto 12px; }
.ape-materials *, .ape-materials *::before, .ape-materials *::after { box-sizing: border-box; }
.ape-materials .ape-material-row { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--ap-line); background: transparent; box-shadow: none; }
.ape-materials .ape-material-row:first-child { padding-top: 4px; }
.ape-materials .ape-material-title { font-family: inherit; color: var(--ap-text); font-size: clamp(21px, 2.7vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 9px; }
.ape-materials .ape-material-title a { color: var(--ap-text); text-decoration-color: var(--ap-line); }
.ape-materials .ape-material-title a:hover { color: var(--ape-link); text-decoration-color: currentColor; }
.ape-materials .ape-material-excerpt,
.ape-materials .ape-empty { color: var(--ap-text-soft); font-size: 16px; line-height: 1.65; margin: 0; }
.ape-materials .ape-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 24px; font-size: 15px; }
.ape-materials .ape-pagination a,
.ape-materials .ape-current { display: inline-flex; justify-content: center; align-items: center; min-width: 40px; min-height: 42px; padding: 8px 11px; border-radius: 10px; }
.ape-materials .ape-current { background: var(--ap-bg-white); border: 1px solid var(--ap-line); color: var(--ap-text); }
.ape-materials a:focus-visible,
body.ap-editorial-page .ap-article-body a:focus-visible,
body.ap-editorial-page .ap-self-check-hub a:focus-visible { outline: 3px solid #286a91; outline-offset: 4px; border-radius: 3px; }
@media (max-width: 600px) {
  body.ap-editorial-page .site-main .single-entry { border-radius: 22px; width: calc(100% - 28px); margin-inline: auto !important; }
  body.ap-editorial-page .single-entry > .entry-content-wrap { padding: 24px 20px !important; }
  body.ap-editorial-page .ap-article-body, body.ap-editorial-page .ap-self-check-hub { font-size: 17px; line-height: 1.7; }
  body.ap-editorial-page.category .loop-entry .entry-content-wrap { padding: 22px; }
  .ape-materials .ape-material-row { padding: 21px 0; }
}
