/* ============================================= */
/* SMART KITCHEN - WARM COOKING DESIGN SYSTEM */
/* ============================================= */

/* Google Fonts loaded in baseof.html for better performance */

/* CSS Variables - Warm Cooking Palette */
:root {
    /* Primary Colors - Warm Terracotta & Orange */
    --primary-color: #9A3412; /* warm terracotta */
    --secondary-color: #EA580C; /* appetizing orange */
    --accent-color: #059669; /* fresh green */
    
    /* Backgrounds & Surfaces */
    --background-color: #FFFBEB; /* warm cream */
    --card-background: #FFFFFF; /* pure white for cards */
    --muted-background: #F8F2F0; /* warm muted */
    
    /* Text Colors */
    --text-color: #0F172A; /* near black */
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    /* Borders */
    --border-color: #F2E6E2; /* warm border */
    --border-muted: #E5E7EB;
    
    /* Status Colors */
    --success-color: #059669; /* using accent green */
    --danger-color: #DC2626; /* destructive red */
    --warning-color: #F59E0B;
    
    /* Special Colors */
    --star-color: #F7C948; /* golden stars */
    --focus-ring: #9A3412; /* primary for focus */
    
    /* Gradients */
    --gradient-warm: linear-gradient(135deg, #9A3412 0%, #EA580C 50%, #F97316 100%);
    --gradient-hero: linear-gradient(135deg, #9A3412 0%, #DC2626 20%, #EA580C 100%);
    --gradient-card: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
    --gradient-background: linear-gradient(135deg, #FFFBEB 0%, #FEF7ED 100%);
    
    /* Shadows - Warm Tinted */
    --shadow-warm: 0 2px 8px rgba(154, 52, 18, 0.08);
    --shadow-warm-md: 0 4px 16px rgba(154, 52, 18, 0.12);
    --shadow-warm-lg: 0 8px 32px rgba(154, 52, 18, 0.16);
    --shadow-warm-xl: 0 12px 48px rgba(154, 52, 18, 0.20);
    
    /* Border Radius - Soft & Rounded */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
    
    /* Typography Scale */
    --font-heading: 'Varela Round', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    
    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--primary-color);
    color: white;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background: var(--background-color);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(154, 52, 18, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(234, 88, 12, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-warm);
    z-index: 1000;
    transition: width 0.1s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    letter-spacing: -0.025em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
}
h2 { 
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
}
h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}
h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

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

a:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Interactive Elements - Cursor Pointer */
button, .btn, .article-card, .category-card, .related-card, 
[role="button"], [tabindex], .mobile-menu-toggle {
    cursor: pointer;
}

/* SVG Icons */
.icon-star {
    width: 16px;
    height: 16px;
    fill: var(--star-color);
}

.icon-check {
    width: 16px;
    height: 16px;
    fill: var(--success-color);
}

.icon-x {
    width: 16px;
    height: 16px;
    fill: var(--danger-color);
}

.icon-cart {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.icon-arrow-right {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition);
}

.icon-fire {
    width: 18px;
    height: 18px;
    fill: var(--secondary-color);
}

.icon-trophy {
    width: 20px;
    height: 20px;
    fill: var(--star-color);
}

/* Header */
.site-header {
    background: rgba(255, 251, 235, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-warm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-warm-md);
    background: rgba(255, 251, 235, 0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.logo h1 {
    font-size: 1.875rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.025em;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 36px;
    }
}

/* Navigation */
.desktop-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--muted-background);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 251, 235, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-warm-md);
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
    display: block;
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--text-color);
}

.mobile-nav a:hover {
    background: var(--muted-background);
    color: var(--primary-color);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.btn:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-warm);
    border: 2px solid transparent;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-warm-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-warm);
}

.btn-amazon {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #EA580C, #9A3412);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    margin: 1.5rem 0;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(154,52,18,0.2);
}

.btn-amazon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154,52,18,0.3);
    color: white;
}

