/* =========================================================================
   Blog: index, article, cards. Built on the tokens both skins define
   (--ink, --ink-soft, --ink-faint, --ff-display, --ff-body, --ff-mono); the
   accent falls back to the sky skin's blue and is overridden for freelancer.
   ========================================================================= */
.rk-blog{ --rk-text: var(--ink, #1A120F); --rk-accent: var(--sky-deep, #0B78BE); --rk-accent-ink: var(--sky-deep, #0B78BE); --rk-tint: var(--sky-pale, #E4F4FE); --rk-tint-2: #F6FBFF; --rk-line: var(--border, #E6E1DD); --rk-card: #fff; }
.skin-freelancer .rk-blog{ --rk-text: #2A1F1B; --rk-accent: #F4551E; --rk-accent-ink: #CC3D0B; --rk-tint: #FDEDE6; --rk-tint-2: #FDF6F2; --rk-line: #F2DFD7; }

.rk-blog .wrap{ max-width: var(--wrap, 1140px); margin: 0 auto; padding: 0 24px; }
.rk-blog .eyebrow{ display:inline-flex; align-items:center; gap: 8px; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rk-accent-ink); }
.rk-blog .fl-crumb{ display:flex; flex-wrap:wrap; gap: 6px 10px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.rk-blog .fl-crumb a{ color: inherit; }
.rk-blog .fl-crumb a:hover{ color: var(--rk-accent-ink); }
.rk-blog .fl-crumb > *:not(:last-child)::after{ content: "/"; margin-left: 10px; color: var(--ink-faint); }
.rk-blog em{ font-style: normal; font-weight: 400; color: var(--rk-accent-ink); }

/* ---------- index hero ---------- */
.rk-blog-hero{ padding: 108px 0 18px; }
.rk-blog-hero h1{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(32px, 4.2vw, 52px); max-width: 16ch; margin: 10px 0 12px; }
.rk-blog-hero .fl-note{ color: var(--rk-text); font-size: 17px; max-width: 54ch; }
.rk-topics{ list-style:none; margin: 0; padding: 0; display:flex; flex-wrap:wrap; gap: 8px; }
.rk-topics a{ display:inline-flex; align-items:center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rk-line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-decoration:none; }
.rk-topics a small{ font-family: var(--ff-mono); font-size: 10.5px; color: var(--ink-faint); }
.rk-topics a:hover, .rk-topics a[aria-current="page"]{ border-color: var(--rk-accent); color: var(--rk-accent-ink); background: var(--rk-tint); }

/* ---------- grid + cards ---------- */
.rk-blog-list{ padding: 26px 0 70px; }
.rk-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.rk-card{ display:flex; flex-direction:column; background: var(--rk-card); border: 1px solid var(--rk-line); border-radius: 22px; overflow:hidden; transition: transform .25s ease, box-shadow .25s ease; }
.rk-card:hover{ transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(120,55,30,0.45); }
.rk-card-cover{ position:relative; display:flex; flex-direction:column; justify-content:flex-end; gap: 6px; aspect-ratio: 16 / 10; padding: 18px 20px; text-decoration:none; overflow:hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 55%), linear-gradient(135deg, var(--rk-tint) 0%, var(--rk-tint-2) 100%); }
.rk-card-cover::after{ content:""; position:absolute; inset:auto -40px -60px auto; width: 190px; height: 190px; border-radius: 50%; border: 22px solid var(--rk-accent); opacity: .18; }
.rk-card-num{ position:absolute; top: 16px; left: 20px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; color: var(--rk-accent-ink); }
.rk-card-kicker{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.rk-card-glyph{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.03em; line-height: .98; font-size: clamp(26px, 2.6vw, 36px); color: var(--ink); max-width: 11ch; }
.rk-tone-1 .rk-card-cover{ background: linear-gradient(135deg, #1A120F 0%, #2B1C16 100%); }
.rk-tone-1 .rk-card-glyph{ color: #fff; }
.rk-tone-1 .rk-card-kicker{ color: rgba(255,255,255,0.6); }
.rk-tone-1 .rk-card-num{ color: var(--rk-accent); }
.rk-tone-1 .rk-card-cover::after{ opacity: .5; }
.rk-tone-2 .rk-card-cover{ background: linear-gradient(135deg, var(--rk-accent) 0%, var(--rk-accent-ink) 100%); }
.rk-tone-2 .rk-card-glyph, .rk-tone-2 .rk-card-num{ color: #fff; }
.rk-tone-2 .rk-card-kicker{ color: rgba(255,255,255,0.75); }
.rk-tone-2 .rk-card-cover::after{ border-color: #fff; opacity: .25; }
.rk-card-body{ display:flex; flex-direction:column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.rk-card-cat{ align-self:flex-start; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rk-accent-ink); text-decoration:none; }
.rk-card h3{ font-family: var(--ff-display); font-weight: 700; letter-spacing: -0.01em; font-size: 21px; line-height: 1.2; margin: 0; }
.rk-card h3 a{ color: var(--ink); text-decoration:none; }
.rk-card h3 a:hover{ color: var(--rk-accent-ink); }
.rk-card p{ margin: 0; color: var(--rk-text); font-size: 15px; line-height: 1.55; }
.rk-card-meta{ margin-top:auto; padding-top: 12px; display:flex; align-items:center; gap: 8px; font-size: 12.5px; color: var(--ink-faint); }
.rk-card-meta img{ width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.rk-card-meta span:first-of-type{ color: var(--ink-soft); font-weight: 600; }

.rk-card-featured{ grid-column: 1 / -1; display:grid; grid-template-columns: 1.1fr 1fr; }
.rk-card-featured .rk-card-cover{ aspect-ratio: auto; min-height: 320px; padding: 28px 32px; }
.rk-card-featured .rk-card-glyph{ font-size: clamp(40px, 5vw, 72px); max-width: 10ch; }
.rk-card-featured .rk-card-body{ padding: 34px 36px; justify-content:center; }
.rk-card-featured h3{ font-size: clamp(24px, 2.6vw, 34px); }
.rk-card-featured p{ font-size: 16.5px; }

.rk-pagination{ margin-top: 34px; }
.rk-pagination .nav-links{ display:flex; gap: 6px; justify-content:center; flex-wrap:wrap; }
.rk-pagination .page-numbers{ display:inline-flex; align-items:center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rk-line); color: var(--ink-soft); font-weight: 600; font-size: 14px; text-decoration:none; }
.rk-pagination .page-numbers.current, .rk-pagination .page-numbers:hover{ border-color: var(--rk-accent); color: var(--rk-accent-ink); background: var(--rk-tint); }
.rk-empty{ color: var(--ink-soft); padding: 40px 0; }

/* ---------- article ---------- */
.rk-post-wrap{ max-width: 780px; }
.rk-post-hero{ padding: 128px 0 34px; }
.rk-post-hero h1{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; font-size: clamp(32px, 4.6vw, 54px); margin: 8px 0 14px; }
.rk-post-dek{ font-size: 19px; line-height: 1.5; color: var(--rk-text); font-weight: 450; max-width: 60ch; margin: 0 0 24px; }
.rk-post-meta{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap: 16px 24px; padding: 16px 0; border-top: 1px solid var(--rk-line); border-bottom: 1px solid var(--rk-line); }
.rk-post-author{ display:flex; align-items:center; gap: 12px; text-decoration:none; color: inherit; }
.rk-post-author img{ width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 8px 16px -8px rgba(120,55,30,0.5); }
.rk-post-author span{ display:flex; flex-direction:column; line-height: 1.2; }
.rk-post-author strong{ font-size: 15px; color: var(--ink); }
.rk-post-author small{ font-size: 12.5px; color: var(--ink-faint); }
.rk-post-meta dl{ display:flex; gap: 22px; margin: 0; }
.rk-post-meta dl div{ display:flex; flex-direction:column; gap: 2px; }
.rk-post-meta dt{ font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.rk-post-meta dd{ margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }

.rk-takeaways{ position:relative; margin: 28px 0 36px; padding: 24px 26px 22px; border-radius: 20px; background: var(--rk-tint); border-left: 3px solid var(--rk-accent); }
.rk-takeaways h2{ font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rk-accent-ink); margin: 0 0 12px; font-weight: 500; }
.rk-takeaways ul{ margin: 0; padding: 0 0 0 20px; display:flex; flex-direction:column; gap: 8px; }
.rk-takeaways li{ font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.rk-takeaways li::marker{ color: var(--rk-accent); }
.rk-takeaways-cta{ display:inline-flex; align-items:center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--rk-accent-ink); text-decoration:none; }
.rk-takeaways-cta svg{ width: 18px; height: 18px; transition: transform .2s ease; }
.rk-takeaways-cta:hover svg{ transform: translateX(4px); }

.rk-post-body{ font-size: 17.5px; line-height: 1.72; color: var(--rk-text); font-weight: 450; }
.rk-post-body > *{ margin: 0 0 20px; }
.rk-post-body h2{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.015em; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.15; color: var(--ink); margin: 44px 0 14px; }
.rk-post-body h3{ font-family: var(--ff-display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--ink); margin: 30px 0 10px; }
.rk-post-body strong{ color: var(--ink); }
.rk-post-body a{ color: var(--rk-accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.rk-post-body ul, .rk-post-body ol{ padding-left: 24px; display:flex; flex-direction:column; gap: 8px; }
.rk-post-body li::marker{ color: var(--rk-accent-ink); font-weight: 700; }
.rk-post-body blockquote{ margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--rk-accent); background: var(--rk-tint-2); border-radius: 0 16px 16px 0; font-weight: 500; color: var(--ink); }
.rk-post-body table{ width:100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; margin: 24px 0; display:block; overflow-x:auto; }
.rk-post-body th, .rk-post-body td{ text-align:left; vertical-align: top; padding: 12px 12px; border-bottom: 1px solid var(--rk-line); min-width: 140px; }
.rk-post-body thead th{ font-family: var(--ff-display); font-size: 13.5px; font-weight: 800; letter-spacing: .01em; text-transform: none; color: #fff; background: var(--rk-accent-ink); padding: 12px 12px; border-bottom: 0; vertical-align: middle; }
.rk-post-body thead th:first-child{ border-radius: 10px 0 0 0; }
.rk-post-body thead th:last-child{ border-radius: 0 10px 0 0; }
.rk-post-body tbody tr:nth-child(even){ background: var(--rk-tint-2); }
.rk-post-body tbody td{ color: var(--rk-text); }
.rk-post-body td:first-child{ font-weight: 700; color: var(--ink); }
.rk-post-body img{ max-width:100%; height:auto; border-radius: 16px; }

.rk-post-faq{ margin: 46px 0 0; }
.rk-post-faq h2{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.015em; font-size: 26px; margin: 0 0 12px; color: var(--ink); }
.rk-post-faq details{ border-top: 1px solid var(--rk-line); }
.rk-post-faq details:last-of-type{ border-bottom: 1px solid var(--rk-line); }
.rk-post-faq summary{ cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap: 16px; padding: 16px 0; font-family: var(--ff-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.rk-post-faq summary::-webkit-details-marker{ display:none; }
.rk-post-faq summary::after{ content: "+"; flex:none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rk-line); display:grid; place-items:center; font-weight: 500; color: var(--rk-accent-ink); transition: transform .2s ease; }
.rk-post-faq details[open] summary::after{ transform: rotate(45deg); }
.rk-post-faq p{ margin: 0 0 18px; color: var(--rk-text); font-weight: 450; line-height: 1.65; max-width: 62ch; }

.rk-author{ display:grid; grid-template-columns: 120px 1fr; gap: 24px; align-items:center; margin: 46px 0 10px; padding: 26px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--rk-line); }
.rk-author img{ width: 120px; height: 150px; object-fit: cover; border-radius: 16px; }
.rk-author h2{ font-family: var(--ff-display); font-weight: 800; font-size: 24px; margin: 4px 0 8px; color: var(--ink); }
.rk-author p{ margin: 0 0 14px; color: var(--rk-text); line-height: 1.6; font-size: 15.5px; }
.rk-author-links{ display:flex; flex-wrap:wrap; gap: 8px 18px; font-weight: 700; font-size: 14px; }
.rk-author-links a{ color: var(--rk-accent-ink); text-decoration: none; border-bottom: 1.5px solid currentColor; }

.rk-related{ padding: 60px 0 80px; }
.rk-related-head{ display:flex; align-items:end; justify-content:space-between; gap: 20px; margin-bottom: 26px; }
.rk-related-head h2{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.015em; font-size: clamp(26px, 3vw, 36px); margin: 6px 0 0; color: var(--ink); }
.rk-related-all{ font-weight: 700; color: var(--rk-accent-ink); text-decoration:none; white-space:nowrap; }
.rk-blog .fl-askrow{ margin-top: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 960px){
  .rk-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rk-card-featured{ grid-template-columns: 1fr; }
  .rk-card-featured .rk-card-cover{ min-height: 220px; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px){
  .rk-blog-hero{ padding-top: 92px; }
  .rk-post-hero{ padding-top: 100px; }
  .rk-grid, .rk-grid-3{ grid-template-columns: 1fr; }
  .rk-post-body{ font-size: 16.5px; }
  .rk-post-meta{ flex-direction:column; align-items:flex-start; }
  .rk-post-meta dl{ gap: 16px; flex-wrap:wrap; }
  .rk-author{ grid-template-columns: 1fr; }
  .rk-author img{ width: 96px; height: 120px; }
  .rk-related-head{ flex-direction:column; align-items:flex-start; }
  .rk-card-featured .rk-card-body{ padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce){ .rk-card, .rk-takeaways-cta svg{ transition: none; } }

/* ---------- article layout: map of the article beside the text on wide screens ---------- */
.rk-post-layout{ display:grid; grid-template-columns: minmax(0, 780px); justify-content: center; gap: 0 48px; }
.rk-post-main{ min-width: 0; }
.rk-toc{ order: -1; margin: 28px 0 8px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--rk-line); background: #fff; }
.rk-toc p{ margin: 0 0 8px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.rk-toc ol{ margin: 0; padding: 0; list-style: none; counter-reset: toc; display:flex; flex-direction:column; gap: 6px; }
.rk-toc li{ counter-increment: toc; display:flex; gap: 10px; font-size: 14px; line-height: 1.35; }
.rk-toc li::before{ content: counter(toc, decimal-leading-zero); font-family: var(--ff-mono); font-size: 11px; color: var(--rk-accent-ink); padding-top: 2px; flex:none; }
.rk-toc a{ color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.rk-toc a:hover{ color: var(--rk-accent-ink); }
.rk-post-body h2{ scroll-margin-top: 96px; }
.rk-tags{ list-style:none; margin: 30px 0 0; padding: 0; display:flex; flex-wrap:wrap; gap: 8px; }
.rk-tags a{ display:inline-block; padding: 6px 12px; border-radius: 999px; background: var(--rk-tint-2); border: 1px solid var(--rk-line); font-size: 13px; font-weight: 600; color: var(--ink-soft); text-decoration:none; }
.rk-tags a:hover{ border-color: var(--rk-accent); color: var(--rk-accent-ink); }
@media (min-width: 1180px){
  .rk-post-layout{ grid-template-columns: 230px minmax(0, 780px); justify-content: center; }
  .rk-toc{ order: 0; position: sticky; top: 100px; align-self: start; margin: 28px 0 0; }
}
.rk-blog .fl-askrow{ margin-top: 0; }

/* ---------- the one ask ---------- */
.rk-cta{ padding: 10px 0 90px; }
.rk-cta-box{ display:grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items:center; padding: 38px 42px; border-radius: 26px; background: var(--rk-tint); border: 1px solid var(--rk-line); }
.rk-cta-copy h2{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; margin: 8px 0 12px; color: var(--ink); }
.rk-cta-copy p{ margin: 0; color: var(--rk-text); font-size: 16px; line-height: 1.6; max-width: 40ch; }
.rk-cta-form{ display:flex; flex-direction:column; gap: 12px; }
.rk-cta-form .fl-form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.rk-cta-form .fl-field{ display:flex; flex-direction:column; gap: 6px; }
.rk-cta-form .fl-field span{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.rk-cta-form input{ width:100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rk-line); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.rk-cta-form input:focus{ outline: 2px solid var(--rk-accent); outline-offset: 1px; border-color: var(--rk-accent); }
.rk-cta-form .btn{ align-self:flex-start; }
.rk-cta-form small{ font-size: 12.5px; color: var(--ink-faint); }
.rk-cta-form small a{ color: inherit; text-decoration: underline; }
@media (max-width: 860px){ .rk-cta-box{ grid-template-columns: 1fr; padding: 28px 24px; } .rk-cta-form .fl-form-row{ grid-template-columns: 1fr; } }

/* ---------- index hero: copy left, search + topics right ---------- */
.rk-blog-hero-grid{ display:grid; grid-template-columns: 1.25fr 0.85fr; gap: 40px; align-items: end; }
.rk-blog-side{ display:flex; flex-direction:column; gap: 14px; }
.rk-search{ padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--rk-line); box-shadow: 0 24px 40px -34px rgba(120,55,30,0.4); }
.rk-search label{ display:block; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.rk-search-row{ display:flex; gap: 8px; }
.rk-search input{ flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rk-line); background: var(--rk-tint-2); font: inherit; font-size: 15px; color: var(--ink); }
.rk-search input:focus{ outline: 2px solid var(--rk-accent); outline-offset: 1px; border-color: var(--rk-accent); background: #fff; }
.rk-search .btn{ flex:none; padding: 0 18px; min-height: 46px; }
.rk-topics-box{ display:flex; flex-direction:column; gap: 8px; }
.rk-topics-box > span{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 860px){
  .rk-blog-hero-grid{ grid-template-columns: 1fr; gap: 22px; }
  .rk-search-row{ flex-direction: column; }
  .rk-search .btn{ align-self:flex-start; }
}

/* ---------- sources, "what this means for you" ---------- */
.rk-sources{ margin: 40px 0 0; padding: 22px 24px; border-radius: 18px; background: var(--rk-tint-2); border: 1px solid var(--rk-line); }
.rk-sources h2{ font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin: 0 0 12px; }
.rk-sources ol{ margin: 0; padding-left: 20px; display:flex; flex-direction:column; gap: 12px; font-size: 14.5px; line-height: 1.45; }
.rk-sources li::marker{ color: var(--rk-accent-ink); font-family: var(--ff-mono); font-size: 12px; }
.rk-sources a{ color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rk-line); }
.rk-sources a:hover{ color: var(--rk-accent-ink); text-decoration-color: currentColor; }
.rk-sources small{ font-family: var(--ff-mono); font-size: 11px; color: var(--ink-faint); margin-left: 6px; }
.rk-post-body ul.rk-fit{ list-style: none; padding: 0; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.rk-post-body .rk-fit li{ padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--rk-line); font-size: 15px; line-height: 1.5; color: var(--rk-text); }
.rk-post-body .rk-fit li strong{ display:block; margin-bottom: 6px; font-family: var(--ff-display); font-size: 15.5px; color: var(--rk-accent-ink); }
.rk-post-body code{ font-family: var(--ff-mono); font-size: .9em; background: var(--rk-tint-2); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
@media (max-width: 760px){ .rk-post-body ul.rk-fit{ grid-template-columns: 1fr; } }

/* ---------- endless list ---------- */
.rk-more{ display:flex; justify-content:center; align-items:center; gap: 12px; margin-top: 30px; min-height: 48px; }
.rk-more-spin{ width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rk-line); border-top-color: var(--rk-accent); display:none; animation: rk-spin .8s linear infinite; }
.rk-more.is-loading .rk-more-spin{ display:block; }
.rk-more.is-loading .btn{ opacity: .6; pointer-events: none; }
@keyframes rk-spin{ to{ transform: rotate(360deg); } }

.rk-post-body .rk-ex-note{ font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin: -6px 0 14px; }

/* ---------- my take ---------- */
.rk-take{ margin: 44px 0 0; padding: 26px 28px; border-radius: 22px; background: #1A120F; color: rgba(255,255,255,0.86); }
.rk-take-head{ display:flex; align-items:center; gap: 14px; margin-bottom: 14px; }
.rk-take-head img{ width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,0.15); flex:none; }
.rk-take .eyebrow{ color: var(--rk-accent); }
.rk-take h2{ font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.015em; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; color: #fff; margin: 2px 0 0; }
.rk-take-body p{ margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.86); }
.rk-take-body p:last-child{ margin-bottom: 0; }
.rk-take-tools{ margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.rk-take-tools ul{ list-style:none; margin: 10px 0 0; padding: 0; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.rk-take-tools li{ display:flex; flex-direction:column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.06); }
.rk-take-tools strong{ font-family: var(--ff-display); font-size: 15px; color: #fff; }
.rk-take-tools strong a{ color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rk-accent); }
.rk-take-tools span{ font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.72); }
@media (max-width: 760px){ .rk-take-tools ul{ grid-template-columns: 1fr; } .rk-take{ padding: 22px 20px; } }

/* sources: gist on the page, link to verify */
.rk-sources-note{ margin: -4px 0 14px; font-size: 13.5px; color: var(--ink-faint); }
.rk-sources a svg{ width: 12px; height: 12px; margin-left: 5px; vertical-align: -1px; opacity: .6; }
.rk-sources li p{ margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--rk-text); }
.rk-post-body a[target="_blank"]::after{ content:""; display:inline-block; width: 10px; height: 10px; margin-left: 3px; vertical-align: -1px; opacity: .55; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-8 8M19 14v5H5V5h5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-8 8M19 14v5H5V5h5'/%3E%3C/svg%3E") center/contain no-repeat; }

/* video slot: click-to-load YouTube (privacy-enhanced), his own recordings */
.rk-video{ margin: 0 0 30px; }
.rk-video-play{ position:relative; display:block; width:100%; aspect-ratio: 16 / 9; padding:0; border:0; border-radius: 20px; overflow:hidden; background:#1A120F; cursor:pointer; }
.rk-video-play img{ width:100%; height:100%; object-fit: cover; display:block; opacity: .85; transition: opacity .2s ease; }
.rk-video-play:hover img{ opacity: 1; }
.rk-video-btn{ position:absolute; left:50%; top:50%; transform: translate(-50%,-50%); width: 72px; height: 72px; border-radius: 50%; background: var(--rk-accent-ink); color:#fff; display:grid; place-items:center; box-shadow: 0 20px 40px -16px rgba(204,61,11,0.8); }
.rk-video-btn svg{ width: 30px; height: 30px; margin-left: 3px; }
.rk-video iframe{ width:100%; aspect-ratio: 16 / 9; border:0; border-radius: 20px; display:block; }
.rk-video figcaption{ margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.rk-video figcaption small{ display:block; font-weight: 400; color: var(--ink-faint); font-size: 12.5px; margin-top: 2px; }

/* ---------- share ---------- */
.rk-share{ display:flex; flex-wrap:wrap; align-items:center; gap: 8px; margin: 16px 0 0; }
.rk-share > span{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-right: 4px; }
.rk-share a, .rk-share button{ display:inline-flex; align-items:center; justify-content:center; gap: 6px; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--rk-line); background:#fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor:pointer; text-decoration:none; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.rk-share svg{ width: 16px; height: 16px; }
.rk-share a:hover, .rk-share button:hover{ border-color: var(--rk-accent); color: var(--rk-accent-ink); background: var(--rk-tint); }
.rk-share button.is-done{ border-color: var(--rk-accent); color: var(--rk-accent-ink); background: var(--rk-tint); }
.rk-post-main > .rk-share{ margin-top: 26px; }

/* ---------- tables on phones: rows become cards ---------- */
@media (max-width: 640px){
  .rk-post-body table.rk-table-cards{ display:block; overflow: visible; border: 0; }
  .rk-post-body table.rk-table-cards thead{ display:none; }
  .rk-post-body table.rk-table-cards tbody{ display:flex; flex-direction:column; gap: 12px; }
  .rk-post-body table.rk-table-cards tr{ display:block; padding: 14px 16px 6px; border-radius: 16px; background:#fff; border: 1px solid var(--rk-line); }
  .rk-post-body table.rk-table-cards td{ display:block; min-width: 0; padding: 6px 0 10px; border: 0; border-bottom: 1px dashed var(--rk-line); font-size: 15px; line-height: 1.5; }
  .rk-post-body table.rk-table-cards td:last-child{ border-bottom: 0; }
  .rk-post-body table.rk-table-cards td::before{ content: attr(data-label); display:block; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rk-accent-ink); font-weight: 500; margin-bottom: 3px; }
  .rk-post-body table.rk-table-cards td:first-child{ font-family: var(--ff-display); font-size: 17px; font-weight: 800; color: var(--rk-accent-ink); padding-top: 0; }
  .rk-post-body table.rk-table-cards td:first-child::before{ display:none; }
}

/* where I start */
.rk-post-body .rk-fromlist{ margin: 8px 0 28px; padding: 22px 24px; border-radius: 18px; background: var(--rk-tint); border-left: 3px solid var(--rk-accent); }
.rk-post-body .rk-fromlist ul{ list-style:none; padding:0; margin: 10px 0 12px; display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.rk-post-body .rk-fromlist li{ display:flex; flex-direction:column; gap: 2px; padding: 12px 14px; border-radius: 12px; background:#fff; border: 1px solid var(--rk-line); }
.rk-post-body .rk-fromlist strong{ font-family: var(--ff-display); font-size: 20px; color: var(--rk-accent-ink); }
.rk-post-body .rk-fromlist span{ font-size: 13.5px; color: var(--rk-text); }
.rk-post-body .rk-fromlist p{ margin: 0; font-size: 14.5px; }
@media (max-width: 560px){ .rk-post-body .rk-fromlist ul{ grid-template-columns: 1fr; } }
