﻿/*
Theme Name: TechGadgetsSmith Pro
Theme URI: https://techgadgetssmith.com/
Author: Antigravity AI
Author URI: http://example.com/
Description: Custom WordPress theme for TechGadgetsSmith built from HTML mockups.
Version: 1.4.2
Last Updated: 2026-09-02 09:57 PKT
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techgadgetssmith
*/

/* Core styles are loaded from /styles/main.css and others */
/* CSS DESIGN TOKENS - TechGadgetsSmith */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Font Family */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Color Palette (HSL-based for modifications & transparency) */
    --clr-primary-hue: 210;
    --clr-primary-sat: 100%;
    --clr-primary-light: 40%;
    --clr-primary: hsl(var(--clr-primary-hue), var(--clr-primary-sat), var(--clr-primary-light));
    /* #0066cc - Primary Blue */
    --clr-primary-hover: hsl(var(--clr-primary-hue), var(--clr-primary-sat), 32%);

    /* Neutral Dark (Text & Headers) */
    --clr-neutral-900: hsl(240, 10%, 10%);
    /* #1d1d1f - Apple-style black */
    --clr-neutral-800: hsl(240, 8%, 18%);
    /* Dark gray */
    --clr-neutral-700: hsl(240, 4%, 30%);
    /* Medium dark gray */
    --clr-neutral-500: hsl(240, 3%, 45%);
    /* Light medium gray */

    /* Neutral Light (Borders & Backgrounds) */
    --clr-neutral-200: hsl(240, 5%, 90%);
    /* #e5e5ea - Borders */
    --clr-neutral-100: hsl(240, 12%, 96%);
    /* #f5f5f7 - Background secondary */
    --clr-neutral-050: hsl(240, 20%, 98%);
    /* Off-white */
    --clr-white: hsl(0, 0%, 100%);
    /* #ffffff */

    /* Accent Orange (CTAs ONLY) */
    --clr-accent: hsl(26, 100%, 50%);
    /* #ff6f00 - High CTR affiliate orange */
    --clr-accent-hover: hsl(20, 100%, 45%);
    /* #e65100 - Darker hover orange */

    /* Functional Colors */
    --clr-success: hsl(142, 69%, 40%);
    --clr-success-light: hsl(142, 69%, 96%);
    --clr-error: hsl(0, 84%, 44%);
    --clr-error-light: hsl(0, 84%, 97%);
    --clr-warning: hsl(38, 92%, 50%);
    --clr-warning-light: hsl(38, 92%, 97%);

    /* Typography Scale */
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.875rem;
    /* 14px */
    --fs-base: 1rem;
    /* 16px - Base text body */
    --fs-md: 1.125rem;
    /* 18px - Subheadings/Intro */
    --fs-lg: 1.25rem;
    /* 20px - H4/Card Titles */
    --fs-xl: 1.5rem;
    /* 24px - H3 */
    --fs-2xl: 1.875rem;
    /* 30px - H2 */
    --fs-3xl: 2.25rem;
    /* 36px - H1 (Category/Smaller titles) */
    --fs-4xl: 2.75rem;
    /* 44px - Hero Title */

    /* Font Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Line Heights */
    --lh-none: 1;
    --lh-tight: 1.2;
    --lh-snug: 1.35;
    --lh-normal: 1.5;
    --lh-relaxed: 1.7;

    /* Spacing Scale (4px increments) */
    --sp-1: 0.25rem;
    /* 4px */
    --sp-2: 0.5rem;
    /* 8px */
    --sp-3: 0.75rem;
    /* 12px */
    --sp-4: 1rem;
    /* 16px */
    --sp-5: 1.25rem;
    /* 20px */
    --sp-6: 1.5rem;
    /* 24px */
    --sp-8: 2rem;
    /* 32px */
    --sp-10: 2.5rem;
    /* 40px */
    --sp-12: 3rem;
    /* 48px */
    --sp-16: 4rem;
    /* 64px */
    --sp-20: 5rem;
    /* 80px */

    /* Border Radius (Apple curves) */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadow Library (Apple Soft Shadows) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 24px 48px rgba(0, 0, 0, 0.04);

    /* Focus Indicator Ring */
    --ring-color: hsl(var(--clr-primary-hue), var(--clr-primary-sat), 70%);

    /* Layout Boundaries */
    --container-max: 1140px;
    --container-narrow: 800px;
    --sidebar-width: 320px;

    /* Transition Timing */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

