/*
Theme Name: GamingLaptopHome
Theme URI: https://gaminglaptophome.com/
Author: GamingLaptopHome
Author URI: https://gaminglaptophome.com/
Description: A fast, dark, gaming-styled WordPress theme built for the GamingLaptopHome affiliate site. Neon accents, product cards with badge ribbons, comparison tables, sticky table of contents, FAQ styling and built-in affiliate shortcodes — no page builder required.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gaminglaptophome
Tags: dark, gaming, affiliate, reviews, responsive, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* Self-hosted fonts — variable woff2, latin subset (no external requests). */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("fonts/spacegrotesk-latin.woff2") format("woff2");
}

/* ============================================================
   1. DESIGN TOKENS & RESET
   ============================================================ */
:root {
	--glh-bg: #0B0D10;
	--glh-surface: #14171C;
	--glh-surface-2: #1a1e25;
	--glh-border: #23262d;
	--glh-text: #E8EAED;
	--glh-muted: #9AA0A6;
	--glh-primary: #00E676;      /* neon green — CTAs */
	--glh-primary-dark: #00b35c;
	--glh-secondary: #29B6F6;   /* electric blue — links/highlights */
	--glh-danger: #ff5252;
	--glh-gold: #ffc400;
	--glh-radius: 8px;
	--glh-font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--glh-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--glh-maxw: 1180px;
	--glh-header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--glh-bg);
	color: var(--glh-text);
	font-family: var(--glh-font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--glh-secondary); text-decoration: none; }
a:hover { color: var(--glh-primary); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--glh-font-head);
	line-height: 1.25;
	margin: 0 0 .6em;
	color: var(--glh-text);
	letter-spacing: .01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; margin-top: 1.8em; }
h3 { font-size: 1.3rem; margin-top: 1.4em; }

p { margin: 0 0 1.1em; }

::selection { background: var(--glh-primary); color: #06110b; }

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 2px solid var(--glh-primary);
	outline-offset: 2px;
}

/* Layout helpers */
.glh-container {
	width: 100%;
	max-width: var(--glh-maxw);
	margin: 0 auto;
	padding: 0 20px;
}
.glh-section { padding: 56px 0; }
.glh-section-title {
	font-size: 1.7rem;
	margin-bottom: .35em;
}
.glh-section-sub { color: var(--glh-muted); margin-bottom: 1.8em; }

/* Skip link */
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--glh-primary); color: #06110b;
	padding: 10px 16px; z-index: 9999; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================================
   2. BUTTONS & FORMS
   ============================================================ */
.glh-btn, .button, button, input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--glh-font-head);
	font-weight: 700;
	font-size: .95rem;
	padding: 13px 26px;
	border: 0;
	border-radius: var(--glh-radius);
	cursor: pointer;
	background: var(--glh-primary);
	color: #06110b;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.glh-btn:hover, .button:hover, button:hover, input[type="submit"]:hover {
	background: #2bff8f;
	color: #06110b;
	box-shadow: 0 0 18px rgba(0, 230, 118, .55), 0 4px 14px rgba(0,0,0,.4);
	transform: translateY(-1px);
}
.glh-btn--ghost {
	background: transparent;
	color: var(--glh-text);
	border: 1px solid var(--glh-border);
}
.glh-btn--ghost:hover {
	border-color: var(--glh-primary);
	color: var(--glh-primary);
	background: rgba(0,230,118,.06);
	box-shadow: none;
}
.glh-btn--blue { background: var(--glh-secondary); color: #04121a; }
.glh-btn--blue:hover { background: #5cc8ff; color: #04121a; box-shadow: 0 0 18px rgba(41,182,246,.5); }

input[type="text"], input[type="email"], input[type="search"], input[type="url"], textarea, select {
	width: 100%;
	background: var(--glh-surface-2);
	border: 1px solid var(--glh-border);
	border-radius: var(--glh-radius);
	color: var(--glh-text);
	padding: 12px 14px;
	font: inherit;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--glh-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0,230,118,.15);
}
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }

/* ============================================================
   3. HEADER (sticky) & NAVIGATION
   ============================================================ */
