/* Blog articles: readable type, an outline beside the text, reading progress and a closing card. */

.one_post { --ar-red: #c51d32; --ar-ink: #1d1e21; --ar-ink-2: #3a3c40; --ar-muted: #62656b; --ar-paper: #f4f5f8; --ar-hair: #e0e1e4; --ar-ease: cubic-bezier(0.22, 1, 0.36, 1); }
.one_post .one_post_title h1 { font-weight: 900 !important; letter-spacing: -0.025em; line-height: 1.08 !important; text-wrap: balance; }
.one_post .one_post_image img { border-radius: 22px; box-shadow: 0 2px 6px rgba(16, 24, 40, 0.05), 0 28px 72px rgba(16, 24, 40, 0.14); }
.ar-meta { display: flex; flex-wrap: wrap; justify-content: inherit; gap: 6px 14px; margin-top: 18px; color: var(--ar-muted); font: 700 13px/1.4 Montserrat, Helvetica, Arial, sans-serif; }
.ar-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ar-meta span:first-child { color: var(--ar-red); }

.one_post .one_post_text_content { font-size: 18px; line-height: 1.75; color: var(--ar-ink-2); }
.one_post .one_post_text_content :is(p, li):not(.ar-cta *) { font-size: inherit !important; line-height: inherit !important; }
.one_post .one_post_text_content h2 { margin-top: 1.8em; color: var(--ar-ink); font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.015em; line-height: 1.2; scroll-margin-top: 110px; }
.one_post .one_post_text_content h3 { color: var(--ar-ink); font-weight: 800; }
.one_post .one_post_text_content a { color: var(--ar-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--ar-red); text-underline-offset: 3px; }
.one_post .one_post_text_content a:hover { color: var(--ar-red); }
.one_post .one_post_text_content :is(ul, ol) li::marker { color: var(--ar-red); font-weight: 800; }

/* Outline beside the text, above the share links */
.ar-toc { position: sticky; top: 110px; margin-bottom: 28px; font-family: Montserrat, Helvetica, Arial, sans-serif; }
.ar-toc-title { margin: 0 0 10px; color: var(--ar-muted); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.ar-toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--ar-hair); }
.ar-toc li { margin: 0; padding: 0; }
.ar-toc li::before { content: none !important; }
.ar-toc a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; color: var(--ar-muted) !important; font-weight: 600; font-size: 14px; line-height: 1.35; text-decoration: none !important; transition: color 0.2s, border-color 0.2s; }
.ar-toc a:hover { color: var(--ar-ink) !important; }
.ar-toc a.is-current { border-left-color: var(--ar-red); color: var(--ar-ink) !important; font-weight: 800; }
.one_post .one_post_text_data { align-self: stretch; }

/* Reading progress */
.ar-progress { position: fixed; left: 0; top: 0; z-index: 1000; width: 100%; height: 3px; background: var(--ar-red, #c51d32); transform-origin: left; transform: scaleX(var(--ar-read, 0)); pointer-events: none; }

/* Closing card */
.one_post .ar-cta { display: grid; gap: 10px; box-sizing: border-box; width: 100%; margin: 48px 0 8px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--ar-ink); color: rgba(255, 255, 255, 0.78); font-family: Montserrat, Helvetica, Arial, sans-serif; box-shadow: 0 2px 6px rgba(16, 24, 40, 0.05), 0 28px 72px rgba(16, 24, 40, 0.14); }
.one_post .ar-cta p { margin: 0; font-family: Montserrat, Helvetica, Arial, sans-serif; }
.one_post .ar-cta-kicker { color: #ffc93c; font-weight: 800 !important; font-size: 13px !important; }
.one_post .ar-cta-title { color: #fff; font-weight: 900 !important; font-size: clamp(24px, 2.6vw, 32px) !important; letter-spacing: -0.02em; line-height: 1.12 !important; }
.one_post .ar-cta-copy { color: rgba(255, 255, 255, 0.78); font-weight: 500; font-size: 16px !important; line-height: 1.55 !important; }
.one_post .ar-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px !important; }
.one_post .ar-cta a { text-decoration: none; }
.one_post .ar-cta-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 24px; background: var(--ar-red); color: #fff !important; font-weight: 800; font-size: 15px; box-shadow: 0 6px 18px rgba(197, 29, 50, 0.35); transition: transform 0.2s var(--ar-ease), background 0.2s; }
.one_post .ar-cta-btn:hover { background: #a3162a; transform: translateY(-1px); }
.one_post .ar-cta-link { color: #fff !important; font-weight: 700; font-size: 15px; }
.one_post .ar-cta-phone { color: rgba(255, 255, 255, 0.8) !important; font-weight: 800; font-size: 15px; }

@media (max-width: 900px) {
  .ar-toc { position: static; }
  .ar-toc ol { display: none; }
  .ar-toc.is-open ol { display: block; }
  .ar-toc-title { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--ar-paper); cursor: pointer; }
  .ar-toc-title::after { content: "+"; color: var(--ar-red); font-size: 18px; }
  .ar-toc.is-open .ar-toc-title::after { content: "–"; }
  .one_post .one_post_text_content { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .ar-progress { display: none; }
}