/* Custom Vanilla CSS Architecture */
:root {
    /* Brand Colors */
    --primary-color: #0071e3;
    /* Apple Blue */
    --primary-hover: #005bb5;
    --accent-red: #e30000;
    --accent-green: #00a651;
    --accent-orange: #f56c00;

    /* Text & Backgrounds */
    --text-main: #1d1d1f;
    --text-off: #86868b;
    --bg-main: #ffffff;
    --bg-light: #f5f5f7;
    --bg-dark: #121212;
    --divider: #d2d2d7;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Effects & Sizes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    --container-max: 1280px;
    --header-height: 72px;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* HEADER */
.main-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

/* Site title text next to logo */
.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.3px;
    color: var(--text-main);
    margin-left: 10px;
    white-space: nowrap;
    text-decoration: none;
}

.logo-text:hover {
    color: var(--primary-color);
}

/* WordPress custom logo - force correct size */
.logo .custom-logo-link,
.logo a {
    display: flex;
    align-items: center;
}

.logo img,
.logo .custom-logo,
.logo .custom-logo-link img,
.custom-logo-link img.custom-logo {
    max-height: 45px !important;
    height: 45px !important;
    width: auto !important;
    display: block !important;
}

/* Header Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: color 0.2s ease, transform 0.2s ease;
}

.header-social-link:hover {
    transform: translateY(-2px);
}

/* Pinterest hover - red */
.header-social-link[aria-label="Pinterest"]:hover {
    color: #E60023;
}

/* Facebook hover - blue */
.header-social-link[aria-label="Facebook"]:hover {
    color: #1877F2;
}

/* Instagram hover - purple/pink */
.header-social-link[aria-label="Instagram"]:hover {
    color: #C13584;
}

/* Hide social on small screens, show on desktop */
@media (max-width: 899px) {
    .header-social {
        display: none;
    }
}

.main-nav {
    display: none;
}

@media(min-width: 900px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a.highlight {
    color: var(--accent-red);
}

.search-icon,
.mobile-toggle {
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.mobile-toggle {
    background: none;
    border: none;
}

@media(min-width: 900px) {
    .mobile-toggle {
        display: none;
    }
}

/* ===== SITE INTRO BANNER ===== */
.site-intro-banner {
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #0d1b3e 50%, #0a0a0f 100%);
    padding: 80px 0 70px;
    overflow: hidden;
    text-align: center;
}

.intro-bg-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.intro-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 113, 227, 0.15);
    border: 1px solid rgba(0, 113, 227, 0.4);
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 40px;
    letter-spacing: 0.5px;
    animation: fadeInDown 0.6s ease both;
}

.intro-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -1px;
    max-width: 800px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.intro-highlight {
    background: linear-gradient(90deg, #0071e3 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtext {
    font-size: 1.1rem;
    color: #a1a1a6;
    max-width: 620px;
    line-height: 1.7;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.intro-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.btn-intro-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0071e3;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-intro-primary:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
}

.btn-intro-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-intro-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.intro-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-item strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.stat-item span {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .site-intro-banner {
        padding: 60px 0 50px;
    }

    .intro-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }
}

/* ===== END INTRO BANNER ===== */

/* HERO BENTO GRID */
.hero-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
}

@media(min-width: 900px) {
    .hero-bento {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, 280px);
    }
}

.bento-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