.btn-amazon .icon-arrow-right {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.btn-amazon:hover .icon-arrow-right {
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0 8rem;
    background: linear-gradient(rgba(154, 52, 18, 0.7), rgba(234, 88, 12, 0.8)), url('/images/hero-kitchen.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    color: white;
    margin-bottom: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Food Pattern SVG */
.hero::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' opacity='0.3' viewBox='0 0 24 24'%3E%3Cpath d='M12.5 1.5c-1.4 0-2.5 1.1-2.5 2.5v8c0 .6.4 1 1 1s1-.4 1-1V4c0-.3.2-.5.5-.5s.5.2.5.5v8c0 .6.4 1 1 1s1-.4 1-1V4c0-1.4-1.1-2.5-2.5-2.5z'/%3E%3Cpath d='M8.5 1.5c-.3 0-.5.2-.5.5v8c0 .6.4 1 1 1s1-.4 1-1V2c0-.3.2-.5.5-.5s.5.2.5.5v8c0 .6.4 1 1 1s1-.4 1-1V2c0-1.4-1.1-2.5-2.5-2.5S8.5.1 8.5 1.5z'/%3E%3Cpath d='M16 11h-8c-1.1 0-2 .9-2 2v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
}

.hero p {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.hero .btn {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
}

.hero .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

/* Trust Indicators */
.trust-bar {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 1.5rem;
}

.trust-item {
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.trust-item strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.article-card {
    background: var(--card-background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-warm);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: var(--transition);
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-warm-xl);
}

.article-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--gradient-card);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-image-placeholder::before {
    content: '';
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' opacity='0.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4V4zm2 2v12h12V6H6zm2 2h8v2H8V8zm0 4h8v2H8v-2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.article-content {
    padding: 2rem;
}

.article-content h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.article-content h3 a {
    color: var(--text-color);
    transition: var(--transition);
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-meta .category a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: rgba(154, 52, 18, 0.1);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    font-size: 0.8rem;
}

.article-meta .category a:hover {
    background: var(--primary-color);
    color: white;
}

/* Featured Article Highlight */
.featured-article {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--card-background);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-warm-lg);
    margin-bottom: 3rem;
    position: relative;
}

.featured-article::before {
    content: 'FEATURED';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gradient-warm);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
    font-family: var(--font-body);
}

.featured-image {
    height: 400px;
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-family: var(--font-heading);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-content {
        padding: 2rem;
    }
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-warm);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-warm-xl);
}

.category-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.category-card h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
}

.category-card h3 a {
    color: var(--text-color);
    transition: var(--transition);
}

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

.category-card p {
    color: var(--text-muted);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Post Content */
.post {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Breadcrumb Navigation */
.breadcrumb {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #9A3412;
    text-decoration: none;
}

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

.breadcrumb span {
    color: #aaa;
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-header h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta .categories a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: rgba(154, 52, 18, 0.1);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.post-meta .categories a:hover {
    background: var(--primary-color);
    color: white;
}

.post-image {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-warm-md);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Table of Contents */
.table-of-contents {
    background: #FFFBEB;
    border: 1px solid #F2E6E2;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.table-of-contents h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9A3412;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.table-of-contents nav ul {
    margin: 0;
    padding-left: 1.25rem;
}

.table-of-contents nav li {
    margin: 0.35rem 0;
    font-size: 0.9rem;
}

.table-of-contents nav a {
    color: #444;
    text-decoration: none;
}

.table-of-contents nav a:hover {
    color: #9A3412;
}

/* Post Content Styling */
.post-content {
    line-height: 1.8;
    font-size: 1.075rem;
}

.post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    font-family: var(--font-heading);
}

.post-content h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-warm);
}

.post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    box-shadow: var(--shadow-warm);
}

.post-content blockquote {
    background: var(--background-color);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius);
    margin: 2rem 0;
    font-style: italic;
    position: relative;
}

/* Verdict Box */
.verdict-box {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    box-shadow: var(--shadow-warm-md);
    border: 2px solid var(--star-color);
    position: relative;
}

.verdict-box::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--star-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.verdict-box h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

/* Product Comparison Tables */
.comparison-table {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-warm-md);
    background: var(--card-background);
}

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

.comparison-table th {
    background: var(--muted-background);
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    font-family: var(--font-heading);
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(154, 52, 18, 0.02);
}

.comparison-table tbody tr:hover {
    background: rgba(154, 52, 18, 0.05);
}

.comparison-table .winner-row {
    background: rgba(247, 201, 72, 0.15) !important;
    border-left: 4px solid var(--star-color);
    font-weight: 600;
}

.comparison-table .check {
    color: var(--success-color);
    font-weight: bold;
}

.comparison-table .cross {
    color: var(--danger-color);
    font-weight: bold;
}

/* Pros and Cons Boxes */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.pros, .cons {
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-warm);
    position: relative;
}

.pros {
    background: rgba(5, 150, 105, 0.05);
    border: 2px solid rgba(5, 150, 105, 0.2);
}

.cons {
    background: rgba(220, 38, 38, 0.05);
    border: 2px solid rgba(220, 38, 38, 0.2);
}

.pros h4, .cons h4 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

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

.pros li, .cons li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.pros li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23059669'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.cons li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DC2626'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

