/* Oxford Impulse Blog Layout */

body.oi-bl {
	--oi-ink: #0f172a;
	--oi-body: #334155;
	--oi-strong: #1e293b;
	--oi-muted: #64748b;
	--oi-line: #e2e8f0;
	--oi-soft: #f8fafc;
	--oi-blue: #2563eb;
	--oi-blue-d: #1e40af;
	--oi-link: #1d4ed8;
	--oi-blue-soft: #eff6ff;
	--oi-blue-line: #bfdbfe;
	--oi-blue-ink: #1e3a8a;
	--oi-orange-ink: #c2410c;
	--oi-orange-soft: #fff7ed;
	--oi-orange-line: #fed7aa;
	--oi-orange-deep: #9a3412;
	--oi-peach: #fdba74;
	--oi-head: 'Space Grotesk', 'Hanken Grotesk', system-ui, sans-serif;
	--oi-text: Inter, 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--oi-sticky-top: 112px;
	/* body overflow-x:hidden (from the theme) stops position:sticky working; clip keeps the same look without that side effect. */
	overflow-x: clip;
	overflow-y: visible;
}

/* Hide the theme's own post banner; this layout has its own. */
body.oi-bl .reactheme-breadcrumbs,
body.oi-bl .rt-single-breadcrumbs { display: none !important; }
body.oi-bl .main-contain > .container { max-width: none !important; padding: 0 !important; }
body.oi-bl #content { padding: 0 !important; }

.oi-bl-wrap,
.oi-mbar,
.oi-sheet {
	font-family: var(--oi-text);
	color: var(--oi-body);
	-webkit-font-smoothing: antialiased;
}
.oi-bl-wrap *,
.oi-mbar *,
.oi-sheet * { box-sizing: border-box; }

.oi-bl-wrap a { color: var(--oi-link); }
.oi-bl-wrap a:hover { color: var(--oi-blue-d); }
.oi-bl-wrap .oi-ic { flex: none; display: inline-block; vertical-align: middle; }
.oi-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: no-preference) {
	html:has(body.oi-bl) { scroll-behavior: smooth; }
}