/* Full-card clickable link overlay (stretched link technique) */
.card-full-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}

/* card-content must be above the full-link overlay */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* News card image link */
.news-img-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.bento-card:hover .card-bg {
    transform: scale(1.05);
}

.bento-large {
    grid-row: span 2;
    height: 400px;
}

@media(min-width: 900px) {
    .bento-large {
        height: 100%;
    }
}

.bento-small {
    height: 280px;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag {
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
}

.tag-review {
    background-color: var(--accent-orange);
}

.tag-news {
    background-color: var(--primary-color);
}

.tag-guide {
    background-color: var(--accent-green);
}

.bento-large h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 800;
}

.bento-small h3 {
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 700;
}

/* SECTION HEADERS */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--divider);
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.view-all {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* LATEST NEWS SCROLL */
.news-scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 24px;
    scrollbar-width: none;
    /* Firefox */
}

.news-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.news-card {
    min-width: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
}

.news-card:hover h4 {
    color: var(--primary-color);
}

.news-img-wrap {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timestamp {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 0.5px;
}

.news-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    transition: var(--transition);
}

/* BUYING GUIDES GRID */
.grid-3-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media(min-width: 768px) {
    .grid-3-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guide-card {
    background: var(--bg-main);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.guide-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.badge-top-pick {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 10;
}

.guide-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.guide-content {
    padding: 24px;
}

.guide-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.guide-content p {
    color: var(--text-off);
    font-size: 0.95rem;
}

/* LATEST REVIEWS */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.review-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media(min-width: 768px) {
    .review-row {
        grid-template-columns: 350px 1fr;
    }
}

.review-img {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.review-img img {
    aspect-ratio: 16/10;
    object-fit: cover;
}

.score-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #000;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

.review-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stars {
    color: #fbbc04;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.review-details h3 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
}

.review-details p {
    color: var(--text-off);
    font-size: 1.05rem;
}

.read-more {
    margin-top: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    text-decoration: underline;
}

/* NEWSLETTER CTA */
.newsletter-cta {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-text p {
    font-size: 1.1rem;
    color: #a1a1a6;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media(min-width: 600px) {
    .cta-form {
        flex-direction: row;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

.cta-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 40px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.cta-form input:focus {
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.5);
}

.btn-primary {
    padding: 16px 32px;
    border-radius: 40px;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* FOOTER */
.main-footer {
    background: var(--bg-light);
    padding: 80px 0 32px;
    border-top: 1px solid var(--divider);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.brand-col .footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.brand-col .brand-desc {
    color: var(--text-off);
    margin-bottom: 24px;
}

.affiliate-disclosure {
    font-size: 0.8rem;
    color: var(--text-off);
    background: rgba(0, 0, 0, 0.05);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: var(--text-off);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    color: var(--text-off);
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--divider);
    padding-top: 32px;
    color: var(--text-off);
    font-size: 0.9rem;
}

/* REUSABLE COMPONENT STYLES - TechGadgetsSmith */

/* ==========================================================================
   1. Header / Navigation
   ========================================================================== */
.site-header {
    background-color: var(--clr-white);
    border-bottom: 1px solid var(--clr-neutral-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-logo {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    color: var(--clr-neutral-900);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.site-logo span {
    color: var(--clr-primary);
}

.main-nav {
    display: flex;
    gap: var(--sp-6);
    align-items: center;
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--clr-neutral-700);
    padding: var(--sp-2) 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-neutral-900);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-primary);
}

/* Mobile Nav Toggle Icon placeholder */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--fs-xl);
    color: var(--clr-neutral-900);
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Can be toggled via JS or a pure CSS check-checkbox hack. For this template, we'll make standard toggle structure. */
    }

    .nav-toggle {
        display: block;
    }
}

/* ==========================================================================
   2. Buttons & CTAs (Amazon Orange focus)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    box-shadow: var(--shadow-sm);
    width: auto;
}

/* Accent Orange Button - The primary affiliate monetization driver */
.btn-amazon {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    box-shadow: 0 4px 14px rgba(255, 111, 0, 0.25);
}

.btn-amazon:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 111, 0, 0.35);
}

.btn-amazon:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--clr-neutral-100);
    color: var(--clr-neutral-800);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--clr-neutral-200);
    color: var(--clr-neutral-900);
}

