/**
 * Antigravity Reviews Main CSS File.
 *
 * @package AntigravityReviews
 */

/* ==========================================================================
   1. Design System & CSS Variables
   ========================================================================== */
@font-face {
	font-family: 'Poppins';
	src: url('../fonts/poppins-latin.ttf') format('truetype');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-latin.ttf') format('truetype');
	font-weight: 300 400 500 600 700;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Colors */
	--primary: #2563EB;
	--primary-hover: #1D4ED8;
	--secondary: #0F172A;
	--accent: #F97316;
	--accent-hover: #EA580C;
	--success: #22C55E;
	--danger: #EF4444;
	--bg: #FFFFFF;
	--bg-light: #F8FAFC;
	--border-color: #E2E8F0;
	
	--text-main: #1E293B;
	--text-muted: #64748B;
	--text-light: #F1F5F9;
	
	/* Layout Sizing */
	--container-width: 1200px;
	--sidebar-pct: 30%;
	--content-pct: 66%;
	
	/* UI System */
	--radius: 12px;
	--radius-sm: 6px;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	
	/* Typography */
	--font-headings: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   2. Global Reset & Defaults
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	background-color: var(--bg);
	color: var(--text-main);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a:hover {
	color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-headings);
	color: var(--secondary);
	margin-top: 0;
	margin-bottom: 0.5em;
	font-weight: 700;
	line-height: 1.25;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* Wide expansive layout for Header, Breadcrumbs, and Footer */
.site-header .container,
.site-footer .container,
.footer-disclosure-banner .container,
.footer-bottom-bar .container,
.breadcrumbs-outer .container {
	max-width: 1440px;
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 768px) {
	.site-header .container,
	.site-footer .container,
	.footer-disclosure-banner .container,
	.footer-bottom-bar .container,
	.breadcrumbs-outer .container {
		padding-left: 30px;
		padding-right: 30px;
	}
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.col-8 {
	width: var(--content-pct);
	padding-left: 15px;
	padding-right: 15px;
}

.col-4 {
	width: var(--sidebar-pct);
	padding-left: 15px;
	padding-right: 15px;
}

.bg-light {
	background-color: var(--bg-light);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.flex-row { display: flex; }
.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 0; }
.flex-1 { flex: 1; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	top: 5px;
	text-decoration: none;
	width: auto;
	z-index: 100000;
}

/* ==========================================================================
   3. Buttons & Badges UI components
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-headings);
	font-weight: 600;
	padding: 10px 20px;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: var(--transition);
	font-size: 0.95rem;
}

.btn-sm {
	padding: 6px 12px;
	font-size: 0.85rem;
}

.btn-lg {
	padding: 12px 28px;
	font-size: 1.05rem;
}

.btn-block {
	display: flex;
	width: 100%;
}

.btn-primary {
	background-color: var(--primary);
	color: #ffffff;
}

.btn-primary:hover {
	background-color: var(--primary-hover);
	color: #ffffff;
}

.btn-secondary {
	background-color: var(--secondary);
	color: #ffffff;
}

.btn-secondary:hover {
	background-opacity: 0.9;
	background-color: #1e293b;
	color: #ffffff;
}

.btn-accent {
	background: linear-gradient(135deg, var(--accent), #ff8f3d);
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.btn-accent:hover {
	background: linear-gradient(135deg, var(--accent-hover), var(--accent));
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(249, 115, 22, 0.3);
}

.badge {
	display: inline-flex;
	padding: 4px 8px;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: var(--radius-sm);
	text-transform: uppercase;
}

.badge-primary { background-color: rgba(37, 99, 235, 0.1); color: var(--primary); }
.badge-secondary { background-color: rgba(100, 116, 139, 0.1); color: var(--text-muted); }
.badge-success { background-color: rgba(34, 197, 94, 0.1); color: var(--success); }
.badge-accent { background-color: rgba(249, 115, 22, 0.1); color: var(--accent); }

/* ==========================================================================
   4. Card Styling System
   ========================================================================== */
.card {
	background-color: var(--bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: var(--transition);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
	position: relative;
	overflow: hidden;
}

.card-image-wrapper img {
	transition: var(--transition);
	width: 100%;
	object-fit: cover;
}

.card:hover .card-image-wrapper img {
	transform: scale(1.05);
}

.card-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 10;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: var(--radius-sm);
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #ffffff;
}

.rating-badge {
	background-color: var(--accent);
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cat-badge {
	background-color: var(--primary);
}

.card-body {
	padding: 24px;
}

.card-meta {
	display: flex;
	gap: 12px;
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-bottom: 8px;
	align-items: center;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.icon {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.card-title {
	margin-top: 0;
	margin-bottom: 12px;
}

.card-title a {
	color: var(--secondary);
}

.card-title a:hover {
	color: var(--primary);
}

.card-excerpt {
	color: var(--text-muted);
	font-size: 0.92rem;
	margin-bottom: 20px;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--border-color);
	padding-top: 15px;
}

.card-price {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--secondary);
}

/* ==========================================================================
   5. Header & Navigation (Sticky, Search, Offcanvas)
   ========================================================================== */
.site-header {
	background-color: var(--bg);
	border-bottom: 1px solid var(--border-color);
}

.top-bar {
	background-color: var(--secondary);
	color: var(--text-light);
	font-size: 0.8rem;
	padding: 8px 0;
}

.top-bar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.trending-badge {
	background-color: var(--accent);
	color: #ffffff;
	padding: 2px 6px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 0.75rem;
	margin-right: 10px;
}

.ticker-link {
	color: var(--text-light);
	font-weight: 500;
}

.ticker-link:hover {
	color: var(--accent);
}

.top-bar-utilities {
	display: flex;
	align-items: center;
	gap: 15px;
}

.top-bar-socials {
	display: flex;
	gap: 10px;
}

.social-link {
	color: var(--text-muted);
}

.social-link:hover {
	color: #ffffff;
}

.dark-mode-toggle {
	background: none;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	padding: 0;
}

.dark-mode-toggle:hover {
	color: #ffffff;
}

.dark-mode-toggle .icon-sun { display: none; }
body.dark-mode .dark-mode-toggle .icon-sun { display: block; }
body.dark-mode .dark-mode-toggle .icon-moon { display: none; }

.navigation-bar {
	padding: 15px 0;
	background-color: var(--bg);
	transition: var(--transition);
	z-index: 100;
}

.navigation-bar.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: var(--shadow);
	padding: 10px 0;
	border-bottom: 1px solid var(--border-color);
}

.navigation-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-title {
	font-size: 1.45rem;
	margin: 0;
}

.site-title a {
	color: var(--secondary);
}

/* Primary Menu */
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}

.main-navigation a {
	color: var(--secondary);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 5px 0;
	position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--primary);
}