@media (max-width: 768px) {
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Star Ratings */
.star-rating {
    display: inline-flex;
    gap: 2px;
    margin: 0.5rem 0;
    align-items: center;
}

.star svg {
    width: 16px;
    height: 16px;
    fill: var(--star-color);
    transition: var(--transition);
}

.star.empty svg {
    fill: var(--border-muted);
}

.star-rating:hover .star svg {
    transform: scale(1.1);
}

/* Author Bio */
.author-bio {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 4rem 0;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-warm);
}

.author-bio h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
}

/* Related Articles */
.related-articles {
    margin: 4rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--card-background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-warm);
}

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

.related-image {
    height: 160px;
    background: var(--gradient-card);
    position: relative;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.related-content h4 a {
    color: var(--text-color);
    transition: var(--transition);
}

.related-content h4 a:hover {
    color: var(--primary-color);
}

.related-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Posts List */
.posts-list {
    margin: 3rem 0;
}

.post-preview {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-warm);
    transition: var(--transition);
}

.post-preview:hover {
    box-shadow: var(--shadow-warm-md);
    transform: translateY(-2px) scale(1.01);
}

.post-preview:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-preview .post-image {
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
    background: var(--gradient-card);
}

.post-preview .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-preview:hover .post-image img {
    transform: scale(1.05);
}

.post-preview h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.post-preview h2 a {
    color: var(--text-color);
    transition: var(--transition);
}

.post-preview h2 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    transform: translateX(4px);
    color: var(--secondary-color);
}

.read-more .icon-arrow-right {
    transition: var(--transition);
}