.btn-primary-blue {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn-primary-blue:hover {
    background-color: var(--clr-primary-hover);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   3. Hero Sections
   ========================================================================== */
.hero-home {
    padding: var(--sp-16) 0 var(--sp-12) 0;
    background-color: var(--clr-neutral-050);
    border-bottom: 1px solid var(--clr-neutral-100);
    text-align: center;
}

.hero-title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-extrabold);
    letter-spacing: -0.03em;
    line-height: var(--sp-12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--sp-4);
}

.hero-description {
    font-size: var(--fs-md);
    color: var(--clr-neutral-700);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--sp-8);
    line-height: var(--lh-relaxed);
}

@media (min-width: 768px) {
    .hero-home {
        padding: var(--sp-20) 0 var(--sp-16) 0;
        text-align: left;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-8);
        align-items: center;
    }

    .hero-title {
        font-size: var(--fs-4xl);
        line-height: 1.1;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-description {
        font-size: var(--fs-lg);
        margin-left: 0;
        margin-right: 0;
    }
}

/* ==========================================================================
   4. Comparison Table (Fully Responsive)
   ========================================================================== */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--sp-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-neutral-200);
    box-shadow: var(--shadow-sm);
    background-color: var(--clr-white);
    /* Webkit momentum scroll */
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: var(--fs-sm);
    min-width: 750px;
    /* Forces scroll on mobile instead of crushing columns */
}

.comparison-table th {
    background-color: var(--clr-neutral-100);
    color: var(--clr-neutral-900);
    font-weight: var(--fw-bold);
    padding: var(--sp-4);
    border-bottom: 2px solid var(--clr-neutral-200);
}

.comparison-table td {
    padding: var(--sp-4);
    border-bottom: 1px solid var(--clr-neutral-200);
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: var(--clr-neutral-050);
}

.table-product-cell {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.table-product-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background-color: var(--clr-neutral-100);
    border-radius: var(--radius-md);
    padding: var(--sp-1);
}

.table-product-title {
    font-weight: var(--fw-semibold);
    color: var(--clr-neutral-900);
}

.table-rating {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    color: var(--clr-warning);
}

.table-rating span {
    font-size: var(--fs-xs);
    color: var(--clr-neutral-700);
    font-weight: var(--fw-semibold);
}

.badge-tag-table {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--clr-primary);
    background-color: hsl(var(--clr-primary-hue), var(--clr-primary-sat), 94%);
    padding: var(--sp-1) var(--sp-2);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

/* Highlight row for Editor's choice */
.row-highlight {
    background-color: hsl(var(--clr-primary-hue), var(--clr-primary-sat), 98%);
    font-weight: var(--fw-medium);
}

.row-highlight td {
    border-bottom-color: hsl(var(--clr-primary-hue), var(--clr-primary-sat), 90%);
}

/* ==========================================================================
   5. Amazon Affiliate Product Card
   ========================================================================== */
.product-card {
    border: 1px solid var(--clr-neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--sp-8);
    box-shadow: var(--shadow-sm);
    background: var(--clr-white);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
}

.product-card-header {
    background-color: var(--clr-neutral-100);
    padding: var(--sp-3) var(--sp-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clr-neutral-200);
}

.product-card-badge {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    color: var(--clr-white);
    background-color: var(--clr-primary);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.product-card-rating {
    color: var(--clr-warning);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.product-card-body {
    padding: var(--sp-5);
}

@media (min-width: 768px) {
    .product-card-body-grid {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: var(--sp-6);
    }
}

.product-card-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-neutral-050);
    border-radius: var(--radius-md);
    padding: var(--sp-4);
    height: 200px;
    margin-bottom: var(--sp-4);
}