.glh-header {
	position: sticky;
	top: 0;
	z-index: 200;
	height: var(--glh-header-h);
	background: rgba(11, 13, 16, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--glh-border);
	transition: box-shadow .25s ease;
}
.glh-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.55); }
.glh-header-inner {
	height: var(--glh-header-h);
	display: flex;
	align-items: center;
	gap: 18px;
}
.glh-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.glh-logo img { max-height: 44px; width: auto; }
.glh-logo-text {
	font-family: var(--glh-font-head);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--glh-text);
	letter-spacing: .02em;
	white-space: nowrap;
}
.glh-logo-text .neon { color: var(--glh-primary); text-shadow: 0 0 12px rgba(0,230,118,.6); }

.glh-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 4px; align-items: center;
}
.glh-nav a {
	display: block;
	padding: 10px 13px;
	color: var(--glh-text);
	font-weight: 600;
	font-size: .92rem;
	border-radius: 6px;
	white-space: nowrap;
}
.glh-nav a:hover { color: var(--glh-primary); background: rgba(0,230,118,.07); }
.glh-nav .menu-item-has-children { position: relative; }
.glh-nav .sub-menu {
	display: none;
	position: absolute; top: 100%; left: 0;
	min-width: 250px;
	background: var(--glh-surface);
	border: 1px solid var(--glh-border);
	border-radius: var(--glh-radius);
	padding: 8px;
	box-shadow: 0 14px 40px rgba(0,0,0,.6);
}
.glh-nav .menu-item-has-children:hover > .sub-menu,
.glh-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.glh-nav .sub-menu a { padding: 9px 12px; font-weight: 500; }

.glh-header-actions { display: flex; align-items: center; gap: 10px; }
.glh-search-toggle, .glh-menu-toggle {
	background: transparent; border: 1px solid var(--glh-border);
	color: var(--glh-text); padding: 9px 12px; border-radius: var(--glh-radius);
	font-size: 1rem; line-height: 1;
}
.glh-search-toggle:hover, .glh-menu-toggle:hover {
	border-color: var(--glh-primary); color: var(--glh-primary);
	background: transparent; box-shadow: none; transform: none;
}
.glh-menu-toggle { display: none; }
.glh-cta-top { padding: 10px 18px; font-size: .85rem; }

.glh-search-bar {
	display: none;
	border-top: 1px solid var(--glh-border);
	background: var(--glh-surface);
	padding: 14px 0;
}
.glh-search-bar.open { display: block; }
.glh-search-bar form { display: flex; gap: 10px; }
.glh-search-bar input[type="search"] { flex: 1; }

/* ============================================================
   4. HERO
   ============================================================ */