.nav-utilities {
	display: flex;
	align-items: center;
	gap: 15px;
}

.search-trigger {
	background: none;
	border: none;
	color: var(--secondary);
	cursor: pointer;
	padding: 0;
}

.search-trigger:hover {
	color: var(--primary);
}

.mobile-menu-trigger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 20px;
}

.hamburger-bar {
	background-color: var(--secondary);
	height: 2.5px;
	width: 100%;
	border-radius: 2px;
	transition: var(--transition);
}

/* Search Popup Modal */
.search-popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.search-popup.active {
	opacity: 1;
	visibility: visible;
}

.search-popup-overlay {
	position: absolute;
	top:0; left:0; width:100%; height:100%;
	background-color: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(5px);
}

.search-popup-wrapper {
	position: relative;
	max-width: 650px;
	margin: 10% auto 0;
	background-color: var(--bg);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 30px;
	transform: scale(0.9);
	transition: var(--transition);
}

.search-popup.active .search-popup-wrapper {
	transform: scale(1);
}

.search-popup-close {
	position: absolute;
	top: 15px;
	right: 20px;
	background: none;
	border: none;
	font-size: 2rem;
	cursor: pointer;
	color: var(--text-muted);
}

.search-popup-form {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 2px solid var(--primary);
	margin-bottom: 20px;
}