@media (min-width: 768px) {
    .product-card-img-wrapper {
        margin-bottom: 0;
        height: 100%;
        min-height: 200px;
    }
}

.product-card-img {
    max-height: 100%;
    object-fit: contain;
}

.product-card-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-2);
}

.product-card-subheading {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    color: var(--clr-neutral-500);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-2);
    letter-spacing: 0.05em;
}

.product-card-desc {
    font-size: var(--fs-sm);
    color: var(--clr-neutral-700);
    margin-bottom: var(--sp-4);
    line-height: var(--lh-relaxed);
}

/* Features list */
.product-card-features {
    margin-bottom: var(--sp-4);
    font-size: var(--fs-sm);
}

.product-card-features li {
    margin-bottom: var(--sp-2);
    position: relative;
    padding-left: var(--sp-5);
}

.product-card-features li::before {
    content: "Ã¢â‚¬Â¢";
    color: var(--clr-primary);
    font-weight: bold;
    position: absolute;
    left: var(--sp-1);
}

/* Pros and Cons Split Grid */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}

@media (min-width: 600px) {
    .pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pros-list,
.cons-list {
    background-color: var(--clr-neutral-100);
    padding: var(--sp-4);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
}

.pros-list {
    background-color: var(--clr-success-light);
    border: 1px solid hsl(142, 69%, 92%);
}

.cons-list {
    background-color: var(--clr-error-light);
    border: 1px solid hsl(0, 84%, 93%);
}

.pros-list h5,
.cons-list h5 {
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-2);
}

.pros-list h5 {
    color: var(--clr-success);
}

.cons-list h5 {
    color: var(--clr-error);
}

.pros-list ul li,
.cons-list ul li {
    position: relative;
    padding-left: var(--sp-5);
    margin-bottom: var(--sp-2);
    line-height: 1.4;
}

.pros-list ul li::before {
    content: "Ã¢Å“â€œ";
    color: var(--clr-success);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cons-list ul li::before {
    content: "Ã¢Å“â€¢";
    color: var(--clr-error);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    align-items: center;
    border-top: 1px solid var(--clr-neutral-200);
    background-color: var(--clr-neutral-050);
    padding: var(--sp-4) var(--sp-5);
}

@media (min-width: 600px) {
    .product-card-footer {
        flex-direction: row;
        justify-content: space-between;
    }
}

.product-card-best-for {
    font-size: var(--fs-sm);
    color: var(--clr-neutral-700);
}

.product-card-best-for strong {
    color: var(--clr-neutral-900);
}

/* ==========================================================================
   6. Sidebar
   ========================================================================== */
.sidebar-widget {
    background-color: var(--clr-white);
    border: 1px solid var(--clr-neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--sp-5);
    margin-bottom: var(--sp-6);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-neutral-900);
    border-bottom: 2px solid var(--clr-primary);
    display: inline-block;
    padding-bottom: var(--sp-1);
    margin-bottom: var(--sp-4);
}

.widget-list li {
    margin-bottom: var(--sp-3);
    border-bottom: 1px solid var(--clr-neutral-100);
    padding-bottom: var(--sp-2);
}

.widget-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.widget-list a {
    font-weight: var(--fw-medium);
    font-size: var(--fs-sm);
    color: var(--clr-neutral-800);
}

.widget-list a:hover {
    color: var(--clr-primary);
}

.widget-post-meta {
    font-size: var(--fs-xs);
    color: var(--clr-neutral-500);
    margin-top: var(--sp-1);
}

.sticky-sidebar {
    position: sticky;
    top: 90px;
}

/* ==========================================================================
   7. Page Components: About, Contact, Author Box, FAQ, Newsletter
   ========================================================================== */