/* Reading progress ------------------------------------------------------ */
.oi-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100000; pointer-events: none; }
.oi-progress span { display: block; height: 100%; background: #3b82f6; transform-origin: 0 50%; transform: scaleX(0); }

/* Hero ------------------------------------------------------------------ */
.oi-bl-wrap .oi-hero {
	background-color: var(--oi-ink);
	background-image: radial-gradient(at 0% 0%, rgba(92, 51, 10, 0.35) 0, transparent 50%), radial-gradient(at 100% 100%, rgba(31, 44, 71, 0.5) 0, transparent 50%);
	color: #cbd5e1;
}
.oi-bl-wrap .oi-hero-in {
	max-width: 1120px;
	margin: 0 auto;
	padding: calc(var(--oi-header-h, 92px) + 36px) 24px 48px;
}
.oi-bl-wrap .oi-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; line-height: 1.4; color: #94a3b8; }
.oi-bl-wrap .oi-crumbs a { color: #94a3b8; text-decoration: none; }
.oi-bl-wrap .oi-crumbs a:hover { color: #ffffff; }
.oi-bl-wrap .oi-crumbs .oi-crumbs-current { color: #cbd5e1; }
.oi-bl-wrap .oi-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.oi-bl-wrap a.oi-chip {
	display: inline-block; background: rgba(249, 115, 22, 0.16); color: var(--oi-peach);
	font: 700 12px/1.2 var(--oi-text); letter-spacing: 0.08em; text-transform: uppercase;
	padding: 7px 12px; border-radius: 999px; text-decoration: none;
}
.oi-bl-wrap a.oi-chip:hover { color: #ffffff; }
.oi-bl-wrap h1.oi-title {
	margin: 18px 0 0; max-width: 880px; padding: 0;
	font-family: var(--oi-head); font-weight: 700; font-size: clamp(32px, 4.4vw, 54px);
	line-height: 1.1; letter-spacing: -0.025em; color: #ffffff; text-transform: none;
}
.oi-bl-wrap .oi-deck { margin: 18px 0 0; max-width: 720px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #cbd5e1; }
.oi-bl-wrap .oi-meta {
	margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14);
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 14px; color: #94a3b8;
}
.oi-bl-wrap .oi-meta-author { display: flex; align-items: center; gap: 12px; }
.oi-bl-wrap .oi-meta-name { font-weight: 600; font-size: 16px; color: #ffffff; line-height: 1.3; }
.oi-bl-wrap .oi-meta-sub { font-size: 14px; color: #94a3b8; line-height: 1.4; }
.oi-bl-wrap .oi-meta-item { display: flex; align-items: center; gap: 8px; }

.oi-bl-wrap .oi-avatar {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	border-radius: 999px; background: #1e293b; color: #ffffff; object-fit: cover;
	font-family: var(--oi-head); font-weight: 700; border: 2px solid rgba(255, 255, 255, 0.14);
}
.oi-bl-wrap .oi-avatar--md { width: 46px; height: 46px; font-size: 15px; }
.oi-bl-wrap .oi-avatar--lg { width: 72px; height: 72px; font-size: 22px; background: var(--oi-ink); border: 0; }

/* Body layout ----------------------------------------------------------- */
.oi-bl-wrap .oi-body {
	max-width: 1120px; margin: 0 auto; padding: 48px 24px 88px;
	display: flex; flex-wrap: wrap; align-items: stretch; gap: 56px;
}
.oi-bl-wrap .oi-article { flex: 999 1 560px; min-width: 0; max-width: 720px; margin: 0 auto; }
.oi-bl-wrap .oi-side { flex: 1 1 260px; min-width: 0; display: none; }
@media (min-width: 1000px) {
	.oi-bl-wrap .oi-side { display: block; }
	.oi-bl-wrap .oi-sticky { position: sticky; top: var(--oi-sticky-top); display: flex; flex-direction: column; gap: 20px; }
}

/* Article typography ---------------------------------------------------- */
.oi-bl-wrap .oi-content { font-size: 18px; line-height: 1.75; color: var(--oi-body); overflow-wrap: break-word; }
.oi-bl-wrap .oi-content .elementor,
.oi-bl-wrap .oi-content .e-con,
.oi-bl-wrap .oi-content .e-con-inner,
.oi-bl-wrap .oi-content .elementor-widget-container {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	--container-max-width: 100%; --content-width: 100%; max-width: 100%;
}
.oi-bl-wrap .oi-content p { margin: 0 0 22px; font-size: 18px; line-height: 1.75; color: var(--oi-body); font-family: var(--oi-text); }
.oi-bl-wrap .oi-content p.oi-lead { font-size: 19px; color: var(--oi-strong); }
.oi-bl-wrap .oi-content h2 {
	margin: 64px 0 20px; padding: 0; font-family: var(--oi-head); font-weight: 700;
	font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--oi-ink);
	text-transform: none; scroll-margin-top: var(--oi-sticky-top);
}
.oi-bl-wrap .oi-content h3 {
	margin: 36px 0 12px; padding: 0; font-family: var(--oi-head); font-weight: 700;
	font-size: clamp(20px, 2vw, 23px); line-height: 1.3; color: var(--oi-ink); text-transform: none;
}
.oi-bl-wrap .oi-content h4 { margin: 28px 0 10px; font-family: var(--oi-head); font-size: 19px; line-height: 1.35; color: var(--oi-ink); }
.oi-bl-wrap .oi-content strong,
.oi-bl-wrap .oi-content b { color: var(--oi-ink); font-weight: 600; }
.oi-bl-wrap .oi-content ul,
.oi-bl-wrap .oi-content ol { margin: 0 0 24px; padding-left: 24px; font-size: 18px; line-height: 1.7; color: var(--oi-body); }
.oi-bl-wrap .oi-content ul { list-style: disc; }
.oi-bl-wrap .oi-content ol { list-style: decimal; }
.oi-bl-wrap .oi-content li { margin: 0 0 10px; padding-left: 4px; }
.oi-bl-wrap .oi-content li::marker { color: var(--oi-muted); }
.oi-bl-wrap .oi-content a { color: var(--oi-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.oi-bl-wrap .oi-content img { max-width: 100%; height: auto; border-radius: 16px; }
.oi-bl-wrap .oi-content figure { margin: 28px 0; }
.oi-bl-wrap .oi-content figcaption { margin-top: 10px; font-size: 14px; color: var(--oi-muted); }
.oi-bl-wrap .oi-content blockquote {
	margin: 28px 0; padding: 20px 24px; background: var(--oi-soft); border: 1px solid var(--oi-line);
	border-radius: 16px; font-size: 18px; color: var(--oi-strong);
}
.oi-bl-wrap .oi-content blockquote p:last-child { margin-bottom: 0; }
.oi-bl-wrap .oi-content hr { border: 0; border-top: 1px solid var(--oi-line); margin: 40px 0; }
.oi-bl-wrap .oi-content > :first-child,
.oi-bl-wrap .oi-content .elementor-widget-container > :first-child { margin-top: 0; }

/* Short answer --------------------------------------------------------------- */
.oi-bl-wrap .oi-answer {
	margin: 0 0 32px; padding: 26px 26px 6px; background: var(--oi-soft);
	border: 1px solid var(--oi-line); border-radius: 20px; scroll-margin-top: var(--oi-sticky-top);
}
.oi-bl-wrap .oi-answer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.oi-bl-wrap .oi-answer-icon {
	width: 34px; height: 34px; border-radius: 10px; background: var(--oi-ink); color: #ffffff;
	display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.oi-bl-wrap .oi-answer-title { font-family: var(--oi-head); font-size: 21px; font-weight: 700; color: var(--oi-ink); line-height: 1.3; }
.oi-bl-wrap .oi-content .oi-answer p { font-size: 17px; line-height: 1.7; color: var(--oi-strong); margin-bottom: 20px; }
.oi-bl-wrap .oi-content .oi-answer strong { font-weight: 500; color: var(--oi-strong); }

/* Step labels --------------------------------------------------------------- */
.oi-bl-wrap .oi-step-head { display: flex; align-items: center; gap: 12px; margin: 64px 0 12px; }
.oi-bl-wrap .oi-step-num {
	width: 36px; height: 36px; border-radius: 10px; background: var(--oi-ink); color: #ffffff;
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	font: 700 18px/1 var(--oi-head);
}
.oi-bl-wrap .oi-step-kicker { font: 700 13px/1.2 var(--oi-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--oi-orange-ink); }
.oi-bl-wrap .oi-content .oi-step-head + h2 { margin-top: 0; }

/* Labelled boxes -------------------------------------------------------- */
.oi-bl-wrap .oi-callout { margin: 28px 0; padding: 18px 22px 2px; border-radius: 16px; border: 1px solid var(--oi-line); background: var(--oi-soft); }
.oi-bl-wrap .oi-content .oi-callout p { font-size: 17px; line-height: 1.65; color: var(--oi-strong); margin: 6px 0 16px; }
.oi-bl-wrap .oi-content .oi-callout p.oi-callout-label {
	display: flex; align-items: center; gap: 8px; margin: 0;
	font: 700 12px/1.3 var(--oi-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--oi-ink);
}
.oi-bl-wrap .oi-callout--info { background: var(--oi-blue-soft); border-color: var(--oi-blue-line); }
.oi-bl-wrap .oi-content .oi-callout--info p.oi-callout-label { color: var(--oi-blue-ink); }
.oi-bl-wrap .oi-callout--warn { background: var(--oi-orange-soft); border-color: var(--oi-orange-line); }
.oi-bl-wrap .oi-content .oi-callout--warn p.oi-callout-label { color: var(--oi-orange-deep); }

/* Tables ---------------------------------------------------------------- */
.oi-bl-wrap .oi-table-wrap { margin: 28px 0; border: 1px solid var(--oi-line); border-radius: 16px; overflow-x: auto; }
.oi-bl-wrap .oi-table-wrap:focus-visible { outline: 2px solid var(--oi-blue); outline-offset: 2px; }
.oi-bl-wrap .oi-content table { width: 100%; min-width: 520px; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.55; border: 0; }
.oi-bl-wrap .oi-content th,
.oi-bl-wrap .oi-content td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--oi-line); color: var(--oi-body); }
.oi-bl-wrap .oi-content th { background: var(--oi-soft); color: var(--oi-ink); font-weight: 600; }
.oi-bl-wrap .oi-content tr:last-child td { border-bottom: 0; }

/* Checklist card ------------------------------------------------------- */
.oi-bl-wrap .oi-card { margin: 64px 0 0; padding: 32px 32px 12px; background: var(--oi-soft); border: 1px solid var(--oi-line); border-radius: 20px; }
.oi-bl-wrap .oi-content .oi-card h2 { margin-top: 0; }
.oi-bl-wrap .oi-content ul.oi-checklist,
.oi-bl-wrap .oi-content ol.oi-checklist { list-style: none; padding: 0; margin: 0 0 20px; }
.oi-bl-wrap .oi-content .oi-checklist li { margin: 0; padding: 0; border-bottom: 1px solid var(--oi-line); }
.oi-bl-wrap .oi-content .oi-checklist li:last-child { border-bottom: 0; }
.oi-bl-wrap .oi-check { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; font-size: 17px; line-height: 1.55; color: var(--oi-strong); cursor: pointer; margin: 0; }
.oi-bl-wrap .oi-check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--oi-blue); cursor: pointer; }
.oi-bl-wrap .oi-check input:checked + span { color: var(--oi-muted); text-decoration: line-through; text-decoration-color: #94a3b8; }

/* FAQ ------------------------------------------------------------------- */
.oi-bl-wrap .oi-faq { border-top: 1px solid var(--oi-line); margin: 0 0 24px; }
.oi-bl-wrap .oi-faq-item { border-bottom: 1px solid var(--oi-line); }
.oi-bl-wrap .oi-faq-item > summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 0; cursor: pointer; list-style: none; color: var(--oi-ink); min-height: 44px;
}
.oi-bl-wrap .oi-faq-item > summary::-webkit-details-marker { display: none; }
.oi-bl-wrap .oi-faq-item > summary:focus-visible { outline: 2px solid var(--oi-blue); outline-offset: 4px; border-radius: 6px; }
.oi-bl-wrap .oi-content .oi-faq-q { margin: 0; font-family: var(--oi-head); font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--oi-ink); }
.oi-bl-wrap .oi-faq-item > summary .oi-ic { transition: transform 0.2s ease; color: var(--oi-muted); }
.oi-bl-wrap .oi-faq-item[open] > summary .oi-ic { transform: rotate(180deg); }
.oi-bl-wrap .oi-faq-a { padding: 0 0 4px; }
.oi-bl-wrap .oi-content .oi-faq-a p { font-size: 17px; line-height: 1.7; margin-bottom: 18px; }

/* Sources & citations --------------------------------------------------- */
.oi-bl-wrap .oi-content ol.oi-sources,
.oi-bl-wrap .oi-content ul.oi-sources { font-size: 16px; line-height: 1.6; }
.oi-bl-wrap .oi-content .oi-sources li { scroll-margin-top: var(--oi-sticky-top); border-radius: 6px; }
.oi-bl-wrap .oi-content .oi-sources li:target { background: #fef9c3; }
.oi-bl-wrap .oi-src-domain { color: var(--oi-muted); font-size: 14px; }
.oi-bl-wrap .oi-src-domain::before { content: "\00B7\00A0"; }
.oi-bl-wrap .oi-content sup.oi-cite { font-size: 12px; line-height: 0; margin-left: 2px; vertical-align: super; }
.oi-bl-wrap .oi-content sup.oi-cite a { text-decoration: none; font-weight: 600; }

/* Buttons --------------------------------------------------------------- */
.oi-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px; border-radius: 12px;
	font: 600 15px/1.2 var(--oi-text); text-decoration: none !important; cursor: pointer;
	transition: filter 0.15s ease, background-color 0.15s ease;
}
.oi-btn--primary,
.oi-bl-wrap a.oi-btn--primary,
.oi-mbar a.oi-btn--primary { background-image: linear-gradient(to right, #2563eb, #1e40af); color: #ffffff !important; border: 0; }
.oi-btn--primary:hover { filter: brightness(1.08); }
.oi-bl-wrap a.oi-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #ffffff; background: transparent; }
.oi-bl-wrap a.oi-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.oi-bl-wrap a.oi-btn--link { color: var(--oi-link); background: transparent; min-height: 44px; }
.oi-bl-wrap .oi-btn--block { display: flex; width: 100%; }
.oi-bl-wrap .oi-btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.oi-btn:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }

/* Offers ---------------------------------------------------------------- */
.oi-bl-wrap .oi-offer--inline {
	margin: 48px 0 0; padding: 32px; border-radius: 20px;
	background-color: var(--oi-ink);
	background-image: radial-gradient(at 0% 0%, rgba(92, 51, 10, 0.45) 0, transparent 55%), radial-gradient(at 100% 100%, rgba(30, 64, 175, 0.35) 0, transparent 55%);
	display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
}
.oi-bl-wrap .oi-offer--inline + .oi-step-head { margin-top: 56px; }
.oi-bl-wrap .oi-offer-copy { flex: 1 1 300px; min-width: 0; }
.oi-bl-wrap .oi-offer-actions { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.oi-bl-wrap .oi-content .oi-offer p { margin: 0; }
.oi-bl-wrap .oi-content .oi-offer-label,
.oi-bl-wrap .oi-endband .oi-offer-label { font: 700 12px/1.3 var(--oi-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--oi-peach); }
.oi-bl-wrap .oi-content .oi-offer--inline .oi-offer-heading { margin-top: 8px; font: 700 25px/1.25 var(--oi-head); color: #ffffff; }
.oi-bl-wrap .oi-content .oi-offer--inline .oi-offer-text { margin-top: 10px; font-size: 16px; line-height: 1.6; color: #cbd5e1; }

.oi-bl-wrap .oi-offer--side { padding: 20px; border-radius: 20px; background: var(--oi-blue-soft); border: 1px solid var(--oi-blue-line); }
.oi-bl-wrap .oi-offer--side .oi-offer-heading { margin: 0; font: 700 18px/1.3 var(--oi-head); color: var(--oi-ink); }
.oi-bl-wrap .oi-offer--side .oi-offer-text { margin: 6px 0 14px; font-size: 14px; line-height: 1.5; color: var(--oi-body); }
.oi-bl-wrap .oi-offer--side .oi-btn--primary { min-height: 46px; }
.oi-bl-wrap .oi-offer--side .oi-btn--link { margin-top: 2px; font-size: 14px; min-height: 40px; }

.oi-bl-wrap .oi-endband {
	background-color: var(--oi-ink);
	background-image: radial-gradient(at 0% 0%, rgba(92, 51, 10, 0.4) 0, transparent 50%), radial-gradient(at 100% 100%, rgba(30, 64, 175, 0.3) 0, transparent 50%);
}
.oi-bl-wrap .oi-endband-in { max-width: 760px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.oi-bl-wrap .oi-endband .oi-offer-label { margin: 0; }
.oi-bl-wrap h2.oi-endband-title { margin: 14px 0 0; padding: 0; font: 700 clamp(28px, 3.6vw, 42px)/1.15 var(--oi-head); letter-spacing: -0.02em; color: #ffffff; text-transform: none; }
.oi-bl-wrap .oi-endband .oi-offer-text { margin: 16px auto 0; max-width: 600px; font-size: 18px; line-height: 1.65; color: #cbd5e1; }
.oi-bl-wrap .oi-endband-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Table of contents ----------------------------------------------------- */
.oi-bl-wrap .oi-toc { border: 1px solid var(--oi-line); border-radius: 20px; padding: 18px 12px; background: #ffffff; max-height: max(240px, calc(100vh - var(--oi-sticky-top) - 290px)); overflow-y: auto; overscroll-behavior: contain; }
.oi-bl-wrap .oi-toc-title { margin: 0; padding: 0 10px 10px; font: 700 12px/1.3 var(--oi-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--oi-muted); }
.oi-toc-list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 2px; }
.oi-toc-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.oi-toc-list li::before { display: none !important; }
.oi-toc-list a {
	display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px;
	font: 400 14px/1.45 var(--oi-text); color: #475569 !important; text-decoration: none !important;
}
.oi-toc-list a:hover { background: var(--oi-soft); color: var(--oi-ink) !important; }
.oi-toc-list a.is-active { background: var(--oi-blue-soft); color: var(--oi-link) !important; font-weight: 600; }
.oi-toc-num { width: 14px; flex: none; color: var(--oi-muted); font-weight: 600; }
.oi-toc-list a.is-active .oi-toc-num { color: var(--oi-link); }

/* Share + author -------------------------------------------------------- */
.oi-bl-wrap .oi-share { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--oi-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.oi-bl-wrap .oi-share-label { font: 700 16px/1.3 var(--oi-head); color: var(--oi-ink); }
.oi-bl-wrap .oi-share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.oi-bl-wrap .oi-pill {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--oi-line); background: #ffffff; color: var(--oi-body) !important;
	text-decoration: none !important; font: 600 14px/1 var(--oi-text); cursor: pointer;
}
.oi-bl-wrap .oi-pill:hover { border-color: #cbd5e1; background: var(--oi-soft); }

.oi-bl-wrap .oi-author { margin-top: 32px; padding: 28px; border: 1px solid var(--oi-line); border-radius: 20px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.oi-bl-wrap .oi-author-body { flex: 1 1 300px; min-width: 0; }
.oi-bl-wrap .oi-author p { margin: 0; }
.oi-bl-wrap .oi-author-kicker { font: 700 12px/1.3 var(--oi-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--oi-muted); }
.oi-bl-wrap .oi-author-name { margin-top: 6px !important; font: 700 21px/1.3 var(--oi-head); color: var(--oi-ink); }
.oi-bl-wrap .oi-author-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; color: #475569; }
.oi-bl-wrap .oi-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
	font: 700 12px/1.4 var(--oi-text); color: var(--oi-blue-ink); background: var(--oi-blue-soft); border: 1px solid var(--oi-blue-line);
}
.oi-bl-wrap .oi-author-bio { margin-top: 12px !important; font-size: 16px; line-height: 1.6; color: var(--oi-body); }
.oi-bl-wrap .oi-author-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; font: 600 15px/1.4 var(--oi-text); }
.oi-bl-wrap .oi-author-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 32px; }

/* Related --------------------------------------------------------------- */
.oi-bl-wrap .oi-related { background: var(--oi-soft); border-top: 1px solid var(--oi-line); }
.oi-bl-wrap .oi-related-in { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.oi-bl-wrap .oi-related-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.oi-bl-wrap h2.oi-related-title { margin: 0; padding: 0; font: 700 32px/1.2 var(--oi-head); letter-spacing: -0.02em; color: var(--oi-ink); text-transform: none; }
.oi-bl-wrap .oi-related-all { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1.4 var(--oi-text); text-decoration: none; }
.oi-bl-wrap .oi-cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.oi-bl-wrap a.oi-card-link {
	flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; background: #ffffff;
	border: 1px solid var(--oi-line); border-radius: 20px; overflow: hidden; text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oi-bl-wrap a.oi-card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.25); }
.oi-bl-wrap .oi-card-media { height: 160px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.oi-bl-wrap .oi-card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.oi-bl-wrap .oi-card-media--blue { background: var(--oi-blue-soft); color: var(--oi-link); }
.oi-bl-wrap .oi-card-media--orange { background: var(--oi-orange-soft); color: var(--oi-orange-ink); }
.oi-bl-wrap .oi-card-media--slate { background: #f1f5f9; color: #475569; }
.oi-bl-wrap .oi-card-media--dark { background-color: var(--oi-ink); background-image: radial-gradient(at 0% 0%, rgba(92, 51, 10, 0.5) 0, transparent 60%); color: var(--oi-peach); }
.oi-bl-wrap .oi-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.oi-bl-wrap .oi-card-kicker { font: 700 12px/1.3 var(--oi-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--oi-orange-ink); }
.oi-bl-wrap .oi-card-title { font: 700 19px/1.35 var(--oi-head); color: var(--oi-ink); }
.oi-bl-wrap .oi-card-text { font-size: 15px; line-height: 1.55; color: #cbd5e1; }
.oi-bl-wrap .oi-card-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1.4 var(--oi-text); color: var(--oi-link); }
.oi-bl-wrap a.oi-card-link--dark { background: var(--oi-ink); border-color: var(--oi-ink); }
.oi-bl-wrap a.oi-card-link--dark .oi-card-kicker { color: var(--oi-peach); }
.oi-bl-wrap a.oi-card-link--dark .oi-card-title { color: #ffffff; }
.oi-bl-wrap a.oi-card-link--dark .oi-card-more { color: #93c5fd; }

.oi-bl-wrap .oi-comments { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.oi-bl-wrap .oi-pages { margin: 32px 0; }

/* Phone bar + contents sheet -------------------------------------------- */
.oi-mbar { display: none; }
.oi-sheet[hidden] { display: none; }

@media (max-width: 999px) {
	body.oi-bl { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
	.oi-mbar {
		display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #ffffff;
		border-top: 1px solid var(--oi-line); box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
	}
	.oi-mbar-toc {
		display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
		padding: 0 14px; border-radius: 12px; border: 1px solid #cbd5e1; background: #ffffff;
		color: var(--oi-ink); font: 600 15px/1 var(--oi-text); cursor: pointer;
	}
	.oi-mbar-count { font-size: 13px; font-weight: 500; color: var(--oi-muted); }
	.oi-mbar .oi-mbar-cta { flex: 1; min-width: 0; padding: 0 14px; white-space: nowrap; }
	/* Keep the cookie and reCAPTCHA buttons clear of the bar. */
	body.oi-bl .cky-btn-revisit-wrapper,
	body.oi-bl .grecaptcha-badge { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
	.oi-bl-wrap .oi-hero-in { padding: calc(var(--oi-header-h, 80px) + 24px) 20px 32px; }
	.oi-bl-wrap .oi-body { padding: 32px 20px 64px; }
	.oi-bl-wrap .oi-offer--inline { padding: 24px; }
	.oi-bl-wrap .oi-card { padding: 24px 20px 8px; }
	.oi-bl-wrap .oi-endband-in,
	.oi-bl-wrap .oi-related-in { padding: 56px 20px; }
}

.oi-sheet { position: fixed; inset: 0; z-index: 100001; }
.oi-sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); opacity: 0; transition: opacity 0.2s ease; }
.oi-sheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto;
	background: #ffffff; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.25);
	padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.25s ease;
}
.oi-sheet.is-open .oi-sheet-backdrop { opacity: 1; }
.oi-sheet.is-open .oi-sheet-panel { transform: translateY(0); }
.oi-sheet-handle { width: 40px; height: 5px; border-radius: 999px; background: #cbd5e1; margin: 0 auto 10px; }
.oi-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; border-bottom: 1px solid var(--oi-line); margin-bottom: 8px; }
.oi-sheet-title { margin: 0 !important; font: 700 19px/1.3 var(--oi-head); color: var(--oi-ink); }
.oi-sheet-sub { margin: 2px 0 0 !important; font: 400 13px/1.4 var(--oi-text); color: var(--oi-muted); }
.oi-sheet-close {
	width: 44px; height: 44px; border-radius: 999px; border: 0; background: #f1f5f9; color: var(--oi-ink);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.oi-toc-list--sheet a { min-height: 44px; align-items: center; font-size: 15px; }
html.oi-sheet-open,
html.oi-sheet-open body.oi-bl { overflow: hidden; }
html.oi-sheet-open body.oi-bl .cky-btn-revisit-wrapper,
html.oi-sheet-open body.oi-bl .grecaptcha-badge { visibility: hidden !important; }

@media (prefers-reduced-motion: reduce) {
	.oi-sheet-panel,
	.oi-sheet-backdrop,
	.oi-bl-wrap a.oi-card-link,
	.oi-bl-wrap .oi-faq-item > summary .oi-ic { transition: none; }
}

@media print {
	.oi-progress, .oi-mbar, .oi-sheet, .oi-side, .oi-offer, .oi-endband, .oi-related, .oi-share { display: none !important; }
	.oi-bl-wrap .oi-hero { background: none; color: #000; }
	.oi-bl-wrap h1.oi-title { color: #000; }
}