.search-popup-input {
	border: none;
	outline: none;
	width: 100%;
	padding: 12px 0;
	font-size: 1.25rem;
	color: var(--secondary);
	background-color: transparent;
}

.search-popup-submit {
	background: none;
	border: none;
	color: var(--primary);
	cursor: pointer;
}

.search-suggestions-results {
	max-height: 350px;
	overflow-y: auto;
}

.search-suggested-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-bottom: 1px solid var(--border-color);
	transition: var(--transition);
	border-radius: var(--radius-sm);
}

.search-suggested-item:hover {
	background-color: var(--bg-light);
}

.search-suggested-thumb {
	width: 50px;
	height: 50px;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.search-suggested-thumb img {
	width: 100%; height: 100%; object-fit: cover;
}

.search-suggested-title {
	font-weight: 600;
	color: var(--secondary);
	font-size: 0.92rem;
}

.search-suggested-cat {
	font-size: 0.72rem;
	color: var(--text-muted);
}

/* ==========================================================================
   6. Homepage Layouts (Hero, Grid, Columns)
   ========================================================================== */
.homepage-hero-section {
	padding: 40px 0;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 30px;
}

.hero-three-column-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 30px;
}

.hero-deals-widget {
	border: 1px solid var(--border-color);
	background-color: var(--bg);
}

.hero-deals-widget .widget-title {
	font-family: var(--font-headings);
	font-weight: 700;
	color: var(--secondary);
}

.deal-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.deal-title {
	color: var(--secondary);
	font-family: var(--font-body);
}

/* Brand Ribbon Section */
.brand-ribbon-section {
	background-color: var(--bg-light);
	padding: 20px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

.brand-ribbon-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.brand-ribbon-label {
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 0.82rem;
	text-transform: uppercase;
	color: var(--text-muted);
	letter-spacing: 0.5px;
}

.brand-logos-list {
	display: flex;
	gap: 30px;
	align-items: center;
	flex-wrap: wrap;
}

.brand-logo-item {
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--text-muted);
	opacity: 0.45;
	transition: var(--transition);
	cursor: pointer;
}

.brand-logo-item:hover {
	opacity: 1;
	color: var(--primary);
	transform: scale(1.05);
}

/* Category Navigation Pills Filter */
.blog-pills-navigation {
	margin-top: 25px;
	margin-bottom: 5px;
}

.blog-pills-navigation .pills-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	display: block;
	margin-bottom: 12px;
	letter-spacing: 0.5px;
}

.blog-pills-navigation .pills-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.blog-pills-navigation .pill-item {
	display: inline-flex;
	padding: 6px 18px;
	background-color: var(--bg);
	border: 1px solid var(--border-color);
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-main);
	transition: var(--transition);
}

