
/* ============================================================
   SHARED REACT-ALIGNED SHELL — blog, articles and legal pages
   ============================================================ */
:root { --c-black:#07080B; --c-dark:#0D0F14; --c-card:#111418; --c-card2:#161A22; --c-gold:#C9A84C; --c-gold-l:#E2C97A; --c-gold-d:rgba(201,168,76,.12); --c-gold-b:rgba(201,168,76,.18); --c-white:#F0EDE6; --c-muted:#B6B6B3; --c-border:rgba(201,168,76,.20); --c-sep:rgba(255,255,255,.05); }
body.light, body.light-mode { --c-black:#F2F3F5; --c-dark:#EAEBED; --c-card:#F7F7F6; --c-card2:#E6E7E8; --c-gold:#9E7A25; --c-gold-l:#755817; --c-gold-d:rgba(168,131,42,.10); --c-gold-b:rgba(20,32,79,.24); --c-white:#111318; --c-muted:#61656C; --c-border:rgba(20,32,79,.18); --c-sep:rgba(20,32,79,.08); background:#F2F3F5 !important; background-color:#F2F3F5 !important; color:#111318; }
.theme-icon { display:none; }
.nav-mobile { display:none; }
.legal-shell { max-width:980px; margin:0 auto; padding:128px 64px 90px; }
	main.blog-page:has(.article-h1) { padding-top:84px; }
	body, main.blog-page { background-color:var(--c-black); color:var(--c-white); }
	body.light, body.light-mode, body.light main.blog-page, body.light-mode main.blog-page { background-color:#F2F3F5 !important; color:#111318; }
.legal-shell .legal-top { display:none; }
.back-top { position:fixed; right:1.5rem; bottom:1.5rem; z-index:1150; display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--c-border); color:var(--c-gold); background:rgba(7,8,11,.82); opacity:0; pointer-events:none; transform:translateY(8px); transition:opacity .2s ease,transform .2s ease,background .2s ease; }
.back-top.visible { opacity:1; pointer-events:auto; transform:translateY(0); }
.back-top:hover { color:var(--c-black); background:var(--c-gold); transform:translateY(-3px); }
.back-top-icon { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.cookie-consent { position:fixed; left:50%; bottom:1.25rem; z-index:1500; width:min(980px,calc(100% - 2rem)); display:grid; grid-template-columns:1fr auto; gap:2rem; padding:1.35rem 1.5rem; transform:translateX(-50%); border:1px solid var(--c-border); background:rgba(13,15,20,.96); box-shadow:0 18px 65px rgba(0,0,0,.32); backdrop-filter:blur(18px); }
body.light .cookie-consent, body.light-mode .cookie-consent { background:rgba(234,235,237,.97); }
.cookie-consent[hidden] { display:none; }
.cookie-consent-kicker { color:var(--c-gold); font:8px/1 var(--f-mono); letter-spacing:.16em; }
.cookie-consent h2 { margin:.6rem 0 .4rem; color:var(--c-white); font:400 23px/1 var(--f-serif); }
.cookie-consent-copy > p:not(.cookie-consent-kicker) { max-width:650px; color:var(--c-muted); font:10px/1.55 var(--f-sans); }
.cookie-consent-actions { display:flex; align-items:flex-end; gap:.45rem; }
.cookie-btn { padding:.65rem .8rem; border:1px solid var(--c-border); color:var(--c-muted); font:9px/1 var(--f-mono); text-transform:uppercase; cursor:pointer; }
.cookie-btn-primary { border-color:var(--c-gold); color:var(--c-black); background:var(--c-gold); }
.cookie-btn:hover { border-color:var(--c-gold); color:var(--c-gold-l); }
.cookie-btn-primary:hover { color:var(--c-black); background:var(--c-gold-l); }
	@media (max-width:700px) { .legal-shell { padding:106px 18px 60px; } .nav-mobile { display:inline-grid; } .cookie-consent { display:block; bottom:.8rem; padding:1rem; } .cookie-consent-actions { margin-top:1rem; justify-content:flex-end; } }
	/* Initial TIBARI shell parity: identical desktop header/footer geometry on all static pages. */
	.goog-te-banner-frame.skiptranslate, .goog-te-balloon-frame, .goog-tooltip, .goog-te-spinner-pos { display:none !important; }
	body { top:0 !important; }
	main.blog-page:has(.article-h1) { padding-top:84px !important; }
		main.blog-page:has(.article-h1) .blog-shell { padding-top:0 !important; }
		body.light .blog-page h1, body.light-mode .blog-page h1, body.light .blog-page h2, body.light-mode .blog-page h2, body.light .blog-page h3, body.light-mode .blog-page h3, body.light .blog-page .article-h1, body.light-mode .blog-page .article-h1, body.light .blog-page .hero-h1, body.light-mode .blog-page .hero-h1, body.light .blog-page .blog-title, body.light-mode .blog-page .blog-title, body.light .blog-page .blog-card h2, body.light-mode .blog-page .blog-card h2 { color:#111318 !important; text-shadow:none !important; opacity:1 !important; }
		body.light .blog-page p, body.light-mode .blog-page p, body.light .blog-page li, body.light-mode .blog-page li, body.light .blog-page .article-dek, body.light-mode .blog-page .article-dek, body.light .blog-page .article-body, body.light-mode .blog-page .article-body, body.light .blog-page .blog-lead, body.light-mode .blog-page .blog-lead, body.light .blog-page .blog-card p, body.light-mode .blog-page .blog-card p { color:#3F4650 !important; opacity:1 !important; }
		body.light .blog-page a, body.light-mode .blog-page a { color:#14204F !important; opacity:1 !important; }
		body.light .blog-page .blog-card-cat, body.light-mode .blog-page .blog-card-cat, body.light .blog-page .blog-card-read, body.light-mode .blog-page .blog-card-read, body.light .blog-page .blog-kicker, body.light-mode .blog-page .blog-kicker { color:#755817 !important; opacity:1 !important; }
		body.light .blog-page .blog-filter span, body.light-mode .blog-page .blog-filter span { color:#3F4650 !important; border-color:rgba(20,32,79,.22) !important; }
		body.light .blog-page .article-meta, body.light-mode .blog-page .article-meta, body.light .blog-page .blog-kicker, body.light-mode .blog-page .blog-kicker { color:#755817 !important; opacity:1 !important; }
		body.light .article-body h2, body.light-mode .article-body h2, body.light .article-body h3, body.light-mode .article-body h3, body.light .answer-box strong, body.light-mode .answer-box strong { color:#111318 !important; opacity:1 !important; }
		body.light .article-body p, body.light-mode .article-body p, body.light .article-body li, body.light-mode .article-body li, body.light .answer-box p, body.light-mode .answer-box p { color:#3F4650 !important; opacity:1 !important; }
		body.light .article-body a, body.light-mode .article-body a { color:#14204F !important; opacity:1 !important; }
		body.light .blog-page .article-related h2, body.light-mode .blog-page .article-related h2, body.light .blog-page .article-sources h2, body.light-mode .blog-page .article-sources h2, body.light .blog-page .article-faq h2, body.light-mode .blog-page .article-faq h2 { color:#111318 !important; }
	@media (max-width:700px) { main.blog-page:has(.article-h1) { padding-top:68px !important; } }
