:root {
	--ol-bg: #000000;
	--ol-text: #f5f5f7;
	--ol-text-dim: #a1a1a6;
	--ol-blue: #0071e3;
	--ol-blue-light: #2997ff;
	--ol-card-bg: #1c1c1e;
	--ol-border: rgba(255,255,255,0.1);
	--ol-radius: 16px;
	--ol-font: 'Inter', -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body.blog, body.single-post {
	background: var(--ol-bg); color: var(--ol-text);
	font-family: var(--ol-font); margin: 0;
}
.ol-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.ol-nav {
	border-bottom: 1px solid var(--ol-border);
	padding: 18px 0;
}
.ol-nav-in { display: flex; align-items: center; justify-content: space-between; }
.ol-logo { display: flex; align-items: center; gap: 8px; text-decoration: none !important; }
.ol-logo img { width: 24px; height: 24px; }
.ol-logo span { font-weight: 700; font-size: 17px; color: var(--ol-text) !important; }
.ol-logo span em { color: var(--ol-blue-light) !important; font-style: normal; }
.ol-nav-links { display: flex; align-items: center; gap: 28px; }
.ol-nav-links a { color: var(--ol-text-dim) !important; text-decoration: none !important; font-size: 14.5px; }
.ol-nav-links a:hover, .ol-nav-links a.active { color: var(--ol-text) !important; }
.ol-nav-links a.ol-nav-cta {
	background: linear-gradient(135deg, var(--ol-blue-light), var(--ol-blue));
	color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
}

/* ---------- Hero ---------- */
.ol-hero { padding: 64px 0 44px; text-align: center; }
.ol-eyebrow {
	font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--ol-blue-light); margin-bottom: 14px;
}
.ol-hero h1 {
	font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.1; margin: 0 0 16px;
	color: var(--ol-text);
}
.ol-hero p { color: var(--ol-text-dim); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* ---------- Cards ---------- */
.ol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; padding-bottom: 80px; }
.ol-card {
	background: var(--ol-card-bg); border: 1px solid var(--ol-border); border-radius: var(--ol-radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .2s ease, border-color .2s ease;
}
.ol-card:hover { transform: translateY(-4px); border-color: rgba(0,113,227,0.5); }
.ol-card-media { aspect-ratio: 16/10; overflow: hidden; background: #0d0d0d; }
.ol-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ol-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ol-card time { color: var(--ol-blue-light); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.ol-card h2 { font-size: 20px; font-weight: 700; margin: 10px 0 10px; line-height: 1.3; color: var(--ol-text) !important; }
.ol-card h2 a { color: var(--ol-text) !important; text-decoration: none !important; }
.ol-card p { color: var(--ol-text-dim); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; flex: 1; }

.ol-empty {
	text-align: center; padding: 64px 40px; margin-bottom: 80px;
	background: var(--ol-card-bg); border: 1px solid var(--ol-border); border-radius: var(--ol-radius);
}
.ol-empty h2 { font-size: 24px; margin: 0 0 10px; color: var(--ol-text); }
.ol-empty p { color: var(--ol-text-dim); margin: 0 0 24px; }

/* ---------- Buttons ---------- */
.ol-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
	text-decoration: none !important; border: none; cursor: pointer;
	transition: opacity .2s ease;
}
.ol-btn-primary { background: linear-gradient(135deg, var(--ol-blue-light), var(--ol-blue)); color: #fff !important; }
.ol-btn-primary:hover { opacity: 0.88; }
.ol-btn-ghost { background: rgba(255,255,255,0.06); color: var(--ol-text) !important; border: 1px solid var(--ol-border); }
.ol-btn-ghost:hover { border-color: var(--ol-blue-light); }

/* ---------- Pagination ---------- */
.ol-pagination { display: flex; justify-content: center; gap: 8px; padding-bottom: 80px; }
.ol-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
	background: var(--ol-card-bg); border: 1px solid var(--ol-border);
	color: var(--ol-text) !important; font-weight: 600; font-size: 13.5px; text-decoration: none !important;
}
.ol-pagination .page-numbers.current { background: var(--ol-blue); border-color: var(--ol-blue); color: #fff !important; }
.ol-pagination .page-numbers:hover:not(.current) { border-color: var(--ol-blue-light); }

/* ---------- Single post ---------- */
body.single-post .ol-container.ol-article { max-width: 740px; }
.ol-post-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.15; margin: 18px 0 32px; color: var(--ol-text); }
.ol-content { color: var(--ol-text-dim); line-height: 1.75; font-size: 17px; padding-bottom: 80px; }
.ol-content h2, .ol-content h3 { color: var(--ol-text); margin: 34px 0 14px; }
.ol-content p { margin: 0 0 20px; }
.ol-content ul, .ol-content ol { margin: 0 0 20px; padding-left: 22px; }
.ol-content li { margin-bottom: 8px; }
.ol-content table { width: 100%; border-collapse: collapse; margin: 0 0 28px; }
.ol-content table th, .ol-content table td { padding: 12px 16px; border: 1px solid var(--ol-border); text-align: left; }
.ol-content table th { background: var(--ol-card-bg); color: var(--ol-text); }
.ol-content img { max-width: 100%; border-radius: var(--ol-radius); }
.ol-content a { color: var(--ol-blue-light) !important; text-decoration: underline; }
.ol-content strong { color: var(--ol-text); }

/* ---------- Footer ---------- */
.ol-footer { border-top: 1px solid var(--ol-border); padding: 32px 0; margin-top: 40px; }
.ol-footer-in { display: flex; align-items: center; justify-content: space-between; }
.ol-footer p { color: var(--ol-text-dim); font-size: 13.5px; margin: 0; }
.ol-footer a { color: var(--ol-text-dim) !important; text-decoration: none !important; font-size: 13.5px; }
.ol-footer a:hover { color: var(--ol-text) !important; }

@media (max-width: 640px) {
	.ol-nav-links { gap: 16px; }
	.ol-nav-links a:not(.ol-nav-cta) { display: none; }
	.ol-hero { padding: 44px 0 32px; }
	.ol-footer-in { flex-direction: column; gap: 12px; text-align: center; }
}