.blog-pills-navigation .pill-item:hover,
.blog-pills-navigation .pill-item.active {
	background-color: var(--primary);
	color: #ffffff;
	border-color: var(--primary);
	box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

/* Key Takeaways summary box */
.article-key-takeaways {
	border-left: 4px solid var(--accent) !important;
	background-color: var(--bg-light);
	box-shadow: none !important;
}

.hero-main-card .card-image-wrapper {
	height: 380px;
}

.hero-main-card .card-image-wrapper img {
	height: 100%;
}

.hero-side-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.flex-row.card {
	display: flex;
	flex-direction: row;
}

.card-image-wrapper.flex-shrink {
	width: 120px;
	height: 100%;
}

.card-image-wrapper.flex-shrink img {
	height: 100%;
}

.homepage-section {
	padding: 60px 0;
}

.section-header {
	text-align: center;
	margin-bottom: 40px;
}

.section-title {
	font-size: 1.85rem;
	margin-bottom: 10px;
}

.section-subtitle {
	color: var(--text-muted);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.grid {
	display: grid;
	gap: 30px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feed-post-card {
	margin-bottom: 25px;
}

.feed-post-card .card-image-wrapper {
	width: 240px;
	height: 100%;
}

.feed-post-card .card-image-wrapper img {
	height: 100%;
}

.pagination-wrapper {
	margin-top: 40px;
}

.pagination-wrapper ul {
	list-style: none;
	padding: 0;
	display: flex;
	gap: 8px;
	justify-content: center;
}

.pagination-wrapper a,
.pagination-wrapper span {
	display: inline-flex;
	padding: 8px 14px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	font-weight: 600;
	color: var(--secondary);
}

.pagination-wrapper span.current,
.pagination-wrapper a:hover {
	background-color: var(--primary);
	color: #ffffff;
	border-color: var(--primary);
}

/* ==========================================================================
   7. Single Article Review & Listicle Elements
   ========================================================================== */
.article-single, .article-review, .article-listicle, .article-comparison {
	margin-bottom: 40px;
}

.review-header-card {
	margin-bottom: 30px;
}

.review-subtitle-verdict {
	font-size: 1.15rem;
	color: var(--text-muted);
	margin-top: 12px;
	line-height: 1.45;
}

.review-quick-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	gap: 20px;
}

.rating-circle-progress {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: radial-gradient(var(--bg) 55%, transparent 56%), conic-gradient(var(--accent) 92%, #e2e8f0 0);
	display: flex;
	align-items: center;
	justify-content: center;
}

body.dark-mode .rating-circle-progress {
	background: radial-gradient(var(--bg) 55%, transparent 56%), conic-gradient(var(--accent) 92%, var(--gray-light) 0);
}

.rating-circle-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--secondary);
}

.rating-verdict-label {
	display: flex;
	flex-direction: column;
	margin-left: 12px;
}

.rating-verdict-label .label-heading {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--text-muted);
	font-weight: 600;
}

.rating-verdict-label .label-desc {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--accent);
}

.review-quick-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.quick-price-box {
	display: flex;
	flex-direction: column;
	text-align: right;
}

.quick-price-box .price-lbl {
	font-size: 0.72rem;
	color: var(--text-muted);
	text-transform: uppercase;
}

.quick-price-box .price-val {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--secondary);
}

/* Article Body Grid with TOC */
.article-body-wrapper {
	display: flex;
	gap: 30px;
	margin-top: 30px;
}

.article-toc-sidebar {
	width: 250px;
}

.sticky-toc-box {
	position: sticky;
	top: 100px;
}

.toc-title {
	font-size: 0.95rem;
	text-transform: uppercase;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 8px;
}

.toc-progress-indicator-bar {
	background-color: var(--border-color);
	height: 3px;
	border-radius: 2px;
	margin-bottom: 12px;
}

#reading-progress-bar {
	height: 100%;
	background-color: var(--primary);
	transition: width 0.1s ease-out;
}

.toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.toc-list li a {
	color: var(--text-muted);
}

.toc-list li a:hover,
.toc-list li.active a {
	color: var(--primary);
	font-weight: 600;
}

/* Review Summary Module */
.product-review-summary-module {
	margin-top: 40px;
	border-top: 4px solid var(--primary);
}

.module-title {
	font-size: 1.35rem;
	margin-bottom: 15px;
}

.module-flex {
	gap: 24px;
	align-items: flex-start;
}

.module-score-board {
	border: 1px solid var(--border-color);
	background-color: var(--bg-light);
	border-radius: var(--radius);
	padding: 20px;
	min-width: 140px;
}

