/* ════════════════════════════════════════════════════════════════
   Codego Press — editorial newspaper theme
   Modernist annual report aesthetic, white ground, banking green.
   Ported from codegotech.com v3 design system.
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #FFFFFF;
  --bg-2:      #F2F1ED;
  --bg-3:      #E6E5DF;
  --ink:       #0A0A0A;
  --ink-2:     #2B2B2B;
  --ink-3:     #565656;
  --ink-mute:  #8A8A8A;
  --rule:      #DAD8D0;
  --rule-2:    #1A1A1A;
  --acc:       #1A6B43;
  --acc-d:     #0E4D2C;

  --f-disp:  'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-body:  'Inter', system-ui, sans-serif;
  --f-serif: Georgia, 'Times New Roman', serif;
  --f-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max:     1320px;
  --max-narrow: 720px;
  --gut:     56px;
}

@media (max-width: 800px) { :root { --gut: 22px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
[dir="rtl"] body { text-align: right; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gut); }

/* ── Ticker ───────────────────────────────────────────── */
.ticker {
  background: var(--ink); color: var(--bg);
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 0; overflow: hidden; white-space: nowrap;
  border-bottom: 4px solid var(--acc);
}
.ticker-strip { display: flex; gap: 56px; animation: tk 60s linear infinite; }
.ticker-strip span { color: rgba(255,255,255,.55); flex-shrink: 0; }
.ticker-strip span.acc { color: var(--acc); }
.ticker-strip span.lit { color: var(--bg); }
.ticker-strip span.dot::before { content: "●"; color: var(--acc); margin-right: 8px; }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--rule-2);
  position: sticky; top: 0; z-index: 50;
}
.nav .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--f-disp); font-weight: 800;
  font-size: 22px; letter-spacing: -0.04em;
  color: var(--ink);
}
.brand-mark { display: inline-block; }
.brand-mark.italic { font-style: italic; font-weight: 400; color: var(--acc); font-family: var(--f-serif); }
.nav-menu {
  display: flex; justify-content: center; gap: 32px;
  list-style: none;
  font-family: var(--f-mono);
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-menu a { color: var(--ink-2); font-weight: 500; transition: color .14s; }
.nav-menu a:hover { color: var(--acc); }
.nav-meta {
  display: flex; gap: 20px; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-meta a { color: var(--ink-mute); transition: color .14s; }
.nav-meta a:hover { color: var(--acc); }
.nav-meta .nav-rss { border: 1px solid var(--ink-mute); padding: 5px 10px; }
.nav-meta .nav-rss:hover { border-color: var(--acc); }

@media (max-width: 800px) {
  .nav .wrap { grid-template-columns: auto auto; gap: 12px; }
  .nav-menu, .nav-meta .nav-external { display: none; }
}

/* ── Block head ──────────────────────────────────────── */
.block-head {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 18px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--rule-2);
}
.bh-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.bh-cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.bh-rt  { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute); text-align: right; font-style: italic; }

/* ── Masthead (hero) ─────────────────────────────────── */
.masthead { padding: 64px 0 40px; border-bottom: 1px solid var(--rule); position: relative; }
.masthead::before { content:""; position:absolute; top:0; left: var(--gut); right: var(--gut); height:4px; background: var(--acc); }
.mh-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
  padding-bottom: 24px; margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.mh-meta .acc { color: var(--acc); }
.mh-hed {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 0.96; letter-spacing: -0.045em;
  color: var(--ink); margin-bottom: 24px;
  max-width: 16ch;
}
.mh-hed em {
  font-style: italic; font-weight: 400; color: var(--acc);
  font-family: var(--f-serif); letter-spacing: -0.02em;
}
.mh-dek { font-size: 19px; line-height: 1.5; max-width: 60ch; color: var(--ink-2); }

