/* CSS Variables fallback (overridden by customizer inline style) */
:root {
	--tc-bg-primary: #02070D;
	--tc-bg-secondary: #071019;
	--tc-card-bg: #09131D;
	--tc-primary: #00E6B8;
	--tc-secondary: #F3126C;
	--tc-accent: #00CFFF;
	--tc-text-main: #F7F9FB;
	--tc-text-muted: #98A4AF;
	--tc-border: rgba(148, 180, 200, 0.18);
	--tc-font-base: 'Inter', sans-serif;
	--tc-font-heading: 'Space Grotesk', sans-serif;
	--tc-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--tc-bg-primary);
	color: var(--tc-text-main);
	font-family: var(--tc-font-base);
	line-height: 1.6;
	font-size: 16px;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tc-font-heading);
	font-weight: 700;
	color: #fff;
	margin-top: 0;
}

a {
	color: var(--tc-primary);
	text-decoration: none;
	transition: var(--tc-transition);
}

a:hover {
	color: var(--tc-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Typography Helpers */
.tc-primary-color { color: var(--tc-primary) !important; }
.tc-secondary-color { color: var(--tc-secondary) !important; }
.tc-accent-color { color: var(--tc-accent) !important; }
.tc-text-muted { color: var(--tc-text-muted) !important; }
.tc-accent-bg { background-color: var(--tc-primary) !important; color: #000 !important; }
.neon-text { color: var(--tc-primary); text-shadow: 0 0 10px rgba(0, 230, 184, 0.5); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: 6px;
	font-family: var(--tc-font-heading);
	font-weight: 600;
	cursor: pointer;
	transition: var(--tc-transition);
	border: none;
	font-size: 0.95rem;
}

.btn-primary {
	background-color: var(--tc-primary);
	color: #02070D !important;
}

.btn-primary:hover {
	background-color: #00ffcc;
	box-shadow: 0 0 15px rgba(0, 230, 184, 0.4);
	color: #02070D !important;
}

.btn-secondary {
	background-color: var(--tc-secondary);
	color: #fff !important;
}

.btn-secondary:hover {
	background-color: #ff1c7e;
	box-shadow: 0 0 15px rgba(243, 18, 108, 0.4);
	color: #fff !important;
}

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--tc-border);
	color: var(--tc-text-main);
}

.btn-outline:hover {
	border-color: var(--tc-primary);
	color: var(--tc-primary);
}

/* Cards & Glowing Effects */
.tc-card-glow {
	background-color: var(--tc-card-bg);
	border: 1px solid var(--tc-border);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.4);
	transition: var(--tc-transition);
}

.tc-card-glow:hover {
	border-color: rgba(0, 230, 184, 0.3);
	box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 15px rgba(0, 230, 184, 0.05);
	transform: translateY(-2px);
}