/* Author Box */
.author-box {
    background-color: var(--clr-neutral-100);
    padding: var(--sp-5);
    border-radius: var(--radius-lg);
    margin: var(--sp-8) 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    align-items: center;
}

@media (min-width: 600px) {
    .author-box {
        grid-template-columns: 80px 1fr;
        gap: var(--sp-6);
    }
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--clr-white);
    box-shadow: var(--shadow-sm);
}

.author-title {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-1);
    color: var(--clr-neutral-900);
}

.author-role {
    font-size: var(--fs-xs);
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-2);
}

.author-bio {
    font-size: var(--fs-sm);
    color: var(--clr-neutral-700);
    margin-bottom: var(--sp-2);
}

.author-socials {
    display: flex;
    gap: var(--sp-3);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--clr-neutral-500);
}

.author-socials a:hover {
    color: var(--clr-primary);
}

/* FAQ Accordion Block */
.faq-item {
    border: 1px solid var(--clr-neutral-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-3);
    overflow: hidden;
    background-color: var(--clr-white);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-4);
    font-weight: var(--fw-bold);
    color: var(--clr-neutral-900);
    cursor: pointer;
    background-color: var(--clr-neutral-050);
    user-select: none;
}

.faq-question::after {
    content: 'Ã¢â€“Â¼';
    font-size: var(--fs-xs);
    color: var(--clr-neutral-500);
}

.faq-answer {
    padding: var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--clr-neutral-700);
    border-top: 1px solid var(--clr-neutral-200);
    background-color: var(--clr-white);
}

/* Newsletter Subscription widget/block */
.newsletter-box {
    background: var(--clr-neutral-900);
    background: linear-gradient(135deg, var(--clr-neutral-900) 0%, hsl(240, 10%, 15%) 100%);
    color: var(--clr-white);
    padding: var(--sp-8) var(--sp-6);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--sp-8);
}

.newsletter-box h3 {
    color: var(--clr-white);
    margin-bottom: var(--sp-2);
}

.newsletter-box p {
    color: var(--clr-neutral-100);
    font-size: var(--fs-sm);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--sp-6);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .newsletter-form {
        flex-direction: row;
        gap: var(--sp-2);
    }
}

.newsletter-input {
    flex-grow: 1;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-neutral-800);
    font-size: var(--fs-sm);
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-input:focus {
    background-color: var(--clr-white);
    outline: none;
}

/* ==========================================================================
   8. Footer Layout
   ========================================================================== */