.read-more:hover .icon-arrow-right {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .post-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-preview .post-image {
        height: 200px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pagination a {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.page-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 1rem;
}

/* Footer */
.site-footer {
    background: #1C1917;
    color: #D6D3D1;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin: 0.75rem 0;
}

.footer-section a {
    color: #D6D3D1;
    transition: var(--transition);
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(2px);
}

.footer-section p {
    color: #A8A29E;
    line-height: 1.6;
}

.newsletter-signup {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-signup h4 {
    color: white;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.newsletter-signup p {
    color: #D6D3D1;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.newsletter-form button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #D6D3D1;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #78716C;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-header h1 {
        font-size: 2.25rem;
    }
    
    .post-meta {
        gap: 1rem;
        justify-content: center;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-amazon {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .post {
        padding: 2rem 0;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .pros, .cons {
        padding: 1.5rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 2rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* View All Button */
.view-all {
    text-align: center;
    margin: 3rem 0;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hot Pick Callout */
.hot-pick {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.05), rgba(154, 52, 18, 0.05));
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    position: relative;
    box-shadow: var(--shadow-warm);
}

.hot-pick h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.hot-pick p {
    margin-bottom: 1rem;
}

/* Button enhancements */
.btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Enhanced link underline animations */
a:not(.btn):not(.category) {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s ease;
}

a:not(.btn):not(.category):hover {
    text-decoration-color: currentColor;
}

/* Improved blockquote with warm styling */
blockquote {
    background: var(--background-color);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius);
    margin: 2rem 0;
    font-style: italic;
    position: relative;
    color: var(--text-color);
}

blockquote::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23059669' opacity='0.3'%3E%3Cpath d='M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-nav,
    .btn-amazon,
    .newsletter-signup,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .post {
        max-width: none;
    }
}
/* Affiliate Notice */
.affiliate-notice {
    background: #f8f9fa;
    border-left: 3px solid #dee2e6;
    padding: 8px 14px;
    margin-bottom: 1.5rem;
    border-radius: 0 4px 4px 0;
    color: #6c757d;
    font-size: 0.82rem;
    line-height: 1.5;
}
.affiliate-notice a {
    color: #6c757d;
    text-decoration: underline;
}
.affiliate-notice a:hover {
    color: #495057;
}


/* =============================================== */
/* NEW TEMPLATE COMPONENTS - HOMES & GARDENS STYLE */
/* =============================================== */

/* Our Pick Badge */
.our-pick-badge {
    display: inline-block;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

/* Verdict Box */
.verdict-box {
    background: #fff;
    border: 2px solid #F2E6E2;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0 2rem;
    box-shadow: 0 2px 8px rgba(154,52,18,0.06);
}
.verdict-box .verdict-summary {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0F172A;
}
.verdict-box .reasons {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 600px) {
    .verdict-box .reasons { grid-template-columns: 1fr; }
}
.verdict-box .reasons-buy {
    border-left: 4px solid #059669;
    padding-left: 1rem;
}
.verdict-box .reasons-buy h4 { 
    color: #059669; 
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.verdict-box .worth-knowing h4 { 
    color: #6B7280; 
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.verdict-box .reasons-buy li::before { content: "✓ "; color: #059669; font-weight: bold; }
.verdict-box .worth-knowing li::before { content: "ℹ️ "; margin-right: 0.25rem; }
.verdict-box .reasons-buy ul { font-size: 1rem; }
.verdict-box .worth-knowing ul { font-size: 0.85rem; color: #6B7280; }
.verdict-box ul { list-style: none; padding: 0; margin: 0.5rem 0; }
.verdict-box .reasons-buy li { padding: 6px 0; }
.verdict-box .worth-knowing li { padding: 3px 0; }

/* Quick Specs */
.quick-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}
.quick-spec-item {
    background: #F8F2F0;
    padding: 10px 14px;
    border-radius: 10px;
}
.quick-spec-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9A3412;
    margin-bottom: 2px;
}
.quick-spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0F172A;
}

/* Jump Nav Pills */
.jump-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #F2E6E2;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav.sticky {
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--shadow-warm);
    border-radius: var(--radius);
    margin: 0 0 2rem;
    padding: 12px 16px;
}
.jump-nav a {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 20px;
    background: #F8F2F0;
    color: #9A3412;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.jump-nav a:hover {
    background: #9A3412;
    color: white;
}

/* Price Callout */
.price-callout {
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 1px solid #F2E6E2;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.price-callout .product-name { font-weight: 700; color: #0F172A; }
.price-callout .product-price { font-size: 1.3rem; font-weight: 800; color: #9A3412; }
.price-callout .btn {
    background: var(--gradient-warm);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.price-callout .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm-md);
}

/* "Should You Buy It?" section styling */
.post-content h2[id*="should-you-buy"],
.post-content h2[id*="verdict"],
.post-content h2[id*="should-i-buy"],
.post-content h2[id*="buy-it"] {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #059669;
    border-left: 4px solid #059669;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 3rem;
    color: #065f46;
}

/* "Who should buy this" section styling */
.who-should-buy {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}
.who-should-buy h4 { 
    color: #059669; 
    margin-bottom: 0.5rem; 
}
.who-should-buy li { 
    padding: 4px 0; 
}

/* FAQ section styling - targeting FAQ sections by ID */
.post-content h2[id*="faq"] ~ h3,
.post-content h2[id*="frequently"] ~ h3 {
    font-weight: 700;
    color: #9A3412;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.post-content h2[id*="faq"] ~ p,
.post-content h2[id*="frequently"] ~ p {
    margin-left: 1rem;
    padding-left: 0.5rem;
    border-left: 2px solid #F2E6E2;
    color: #6B7280;
}

/* Better content spacing */
.post-content p {
    margin-bottom: 1.5rem;
    max-width: 70ch;
}
.post-content h2 {
    margin-top: 3rem;
}
.post-content h3 {
    margin-top: 2rem;
}

/* Product Cards Layout */
.product-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media(min-width: 640px) {
    .product-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.product-card {
    border: 1px solid #e5e0d5;
    border-radius: 12px;
    padding: 1.25rem;
    background: #fff;
}

.product-card img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: #f8f6f0;
    border-radius: 8px;
    padding: 0.5rem;
}

.product-card .badge {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.05rem;
    margin: 0.25rem 0 0.5rem;
}

.product-card .specs {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.product-card .btn-buy {
    display: block;
    text-align: center;
    background: #9A3412;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.product-card .btn-buy:hover {
    background: #7C2D12;
}

/* Quick Picks Table */
.quick-picks { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; }
.quick-picks h2 { font-size: 1.1rem; margin: 0 0 0.75rem; color: #92400E; }
.quick-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.quick-table th { text-align: left; color: #666; font-weight: 600; padding: 0.25rem 0.5rem 0.5rem; border-bottom: 1px solid #FDE68A; }
.quick-table td { padding: 0.5rem; border-bottom: 1px solid #f5f0e8; vertical-align: middle; }
.quick-table tr:last-child td { border-bottom: none; }
.btn-quick { display: inline-block; background: #9A3412; color: white !important; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-quick:hover { background: #7C2D12; }

/* FAQ Section */
.faq-section { 
    margin: 2rem 0; 
    background: #FFFBEB; 
    border: 1px solid #F2E6E2; 
    border-radius: 12px; 
    padding: 1.5rem; 
}
.faq-section h2 { 
    color: #9A3412; 
    margin: 0 0 1rem; 
    font-size: 1.25rem; 
}
.faq-item { 
    border-bottom: 1px solid #F2E6E2; 
    padding: 1rem 0; 
}
.faq-item:last-child { 
    border-bottom: none; 
}
.faq-item h3 { 
    font-size: 1rem; 
    margin: 0 0 0.5rem; 
    color: #1a1a1a; 
    font-weight: 600; 
}
.faq-item p { 
    margin: 0; 
    color: #444; 
    font-size: 0.95rem; 
    line-height: 1.6; 
}

/* Back to Top Button */
#back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; background: #9A3412; color: white; border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 999; }
#back-to-top.visible { display: flex; }

/* Alert Box for Important Warnings */
.alert-box { background: #FEF9C3; border-left: 4px solid #EAB308; padding: 0.75rem 1rem; margin: 1rem 0; border-radius: 0 8px 8px 0; font-size: 0.9rem; }

/* Category Callouts for Product Recommendations */
.category-callouts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.callout { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.9rem; }

/* Article Byline Styling */
.article-byline { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: #666; margin: 0.5rem 0 1.5rem; }
.byline-label { font-weight: 400; }
.byline-name { font-weight: 600; color: #9A3412; }

/* Popular Articles Section */
.popular-articles {
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF7ED 100%);
    border-radius: 12px;
}
.popular-articles h2 {
    text-align: center;
    color: #9A3412;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.popular-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(154, 52, 18, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(154, 52, 18, 0.16);
}
.popular-image {
    height: 200px;
    overflow: hidden;
}
.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.popular-card:hover .popular-image img {
    transform: scale(1.05);
}
.popular-content {
    padding: 1.5rem;
}
.popular-content h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    line-height: 1.3;
}
.popular-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}
.popular-content h3 a:hover {
    color: #9A3412;
}
.popular-excerpt {
    color: #666;
    margin: 0 0 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .popular-articles {
        padding: 1.5rem;
        margin: 0 -1rem 2rem;
        border-radius: 0;
    }
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.dashboard-card {
    background: white;
    border: 1px solid #F2E6E2;
    border-radius: 12px;
    padding: 1.5rem;
}

.dashboard-card h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9A3412;
    margin: 0 0 1rem;
}

.todo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.todo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f0eb;
    font-size: 0.9rem;
}

.todo-item:last-child {
    border-bottom: none;
}

.todo-checkbox {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.todo-item.done .todo-checkbox {
    color: #059669;
}

.todo-item.done {
    text-decoration: line-through;
    color: #999;
}

.cron-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.cron-table td {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #f5f0eb;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background: #FFFBEB;
    border-radius: 8px;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #9A3412;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.8rem;
    color: #666;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #9A3412;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Energy Calculator Widget */
.calculator-widget { background: #FFFBEB; border: 2px solid #F2E6E2; border-radius: 16px; padding: 2rem; margin: 2rem 0; }
.calculator-widget h3 { color: #9A3412; margin: 0 0 1.5rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.calc-field label { display: block; font-size: 0.85rem; font-weight: 600; color: #444; margin-bottom: 0.3rem; }
.calc-field input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #e0d8d0; border-radius: 8px; font-size: 1rem; }
.calc-btn { background: #9A3412; color: white; border: none; padding: 0.75rem 2rem; border-radius: 8px; font-size: 1rem; cursor: pointer; font-weight: 600; }
.calc-btn:hover { background: #7A2D0F; }
.calc-results { margin-top: 1.5rem; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.result-box { background: white; border-radius: 8px; padding: 1rem; text-align: center; }
.result-box.highlight { background: #9A3412; color: white; }
.result-label { display: block; font-size: 0.8rem; color: #666; margin-bottom: 0.3rem; }
.result-box.highlight .result-label { color: rgba(255,255,255,0.8); }
.result-value { display: block; font-size: 1.75rem; font-weight: 700; color: #1a1a1a; }
.result-box.highlight .result-value { color: white; }
@media (max-width: 600px) { .calc-grid, .result-grid { grid-template-columns: 1fr; } }

/* Methodology Disclosure Box */
.methodology-box { 
    background: #f9f6f2; 
    border-left: 3px solid #9A3412; 
    padding: 1rem 1.25rem; 
    margin: 2.5rem 0 1rem; 
    border-radius: 0 8px 8px 0; 
    font-size: 0.875rem; 
    color: #555; 
}

.methodology-box h4 { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: #9A3412; 
    margin: 0 0 0.4rem; 
    font-weight: 600; 
}

.methodology-box p { 
    margin: 0; 
    line-height: 1.6; 
}