.score-circle {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: var(--secondary);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

.score-num {
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1;
}

.score-lbl {
	font-size: 0.6rem;
	opacity: 0.8;
}

.score-grade {
	font-weight: 700;
	color: var(--primary);
	font-size: 1rem;
	text-transform: uppercase;
}

.module-pros-cons {
	gap: 20px;
}

.pros-panel { border-left: 4px solid var(--success); }
.cons-panel { border-left: 4px solid var(--danger); }

.panel-heading {
	font-size: 0.9rem;
	margin-bottom: 12px;
	gap: 6px;
}

.panel-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.88rem;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.panel-list li {
	position: relative;
	padding-left: 20px;
}

.pros-panel .panel-list li::before {
	content: "✓";
	color: var(--success);
	position: absolute;
	left: 0;
	font-weight: bold;
}

.cons-panel .panel-list li::before {
	content: "✗";
	color: var(--danger);
	position: absolute;
	left: 0;
	font-weight: bold;
}

.specs-table, .comparison-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
	margin-top: 15px;
}

.specs-table th, .specs-table td,
.comparison-specs-table th, .comparison-specs-table td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--border-color);
	text-align: left;
}

.specs-table th, .comparison-specs-table th {
	background-color: var(--bg-light);
	font-weight: 600;
	color: var(--secondary);
	width: 30%;
}

.specs-table tr:hover, .comparison-specs-table tr:hover {
	background-color: var(--bg-light);
}

/* Listicles Quick Picks Table */
.quick-picks-table-wrapper {
	overflow-x: auto;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
}

.quick-picks-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.quick-picks-table th, .quick-picks-table td {
	padding: 12px 18px;
	border-bottom: 1px solid var(--border-color);
	text-align: left;
}

.quick-picks-table th {
	background-color: var(--secondary);
	color: #ffffff;
	font-weight: 600;
}

/* Comparisons SCOREBOARD */
.scoreboard-grid {
	display: flex;
	gap: 30px;
	justify-content: center;
}

.scoreboard-img {
	width: 80px;
	height: 80px;
	border-radius: var(--radius-sm);
	object-fit: cover;
	margin-bottom: 12px;
}

.vs-circle {
	width: 50px;
	height: 50px;
	background-color: var(--secondary);
	color: #ffffff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	box-shadow: var(--shadow);
}

body.dark-mode .vs-circle {
	background-color: var(--accent);
}

/* Sticky Mobile Buy Bar */
.mobile-sticky-buy-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--bg);
	border-top: 1px solid var(--border-color);
	padding: 10px 0;
	z-index: 1000;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.sticky-bar-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sticky-bar-title {
	font-weight: 700;
	color: var(--secondary);
	font-size: 0.9rem;
}

.sticky-bar-score {
	background-color: var(--accent);
	color: #ffffff;
	font-weight: bold;
	font-size: 0.75rem;
	padding: 2px 6px;
	border-radius: var(--radius-sm);
}

/* ==========================================================================
   8. Sidebar and Custom Widgets
   ========================================================================== */
.sidebar-area {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.widget {
	background-color: var(--bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow);
}

.widget-title {
	font-size: 1rem;
	text-transform: uppercase;
	border-bottom: 2px solid var(--primary);
	padding-bottom: 8px;
	margin-bottom: 18px;
}

.author-card-widget-content {
	text-align: center;
}

.author-card-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 12px;
}

.author-card-name {
	margin-bottom: 8px;
}

.author-card-bio {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 15px;
}

.popular-reviews-widget-list,
.featured-posts-widget-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.widget-post-item {
	display: flex;
	gap: 12px;
	align-items: center;
}

.widget-post-thumb {
	width: 60px;
	height: 50px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.widget-post-thumb img {
	width:100%; height:100%; object-fit:cover;
}

.widget-post-title {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--secondary);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.widget-post-rating {
	margin-top: 4px;
}

.top-rated-widget-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.widget-post-bar-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: var(--bg-light);
	border-radius: 20px;
	overflow: hidden;
	height: 18px;
	position: relative;
	margin-top: 6px;
}

.widget-post-bar-progress {
	background-color: var(--accent);
	height: 100%;
}