.site-footer {
    background-color: var(--clr-neutral-900);
    color: var(--clr-neutral-100);
    padding: var(--sp-12) 0 var(--sp-6) 0;
    font-size: var(--fs-sm);
    border-top: 1px solid var(--clr-neutral-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    margin-bottom: var(--sp-10);
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    color: var(--clr-white);
    margin-bottom: var(--sp-4);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-about p {
    color: var(--clr-neutral-500);
    line-height: var(--lh-relaxed);
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: var(--sp-2);
}

.footer-links a {
    color: var(--clr-neutral-500);
}

.footer-links a:hover {
    color: var(--clr-white);
}

.footer-disclosure {
    border-top: 1px solid var(--clr-neutral-800);
    padding-top: var(--sp-6);
    font-size: var(--fs-xs);
    color: var(--clr-neutral-500);
    line-height: var(--lh-relaxed);
    text-align: center;
}

.footer-disclosure p {
    margin-bottom: var(--sp-4);
}

.footer-copyright {
    color: var(--clr-neutral-500);
}

/* ==========================================================================
   9. Post Elements (Standard Article Features)
   ========================================================================== */
.breadcrumbs {
    font-size: var(--fs-xs);
    color: var(--clr-neutral-500);
    margin-bottom: var(--sp-4);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    align-items: center;
}

.breadcrumbs a:hover {
    color: var(--clr-primary);
}

.breadcrumbs span::before {
    content: "/";
    margin-right: var(--sp-2);
    color: var(--clr-neutral-200);
}

.post-header {
    margin-bottom: var(--sp-8);
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--clr-neutral-500);
    margin-bottom: var(--sp-4);
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.disclosure-alert {
    background-color: var(--clr-neutral-100);
    border-left: 4px solid var(--clr-primary);
    padding: var(--sp-4);
    font-size: var(--fs-xs);
    color: var(--clr-neutral-700);
    margin-bottom: var(--sp-6);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quick-summary-box {
    background-color: var(--clr-neutral-050);
    border: 1px dashed var(--clr-neutral-200);
    border-radius: var(--radius-md);
    padding: var(--sp-5);
    margin-bottom: var(--sp-6);
}

.quick-summary-box h3 {
    font-size: var(--fs-md);
    margin-bottom: var(--sp-3);
    color: var(--clr-primary);
}

.quick-summary-content {
    font-size: var(--fs-sm);
    color: var(--clr-neutral-800);
}

/* Article inner contents list styles */
.article-content h2 {
    font-size: var(--fs-xl);
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
}

.article-content h3 {
    font-size: var(--fs-lg);
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
}

.article-content p {
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-5);
}

.inner-toc {
    background-color: var(--clr-neutral-100);
    border-radius: var(--radius-md);
    padding: var(--sp-4);
    margin-bottom: var(--sp-6);
}

.inner-toc-title {
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-2);
}

.inner-toc ul {
    padding-left: var(--sp-4);
}

.inner-toc li {
    margin-bottom: var(--sp-2);
    list-style-type: decimal;
    font-size: var(--fs-sm);
}

.inner-toc a {
    color: var(--clr-primary);
}

.inner-toc a:hover {
    text-decoration: underline;
}

/* Comments section */
.comments-section {
    border-top: 1px solid var(--clr-neutral-200);
    padding-top: var(--sp-8);
    margin-top: var(--sp-10);
}

.comment-list {
    margin-bottom: var(--sp-6);
}

.comment-item {
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--clr-neutral-100);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
    font-size: var(--fs-sm);
}

.comment-author {
    font-weight: var(--fw-bold);
    color: var(--clr-neutral-900);
}

.comment-date {
    font-size: var(--fs-xs);
    color: var(--clr-neutral-500);
}

.comment-content {
    font-size: var(--fs-sm);
    color: var(--clr-neutral-700);
}

/* Related articles grid wrapper */
.related-grid {
    display: grid;
    gap: var(--sp-6);
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.related-card {
    border: 1px solid var(--clr-neutral-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.related-img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.related-body {
    padding: var(--sp-4);
}

.related-title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-2);
    line-height: var(--lh-snug);
}

.related-title a:hover {
    color: var(--clr-primary);
}

/* SPECIFIC STYLES FOR ARTICLE/REVIEW PAGE */

.article-layout {
    background-color: var(--bg-main);
    padding: 40px 0 80px;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media(min-width: 992px) {
    .article-container {
        grid-template-columns: 1fr 340px;
        /* main content + sidebar */
    }
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-off);
    margin-bottom: 24px;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Article Header */
.article-header {
    margin-bottom: 32px;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 16px 0;
    color: var(--text-main);
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-off);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Meta Data (Author & Score) */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    padding: 16px 0;
    margin-bottom: 32px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info div {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1rem;
    color: var(--text-main);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-off);
}

.review-score {
    text-align: right;
}

.score-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.score-stars {
    color: #fbbc04;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Hero Image */
.article-hero-img {
    margin-bottom: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.article-hero-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

figure figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-off);
    margin-top: 8px;
    font-style: italic;
}

.in-article-img {
    margin: 32px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* VERDICT BOX - Affiliate Focused */
.verdict-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 40px;
    border: 1px solid var(--divider);
}

.verdict-box h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.verdict-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-main);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media(min-width: 600px) {
    .pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pros h3,
.cons h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.pros h3 {
    color: var(--accent-green);
}

.cons h3 {
    color: var(--accent-red);
}

.pros ul,
.cons ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pros ul li {
    position: relative;
    padding-left: 24px;
}

.pros ul li::before {
    content: "Ã¢Å“â€œ";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 800;
}

.cons ul li {
    position: relative;
    padding-left: 24px;
}

.cons ul li::before {
    content: "Ã¢Å“â€¢";
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 800;
}

/* Amazon Buttons */
.affiliate-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-amazon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #ff9900;
    /* Amazon Brand Color */
    color: #000;
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.btn-amazon:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
}