/* ── Lead featured story ─────────────────────────────── */
.lead-block { padding: 72px 0 56px; border-bottom: 1px solid var(--rule); position: relative; }
.lead-block::before { content:""; position:absolute; top:0; left: var(--gut); right: var(--gut); height:4px; background: var(--acc); }
.lead-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: opacity .14s;
}
.lead-card:hover { opacity: 0.9; }
.lead-card:hover .lead-title { color: var(--acc); }
.lead-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.lead-tag {
  display: inline-block; font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc); font-weight: 600;
  border-bottom: 2px solid var(--acc); padding-bottom: 4px;
  margin-bottom: 18px;
}
.lead-title {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05; letter-spacing: -0.038em;
  color: var(--ink); margin-bottom: 16px;
  transition: color .14s;
}
.lead-excerpt {
  font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-bottom: 18px;
}
.lead-meta {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase;
}
.lead-meta .dot { color: var(--rule); }

@media (max-width: 800px) { .lead-card { grid-template-columns: 1fr; gap: 24px; } }

/* ── Grid block ──────────────────────────────────────── */
.grid-block { padding: 72px 0 88px; position: relative; border-bottom: 1px solid var(--rule); }
.grid-block::before { content:""; position:absolute; top:0; left: var(--gut); right: var(--gut); height:4px; background: var(--acc); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* ── Article card ────────────────────────────────────── */
.card {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ink);
  padding-top: 0;
  transition: transform .14s;
}
.card:hover { transform: translateY(-2px); }
.card:hover .card-title a { color: var(--acc); }
.card-img { display: block; margin-bottom: 16px; }
.card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding-top: 16px; border-top: 1px solid var(--rule); }
.card-tag {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc); font-weight: 600;
  margin-bottom: 10px; display: inline-block;
}
.card-title {
  font-family: var(--f-disp); font-weight: 700;
  font-size: 22px; line-height: 1.18;
  letter-spacing: -0.024em;
  margin-bottom: 10px;
}
.card-title a { color: var(--ink); transition: color .14s; }
.card-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); margin-bottom: 14px; }
.card-meta {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase;
}
.card-meta .dot { color: var(--rule); }

/* Featured card variant (within grid) */
.card-featured {
  grid-column: span 2;
}
.card-featured .card-title { font-size: 32px; }
@media (max-width: 1080px) { .card-featured { grid-column: span 1; } .card-featured .card-title { font-size: 22px; } }

/* ── Article (single post) ───────────────────────────── */
.article-head {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--rule);
}
.article-tag {
  display: inline-block; font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc); font-weight: 600;
  border-bottom: 2px solid var(--acc); padding-bottom: 4px;
  margin-bottom: 22px;
}
.article-title {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04; letter-spacing: -0.04em;
  margin-bottom: 18px; color: var(--ink);
}
.article-dek {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(18px, 2vw, 22px); line-height: 1.45;
  color: var(--ink-2); margin-bottom: 24px;
  max-width: 56ch;
}
.article-meta {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--ink-mute);
  text-transform: uppercase;
  padding-top: 18px; border-top: 1px solid var(--rule);
}
.article-meta .byline a { color: var(--ink); border-bottom: 1px solid var(--acc); }
.article-meta .dot { color: var(--rule); }
.article-meta .updated { color: var(--acc); }

.article-hero { margin: 32px 0 48px; }
.article-hero img { width: 100%; max-height: 600px; object-fit: cover; }
.article-hero figcaption {
  max-width: var(--max-narrow); margin: 14px auto 0;
  padding: 0 var(--gut);
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: 0.06em; color: var(--ink-mute);
  text-transform: uppercase;
}

.article-body {
  font-family: var(--f-serif);
  font-size: 19px; line-height: 1.7;
  color: var(--ink);
  margin-bottom: 56px;
}
.article-body > p { margin-bottom: 22px; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--f-disp); font-weight: 800;
  font-size: 4.4em; line-height: 0.85;
  float: left; padding: 8px 14px 0 0;
  color: var(--acc);
}
.article-body h2 {
  font-family: var(--f-disp); font-weight: 800;
  font-size: 32px; line-height: 1.1;
  letter-spacing: -0.03em; margin: 56px 0 18px;
}
.article-body h3 {
  font-family: var(--f-disp); font-weight: 700;
  font-size: 24px; line-height: 1.15;
  letter-spacing: -0.022em; margin: 40px 0 14px;
}
.article-body a { color: var(--acc); border-bottom: 1px solid var(--acc); }
.article-body a:hover { background: var(--acc); color: var(--bg); border-bottom: 1px solid var(--acc); }
.article-body blockquote {
  margin: 40px 0;
  padding: 20px 0 20px 28px;
  border-left: 4px solid var(--acc);
  font-family: var(--f-disp); font-weight: 500; font-style: italic;
  font-size: 24px; line-height: 1.4;
  color: var(--ink);
}
.article-body img { margin: 32px auto; }
.article-body figcaption { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase; text-align: center; margin-top: 10px; }
.article-body code { font-family: var(--f-mono); font-size: 0.85em; background: var(--bg-2); padding: 2px 6px; }
.article-body pre { background: var(--ink); color: var(--bg); padding: 24px; overflow-x: auto; margin: 32px 0; font-family: var(--f-mono); font-size: 14px; line-height: 1.5; }
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }
.article-body ul, .article-body ol { margin: 22px 0 22px 28px; }
.article-body li { margin-bottom: 8px; }

