/* Article page: the parts the page kit doesn't already cover. */
.ar-head h1 { max-width: 26ch; font-size: clamp(30px, 3.8vw, 48px); }
.ar-byline { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; color: #CFDDD6; }
.ar-byline__pic { width: 46px; height: 46px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #E9D7A8; color: var(--binding); font: 700 15px var(--heading); flex-shrink: 0; }
.ar-byline__pic img { width: 100%; height: 100%; object-fit: cover; }
.ar-byline b { display: block; color: #fff; font-size: 15px; }
.ar-byline small { font-size: 13.5px; }
.ar-reviewed { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(233, 215, 168, .16); color: #F3E6C2; font: 600 13px var(--sans); }

.ar-cover { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 22px; margin-bottom: 30px; }
.ar-body { max-width: 70ch; }
.ar-body > p:first-child { font-size: 19px; color: var(--ink); }
.ar-body img { margin: 10px 0 18px; }

.ar-share { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--slate); font-size: 15px; }

.ar-author { margin-top: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--rule); overflow: hidden; }
.ar-author__main { display: flex; gap: 18px; padding: 24px; }
.ar-author__pic { width: 72px; height: 72px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; background: var(--binding); color: #E9D7A8; font: 700 22px var(--heading); flex-shrink: 0; }
.ar-author__pic img { width: 100%; height: 100%; object-fit: cover; }
.ar-author__label { margin: 0 0 2px; font: 700 13px var(--sans); color: var(--slate); }
.ar-author h2 { margin: 0; font: 700 21px/1.25 var(--heading); color: var(--ink); }
.ar-author__role { margin: 2px 0 10px; font-size: 14px; color: var(--slate); }
.ar-author p:not([class]) { margin: 0; font-size: 15px; line-height: 1.6; color: #2A322F; }
.ar-author__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.ar-author__links a { font: 700 14px var(--sans); color: var(--action); text-decoration: none; }
.ar-author__links a:hover { text-decoration: underline; }
.ar-author__review { display: flex; align-items: center; gap: 14px; padding: 16px 24px; background: #F4F8F6; border-top: 1px solid var(--rule); }
.ar-author__review b { display: block; font-size: 15px; }
.ar-author__review b a { color: var(--ink); }
.ar-author__review small { font-size: 13.5px; color: var(--slate); }
@media (max-width: 600px) { .ar-author__main { flex-direction: column; } }

.ar-card img { width: calc(100% + 44px); margin: -22px -22px 4px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px 22px 0 0; }
.ar-card h3 { font-size: 18px; }

/* Key points box at the top of an article (a div that starts with a bold heading and a list; the editor keeps no classes) */
.ar-body > div:has(> strong:first-child + ul) { margin: 6px 0 30px; padding: 20px 22px 8px; border: 1px solid #CFE2D8; border-radius: 18px; background: #F2F8F5; }
.ar-body > div:has(> strong:first-child + ul) > strong:first-child { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 700 15px var(--heading); letter-spacing: .01em; color: var(--action); }
.ar-body > div:has(> strong:first-child + ul) > strong:first-child::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9A75C; }
.ar-body > div:has(> strong:first-child + ul) ul { margin: 0 0 12px; padding: 0; list-style: none; }
.ar-body > div:has(> strong:first-child + ul) li { position: relative; margin-bottom: 9px; padding-left: 26px; font-size: 16px; line-height: 1.6; }
.ar-body > div:has(> strong:first-child + ul) li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--action); border-bottom: 2.5px solid var(--action); transform: rotate(-45deg); }

/* Numbered steps */
.ar-body ol { counter-reset: ar-step; padding-left: 0; list-style: none; }
.ar-body ol > li { position: relative; counter-increment: ar-step; padding-left: 42px; min-height: 28px; }
.ar-body ol > li::before { content: counter(ar-step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #E4EFE9; color: var(--action); font: 700 14px var(--heading); }

/* Related articles */
.ar-related { margin-top: 0; }