.price-note {
    font-size: 0.75rem;
    color: var(--text-off);
}

.block-cta {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-md);
    margin: 40px 0;
    text-align: center;
}

.block-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.block-cta p {
    margin-bottom: 24px;
}

/* Typography in Article Body */
.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 40px 0 20px;
}

.article-text p {
    margin-bottom: 20px;
}

.article-text ul,
.article-text ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-text li {
    margin-bottom: 8px;
}

/* Sidebar */
.sticky-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--divider);
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--text-off);
    font-size: 0.95rem;
}

.toc-list a:hover {
    color: var(--primary-color);
}

.related-post {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.related-post:last-child {
    margin-bottom: 0;
}

.related-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.related-post h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.related-post h4 a:hover {
    color: var(--primary-color);
}

.related-post .stars {
    font-size: 0.8rem;
    color: #fbbc04;
}

/* ===== ARTICLE / POST CONTENT LINKS =====
   a { color: inherit } globally hides link appearance inside article body.
   This rule restores proper clickable-link styling within post/page content.
   Scoped to WordPress content area so nav, buttons, cards are NOT affected.
===== */
.entry-content a,
.post-content a,
.article-body a,
.article-content a,
.wp-block-post-content a,
.single-article-body a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.entry-content a:hover,
.post-content a:hover,
.article-body a:hover,
.article-content a:hover,
.wp-block-post-content a:hover,
.single-article-body a:hover {
    color: var(--primary-hover);
    opacity: 0.85;
}

/* Exception: headings inside content should NOT look like links */
.entry-content h1 a,
.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.entry-content h5 a,
.entry-content h6 a,
.post-content h1 a,
.post-content h2 a,
.post-content h3 a,
.post-content h4 a,
.post-content h5 a,
.post-content h6 a,
.article-content h1 a,
.article-content h2 a,
.article-content h3 a,
.article-content h4 a,
.article-content h5 a,
.article-content h6 a {
    color: inherit;
    text-decoration: none;
}

/* =============================================
   BLOG PAGE — page-blog.php styles
   ============================================= */

/* Page Hero Simple */
.page-hero-simple {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.page-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Blog Posts Grid */
.all-posts-section { padding-top: 48px; padding-bottom: 64px; }

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

/* Blog Post Card */
.blog-post-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

/* Card Image */
.blog-card-img-link { display: block; }
.blog-card-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-post-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}
.blog-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary, #0071e3);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* Card Body */
.blog-card-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-date {
    font-size: 0.78rem;
    color: var(--primary, #0071e3);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 10px;
    color: #111;
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-card-title a:hover { color: var(--primary, #0071e3); }

.blog-card-excerpt {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}
.blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary, #0071e3);
    text-decoration: none;
    transition: gap 0.2s ease;
}
.blog-card-readmore:hover { gap: 10px; }

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    background: #f0f0f0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--primary, #0071e3);
    color: #fff;
}

/* No Posts Message */
.no-posts-msg {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 1.1rem;
}

@media (max-width: 640px) {
    .blog-posts-grid { grid-template-columns: 1fr; }
    .page-hero-title { font-size: 1.8rem; }
}