.widget-post-score {
	position: absolute;
	right: 10px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--secondary);
}

.sidebar-ad-placeholder {
	background-color: var(--bg-light);
	border: 2px dashed var(--border-color);
	border-radius: var(--radius-sm);
	height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-size: 0.85rem;
}

/* ==========================================================================
   9. Footer & Navigation Drawer
   ========================================================================== */
.site-footer {
	background-color: var(--secondary);
	color: var(--text-light);
	margin-top: 60px;
}

.footer-disclosure-banner {
	background-color: rgba(0, 0, 0, 0.2);
	padding: 15px 0;
	font-size: 0.78rem;
	color: var(--text-muted);
}

.disclosure-text {
	margin: 0;
}

.footer-widgets-grid {
	padding: 60px 0;
}

.footer-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.footer-widget-title {
	color: #ffffff;
	font-size: 0.95rem;
	text-transform: uppercase;
	margin-bottom: 20px;
	border-left: 3px solid var(--accent);
	padding-left: 10px;
}

.footer-widget p {
	font-size: 0.88rem;
	color: var(--text-light);
	opacity: 0.8;
}

.footer-widget-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.88rem;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-widget-list a {
	color: var(--text-light);
	opacity: 0.8;
}

.footer-widget-list a:hover {
	opacity: 1;
	color: var(--accent);
}

.footer-bottom-bar {
	background-color: rgba(0, 0, 0, 0.4);
	padding: 20px 0;
	font-size: 0.8rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.copyright-text {
	margin: 0;
}

.footer-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 15px;
}

.footer-navigation a {
	color: var(--text-light);
	opacity: 0.7;
}

.footer-navigation a:hover {
	opacity: 1;
}

/* Offcanvas Drawer Mobile Menu */
.mobile-offcanvas {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3000;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.mobile-offcanvas.active {
	opacity: 1;
	visibility: visible;
}

.mobile-offcanvas-overlay {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background-color: rgba(15, 23, 42, 0.75);
}

.mobile-offcanvas-content {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 280px;
	background-color: var(--bg);
	box-shadow: var(--shadow-lg);
	padding: 20px;
	transform: translateX(-100%);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
}

.mobile-offcanvas.active .mobile-offcanvas-content {
	transform: translateX(0);
}

.mobile-offcanvas-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 15px;
	margin-bottom: 20px;
}

.mobile-logo-text {
	font-weight: 700;
	font-family: var(--font-headings);
	font-size: 1.15rem;
}

.mobile-menu-close {
	background: none;
	border: none;
	font-size: 1.8rem;
	cursor: pointer;
	color: var(--text-muted);
}

.mobile-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.mobile-navigation a {
	color: var(--secondary);
	font-weight: 600;
	font-size: 1rem;
}

/* ==========================================================================
   10. Responsiveness & Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
	.row {
		flex-direction: column;
	}
	.col-8, .col-4 {
		width: 100%;
	}
	.col-4 {
		margin-top: 45px;
	}
	.hero-three-column-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.hero-grid,
	.hero-three-column-grid {
		grid-template-columns: 1fr;
	}
	.grid-3 {
		grid-template-columns: 1fr;
	}
	.grid-2 {
		grid-template-columns: 1fr;
	}
	.feed-post-card {
		flex-direction: column;
	}
	.feed-post-card .card-image-wrapper {
		width: 100%;
		height: 200px;
	}
	.main-navigation {
		display: none;
	}
	.mobile-menu-trigger {
		display: flex;
	}
	.nav-cta-btn {
		display: none;
	}
	.footer-row {
		grid-template-columns: 1fr;
	}
	.article-body-wrapper {
		flex-direction: column-reverse;
	}
	.article-toc-sidebar {
		width: 100%;
	}
	.scoreboard-grid {
		flex-direction: column;
		gap: 20px;
	}
	.vs-circle {
		margin: 10px 0;
	}
}
