/*
Theme Name: Complete Wellness Hub
Theme URI: https://completewellnesshub.com
Description: Clean Authority design — evidence-informed wellness reviews
Author: ClawNet
Version: 2.0.0
Template: generatepress
Text Domain: complete-wellness-hub
*/

/* ═══════════════════════════════════════════════════════════════
   1. CSS Custom Properties — Light Mode
   ═══════════════════════════════════════════════════════════════ */

:root {
    --primary: #166534;
    --primary-accent: #059669;
    --primary-light: #f0fdf4;
    --bg: #ffffff;
    --bg-secondary: #f0fdf4;
    --text: #111827;
    --text-secondary: #6b7280;
    --text-muted: #94a3b8;
    --border: #e5e7eb;
    --border-light: #f1f5f9;
    --deals: #dc2626;
    --topbar-bg: #1e293b;
    --star: #f59e0b;
    --success: #059669;
    --danger: #dc2626;
    --warning: #f59e0b;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-pill: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   2. CSS Custom Properties — Dark Mode
   ═══════════════════════════════════════════════════════════════ */

[data-theme="dark"] {
    --primary: #059669;
    --primary-accent: #34d399;
    --primary-light: rgba(5, 150, 105, 0.15);
    --bg: #0f1f17;
    --bg-secondary: #1a3328;
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1a3328;
    --border-light: #2d5442;
    --deals: #f87171;
    --topbar-bg: #0a1410;
}

/* ═══════════════════════════════════════════════════════════════
   2b. GeneratePress Parent Theme Overrides
   ═══════════════════════════════════════════════════════════════
   GP loads its own CSS for layout, containers, navigation, etc.
   We override these to prevent interference with our custom layout. */

body {
    background-color: var(--bg) !important;
    color: var(--text) !important;
}

/* GP makes .site-content a flex container — reset to block */
.site-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Suppress GP's own header/nav/footer elements if any leak through */
.site-header,
#site-navigation,
.main-navigation,
.site-info,
.top-bar:not(.topbar) {
    display: none !important;
}

/* GP link underline override */
a {
    text-decoration: none !important;
}

/* GP container width constraints */
.site-content .content-area,
.separate-containers .inside-article,
.one-container .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* GP input styling overrides */
input[type="search"],
input[type="text"],
input[type="email"] {
    background-color: var(--bg) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

/* GP button overrides */
button:not(.dark-mode-toggle):not(.mobile-menu-toggle):not(.mobile-drawer-close):not(.filter-pill):not(.load-more-btn):not(.share-btn) {
    background-color: var(--primary-accent) !important;
    color: #ffffff !important;
}

/* Suppress GP mobile menu toggle (we have our own) */
.menu-toggle,
.mobile-menu-control-wrapper {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   3. Reset & Base
   ═══════════════════════════════════════════════════════════════ */

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg) !important;
    color: var(--text) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ═══════════════════════════════════════════════════════════════
   4. Typography
   ═══════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}

h6 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1rem;
    color: var(--text);
}

strong, b {
    font-weight: 700;
}

small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   5. Top Bar
   ═══════════════════════════════════════════════════════════════ */