.article-tags {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}
.tags-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-right: 8px; }
.tag-chip {
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: 0.06em; color: var(--ink);
  border: 1px solid var(--ink); padding: 6px 14px;
  transition: background .14s, color .14s;
}
.tag-chip:hover { background: var(--acc); color: var(--bg); border-color: var(--acc); }

/* ── Share buttons ───────────────────────────────────── */
.share {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.share-label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-right: 8px;
}
.share a, .share button {
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: 0.06em; color: var(--ink);
  border: 1px solid var(--ink); padding: 8px 14px;
  background: transparent; cursor: pointer;
  transition: background .14s, color .14s;
}
.share a:hover, .share button:hover { background: var(--ink); color: var(--bg); }
.share .share-native { background: var(--acc); color: var(--bg); border-color: var(--acc); }
.share .share-native:hover { background: var(--ink); border-color: var(--ink); }

/* ── Author card ─────────────────────────────────────── */
.author-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 32px;
  background: var(--bg-2);
  margin-bottom: 56px;
  border-left: 4px solid var(--acc);
}
.author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-initial {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--acc); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-weight: 800; font-size: 28px;
}
.author-name { font-family: var(--f-disp); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.author-bio { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; }
.author-links { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.author-links a { color: var(--acc); border-bottom: 1px solid var(--acc); }

/* ── Comments ────────────────────────────────────────── */
.comments { margin-bottom: 64px; }
.comments .block-head { margin-bottom: 24px; }

/* ── Related ─────────────────────────────────────────── */
.related { padding: 64px 0; background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.related .grid { gap: 32px; }

/* ── Author head (page) ──────────────────────────────── */
.author-head { padding: 56px 0; border-bottom: 1px solid var(--rule); position: relative; }
.author-head::before { content:""; position:absolute; top:0; left: var(--gut); right: var(--gut); height:4px; background: var(--acc); }
.author-head-grid { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; }
.author-avatar-lg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-initial-lg {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--acc); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-weight: 800; font-size: 44px;
}

/* ── Tag head ────────────────────────────────────────── */
.tag-head { padding: 56px 0; border-bottom: 1px solid var(--rule); position: relative; }
.tag-head::before { content:""; position:absolute; top:0; left: var(--gut); right: var(--gut); height:4px; background: var(--acc); }

/* ── Pagination ──────────────────────────────────────── */
.pagination {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 0; margin-top: 48px;
  border-top: 1px solid var(--ink);
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.pagination a { color: var(--ink); border: 1px solid var(--ink); padding: 10px 18px; transition: background .14s, color .14s; }
.pagination a:hover { background: var(--ink); color: var(--bg); }
.pagination .nav.older { margin-left: auto; }
.page-number { color: var(--ink-mute); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 14px 24px;
  transition: background .14s, color .14s, border-color .14s;
}
.btn-acc { background: var(--acc); color: var(--bg); border: 1px solid var(--acc); }
.btn-acc:hover { background: var(--ink); border-color: var(--ink); }
.btn-out { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-out:hover { background: var(--ink); color: var(--bg); }

/* ── Error page ──────────────────────────────────────── */
.err { padding: 88px 0; }
.err-num {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(140px, 26vw, 320px);
  line-height: 0.9; letter-spacing: -0.06em;
  color: var(--ink); position: relative; display: inline-block;
}
.err-num .acc-bar {
  position: absolute; left: 0; bottom: 0.13em;
  width: 100%; height: 24px; background: var(--acc); z-index: -1;
}
.err-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ── Footer ──────────────────────────────────────────── */
.foot {
  background: var(--ink); color: rgba(255,255,255,.65);
  padding: 64px 0 28px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.foot-brand .brand-mark { font-family: var(--f-disp); font-weight: 800; font-size: 28px; letter-spacing: -0.04em; color: var(--bg); }
.foot-brand .italic { color: var(--acc); font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.foot-tagline { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 50ch; margin-top: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; font-weight: 600; }
.foot-cols ul { list-style: none; }
.foot-cols li { margin-bottom: 9px; }
.foot-cols a { font-size: 13.5px; color: rgba(255,255,255,.78); transition: color .14s; }
.foot-cols a:hover { color: var(--acc); }

.foot-legal { padding: 32px 0 26px; }
.foot-bug {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  color: rgba(255,255,255,.7); text-transform: uppercase;
  margin-bottom: 14px; font-weight: 500;
}
.foot-bug::before { content: "●"; color: var(--acc); margin-right: 8px; font-size: 8px; vertical-align: middle; }
.foot-disclaimer {
  font-size: 11.5px; line-height: 1.65;
  color: rgba(255,255,255,.45);
  max-width: 100ch; text-align: justify;
}

@media (max-width: 1000px) { .foot-top { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 700px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ════════════════════════════════════════════════════════════════
   Ghost Koenig editor card styles (required by theme validator)
   ════════════════════════════════════════════════════════════════ */
.kg-width-wide { max-width: 96vw; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-image { display: block; max-width: 100%; height: auto; margin: 32px auto; }
.kg-image-card figcaption { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase; text-align: center; margin-top: 10px; }

/* Gallery */
.kg-gallery-container { display: flex; flex-direction: column; max-width: 100%; margin: 32px 0; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image { flex: 1 1 auto; margin-right: 12px; }
.kg-gallery-image:last-of-type { margin-right: 0; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bookmark card */
.kg-bookmark-card { display: flex; border: 1px solid var(--rule); margin: 32px 0; transition: background .14s; }
.kg-bookmark-card:hover { background: var(--bg-2); }
.kg-bookmark-container { display: flex; min-height: 148px; color: inherit; text-decoration: none; flex-grow: 1; }
.kg-bookmark-content { flex-basis: 0; flex-grow: 999; padding: 20px; display: flex; flex-direction: column; }
.kg-bookmark-title { font-family: var(--f-disp); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.kg-bookmark-description { font-size: 14px; line-height: 1.5; color: var(--ink-3); margin-bottom: auto; max-height: 68px; overflow: hidden; }
.kg-bookmark-metadata { display: flex; align-items: center; margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.kg-bookmark-icon { width: 18px; height: 18px; margin-right: 8px; }
.kg-bookmark-author { color: var(--ink); margin-right: 8px; }
.kg-bookmark-publisher { display: inline-block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kg-bookmark-thumbnail { flex-basis: 24rem; flex-grow: 1; min-height: 148px; max-height: 200px; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; vertical-align: bottom; }

/* Embed cards (twitter, youtube, etc.) */
.kg-embed-card { margin: 32px 0; }
.kg-callout-card { margin: 32px 0; padding: 22px; background: var(--bg-2); border-left: 4px solid var(--acc); }
.kg-callout-card-emoji { font-size: 22px; margin-right: 12px; }
.kg-callout-text { font-size: 16px; line-height: 1.55; color: var(--ink); }
.kg-toggle-card { margin: 32px 0; padding: 20px; border: 1px solid var(--rule); }
.kg-toggle-card .kg-toggle-heading { display: flex; justify-content: space-between; cursor: pointer; }
.kg-toggle-card .kg-toggle-heading-text { font-family: var(--f-disp); font-weight: 700; font-size: 18px; }
.kg-button-card { display: flex; justify-content: center; margin: 32px 0; }
.kg-btn { display: inline-block; padding: 14px 28px; background: var(--acc); color: var(--bg); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.kg-btn-accent { background: var(--ink); }
