/* OG Blog: Medium-like reading layout for opportunist.global (dark). Fonts are self-hosted. */
@font-face{font-family:"Literata";font-style:normal;font-weight:400;font-display:swap;src:url(/wp-content/uploads/fonts/literata-regular.woff2) format("woff2")}
@font-face{font-family:"Literata";font-style:italic;font-weight:400;font-display:swap;src:url(/wp-content/uploads/fonts/literata-italic.woff2) format("woff2")}
@font-face{font-family:"Literata";font-style:normal;font-weight:600;font-display:swap;src:url(/wp-content/uploads/fonts/literata-semibold.woff2) format("woff2")}
@font-face{font-family:"Literata";font-style:normal;font-weight:700;font-display:swap;src:url(/wp-content/uploads/fonts/literata-bold.woff2) format("woff2")}
@font-face{font-family:"Literata";font-style:italic;font-weight:700;font-display:swap;src:url(/wp-content/uploads/fonts/literata-bolditalic.woff2) format("woff2")}

body.ogb{
  --ogb-text:#e4e4e4;--ogb-head:#f5f5f5;--ogb-muted:#9b9b9b;--ogb-faint:#6f6f6f;--ogb-line:#222;--ogb-card:#121212;
  --ogb-accent:#e82127;
  --ogb-serif:"Literata",Charter,"Bitstream Charter","Iowan Old Style",Georgia,Cambria,serif;
  --ogb-sans:"Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --ogb-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --ogb-col:680px;--ogb-wide:1040px;
}
body.ogb ::selection{background:rgba(232,33,39,.38);color:#fff}

/* ---------- reading progress ---------- */
.ogb-progress{position:fixed;top:0;left:0;right:0;height:2px;background:var(--ogb-accent);transform:scaleX(0);transform-origin:0 50%;z-index:1001;pointer-events:none}

/* ---------- single post frame ---------- */
html body.ogb.single-post .ast-container{max-width:calc(var(--ogb-col) + 48px) !important;padding:132px 24px 64px !important}
html body.ogb.single-post .entry-meta,
html body.ogb.single-post .ast-single-post-featured-section,
html body.ogb.single-post .post-thumb-img-content,
html body.ogb.single-post .post-navigation,
html body.ogb.single-post .ast-author-box{display:none !important}
html body.ogb.single-post .entry-header{margin:0 !important;padding:0 !important;text-align:left}
html body.ogb.single-post .ast-container article.post,html body.ogb.single-post .ast-container .ast-article-single{padding:0 !important;margin:0 !important;background:transparent !important}
html body.ogb.single-post h1.entry-title{
  font-family:var(--ogb-sans) !important;font-weight:700;color:var(--ogb-head) !important;
  font-size:clamp(2rem,4.4vw,2.7rem);line-height:1.17;letter-spacing:-.019em;margin:0 0 .62em;
  text-wrap:balance;
}

/* byline */
html body.ogb .ogb-byline{display:flex;align-items:center;gap:12px;margin:0 0 2.6em;padding:0 0 1.55em;border-bottom:1px solid var(--ogb-line);font-family:var(--ogb-sans)}
html body.ogb .ogb-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;margin:0 !important}
html body.ogb .ogb-by-text{display:flex;flex-direction:column;line-height:1.35;min-width:0}
html body.ogb .ogb-author{color:var(--ogb-head);font-weight:600;font-size:15px}
html body.ogb .ogb-meta{color:var(--ogb-muted);font-size:14px}
html body.ogb .entry-content a.ogb-tr{margin-left:auto;flex:none;font-family:var(--ogb-sans);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:#ddd;text-decoration:none;border:1px solid #333;border-radius:999px;padding:.6em 1em;white-space:nowrap;transition:border-color .2s,color .2s}
html body.ogb .entry-content a.ogb-tr:hover{border-color:var(--ogb-accent);color:#fff}

/* ---------- body text ---------- */
html body.ogb.single-post .entry-content,
html body.ogb.single-post .entry-content p,
html body.ogb.single-post .entry-content li,
html body.ogb.single-post .entry-content blockquote{
  font-family:var(--ogb-serif);font-size:20px;line-height:1.62;color:var(--ogb-text);letter-spacing:-.002em;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;
  font-kerning:normal;font-variant-ligatures:common-ligatures;
}
html body.ogb.single-post .entry-content p{margin:0 0 1.55em}
html body.ogb.single-post .entry-content > :first-child{margin-top:0}
html body.ogb.single-post .entry-content p.og-lead{font-size:22px;line-height:1.5;color:#b8b8b8;margin-bottom:1.7em}
html body.ogb.single-post .entry-content strong,
html body.ogb.single-post .entry-content b{color:#fff;font-weight:700}
html body.ogb.single-post .entry-content a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:.17em;text-decoration-color:rgba(255,255,255,.42);transition:text-decoration-color .15s,color .15s}
html body.ogb.single-post .entry-content a:hover{color:#fff;text-decoration-color:var(--ogb-accent)}

/* headings */
html body.ogb.single-post .entry-content h2{font-family:var(--ogb-sans);font-weight:700;color:var(--ogb-head);
  font-size:27px;line-height:1.28;letter-spacing:-.014em;margin:2.05em 0 .55em;text-wrap:balance}
html body.ogb.single-post .entry-content h3{font-family:var(--ogb-sans);font-weight:700;color:var(--ogb-head);
  font-size:21px;line-height:1.35;letter-spacing:-.01em;margin:1.8em 0 .5em}
html body.ogb.single-post .entry-content h2 + h3{margin-top:.6em}

/* lists */
html body.ogb.single-post .entry-content ul,
html body.ogb.single-post .entry-content ol{margin:0 0 1.55em;padding-left:1.45em}
html body.ogb.single-post .entry-content li{margin:.5em 0;padding-left:.25em}
html body.ogb.single-post .entry-content li::marker{color:#8c8c8c}

/* quotes */
html body.ogb.single-post .entry-content blockquote.wp-block-quote{border-left:3px solid #d6d6d6;margin:2em 0;padding:.05em 0 .05em 1.15em;font-style:italic;color:#dcdcdc;background:none}
html body.ogb.single-post .entry-content blockquote.wp-block-quote p{margin:0 0 .9em;color:#dcdcdc;font-style:italic}
html body.ogb.single-post .entry-content blockquote.wp-block-quote p:last-child{margin-bottom:0}
html body.ogb.single-post .entry-content figure.wp-block-pullquote{margin:2.4em 0;padding:0;border:0;text-align:left;box-shadow:none;background:none}
html body.ogb.single-post .entry-content figure.wp-block-pullquote blockquote{margin:0;padding:.1em 0 .1em 1.1em;border-left:3px solid var(--ogb-accent);background:none}
html body.ogb.single-post .entry-content figure.wp-block-pullquote p{font-family:var(--ogb-serif);font-size:27px;line-height:1.45;font-style:italic;color:#f4f4f4;margin:0;letter-spacing:-.006em}

/* images, galleries, captions */
html body.ogb.single-post .entry-content figure{margin:2.3em 0}
html body.ogb.single-post .entry-content figure.wp-block-image img{display:block;width:100%;height:auto;border-radius:4px}
html body.ogb.single-post .entry-content figcaption,
html body.ogb.single-post .entry-content .wp-element-caption{font-family:var(--ogb-sans);font-size:14px;line-height:1.5;color:#8f8f8f !important;text-align:center;margin:.8em auto 0;max-width:600px}
html body.ogb.single-post .entry-content .alignwide{width:min(var(--ogb-wide),calc(100vw - 32px));max-width:none;margin-left:50%;transform:translateX(-50%)}
html body.ogb.single-post .entry-content .wp-block-gallery{gap:10px}
html body.ogb.single-post .entry-content .wp-block-gallery figure{margin:0}

/* section break · · · */
html body.ogb.single-post .entry-content hr.wp-block-separator{border:0 !important;background:none;height:auto;width:auto;max-width:none;margin:2.7em auto;text-align:center;line-height:1;opacity:1}
html body.ogb.single-post .entry-content hr.wp-block-separator::before{content:"\00b7\00b7\00b7";display:inline-block;font-family:var(--ogb-serif);font-size:30px;letter-spacing:.75em;padding-left:.75em;color:#8a8a8a}

/* code */
html body.ogb.single-post .entry-content code{font-family:var(--ogb-mono);font-size:.82em;background:#1a1a1a;border:1px solid #262626;border-radius:4px;padding:.1em .36em}
html body.ogb.single-post .entry-content pre.wp-block-code{background:#141414;border:1px solid #242424;border-radius:6px;padding:18px 20px;margin:0 0 1.6em;overflow:auto}
html body.ogb.single-post .entry-content pre.wp-block-code code{border:0;background:none;padding:0;font-size:15px;line-height:1.6;white-space:pre}

/* tables */
html body.ogb.single-post .entry-content figure.og-table{overflow-x:auto;margin:2.2em 0}
html body.ogb.single-post .entry-content .og-table table{width:100%;border-collapse:collapse;font-family:var(--ogb-sans);font-size:15px;line-height:1.45;color:#ddd}
html body.ogb.single-post .entry-content .og-table th,
html body.ogb.single-post .entry-content .og-table td{border:0;border-bottom:1px solid #262626;padding:.7em .75em;text-align:left;vertical-align:top}
html body.ogb.single-post .entry-content .og-table th{color:#fff;font-weight:600;border-bottom-color:#444}
html body.ogb.single-post .entry-content .og-table td[colspan]{color:#fff;padding-top:1.3em;font-size:13px;letter-spacing:.06em;text-transform:uppercase}

/* YouTube (click to load) */
html body.ogb.single-post .entry-content figure.og-yt{margin:2.3em 0}
html body.ogb.single-post .entry-content a.og-yt-a{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#000;text-decoration:none}
html body.ogb.single-post .entry-content a.og-yt-a img{display:block;width:100%;height:100%;object-fit:cover;opacity:.82;transition:opacity .25s,transform .5s}
html body.ogb.single-post .entry-content a.og-yt-a:hover img{opacity:1;transform:scale(1.015)}
html body.ogb .og-yt-play{position:absolute;left:50%;top:50%;width:74px;height:74px;margin:-37px 0 0 -37px;border-radius:50%;
  background:rgba(10,10,10,.62);border:2px solid rgba(255,255,255,.9);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .2s,transform .2s}
html body.ogb .og-yt-play::after{content:"";position:absolute;left:29px;top:22px;border-style:solid;border-width:14px 0 14px 23px;border-color:transparent transparent transparent #fff}
html body.ogb a.og-yt-a:hover .og-yt-play{background:var(--ogb-accent);border-color:var(--ogb-accent);transform:scale(1.06)}
html body.ogb.single-post .entry-content figure.og-yt iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:6px}

/* link cards */
html body.ogb.single-post .entry-content p.og-linkcard{border:1px solid #2a2a2a;border-radius:8px;padding:16px 20px;font-family:var(--ogb-sans);font-size:15px;line-height:1.5;color:var(--ogb-muted)}
html body.ogb.single-post .entry-content p.og-linkcard a{text-decoration:none;color:var(--ogb-head)}

/* ---------- post footer ---------- */
html body.ogb.single-post .ogp-postfoot{max-width:none;margin:3.6em 0 0;border-top:1px solid var(--ogb-line);padding-top:2em}
html body.ogb .ogp-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-family:var(--ogb-sans);font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 2.6em}
html body.ogb .ogp-share > span{color:var(--ogb-faint);margin-right:4px}
html body.ogb .entry-content .ogp-share a,html body.ogb .ogp-share .ogp-copy{color:#fff;background:transparent;border:1px solid #333;border-radius:999px;padding:9px 16px;cursor:pointer;font:inherit;text-transform:inherit;text-decoration:none;letter-spacing:.12em;transition:border-color .2s}
html body.ogb .entry-content .ogp-share a:hover,html body.ogb .ogp-share .ogp-copy:hover{border-color:var(--ogb-accent)}
html body.ogb .entry-content .ogp-share a.ogp-backjournal{margin-left:auto;border:0;border-bottom:1.5px solid var(--ogb-accent);border-radius:0;padding:0 0 3px;margin-bottom:0;font-size:11px;font-weight:700}
html body.ogb.single-post .entry-content h3.ogp-rel-h,html body.ogb .ogp-rel-h{font-family:var(--ogb-sans);font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ogb-muted);margin:0 0 1.1em}
html body.ogb .ogp-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0}
html body.ogb .entry-content a.ogp-rel-card{display:flex;flex-direction:column;gap:12px;text-decoration:none;background:none;border:0;border-radius:0}
html body.ogb .ogp-rel-img{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:4px;background:#161616}
html body.ogb .ogp-rel-img img{display:block;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .5s}
html body.ogb a.ogp-rel-card:hover .ogp-rel-img img{transform:scale(1.04)}
html body.ogb .ogp-rel-title{padding:0;font-family:var(--ogb-sans);font-size:15px;font-weight:700;line-height:1.35;color:#eee;letter-spacing:-.005em}
html body.ogb a.ogp-rel-card:hover .ogp-rel-title{color:#fff}

/* ---------- archives: /blog/, /sk/, /en/ ---------- */
html body.ogb-archive-page .site-content,html body.ogb-archive-page #primary,html body.ogb-archive-page .ast-container{
  max-width:100% !important;width:100% !important;margin:0 !important;padding:0 !important;background:transparent !important;border:0 !important;display:block}
.ogb-archive{max-width:760px;margin:0 auto;padding:136px 24px 72px;font-family:var(--ogb-sans);color:var(--ogb-text)}
.ogb-ahead{margin:0 0 2.4em}
.ogb-eyebrow{font-size:11px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:rgba(255,255,255,.5);margin:0 0 14px}
.ogb-atitle{font-family:var(--ogb-sans);font-size:clamp(2.3rem,5.6vw,3.5rem);font-weight:800;letter-spacing:-.025em;line-height:1.04;color:#fff;margin:0 0 .35em}
.ogb-asub{font-family:var(--ogb-serif);font-size:19px;line-height:1.55;color:#a9a9a9;max-width:56ch;margin:0 0 1.6em}
.ogb-chips{display:flex;flex-wrap:wrap;gap:8px}
.ogb-chips a{display:inline-flex;align-items:center;gap:.5em;border:1px solid #2e2e2e;border-radius:999px;padding:.55em 1.05em;font-size:13px;font-weight:600;color:#d0d0d0 !important;text-decoration:none !important;transition:border-color .2s,background .2s}
.ogb-chips a span{color:#7d7d7d;font-weight:500}
.ogb-chips a:hover{border-color:#5a5a5a}
.ogb-chips a.is-on{background:#f2f2f2;border-color:#f2f2f2;color:#0a0a0a !important}
.ogb-chips a.is-on span{color:#666}

.ogb-item{border-top:1px solid #1d1d1d}
.ogb-item > a{display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:30px;align-items:center;padding:28px 0;text-decoration:none !important;color:inherit}
.ogb-item-text{display:flex;flex-direction:column;gap:8px;min-width:0}
.ogb-item-meta{display:flex;align-items:center;gap:.5em;font-size:13px;color:var(--ogb-muted)}
.ogb-lang{font-size:10px;font-weight:700;letter-spacing:.12em;color:#cfcfcf;border:1px solid #3a3a3a;border-radius:4px;padding:.15em .45em}
.ogb-item-title{font-size:21px;font-weight:700;line-height:1.3;letter-spacing:-.012em;color:#f2f2f2;text-wrap:balance}
.ogb-item > a:hover .ogb-item-title{text-decoration:underline;text-decoration-color:var(--ogb-accent);text-decoration-thickness:1.5px;text-underline-offset:.18em}
.ogb-item-ex{font-family:var(--ogb-serif);font-size:16px;line-height:1.55;color:#9d9d9d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ogb-item-img{display:block;aspect-ratio:3/2;overflow:hidden;border-radius:4px;background:#161616}
.ogb-item-img img{display:block;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .5s}
.ogb-item > a:hover .ogb-item-img img{transform:scale(1.04)}
.ogb-item--feat{border-top:0}
.ogb-item--feat > a{grid-template-columns:1fr;gap:20px;padding:8px 0 36px}
.ogb-item--feat .ogb-item-img{aspect-ratio:16/9;border-radius:6px}
.ogb-item--feat .ogb-item-title{font-size:clamp(1.6rem,3.6vw,2.1rem);line-height:1.2;letter-spacing:-.02em}
.ogb-item--feat .ogb-item-ex{font-size:18px;-webkit-line-clamp:3}
.ogb-empty{color:var(--ogb-muted);padding:2em 0}
.ogb-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:2.6em 0 0;padding-top:2em;border-top:1px solid #1d1d1d}
.ogb-pages .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 .9em;border:1px solid #2e2e2e;border-radius:999px;font-size:13px;font-weight:600;color:#d0d0d0 !important;text-decoration:none !important}
.ogb-pages .page-numbers.current{background:#f2f2f2;border-color:#f2f2f2;color:#0a0a0a !important}
.ogb-pages a.page-numbers:hover{border-color:#5a5a5a}
.ogb-pages .dots{border:0}

/* ---------- small screens ---------- */
@media (max-width:640px){
  html body.ogb.single-post .ast-container{padding:104px 20px 48px !important}
  html body.ogb.single-post h1.entry-title{font-size:30px;line-height:1.2}
  html body.ogb.single-post .entry-content,
  html body.ogb.single-post .entry-content p,
  html body.ogb.single-post .entry-content li,
  html body.ogb.single-post .entry-content blockquote{font-size:18px;line-height:1.62}
  html body.ogb.single-post .entry-content p.og-lead{font-size:19px}
  html body.ogb.single-post .entry-content h2{font-size:23px}
  html body.ogb.single-post .entry-content h3{font-size:19px}
  html body.ogb.single-post .entry-content figure.wp-block-pullquote p{font-size:22px}
  html body.ogb.single-post .entry-content figure.wp-block-image{margin-left:-20px;margin-right:-20px}
  html body.ogb.single-post .entry-content figure.wp-block-image img{border-radius:0}
  html body.ogb .ogb-byline{flex-wrap:wrap}
  html body.ogb .entry-content a.ogb-tr{margin-left:0}
  html body.ogb .ogp-rel-grid{grid-template-columns:1fr}
  html body.ogb .entry-content a.ogp-rel-card{flex-direction:row;align-items:center;gap:14px}
  html body.ogb .ogp-rel-img{flex:none;width:96px;aspect-ratio:1}
  html body.ogb .entry-content .ogp-share a.ogp-backjournal{margin-left:0;flex-basis:100%;margin-top:10px;align-self:flex-start}
  .ogb-archive{padding:108px 20px 56px}
  .ogb-item > a{grid-template-columns:minmax(0,1fr) 92px;gap:16px;padding:22px 0}
  .ogb-item-img{aspect-ratio:1}
  .ogb-item-title{font-size:17px}
  .ogb-item-ex{font-size:15px}
  .ogb-item--feat > a{grid-template-columns:1fr}
  .ogb-item--feat .ogb-item-img{aspect-ratio:16/9;margin:0 -20px;border-radius:0}
}

/* Astra adds a decorative quote glyph to blockquotes; Medium has none */
html body.ogb.single-post .entry-content blockquote::before,
html body.ogb.single-post .entry-content blockquote::after,
html body.ogb.single-post .entry-content .wp-block-pullquote::before{content:none !important;display:none !important}
html body.ogb.single-post .entry-content blockquote p{background:none !important}

/* posts without any image */
.ogb-item--noimg > a{grid-template-columns:1fr}
html body.ogb .ogp-rel-img:empty{background:radial-gradient(120% 90% at 0% 0%,#2a1416 0%,#141414 55%,#101010 100%);position:relative}
html body.ogb .ogp-rel-img:empty::after{content:"\2726";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.35);font-size:22px}