.glh-hero {
	position: relative;
	overflow: hidden;
	padding: 84px 0 70px;
	background:
		radial-gradient(600px 300px at 15% 20%, rgba(0,230,118,.10), transparent 60%),
		radial-gradient(700px 350px at 85% 80%, rgba(41,182,246,.10), transparent 60%),
		var(--glh-bg);
}
.glh-hero::after { /* faint grid art via CSS */
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(41,182,246,.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(41,182,246,.05) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
	pointer-events: none;
}
.glh-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.glh-hero-kicker {
	display: inline-block;
	font-size: .78rem; font-weight: 700; letter-spacing: .18em;
	text-transform: uppercase; color: var(--glh-primary);
	border: 1px solid rgba(0,230,118,.35);
	padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
	background: rgba(0,230,118,.06);
}
.glh-hero h1 { font-size: 2.4rem; margin-bottom: .4em; }
.glh-hero h1 .neon { color: var(--glh-primary); text-shadow: 0 0 22px rgba(0,230,118,.45); }
.glh-hero p.glh-hero-sub { font-size: 1.1rem; color: var(--glh-muted); max-width: 620px; }
.glh-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ============================================================
   5. TRUST BAR
   ============================================================ */
.glh-trust {
	border-top: 1px solid var(--glh-border);
	border-bottom: 1px solid var(--glh-border);
	background: var(--glh-surface);
}
.glh-trust-inner {
	display: flex; flex-wrap: wrap; gap: 10px 34px;
	justify-content: center;
	padding: 16px 20px;
	font-size: .9rem; font-weight: 600; color: var(--glh-muted);
}
.glh-trust-item { display: flex; align-items: center; gap: 9px; }
.glh-trust-item .tick {
	width: 22px; height: 22px; border-radius: 50%;
	background: rgba(0,230,118,.12); color: var(--glh-primary);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: .8rem; font-weight: 800; flex: none;
}

/* ============================================================
   6. PRODUCT CARDS + BADGE RIBBONS
   ============================================================ */
.glh-picks { display: grid; gap: 22px; grid-template-columns: 1fr; }
.glh-product-card {
	position: relative;
	background: var(--glh-surface);
	border: 1px solid var(--glh-border);
	border-radius: 12px;
	padding: 26px 22px 22px;
	display: flex; flex-direction: column; gap: 12px;
	transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
	overflow: hidden;
}
.glh-product-card:hover {
	transform: translateY(-4px);
	border-color: rgba(0,230,118,.45);
	box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 22px rgba(0,230,118,.12);
}
/* diagonal badge ribbon */
.glh-ribbon {
	position: absolute; top: 14px; left: 14px;
	background: var(--glh-primary); color: #06110b;
	font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	padding: 5px 14px; border-radius: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.glh-ribbon--blue { background: var(--glh-secondary); color: #04121a; }
.glh-ribbon--gold { background: var(--glh-gold); color: #1a1200; }
.glh-product-card img.glh-pimg {
	width: 100%; height: 170px; object-fit: cover;
	border-radius: var(--glh-radius); background: var(--glh-surface-2);
}
.glh-product-card h3 { margin: 0; font-size: 1.15rem; }
.glh-product-meta {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.glh-price { font-family: var(--glh-font-head); font-size: 1.35rem; font-weight: 700; color: var(--glh-primary); }
.glh-rating { color: var(--glh-gold); font-weight: 700; font-size: .95rem; }
.glh-product-card .glh-btn { width: 100%; margin-top: 4px; }
.glh-aff-note { font-size: .75rem; color: var(--glh-muted); text-align: center; }

/* ============================================================
   7. BUDGET / CATEGORY CARDS
   ============================================================ */
.glh-budget-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.glh-budget-card {
	position: relative;
	background: linear-gradient(160deg, var(--glh-surface), var(--glh-surface-2));
	border: 1px solid var(--glh-border);
	border-radius: 12px;
	padding: 30px 24px;
	color: var(--glh-text);
	overflow: hidden;
	transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.glh-budget-card:hover { transform: translateY(-3px); border-color: var(--glh-secondary); box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 18px rgba(41,182,246,.12); }
.glh-budget-card .amt {
	font-family: var(--glh-font-head); font-size: 2rem; font-weight: 700; color: var(--glh-secondary);
}
.glh-budget-card h3 { margin: .2em 0 .3em; }
.glh-budget-card p { color: var(--glh-muted); font-size: .92rem; margin: 0 0 1em; }
.glh-budget-card .go { font-weight: 700; color: var(--glh-primary); }

/* ============================================================
   8. POST GRIDS (latest posts / related / archives)
   ============================================================ */
.glh-post-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.glh-post-card {
	background: var(--glh-surface);
	border: 1px solid var(--glh-border);
	border-radius: 12px;
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.glh-post-card:hover { transform: translateY(-4px); border-color: rgba(41,182,246,.45); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.glh-post-card .thumb { aspect-ratio: 16/9; background: var(--glh-surface-2); overflow: hidden; }
.glh-post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.glh-post-card:hover .thumb img { transform: scale(1.05); }
.glh-post-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.glh-post-card .cat {
	font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	color: var(--glh-secondary);
}
.glh-post-card h3 { margin: 0; font-size: 1.08rem; }
.glh-post-card h3 a { color: var(--glh-text); }
.glh-post-card h3 a:hover { color: var(--glh-primary); }
.glh-post-card .excerpt { color: var(--glh-muted); font-size: .9rem; flex: 1; }
.glh-post-card .meta { font-size: .78rem; color: var(--glh-muted); }

/* ============================================================
   9. COMPARISON TABLES
   ============================================================ */
.glh-table-wrap { overflow-x: auto; border: 1px solid var(--glh-border); border-radius: 12px; background: var(--glh-surface); }
table.glh-table, .glh-table-wrap table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .92rem; }
.glh-table th, .glh-table td, .glh-table-wrap th, .glh-table-wrap td {
	padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--glh-border);
}
.glh-table thead th, .glh-table-wrap thead th {
	background: var(--glh-surface-2);
	font-family: var(--glh-font-head);
	font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
	color: var(--glh-secondary);
	white-space: nowrap;
}
.glh-table tbody tr:last-child td, .glh-table-wrap tbody tr:last-child td { border-bottom: 0; }
.glh-table tbody tr:hover td, .glh-table-wrap tbody tr:hover td { background: rgba(41,182,246,.04); }
.glh-table .winner { color: var(--glh-primary); font-weight: 700; }
.glh-table caption { caption-side: bottom; padding: 12px; color: var(--glh-muted); font-size: .8rem; }

/* ============================================================
   10. BANNER CTA & NEWSLETTER
   ============================================================ */
.glh-banner {
	background:
		radial-gradient(500px 260px at 80% 20%, rgba(0,230,118,.12), transparent 60%),
		linear-gradient(140deg, #10141a, var(--glh-surface));
	border: 1px solid var(--glh-border);
	border-radius: 16px;
	padding: 44px 34px;
	display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
}
.glh-banner h2 { margin: 0 0 .3em; font-size: 1.6rem; }
.glh-banner p { color: var(--glh-muted); margin: 0; max-width: 560px; }

.glh-newsletter {
	background: var(--glh-surface);
	border: 1px solid var(--glh-border);
	border-radius: 16px;
	padding: 44px 34px;
	text-align: center;
	position: relative; overflow: hidden;
}
.glh-newsletter::before {
	content: ""; position: absolute; inset: -60px;
	background: radial-gradient(400px 200px at 50% 0%, rgba(41,182,246,.12), transparent 65%);
	pointer-events: none;
}
.glh-newsletter h2 { position: relative; }
.glh-newsletter p { color: var(--glh-muted); position: relative; }
.glh-newsletter form {
	position: relative;
	display: flex; gap: 10px; max-width: 480px; margin: 22px auto 0; flex-wrap: wrap;
}
.glh-newsletter input[type="email"] { flex: 1; min-width: 220px; }
.glh-newsletter .tiny { font-size: .75rem; color: var(--glh-muted); margin-top: 12px; }

/* ============================================================
   11. FOOTER
   ============================================================ */
.glh-footer {
	background: #08090c;
	border-top: 1px solid var(--glh-border);
	margin-top: 40px;
	font-size: .92rem;
}
.glh-footer-grid {
	display: grid; gap: 34px; grid-template-columns: 1fr;
	padding: 52px 0 34px;
}
.glh-footer h4 {
	font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--glh-secondary); margin-bottom: 14px;
}
.glh-footer ul { list-style: none; margin: 0; padding: 0; }
.glh-footer ul li { margin-bottom: 9px; }
.glh-footer ul a { color: var(--glh-muted); }
.glh-footer ul a:hover { color: var(--glh-primary); }
.glh-footer .about { color: var(--glh-muted); font-size: .9rem; max-width: 300px; }
.glh-disclosure {
	border-top: 1px solid var(--glh-border);
	padding: 22px 0 8px;
	color: var(--glh-muted); font-size: .8rem; line-height: 1.6;
}
.glh-photo-credit {
	color: var(--glh-muted);
	opacity: .7;
	font-size: .72rem;
	text-align: center;
	padding: 0 0 14px;
}
.glh-copyright {
	border-top: 1px solid var(--glh-border);
	padding: 18px 0 26px;
	display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
	color: var(--glh-muted); font-size: .82rem;
}

/* ============================================================
   12. SINGLE POST
   ============================================================ */
.glh-breadcrumbs { font-size: .82rem; color: var(--glh-muted); margin: 22px 0 6px; }
.glh-breadcrumbs a { color: var(--glh-secondary); }
.glh-breadcrumbs .sep { margin: 0 8px; opacity: .6; }

.glh-single-head { margin: 10px 0 8px; }
.glh-single-head h1 { font-size: 2.1rem; margin-bottom: .35em; }
.glh-post-meta {
	display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
	color: var(--glh-muted); font-size: .88rem; margin-bottom: 20px;
}
.glh-post-meta .byline img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.glh-post-meta a { color: var(--glh-secondary); }

.glh-single-layout { display: grid; gap: 34px; grid-template-columns: 1fr; }
.glh-entry { min-width: 0; }
.glh-entry .wp-post-image {
	border-radius: 12px; border: 1px solid var(--glh-border); margin-bottom: 26px;
}

/* Table of Contents (static — sits at the top of the article) */
.glh-toc {
	background: var(--glh-surface);
	border: 1px solid var(--glh-border);
	border-radius: 12px;
	padding: 20px 22px;
	margin: 0 0 28px;
}
.glh-toc strong { display: block; font-family: var(--glh-font-head); margin-bottom: 10px; color: var(--glh-secondary); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.glh-toc ol { margin: 0; padding-left: 20px; }
.glh-toc li { margin-bottom: 6px; font-size: .92rem; }
.glh-toc a { color: var(--glh-muted); }
.glh-toc a:hover, .glh-toc a.active { color: var(--glh-primary); }
@media (min-width: 1024px) {
	.glh-toc { max-width: 100%; }
}

/* Amazon affiliate links inside articles render as centered CTA buttons */
.glh-entry p:has(> a[href*="amazon.com"]),
.glh-entry li:has(> a[href*="amazon.com"]),
.glh-entry td:has(> a[href*="amazon.com"]) { text-align: center; }
.glh-entry a[href*="amazon.com"] {
	display: inline-block;
	font-family: var(--glh-font-head);
	font-weight: 700;
	font-size: .95rem;
	padding: 13px 26px;
	border-radius: var(--glh-radius);
	background: var(--glh-primary);
	color: #06110b;
	text-decoration: none;
	margin: 10px 0 6px;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.glh-entry a[href*="amazon.com"]:hover {
	background: #2bff8f;
	color: #06110b;
	box-shadow: 0 0 18px rgba(0, 230, 118, .55), 0 4px 14px rgba(0,0,0,.4);
	transform: translateY(-1px);
	text-decoration: none;
}

/* Pros / Cons labels */
.glh-pc-label {
	font-family: var(--glh-font-head);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .85rem;
	margin: 16px 0 4px;
}
.glh-pc-label.glh-pros { color: var(--glh-primary); }
.glh-pc-label.glh-cons { color: #ff7a7a; }

/* Product images injected after product headings */
.glh-pick-figure { margin: 18px 0 24px; }
.glh-pick-figure img {
	width: 100%;
	max-height: 440px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--glh-border);
}
.glh-single-hero { margin: 0 0 28px; }
.glh-single-hero img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid var(--glh-border);
}

/* Entry content typography helpers */
.glh-entry ul, .glh-entry ol { padding-left: 22px; }
.glh-entry li { margin-bottom: .5em; }
.glh-entry blockquote {
	border-left: 3px solid var(--glh-primary);
	background: var(--glh-surface);
	margin: 1.6em 0; padding: 16px 20px; border-radius: 0 var(--glh-radius) var(--glh-radius) 0;
	color: var(--glh-muted);
}
.glh-entry code {
	background: var(--glh-surface-2); padding: 2px 7px; border-radius: 5px;
	font-size: .88em; color: var(--glh-secondary);
}
.glh-entry pre {
	background: #08090c; border: 1px solid var(--glh-border); border-radius: var(--glh-radius);
	padding: 18px; overflow-x: auto;
}
.glh-entry pre code { background: none; padding: 0; }
.glh-entry figure { margin: 1.8em 0; }
.glh-entry figcaption { color: var(--glh-muted); font-size: .82rem; text-align: center; margin-top: 8px; }
.glh-entry table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .93rem; display: block; overflow-x: auto; }
.glh-entry th, .glh-entry td { border: 1px solid var(--glh-border); padding: 11px 14px; text-align: left; }
.glh-entry th { background: var(--glh-surface-2); color: var(--glh-secondary); font-family: var(--glh-font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.glh-entry tr:nth-child(even) td { background: rgba(255,255,255,.015); }

/* Pros / Cons box */
.glh-pros-cons {
	display: grid; gap: 16px; grid-template-columns: 1fr;
	margin: 1.8em 0;
}
.glh-pc {
	border-radius: 12px; padding: 20px 22px;
	border: 1px solid var(--glh-border); background: var(--glh-surface);
}
.glh-pc h4 { margin: 0 0 12px; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.glh-pc--pros { border-top: 3px solid var(--glh-primary); }
.glh-pc--pros h4 { color: var(--glh-primary); }
.glh-pc--cons { border-top: 3px solid var(--glh-danger); }
.glh-pc--cons h4 { color: var(--glh-danger); }
.glh-pc ul { list-style: none; margin: 0; padding: 0; }
.glh-pc li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .94rem; }
.glh-pc--pros li::before { content: "✓"; position: absolute; left: 0; color: var(--glh-primary); font-weight: 800; }
.glh-pc--cons li::before { content: "✕"; position: absolute; left: 0; color: var(--glh-danger); font-weight: 800; }

/* FAQ */
.glh-faq { margin: 1.8em 0; display: grid; gap: 12px; }
.glh-faq-item {
	background: var(--glh-surface); border: 1px solid var(--glh-border);
	border-radius: var(--glh-radius); padding: 18px 20px;
}
.glh-faq-item .q { font-family: var(--glh-font-head); font-weight: 700; margin: 0 0 8px; color: var(--glh-text); }
.glh-faq-item .q::before { content: "Q. "; color: var(--glh-secondary); }
.glh-faq-item .a { margin: 0; color: var(--glh-muted); }
.glh-faq-item .a::before { content: "A. "; color: var(--glh-primary); font-weight: 700; }

/* Inline affiliate CTA */
.glh-cta-box {
	background: linear-gradient(140deg, rgba(0,230,118,.10), rgba(41,182,246,.08));
	border: 1px solid rgba(0,230,118,.35);
	border-radius: 12px; padding: 24px; margin: 2em 0;
	display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.glh-cta-box p { margin: 0; font-weight: 600; }

/* Author box */
.glh-author-box {
	display: flex; gap: 18px; align-items: flex-start;
	background: var(--glh-surface); border: 1px solid var(--glh-border);
	border-radius: 12px; padding: 24px; margin: 40px 0;
}
.glh-author-box img { border-radius: 50%; flex: none; border: 2px solid var(--glh-primary); }
.glh-author-box .who { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--glh-secondary); font-weight: 700; }
.glh-author-box h4 { margin: .2em 0 .4em; }
.glh-author-box p { color: var(--glh-muted); font-size: .92rem; margin: 0; }

/* Share buttons */
.glh-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 30px 0; }
.glh-share span { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--glh-muted); margin-right: 6px; }
.glh-share a {
	display: inline-flex; align-items: center; gap: 7px;
	border: 1px solid var(--glh-border); border-radius: var(--glh-radius);
	padding: 8px 14px; font-size: .85rem; font-weight: 600; color: var(--glh-text);
	background: var(--glh-surface);
}
.glh-share a:hover { border-color: var(--glh-secondary); color: var(--glh-secondary); box-shadow: none; transform: none; }

/* Related posts */
.glh-related { margin: 44px 0; }
.glh-related h2 { font-size: 1.4rem; }

/* Prev / Next */
.glh-post-nav {
	display: grid; gap: 14px; grid-template-columns: 1fr;
	margin: 34px 0; padding-top: 26px; border-top: 1px solid var(--glh-border);
}
.glh-post-nav a {
	background: var(--glh-surface); border: 1px solid var(--glh-border);
	border-radius: var(--glh-radius); padding: 16px 18px; color: var(--glh-text);
	display: block;
}
.glh-post-nav a:hover { border-color: var(--glh-primary); }
.glh-post-nav .lbl { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--glh-muted); margin-bottom: 4px; }
.glh-post-nav .next { text-align: right; }

/* Tags */
.glh-tags { margin: 26px 0; font-size: .85rem; }
.glh-tags a {
	display: inline-block; background: var(--glh-surface-2); border: 1px solid var(--glh-border);
	border-radius: 999px; padding: 5px 14px; margin: 0 8px 8px 0; color: var(--glh-muted);
}
.glh-tags a:hover { color: var(--glh-primary); border-color: var(--glh-primary); }

/* ============================================================
   13. ARCHIVE / SEARCH / PAGE HEADERS
   ============================================================ */
.glh-page-head { padding: 46px 0 10px; }
.glh-page-head h1 { font-size: 2rem; margin-bottom: .3em; }
.glh-page-head .desc { color: var(--glh-muted); max-width: 720px; }

/* Pagination */
.glh-pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.glh-pagination a, .glh-pagination span {
	border: 1px solid var(--glh-border); border-radius: var(--glh-radius);
	padding: 9px 16px; color: var(--glh-text); background: var(--glh-surface); font-weight: 600;
}
.glh-pagination a:hover { border-color: var(--glh-primary); color: var(--glh-primary); }
.glh-pagination .current { background: var(--glh-primary); color: #06110b; border-color: var(--glh-primary); }

/* ============================================================
   14. 404 — GAME OVER
   ============================================================ */
.glh-404 { text-align: center; padding: 90px 0; }
.glh-404 .code {
	font-family: var(--glh-font-head); font-size: 6rem; font-weight: 700; line-height: 1;
	color: var(--glh-primary); text-shadow: 0 0 40px rgba(0,230,118,.5);
	margin-bottom: .2em;
}
.glh-404 h1 { font-size: 2rem; }
.glh-404 p { color: var(--glh-muted); max-width: 480px; margin: 0 auto 28px; }
.glh-404 .respawn { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   15. COMMENTS
   ============================================================ */
.glh-comments { margin: 44px 0; }
.glh-comments h2 { font-size: 1.4rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment {
	background: var(--glh-surface); border: 1px solid var(--glh-border);
	border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.comment-list .children { list-style: none; margin: 16px 0 0; padding-left: 22px; }
.comment-author { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.comment-author img { border-radius: 50%; }
.comment-meta { font-size: .78rem; color: var(--glh-muted); margin-bottom: 8px; }
.comment-reply-link { font-size: .82rem; font-weight: 700; }
.comment-respond { background: var(--glh-surface); border: 1px solid var(--glh-border); border-radius: 12px; padding: 26px; margin-top: 26px; }
.comment-form p { margin-bottom: 14px; }

/* ============================================================
   16. SIDEBAR & WIDGETS
   ============================================================ */
.glh-with-sidebar { display: grid; gap: 34px; grid-template-columns: 1fr; }
.glh-sidebar .widget {
	background: var(--glh-surface); border: 1px solid var(--glh-border);
	border-radius: 12px; padding: 22px; margin-bottom: 22px;
}
.glh-sidebar .widget-title {
	font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
	color: var(--glh-secondary); margin: 0 0 14px; font-family: var(--glh-font-head);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { margin-bottom: 9px; font-size: .93rem; }
.widget ul a { color: var(--glh-muted); }
.widget ul a:hover { color: var(--glh-primary); }

/* ============================================================
   17. RESPONSIVE (mobile-first: base is mobile)
   ============================================================ */
@media (min-width: 640px) {
	.glh-picks { grid-template-columns: repeat(2, 1fr); }
	.glh-post-grid { grid-template-columns: repeat(2, 1fr); }
	.glh-budget-grid { grid-template-columns: repeat(2, 1fr); }
	.glh-pros-cons { grid-template-columns: 1fr 1fr; }
	.glh-post-nav { grid-template-columns: 1fr 1fr; }
	h1 { font-size: 2.4rem; }
	.glh-hero h1 { font-size: 2.9rem; }
}
@media (min-width: 900px) {
	.glh-menu-toggle { display: none; }
	.glh-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
	.glh-with-sidebar { grid-template-columns: 1fr 320px; }
	.glh-single-layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.glh-toc-col { order: 2; }
}
@media (min-width: 1024px) {
	.glh-picks { grid-template-columns: repeat(3, 1fr); }
	.glh-post-grid { grid-template-columns: repeat(3, 1fr); }
	.glh-budget-grid { grid-template-columns: repeat(4, 1fr); }
}
/* Mobile nav: off-canvas panel under 900px */
@media (max-width: 899px) {
	.glh-menu-toggle { display: inline-flex; }
	.glh-nav {
		display: none;
		position: absolute; top: var(--glh-header-h); left: 0; right: 0;
		background: var(--glh-surface);
		border-bottom: 1px solid var(--glh-border);
		padding: 10px 20px 18px;
		max-height: calc(100vh - var(--glh-header-h));
		overflow-y: auto;
	}
	.glh-nav.open { display: block; }
	.glh-nav ul { flex-direction: column; align-items: stretch; }
	.glh-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
	.glh-cta-top { display: none; }
	.glh-logo-text { font-size: 1.05rem; }
	.glh-hero { padding: 60px 0 50px; }
	.glh-hero h1 { font-size: 1.9rem; }
	.glh-single-head h1 { font-size: 1.6rem; }
	.glh-newsletter form { flex-direction: column; }
	.glh-newsletter form .glh-btn { width: 100%; }
}

/* Extra-small screens */
@media (max-width: 480px) {
	body { font-size: 15px; }
	.glh-container { padding: 0 16px; }
	.glh-section { padding: 40px 0; }
	.glh-hero h1 { font-size: 1.65rem; }
	.glh-hero-ctas .glh-btn { width: 100%; }
	.glh-product-card { padding: 22px 16px 18px; }
	.glh-404 .code { font-size: 4rem; }
	.glh-banner, .glh-newsletter { padding: 32px 20px; }
	.glh-author-box { flex-direction: column; }
}

@media print {
	.glh-header, .glh-footer, .glh-share, .glh-newsletter, .glh-toc, .glh-cta-box { display: none; }
	body { background: #fff; color: #000; }
}