/* Icons Fallback */
.tc-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	mask-size: cover;
	-webkit-mask-size: cover;
	vertical-align: middle;
}
.tc-icon-bookmark { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg>'); }
.tc-icon-menu { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>'); }
.tc-icon-fire { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M17 9.5H12M17 14.5H12M12 4.5V19.5M12 12A7.5 7.5 0 1 1 4.5 12A7.5 7.5 0 0 1 12 12z"></path></svg>'); }
.tc-icon-clock { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>'); }
.tc-icon-star { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>'); }
.tc-icon-message-square { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>'); }
.tc-icon-calendar { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>'); }
.tc-icon-folder { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path></svg>'); }
.tc-icon-mail { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>'); }
.tc-icon-send { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>'); }
.tc-icon-info { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>'); }
.tc-icon-link { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>'); }
.tc-icon-youtube { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33 2.78 2.78 0 0 0 1.94 2c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.33 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon></svg>'); }
.tc-icon-youtube-play { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33 2.78 2.78 0 0 0 1.94 2c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.33 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon></svg>'); }
.tc-icon-linkedin { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>'); }
.tc-icon-github { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>'); }
.tc-icon-twitter { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path></svg>'); }
.tc-icon-instagram { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line></svg>'); }

/* =========================================
   Layout & Structure
   ========================================= */

/* Topbar */
.tyranocode-topbar {
	background-color: var(--tc-bg-secondary);
	border-bottom: 1px solid var(--tc-border);
	padding: 8px 0;
	font-size: 0.85rem;
}
.topbar-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.topbar-left { display: flex; align-items: center; gap: 15px; }
.topbar-badge {
	background: rgba(0, 230, 184, 0.1);
	color: var(--tc-primary);
	padding: 3px 8px;
	border-radius: 4px;
	font-weight: bold;
	font-size: 0.75rem;
}
.topbar-link { margin-left: 10px; color: var(--tc-primary); font-weight: 600; }
.social-icons a { margin-left: 15px; color: var(--tc-text-muted); font-size: 1.2rem; }
.social-icons a:hover { color: var(--tc-primary); }

/* Header */
.site-header {
	padding: 20px 0;
	background-color: rgba(2, 7, 13, 0.95);
	backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--tc-border);
}
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.site-branding .site-title { font-size: 1.8rem; margin: 0; letter-spacing: 1px; }
.site-branding .site-title a { color: #fff; }
.site-logo-link { display: inline-flex; align-items: center; }
.site-logo-image,
.custom-logo-link .custom-logo { width: auto; max-width: 230px; height: 58px; object-fit: contain; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
.main-navigation a { color: var(--tc-text-main); font-weight: 500; font-size: 0.95rem; }
.main-navigation a:hover { color: var(--tc-primary); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.search-toggle { background: transparent; border: none; color: var(--tc-text-main); cursor: pointer; display: flex; align-items: center; }
.search-modal { display: none; }
.menu-toggle { display: none; background: transparent; border: none; color: var(--tc-text-main); font-size: 1.5rem; cursor: pointer; }
.btn-subscribe { background-color: var(--tc-secondary); color: #fff; border: none; }

/* Home Layout Grid */
.home-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	padding-top: 40px;
	padding-bottom: 60px;
}
.hero-trending-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	margin-bottom: 40px;
}

/* Hero Section */
.hero-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
	min-height: 460px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.hero-image-wrap { position: absolute; inset: 0; z-index: 1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(2, 7, 13, 0.96) 0%, rgba(2, 7, 13, 0.68) 46%, rgba(2, 7, 13, 0.16) 100%), linear-gradient(to top, rgba(2, 7, 13, 0.92) 0%, rgba(2, 7, 13, 0) 62%);
}
.hero-content {
	position: relative;
	z-index: 2;
	padding: 40px;
}
.hero-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 15px;
	background-color: var(--tc-primary);
	color: #000;
}
.hero-title { font-size: 2.8rem; line-height: 1.2; margin-bottom: 15px; }
.hero-title a { color: #fff; }
.hero-title a:hover { color: var(--tc-primary); }
.hero-excerpt { color: var(--tc-text-main); font-size: 1.1rem; margin-bottom: 25px; max-width: 68%; }
.hero-meta-bottom { display: flex; align-items: center; gap: 10px; color: var(--tc-text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.author-avatar img { border-radius: 50%; width: 24px; height: 24px; display: inline-block; vertical-align: middle; margin-right: 8px;}
.hero-actions { display: flex; gap: 15px; }
.btn-save { display: flex; align-items: center; gap: 8px; }

/* Trending Widget */
.trending-widget {
	padding: 25px;
	height: 100%;
}
.widget-title { font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--tc-border); padding-bottom: 15px; }
.trending-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.trending-list li { display: flex; gap: 15px; }
.trending-number { font-family: var(--tc-font-heading); font-size: 1.5rem; font-weight: 700; opacity: 0.8; line-height: 1; }
.trending-info { display: flex; flex-direction: column; gap: 5px; }
.trending-title { font-weight: 500; color: var(--tc-text-main); line-height: 1.4; }
.trending-meta { font-size: 0.8rem; color: var(--tc-text-muted); display: flex; align-items: center; gap: 5px; }

/* Weekly Highlights */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid var(--tc-border); padding-bottom: 10px; }
.section-title { font-size: 1.4rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.view-all-link { font-size: 0.9rem; font-weight: 500; }
.weekly-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.weekly-card { display: flex; flex-direction: column; padding: 15px; }
.weekly-img-link { display: block; }
.weekly-image { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.weekly-cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 8px; display: block; }
.weekly-title { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.weekly-title a { color: var(--tc-text-main); }
.weekly-title a:hover { color: var(--tc-primary); }
.weekly-meta { font-size: 0.8rem; color: var(--tc-text-muted); margin-top: auto; }

/* Latest Articles */
.latest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; margin-bottom: 40px; }
.latest-card { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--tc-border); }
.latest-img-link { display: block; }
.latest-image { width: 100%; height: 128px; object-fit: cover; border-radius: 10px; margin: 0; }
.latest-cat { font-size: 0.75rem; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; display: block; }
.latest-title { font-size: 1.3rem; margin-bottom: 10px; }
.latest-title a { color: #fff; }
.latest-title a:hover { color: var(--tc-primary); }
.latest-excerpt { color: var(--tc-text-muted); font-size: 0.95rem; margin-bottom: 15px; }
.latest-meta { font-size: 0.85rem; color: var(--tc-text-muted); display: flex; align-items: center; gap: 8px; }

/* Sidebar */
.sidebar-inner { display: flex; flex-direction: column; gap: 30px; }
.widget { padding: 25px; }
.widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px;}
.widget ul li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px;}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--tc-text-main); }
.cat-count { background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 12px; font-size: 0.8rem; color: var(--tc-text-muted); }

/* Newsletter */
.widget_newsletter .neon-text { color: var(--tc-primary); }
.newsletter-desc { font-size: 0.9rem; color: var(--tc-text-muted); margin-bottom: 20px; }
.newsletter-form .form-group { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 12px; border-radius: 6px; border: 1px solid var(--tc-border); background: rgba(255,255,255,0.03); color: #fff; outline: none; transition: var(--tc-transition); }
.newsletter-form input:focus { border-color: var(--tc-secondary); box-shadow: 0 0 10px rgba(243, 18, 108, 0.2); }
.newsletter-social-proof { display: flex; align-items: center; gap: 15px; margin-top: 20px; font-size: 0.8rem; color: var(--tc-text-muted); }
.newsletter-note { margin: 10px 0 0; color: var(--tc-text-muted); font-size: 0.75rem; }
.avatars { display: flex; }
.avatar { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--tc-card-bg); margin-left: -8px; }
.avatar:first-child { margin-left: 0; }

/* Banner Sidebar */
.tyranocode-sidebar-banner { padding: 0; overflow: hidden; position: relative; border-radius: 12px; border: 1px solid var(--tc-border); text-align: left; }
.tyranocode-sidebar-banner .banner-inner { position: relative; min-height: 480px; padding: 32px 24px; display: flex; align-items: flex-end; background-image: linear-gradient(180deg, rgba(2,7,13,0.26) 0%, rgba(2,7,13,0.92) 72%), var(--tc-sidebar-banner-image); background-position: center; background-size: cover; }
.banner-content { position: relative; z-index: 2; }
.tyranocode-sidebar-banner .banner-content h3 { font-size: 1.2rem; margin-bottom: 15px; line-height: 1.4; }
.site-title-banner { display: block; font-size: 2rem; font-family: var(--tc-font-heading); font-weight: 900; letter-spacing: 1px; color: #fff; margin-bottom: 10px;}

/* Single Post */
.single-layout { max-width: 900px; padding-top: 40px; padding-bottom: 60px; }
.entry-header { margin-bottom: 30px; }
.tyranocode-breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 20px 0; display: flex; gap: 10px; font-size: 0.85rem; color: var(--tc-text-muted); }
.tyranocode-breadcrumbs a { color: var(--tc-text-muted); }
.tyranocode-breadcrumbs a:hover { color: var(--tc-primary); }
.entry-title { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.entry-excerpt { font-size: 1.2rem; color: var(--tc-text-muted); margin-bottom: 25px; }
.entry-meta { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--tc-text-muted); margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--tc-border); }
.share-buttons { display: flex; align-items: center; gap: 10px; }
.share-label { font-size: 0.9rem; color: var(--tc-text-muted); margin-right: 5px; }
.share-btn { background: var(--tc-bg-secondary); border: 1px solid var(--tc-border); color: var(--tc-text-main); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--tc-transition); }
.share-btn:hover { background: var(--tc-primary); color: #000; border-color: var(--tc-primary); }
.tyranocode-post-image { margin-bottom: 40px; }
.tyranocode-post-image img { width: 100%; border-radius: 12px; }
.affiliate-notice { padding: 15px 20px; display: flex; align-items: flex-start; gap: 15px; margin-bottom: 30px; font-size: 0.9rem; color: var(--tc-text-muted); }
.affiliate-notice .tc-icon { color: var(--tc-primary); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.affiliate-notice p { margin: 0; }
.entry-content { font-size: 1.1rem; line-height: 1.8; color: #d0d6dc; }
.entry-content h2, .entry-content h3 { color: #fff; margin-top: 40px; margin-bottom: 20px; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(0, 230, 184, 0.4); text-underline-offset: 4px; }
.entry-content a:hover { text-decoration-color: var(--tc-primary); }

/* TOC */
.tyranocode-toc { background: var(--tc-bg-secondary); border: 1px solid var(--tc-border); border-radius: 8px; padding: 25px; margin-bottom: 40px; }
.toc-title { font-family: var(--tc-font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 15px; }
.tyranocode-toc ul { list-style: none; padding-left: 0; margin: 0; }
.tyranocode-toc ul ul { padding-left: 20px; margin-top: 8px; }
.tyranocode-toc li { margin-bottom: 8px; font-size: 0.95rem; }
.tyranocode-toc a { color: var(--tc-text-muted); text-decoration: none; }
.tyranocode-toc a:hover { color: var(--tc-primary); }

/* Progress Bar */
.reading-progress-bar { position: fixed; top: 0; left: 0; height: 3px; background-color: var(--tc-primary); width: 0%; z-index: 9999; transition: width 0.1s ease; box-shadow: 0 0 10px rgba(0,230,184,0.5); }

/* Author Bio */
.author-bio { display: flex; gap: 20px; padding: 30px; margin-top: 50px; margin-bottom: 40px; }
.author-bio .author-avatar img { border-radius: 50%; }
.author-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--tc-primary); margin-bottom: 5px; }
.author-name { font-size: 1.4rem; margin-bottom: 10px; }
.author-desc { font-size: 0.95rem; color: var(--tc-text-muted); margin-bottom: 15px; }
.author-link { font-size: 0.9rem; font-weight: 600; }

/* Related Posts */
.related-posts-section { margin-top: 50px; border-top: 1px solid var(--tc-border); padding-top: 40px; }
.related-title { font-size: 1.5rem; margin-bottom: 25px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-image { width: 100%; height: 180px; object-fit: cover; border-radius: 8px 8px 0 0; }
.related-content { padding: 20px; }
.related-post-title { font-size: 1.1rem; margin-bottom: 10px; }
.related-post-title a { color: #fff; }

/* Footer */
.institutional-banner { background: linear-gradient(90deg, rgba(243, 18, 108, 0.1) 0%, rgba(243, 18, 108, 0) 100%), var(--tc-bg-secondary); border-top: 1px solid var(--tc-border); border-bottom: 1px solid var(--tc-border); padding: 60px 0; }
.banner-container { display: flex; justify-content: space-between; align-items: center; }
.banner-content { max-width: 60%; }
.banner-title { font-size: 2.2rem; margin-bottom: 10px; }
.banner-subtext { color: var(--tc-text-muted); font-size: 1.1rem; margin: 0; }
.instagram-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 20px; }
.site-footer { background-color: var(--tc-bg-primary); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 0.75fr 1fr 0.9fr 1.4fr; gap: 30px; margin-bottom: 60px; }
.footer-slogan { color: var(--tc-text-muted); margin: 20px 0; max-width: 80%; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tc-bg-secondary); color: var(--tc-text-main); font-size: 1.2rem; }
.footer-social a:hover { background: var(--tc-primary); color: #000; }
.footer-heading { font-size: 1.1rem; margin-bottom: 20px; color: #fff; }
.footer-nav-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-nav-col a { color: var(--tc-text-muted); }
.footer-nav-col a:hover { color: var(--tc-primary); }
.footer-instagram .instagram-title { font-size: 1rem; margin-bottom: 14px; }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.instagram-image { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; border: 1px solid var(--tc-border); background: var(--tc-bg-secondary); }
.instagram-image img { width: 100%; height: 100%; object-fit: cover; }
.instagram-image:nth-child(2) img { filter: hue-rotate(35deg); }
.instagram-image:nth-child(3) img { filter: hue-rotate(105deg); }
.instagram-image:nth-child(4) img { filter: hue-rotate(185deg); }
.site-info { text-align: center; color: var(--tc-text-muted); font-size: 0.9rem; border-top: 1px solid var(--tc-border); padding-top: 30px; }

/* Shortcode Ofertas */
.tyranocode-offers-wrapper { margin: 40px 0; }
.tyranocode-offers-title { font-size: 1.5rem; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.tyranocode-offers-title::before { content: '🔥'; font-size: 1.2rem; }
.tyranocode-offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tyranocode-offer-card { background: var(--tc-bg-secondary); border: 1px solid var(--tc-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: var(--tc-transition); }
.tyranocode-offer-card:hover { border-color: var(--tc-accent); transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0, 207, 255, 0.1); }
.offer-image { position: relative; height: 160px; }
.offer-image img { width: 100%; height: 100%; object-fit: cover; }
.offer-badge { position: absolute; top: 10px; right: 10px; background: var(--tc-secondary); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.offer-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.offer-store { font-size: 0.75rem; text-transform: uppercase; color: var(--tc-accent); font-weight: 700; margin-bottom: 8px; }
.offer-title { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; }
.offer-desc { font-size: 0.9rem; color: var(--tc-text-muted); margin-bottom: 15px; flex-grow: 1; }
.offer-pricing { display: flex; align-items: baseline; gap: 10px; margin-bottom: 15px; }
.offer-price-old { text-decoration: line-through; color: var(--tc-text-muted); font-size: 0.9rem; }
.offer-price-new { font-size: 1.4rem; font-weight: 700; color: #fff; }
.offer-discount { background: rgba(0, 230, 184, 0.15); color: var(--tc-primary); padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }
.offer-coupon-box { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03); border: 1px dashed var(--tc-border); padding: 8px 12px; border-radius: 6px; margin-bottom: 15px; }
.offer-coupon-label { font-size: 0.85rem; color: var(--tc-text-muted); }
.offer-coupon-code { font-family: monospace; font-weight: bold; color: var(--tc-primary); letter-spacing: 1px; }
.offer-btn { display: block; text-align: center; background: var(--tc-accent); color: #000; padding: 10px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: var(--tc-transition); }
.offer-btn:hover { background: #00b3de; color: #000; box-shadow: 0 0 15px rgba(0, 207, 255, 0.4); }

/* Responsividade (Mobile) */
@media (max-width: 1024px) {
	.home-layout { grid-template-columns: 1fr; }
	.hero-trending-grid { grid-template-columns: 1fr; }
	.weekly-grid { grid-template-columns: repeat(2, 1fr); }
	.banner-container { flex-direction: column; text-align: center; gap: 30px; }
	.banner-content { max-width: 100%; }
	.footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.topbar-content { flex-direction: column; text-align: center; gap: 10px; }
	.social-icons { display: none; }
	.main-navigation ul { display: none; } /* Menu hamburguer simplificado p/ mobile real necessitaria JS pra toggle */
	.menu-toggle { display: block; }
	.hero-title { font-size: 2rem; }
	.hero-content { padding: 20px; }
	.hero-actions { flex-direction: column; }
	.latest-grid { grid-template-columns: 1fr; }
	.latest-card { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
	.latest-image { height: 100px; }
	.footer-grid { grid-template-columns: 1fr; text-align: center; }
	.footer-social { justify-content: center; }
	.instagram-grid { grid-template-columns: repeat(4, 1fr); }
	.entry-title { font-size: 2rem; }
	.related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* =====================================================================
   TyranoCode Gaming House visual layer
   A tech editorial system inspired by angular esports interfaces.
   ===================================================================== */
:root {
	--tc-bg-primary: #151720;
	--tc-bg-secondary: #222430;
	--tc-card-bg: #1b1e2a;
	--tc-primary: #a3ff12;
	--tc-secondary: #ff1c5c;
	--tc-accent: #88df00;
	--tc-text-main: #f7f8fa;
	--tc-text-muted: #c6cbea;
	--tc-border: rgba(198, 203, 234, 0.17);
	--tc-border-strong: rgba(163, 255, 18, 0.48);
	--tc-font-base: 'Inter', sans-serif;
	--tc-font-heading: 'Rajdhani', sans-serif;
	--tc-font-display: 'Rajdhani', sans-serif;
	--tc-radius: 3px;
	--tc-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
	--tc-transition: 180ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--tc-bg-primary);
	background-image:
		radial-gradient(circle at 12% 8%, rgba(163, 255, 18, 0.06), transparent 28rem),
		radial-gradient(circle at 88% 20%, rgba(255, 28, 92, 0.045), transparent 24rem),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 8px);
	color: var(--tc-text-main);
}

#page {
	position: relative;
	isolation: isolate;
}

body.menu-is-open { overflow: hidden; }

#page::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.32;
	background-image: linear-gradient(90deg, transparent 0 49.8%, rgba(163,255,18,0.035) 50%, transparent 50.2%);
	background-size: 96px 96px;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.section-title,
.widget-title,
.footer-heading,
.page-title,
.entry-title {
	font-family: var(--tc-font-display);
	letter-spacing: 0.025em;
	text-wrap: balance;
}

h1, h2, h3, h4, h5, h6 { color: var(--tc-text-main); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--tc-primary);
	outline-offset: 4px;
}

.container { max-width: 1320px; }

.tyranocode-topbar {
	background: rgba(19, 21, 30, 0.92);
	border-bottom: 1px solid rgba(163, 255, 18, 0.18);
	padding: 7px 0;
	font-family: var(--tc-font-heading);
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.topbar-badge,
.hero-badge,
.entry-cat,
.latest-cat,
.weekly-cat {
	border-radius: 1px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.topbar-badge {
	background: rgba(163, 255, 18, 0.12);
	border-left: 2px solid var(--tc-primary);
	padding: 3px 10px;
}

.site-header {
	padding: 17px 0;
	background: rgba(21, 23, 32, 0.88);
	border-bottom: 1px solid var(--tc-border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.site-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--tc-primary) 22%, var(--tc-primary) 78%, transparent);
	opacity: 0.42;
}

.site-branding .site-title {
	font-size: clamp(1.65rem, 2vw, 2.15rem);
	font-weight: 700;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.site-branding .site-title a::after {
	content: '_';
	color: var(--tc-primary);
	margin-left: 2px;
	text-shadow: 0 0 16px rgba(163, 255, 18, 0.8);
}

.site-logo-image,
.custom-logo-link .custom-logo {
	max-width: 220px;
	height: 52px;
}

.main-navigation ul { gap: clamp(13px, 2vw, 26px); }
.main-navigation li { position: relative; }
.main-navigation a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	color: var(--tc-text-muted);
	font-family: var(--tc-font-heading);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.main-navigation a::before {
	content: '/';
	color: var(--tc-primary);
	opacity: 0;
	transform: translateX(-7px);
	transition: var(--tc-transition);
}
.main-navigation a:hover::before,
.main-navigation .current-menu-item > a::before,
.main-navigation .current-menu-ancestor > a::before { opacity: 1; transform: translateX(-3px); }
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a { color: var(--tc-text-main); }

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -16px;
	display: block;
	min-width: 210px;
	padding: 10px;
	background: rgba(21, 23, 32, 0.98);
	border: 1px solid var(--tc-border-strong);
	box-shadow: var(--tc-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: var(--tc-transition);
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation .sub-menu a { width: 100%; padding: 8px 10px; font-size: 0.82rem; }

.header-actions { gap: 14px; }
.search-toggle {
	width: 38px;
	height: 38px;
	justify-content: center;
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	transition: var(--tc-transition);
}
.search-toggle:hover { color: var(--tc-primary); border-color: var(--tc-primary); box-shadow: 0 0 20px rgba(163, 255, 18, 0.12); }

.btn {
	border-radius: var(--tc-radius);
	font-family: var(--tc-font-heading);
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.btn-primary {
	background: var(--tc-primary);
	box-shadow: 0 0 0 1px rgba(163,255,18,0.45), 0 9px 26px rgba(163,255,18,0.12);
}
.btn-primary:hover { background: #b9ff50; box-shadow: 0 0 22px rgba(163,255,18,0.36); }
.btn-outline { border-color: rgba(198,203,234,0.34); }
.btn-outline:hover { background: rgba(163,255,18,0.08); border-color: var(--tc-primary); }
.btn-subscribe { background: var(--tc-secondary); }

.tc-card-glow,
.trending-widget,
.weekly-card,
.widget,
.author-bio,
.affiliate-notice,
.tyranocode-toc,
.related-card,
.tyranocode-offer-card {
	border-radius: var(--tc-radius);
	border-color: var(--tc-border);
	background-color: rgba(27, 30, 42, 0.84);
	box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}
.tc-card-glow:hover,
.weekly-card:hover,
.related-card:hover,
.tyranocode-offer-card:hover {
	border-color: var(--tc-border-strong);
	box-shadow: 0 16px 40px rgba(0,0,0,0.32), 0 0 24px rgba(163,255,18,0.07);
	transform: translateY(-3px);
}

.home-layout,
.archive-layout,
.single-layout { padding-top: clamp(32px, 5vw, 68px); padding-bottom: clamp(48px, 7vw, 92px); }
.home-layout { gap: clamp(28px, 4vw, 52px); }
.hero-trending-grid { gap: 22px; }

.hero-card {
	min-height: 500px;
	border: 1px solid rgba(163,255,18,0.28);
	border-radius: var(--tc-radius);
	box-shadow: var(--tc-shadow);
}
.hero-card::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 72px;
	height: 72px;
	background: var(--tc-primary);
	clip-path: polygon(100% 0, 100% 100%, 0 0);
	opacity: 0.9;
	z-index: 3;
}
.hero-overlay {
	background: linear-gradient(90deg, rgba(21,23,32,0.98) 0%, rgba(21,23,32,0.74) 48%, rgba(21,23,32,0.12) 100%), linear-gradient(to top, rgba(21,23,32,0.95), transparent 64%);
}
.hero-content { padding: clamp(24px, 4vw, 48px); }
.hero-badge { padding: 5px 11px; background: var(--tc-primary); }
.hero-title { font-size: clamp(2.2rem, 4vw, 4.35rem); max-width: 760px; line-height: 0.98; }
.hero-excerpt { max-width: 620px; color: var(--tc-text-muted); }
.hero-meta-bottom { font-family: var(--tc-font-heading); letter-spacing: 0.05em; text-transform: uppercase; }

.widget-title,
.section-header {
	border-bottom-color: rgba(198,203,234,0.22);
	font-family: var(--tc-font-heading);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.widget-title::after,
.section-header::after {
	content: '';
	display: block;
	width: 34px;
	height: 2px;
	margin-left: auto;
	background: var(--tc-primary);
}
.trending-number { color: var(--tc-primary); font-size: 1.7rem; }
.trending-title:hover,
.latest-title a:hover,
.weekly-title a:hover { color: var(--tc-primary); }

.weekly-grid { gap: 14px; }
.weekly-card { padding: 12px; }
.weekly-image,
.latest-image,
.related-image,
.tyranocode-post-image img { border-radius: var(--tc-radius); }
.weekly-card:hover .weekly-image,
.latest-card:hover .latest-image { filter: saturate(1.12); }
.latest-grid { gap: 28px; }
.latest-card { padding: 16px; border: 1px solid var(--tc-border); border-radius: var(--tc-radius); background: rgba(27,30,42,0.45); transition: var(--tc-transition); }
.latest-card:hover { border-color: var(--tc-border-strong); background: rgba(27,30,42,0.8); transform: translateY(-2px); }
.latest-title { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }

.page-header {
	margin-bottom: 36px;
	padding: 28px 0 24px;
	border-bottom: 1px solid var(--tc-border);
	position: relative;
}
.page-header::before {
	content: 'TYRANOCODE / ARCHIVE';
	display: block;
	margin-bottom: 9px;
	color: var(--tc-primary);
	font-family: var(--tc-font-heading);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}
.page-title { font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 0.96; }
.archive-grid { gap: 18px; }
.archive-grid .latest-card { height: 100%; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	color: var(--tc-text-muted);
	font-family: var(--tc-font-heading);
	font-weight: 700;
}
.page-numbers:hover,
.page-numbers.current { color: #111; background: var(--tc-primary); border-color: var(--tc-primary); }

.single-layout { max-width: 1180px; }
.single-main-content { max-width: 900px; margin: 0 auto; }
.entry-title { font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: 0.94; }
.entry-cat { font-family: var(--tc-font-heading); font-weight: 700; letter-spacing: 0.16em; }
.entry-meta { font-family: var(--tc-font-heading); letter-spacing: 0.04em; }
.entry-content { color: #d9dced; }
.entry-content h2,
.entry-content h3 { position: relative; padding-left: 18px; }
.entry-content h2::before,
.entry-content h3::before { content: ''; position: absolute; left: 0; top: 0.15em; width: 4px; height: 0.9em; background: var(--tc-primary); }
.entry-content code,
.entry-content pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.entry-content pre {
	padding: 22px;
	border: 1px solid rgba(163,255,18,0.26);
	border-left: 3px solid var(--tc-primary);
	border-radius: var(--tc-radius);
	background: #10121a;
	box-shadow: inset 0 0 24px rgba(163,255,18,0.035);
	overflow-x: auto;
}
.entry-content :not(pre) > code { padding: 0.15em 0.35em; border: 1px solid var(--tc-border); border-radius: 2px; background: #10121a; color: var(--tc-primary); }
.entry-content blockquote { border-left: 3px solid var(--tc-secondary); margin-left: 0; padding: 8px 24px; color: var(--tc-text-muted); background: rgba(255,28,92,0.04); }
.entry-content table { width: 100%; border-collapse: collapse; background: rgba(27,30,42,0.52); }
.entry-content th,
.entry-content td { padding: 12px 14px; border: 1px solid var(--tc-border); text-align: left; }
.entry-content th { color: var(--tc-primary); font-family: var(--tc-font-heading); text-transform: uppercase; letter-spacing: 0.08em; }

.reading-progress-bar { height: 4px; background: var(--tc-primary); box-shadow: 0 0 18px rgba(163,255,18,0.65); }
.share-btn { border-radius: var(--tc-radius); }
.author-bio { border-left: 3px solid var(--tc-primary); }
.related-posts-section { border-top-color: var(--tc-border); }

.institutional-banner {
	position: relative;
	background: linear-gradient(112deg, rgba(163,255,18,0.11), transparent 58%), var(--tc-bg-secondary);
	border-color: rgba(163,255,18,0.22);
}
.institutional-banner::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 36%;
	height: 2px;
	background: var(--tc-primary);
}
.site-footer { background: #13151e; }
.footer-heading { color: var(--tc-primary); font-size: 1.1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-social a { border-radius: var(--tc-radius); border: 1px solid var(--tc-border); }
.footer-social a:hover { border-color: var(--tc-primary); }

.search-modal { backdrop-filter: blur(18px); }
.search-modal-content { width: min(720px, calc(100% - 32px)); }
.search-modal input[type="search"] { border: 0; border-bottom: 2px solid var(--tc-primary); border-radius: 0; background: transparent; color: var(--tc-text-main); font-family: var(--tc-font-heading); font-size: clamp(1.5rem, 4vw, 3rem); }
.search-close { border: 1px solid var(--tc-border); border-radius: var(--tc-radius); color: var(--tc-text-main); background: transparent; }

@media (max-width: 1024px) {
	.main-navigation ul { gap: 14px; }
	.hero-title { max-width: 90%; }
	.footer-grid { gap: 24px; }
}

@media (max-width: 768px) {
	.tyranocode-topbar { font-size: 0.74rem; }
	.site-header { padding: 13px 0; }
	.header-container { gap: 12px; }
	.site-logo-image,
	.custom-logo-link .custom-logo { max-width: 168px; height: 44px; }
	.header-actions { margin-left: auto; }
	.btn-subscribe { display: none; }
	.menu-toggle { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--tc-border); border-radius: var(--tc-radius); background: transparent; color: var(--tc-text-main); }
	.main-navigation { order: 3; }
	.main-navigation ul#primary-menu {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		z-index: 1000;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: min(88vw, 350px);
		gap: 8px;
		padding: 96px 24px 24px;
		background: rgba(21, 23, 32, 0.98);
		border-left: 1px solid var(--tc-border-strong);
		box-shadow: -20px 0 60px rgba(0,0,0,0.38);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 220ms ease, visibility 220ms ease;
	}
	.main-navigation.menu-open ul#primary-menu { transform: translateX(0); visibility: visible; }
	.main-navigation.menu-open::before { content: ''; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,0.58); }
	.main-navigation ul#primary-menu a { min-height: 44px; padding: 8px 10px; font-size: 1.08rem; }
	.main-navigation .sub-menu { position: static; display: none; min-width: 0; padding: 4px 0 4px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
	.main-navigation li:focus-within > .sub-menu,
	.main-navigation li:hover > .sub-menu { display: block; }
	.hero-card { min-height: 470px; }
	.hero-title { max-width: 100%; font-size: clamp(2.4rem, 12vw, 4rem); }
	.hero-excerpt { max-width: 100%; }
	.hero-actions .btn { width: 100%; }
	.latest-card { padding: 12px; }
	.entry-title { font-size: clamp(2.55rem, 13vw, 4.2rem); }
	.entry-content { font-size: 1.04rem; }
	.page-header::before { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-card::after { display: none; }
}