.topbar {
    background-color: var(--topbar-bg);
    font-size: 11px;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.topbar a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: #ffffff;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-links a {
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   6. Dark Mode Toggle
   ═══════════════════════════════════════════════════════════════ */

.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

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

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

[data-theme="dark"] .dark-mode-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .icon-moon {
    display: block;
}

.dark-mode-toggle svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   7. Main Navigation
   ═══════════════════════════════════════════════════════════════ */

.main-nav {
    background-color: var(--bg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.2s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.nav-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.nav-categories {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-categories a {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.nav-categories a:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-categories a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-categories a.nav-deals {
    color: var(--deals);
    font-weight: 600;
}

.nav-categories a.nav-deals:hover {
    background-color: rgba(220, 38, 38, 0.08);
}

/* ═══════════════════════════════════════════════════════════════
   8. Mobile Menu Toggle
   ═══════════════════════════════════════════════════════════════ */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   9. Mobile Drawer
   ═══════════════════════════════════════════════════════════════ */

.mobile-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background-color: var(--bg);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.mobile-drawer-close {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.mobile-drawer-categories {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-drawer-categories a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.mobile-drawer-categories a:hover {
    background-color: var(--bg-secondary);
}

.mobile-drawer-categories a .cat-emoji {
    font-size: 18px;
}

.mobile-drawer-categories a.nav-deals {
    color: var(--deals);
    font-weight: 600;
}

.mobile-drawer-utility {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-drawer-utility a {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.mobile-drawer-utility a:hover {
    background-color: var(--bg-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   10. Hero Section
   ═══════════════════════════════════════════════════════════════ */

.hero {
    text-align: center;
    padding: 48px 24px 32px;
    background-color: var(--bg);
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-search {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search input::placeholder {
    color: var(--text-muted);
}

.hero-search input:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.hero-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   11. Category Pills
   ═══════════════════════════════════════════════════════════════ */

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 24px 24px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

.category-pill.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.category-pill.deals-pill {
    color: var(--deals);
    border-color: var(--deals);
}

.category-pill.deals-pill:hover {
    background-color: var(--deals);
    color: #ffffff;
}

.category-pill .pill-emoji {
    font-size: 14px;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   12. Homepage Layout
   ═══════════════════════════════════════════════════════════════ */

.home-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   13. Filter Pills
   ═══════════════════════════════════════════════════════════════ */

.filter-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   14. Article Feed
   ═══════════════════════════════════════════════════════════════ */

.article-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.article-feed-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.load-more-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-accent);
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.load-more-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   15. Article Card
   ═══════════════════════════════════════════════════════════════ */

.article-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background-color: var(--bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.article-card:hover {
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-card-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-secondary));
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-body {
    flex: 1;
    min-width: 0;
}

.article-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.article-card-meta .meta-sep {
    color: var(--border);
}

.article-card-category {
    font-weight: 600;
    color: var(--primary-accent);
}

.article-card-stars {
    display: inline-flex;
    gap: 1px;
    color: var(--star);
    font-size: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   16. Sidebar (Homepage)
   ═══════════════════════════════════════════════════════════════ */

.home-sidebar {
    border-left: 1px solid var(--border);
    padding-left: 32px;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

/* ── Trending List ─── */

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trending-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.trending-item-body {
    flex: 1;
    min-width: 0;
}

.trending-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 2px;
}

.trending-item-title a {
    color: var(--text);
    text-decoration: none;
}

.trending-item-title a:hover {
    color: var(--primary-accent);
}

.trending-item-category {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── Recent List ─── */

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.recent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.recent-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    flex-shrink: 0;
    margin-top: 5px;
}

.recent-item-body {
    flex: 1;
    min-width: 0;
}

.recent-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 2px;
}

.recent-item-title a {
    color: var(--text);
    text-decoration: none;
}

.recent-item-title a:hover {
    color: var(--primary-accent);
}

.recent-item-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   17. Newsletter CTA
   ═══════════════════════════════════════════════════════════════ */

.newsletter-cta {
    background-color: var(--topbar-bg);
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 32px auto;
    border-radius: var(--radius);
}

.newsletter-cta-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.newsletter-cta-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.newsletter-cta-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.newsletter-cta-form input {
    padding: 10px 16px;
    font-size: 13px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--bg);
    color: var(--text);
    min-width: 240px;
    outline: none;
}

.newsletter-cta-form input:focus {
    border-color: var(--primary-accent);
}

.newsletter-cta-form button {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-accent);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.newsletter-cta-form button:hover {
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════
   18. Footer
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 11px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   19. Article Layout (Single Post)
   ═══════════════════════════════════════════════════════════════ */

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* ═══════════════════════════════════════════════════════════════
   20. Article Header
   ═══════════════════════════════════════════════════════════════ */

.article-header {
    margin-bottom: 32px;
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.article-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    color: var(--primary-accent);
}

.article-breadcrumbs .breadcrumb-sep {
    color: var(--border);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.article-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
}

.article-tag-category {
    background-color: var(--primary-light);
    color: var(--primary);
}

.article-tag-type {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.article-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.25;
}

.article-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-meta-row .meta-sep {
    color: var(--border);
}

.article-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--star);
    font-weight: 700;
}

.article-rating .stars {
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   21. Share Buttons
   ═══════════════════════════════════════════════════════════════ */

.share-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.share-btn:hover {
    background-color: var(--border);
    color: var(--text);
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   22. Article Body Content
   ═══════════════════════════════════════════════════════════════ */

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.article-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-body blockquote {
    border-left: 3px solid var(--primary);
    padding: 12px 20px;
    margin: 1.5rem 0;
    background-color: var(--bg-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.article-body table th,
.article-body table td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--border);
    font-size: 14px;
}

.article-body table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   23. Article Sidebar
   ═══════════════════════════════════════════════════════════════ */

.article-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.article-sidebar::-webkit-scrollbar {
    width: 4px;
}

.article-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   24. Table of Contents
   ═══════════════════════════════════════════════════════════════ */

.article-toc {
    margin-bottom: 32px;
}

.article-toc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.article-toc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article-toc-list a {
    display: block;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.article-toc-list a:hover {
    color: var(--primary-accent);
}

.article-toc-list a.active {
    border-left-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.article-toc-list a.toc-h3 {
    padding-left: 24px;
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════
   25. Related Articles (Sidebar)
   ═══════════════════════════════════════════════════════════════ */

.related-articles {
    margin-bottom: 32px;
}

.related-articles-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-article-item {
    display: block;
    text-decoration: none;
}

.related-article-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.related-article-item:hover .related-article-item-title {
    color: var(--primary-accent);
}

.related-article-item-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: var(--radius-pill);
}

/* ═══════════════════════════════════════════════════════════════
   26. Deal CTA (Sidebar)
   ═══════════════════════════════════════════════════════════════ */

.deal-cta {
    background-color: rgba(220, 38, 38, 0.05);
    border: 1px solid var(--deals);
    border-radius: var(--radius);
    padding: 20px;
}

[data-theme="dark"] .deal-cta {
    background-color: rgba(248, 113, 113, 0.08);
}

.deal-cta-headline {
    font-size: 15px;
    font-weight: 700;
    color: var(--deals);
    margin-bottom: 6px;
}

.deal-cta-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.deal-cta-btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--deals);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.deal-cta-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   27. Quick Picks
   ═══════════════════════════════════════════════════════════════ */

.quick-picks {
    background-color: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.quick-picks-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-picks-title::before {
    content: "\26A1";
}

.quick-picks-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quick-pick-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.quick-pick-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quick-pick-row:first-child {
    padding-top: 0;
}

.quick-pick-info {
    flex: 1;
    min-width: 0;
}

.quick-pick-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.quick-pick-description {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

.quick-pick-cta {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background-color: var(--bg);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.quick-pick-cta:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   28. Product Card
   ═══════════════════════════════════════════════════════════════ */

.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    background-color: var(--bg);
    position: relative;
}

.product-card-rank {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--primary);
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.product-card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.product-card-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-card-score {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.product-card-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.product-card-pros h4,
.product-card-cons h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.product-card-pros h4 {
    color: var(--success);
}

.product-card-cons h4 {
    color: var(--danger);
}

.product-card-pros ul,
.product-card-cons ul {
    list-style: none;
    padding: 0;
}

.product-card-pros li,
.product-card-cons li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.product-card-pros li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.product-card-cons li::before {
    content: "\2212";
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

.product-card-subscores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.product-subscore {
    text-align: center;
}

.product-subscore-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-subscore-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.product-card-actions {
    display: flex;
    gap: 8px;
}

.product-card-btn-primary {
    flex: 1;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-accent);
    border: none;
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.product-card-btn-primary:hover {
    opacity: 0.9;
    color: #ffffff;
}

.product-card-btn-secondary {
    flex: 1;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-accent);
    background-color: var(--bg);
    border: 1px solid var(--primary-accent);
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card-btn-secondary:hover {
    background-color: var(--primary-light);
}

/* ═══════════════════════════════════════════════════════════════
   29. Comparison Table
   ═══════════════════════════════════════════════════════════════ */

.comparison-table-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead th {
    background-color: var(--bg-secondary);
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .score-col {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.comparison-table .cta-col a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-accent);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.comparison-table .cta-col a:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   30. VS Header
   ═══════════════════════════════════════════════════════════════ */

.vs-header {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.vs-product {
    text-align: center;
}

.vs-product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    margin: 0 auto 12px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vs-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vs-product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.vs-product-score {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.vs-divider {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-muted);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   31. Comparison Bars
   ═══════════════════════════════════════════════════════════════ */

.comparison-bar {
    margin-bottom: 20px;
}

.comparison-bar-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.comparison-bar-tracks {
    display: flex;
    gap: 8px;
}

.comparison-bar-track {
    flex: 1;
    height: 8px;
    background-color: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.comparison-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.comparison-bar-fill-left {
    background-color: var(--primary);
    float: right;
}

.comparison-bar-fill-right {
    background-color: var(--primary-accent);
}

.comparison-bar-scores {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   32. Verdict Box
   ═══════════════════════════════════════════════════════════════ */

.verdict-box {
    background-color: rgba(5, 150, 105, 0.08);
    border: 1px solid var(--success);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

[data-theme="dark"] .verdict-box {
    background-color: rgba(5, 150, 105, 0.12);
}

.verdict-box-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 8px;
}

.verdict-box-body {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

.verdict-box-body p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   33. Score Card
   ═══════════════════════════════════════════════════════════════ */

.score-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.score-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.score-card-score {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.score-card-info {
    flex: 1;
    min-width: 0;
}

.score-card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.score-card-summary {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.score-card-pricing {
    font-size: 12px;
    color: var(--text-muted);
}

.score-card-cta {
    display: inline-block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-accent);
    border-radius: var(--radius-sm);
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.score-card-cta:hover {
    opacity: 0.9;
    color: #ffffff;
}

.score-card-subscores {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.score-card-subscore {
    text-align: center;
}

.score-card-subscore-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.score-card-subscore-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   34. Affiliate Disclosure
   ═══════════════════════════════════════════════════════════════ */

.affiliate-disclosure {
    background-color: rgba(245, 158, 11, 0.08);
    border: 1px solid var(--warning);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 32px 0;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.6;
}

[data-theme="dark"] .affiliate-disclosure {
    background-color: rgba(245, 158, 11, 0.06);
}

.affiliate-disclosure strong {
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   35. Medical Disclaimer
   ═══════════════════════════════════════════════════════════════ */

.medical-disclaimer {
    background-color: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 32px 0;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.6;
}

[data-theme="dark"] .medical-disclaimer {
    background-color: rgba(245, 158, 11, 0.04);
}

.medical-disclaimer strong {
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   36. Breadcrumbs (Standalone)
   ═══════════════════════════════════════════════════════════════ */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 12px 0;
}

.breadcrumbs a {
    color: var(--primary-accent);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .sep {
    color: var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   37. Pagination
   ═══════════════════════════════════════════════════════════════ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 32px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.pagination .current {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.pagination .dots {
    border: none;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   38. Utilities
   ═══════════════════════════════════════════════════════════════ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-deals {
    color: var(--deals);
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════
   39. Archive / Category Pages
   ═══════════════════════════════════════════════════════════════ */

.archive-header {
    padding: 32px 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.archive-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.archive-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 32px;
}

/* ═══════════════════════════════════════════════════════════════
   40. Search Results
   ═══════════════════════════════════════════════════════════════ */

.search-header {
    padding: 32px 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.search-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.search-title span {
    color: var(--primary-accent);
}

.search-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   41. 404 Page
   ═══════════════════════════════════════════════════════════════ */

.page-404 {
    text-align: center;
    padding: 80px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.page-404-code {
    font-size: 72px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    margin-bottom: 16px;
}

.page-404-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.page-404-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.page-404-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-accent);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-404-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   42. About Page
   ═══════════════════════════════════════════════════════════════ */

.about-hero {
    text-align: center;
    padding: 48px 24px 32px;
    max-width: 720px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.about-pillar {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
}

.about-pillar h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-pillar p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   43. Deals Page
   ═══════════════════════════════════════════════════════════════ */

.deals-header {
    text-align: center;
    padding: 32px 24px 16px;
}

.deals-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--deals);
    margin-bottom: 4px;
}

.deals-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 32px;
}

.deal-card {
    border: 1px solid var(--deals);
    border-radius: var(--radius);
    padding: 20px;
    background-color: rgba(220, 38, 38, 0.03);
    transition: box-shadow 0.2s ease;
}

[data-theme="dark"] .deal-card {
    background-color: rgba(248, 113, 113, 0.05);
}

.deal-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.deal-card-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--deals);
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.deal-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.deal-card-excerpt {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.deal-card-cta {
    display: inline-block;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--deals);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.deal-card-cta:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   44. Responsive — Tablet (max-width: 1024px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    /* Nav */
    .nav-categories {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Homepage layout: single column */
    .home-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 24px;
    }

    /* Article layout: single column */
    .article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .article-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        border-top: 1px solid var(--border);
        padding-top: 24px;
    }

    /* Archive grid */
    .archive-grid {
        grid-template-columns: 1fr;
    }

    /* About pillars */
    .about-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Deals grid */
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Score card subscores */
    .score-card-subscores {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Newsletter stacks */
    .newsletter-cta {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-cta-form {
        width: 100%;
        max-width: 400px;
    }

    .newsletter-cta-form input {
        min-width: 0;
        flex: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════
   45. Responsive — Mobile (max-width: 768px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 22px;
    }

    .article-title {
        font-size: 22px;
    }

    /* Compact padding */
    .home-content {
        padding: 20px 16px;
    }

    .article-layout {
        padding: 20px 16px;
    }

    .topbar {
        padding: 6px 16px;
    }

    .main-nav {
        padding: 12px 16px;
    }

    .hero {
        padding: 32px 16px 20px;
    }

    .category-pills {
        padding: 0 16px 20px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-pills::-webkit-scrollbar {
        display: none;
    }

    /* Filter pills horizontal scroll */
    .filter-pills {
        padding-bottom: 4px;
    }

    /* Article card compact */
    .article-card {
        padding: 12px;
        gap: 12px;
    }

    .article-card-thumb {
        width: 64px;
        height: 48px;
    }

    /* Share buttons smaller */
    .share-btn {
        width: 32px;
        height: 32px;
    }

    .share-btn svg {
        width: 14px;
        height: 14px;
    }

    /* Product card */
    .product-card-pros-cons {
        grid-template-columns: 1fr;
    }

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

    /* VS header stacks */
    .vs-header {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 20px;
    }

    .vs-divider {
        font-size: 18px;
    }

    /* Score card */
    .score-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    /* About pillars */
    .about-pillars {
        grid-template-columns: 1fr;
    }

    /* Deals grid */
    .deals-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .newsletter-cta {
        padding: 24px 16px;
        margin: 24px 16px;
    }

    .newsletter-cta-form {
        flex-direction: column;
    }

    .newsletter-cta-form input {
        min-width: 0;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Pagination */
    .pagination {
        gap: 2px;
    }

    .pagination a,
    .pagination span {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Comparison table scroll */
    .comparison-table-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   46. Print Styles
   ═══════════════════════════════════════════════════════════════ */

@media print {
    .topbar,
    .main-nav,
    .mobile-drawer-overlay,
    .mobile-drawer,
    .share-buttons,
    .newsletter-cta,
    .article-sidebar,
    .deal-cta,
    .site-footer {
        display: none;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 12pt;
        color: #000000;
        background: #ffffff;
    }
}
