/*
Theme Name: Reviewzn Lite
Theme URI: https://reviewzn.com
Author: Reviewzn Team
Author URI: https://reviewzn.com
Description: A minimal, modern, and lightweight WordPress theme designed for affiliate review blogs. Optimized for Amazon Associates with built-in review features, schema markup, and exceptional performance on shared hosting.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reviewzn-lite
Tags: blog, one-column, two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

Reviewzn Lite - Honest reviews & buying guides
*/

:root {
    --color-primary: #0066cc;
    --color-primary-dark: #0052a3;
    --color-secondary: #1a1a2e;
    --color-accent: #e94560;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-bg-dark: #1a1a2e;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --content-width: 800px;
    --container-width: 1200px;
    --sidebar-width: 320px;
    --header-height: 72px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-secondary);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin: 0 0 1.5rem;
}

ul, ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
    font-style: italic;
    color: var(--color-text-light);
}

blockquote p:last-child {
    margin-bottom: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
}

th, td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-secondary);
}

tr:hover td {
    background: var(--color-bg-alt);
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    padding: 0.2em 0.4em;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
}

pre {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--color-secondary);
    color: #e5e7eb;
    border-radius: var(--radius);
    overflow-x: auto;
}

pre code {
    background: transparent;
    padding: 0;
}

hr {
    margin: 2.5rem 0;
    border: none;
    border-top: 1px solid var(--color-border);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-width {
    max-width: var(--content-width);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

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

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

.main-navigation {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: var(--color-primary);
    background: rgba(0, 102, 204, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.search-toggle,
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-toggle:hover,
.menu-toggle:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
}

.menu-toggle svg,
.search-toggle svg {
    width: 22px;
    height: 22px;
}

.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.search-overlay.active {
    display: flex;
}

.search-form-overlay {
    width: 90%;
    max-width: 600px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.search-form-overlay .search-field {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s ease;
}

.search-form-overlay .search-field:focus {
    border-color: var(--color-primary);
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 1.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 999;
    overflow-y: auto;
    padding: 1.5rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-menu {
    flex-direction: column;
    gap: 0;
}

.mobile-menu .nav-menu a {
    padding: 1rem;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
}

@media (max-width: 900px) {
    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

.site-footer {
    background: var(--color-bg-dark);
    color: #e5e7eb;
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget {
    font-size: 0.9375rem;
}

.footer-widget-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 0.625rem;
}

.footer-widget a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-disclosure {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8125rem;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #e5e7eb;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 900px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.hero-section {
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #e8f4fd 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.hero-search .search-form {
    display: flex;
    gap: 0.5rem;
}

.hero-search .search-field {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    outline: none;
}

.hero-search .search-field:focus {
    border-color: var(--color-primary);
}

.hero-search .search-submit {
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hero-search .search-submit:hover {
    background: var(--color-primary-dark);
}

@media (max-width: 600px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.0625rem;
    }
}

.section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    margin: 0;
}

.section-link {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

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

@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.post-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.post-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-radius: var(--radius-sm);
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

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

.post-card-excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.post-card-meta svg {
    width: 14px;
    height: 14px;
    margin-right: 0.25rem;
}

.featured-posts {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.featured-main .post-card-image {
    aspect-ratio: 16/9;
}

.featured-main .post-card-title {
    font-size: 1.5rem;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-sidebar .post-card {
    display: flex;
    align-items: stretch;
}

.featured-sidebar .post-card-image {
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: 1;
}

.featured-sidebar .post-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-sidebar .post-card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.featured-sidebar .post-card-excerpt {
    display: none;
}

@media (max-width: 900px) {
    .featured-posts {
        grid-template-columns: 1fr;
    }

    .featured-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .featured-sidebar .post-card {
        flex: 1 1 280px;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s ease;
}

.category-card:hover {
    background: var(--color-primary);
    color: #fff;
}

.category-card:hover .category-icon {
    background: rgba(255, 255, 255, 0.2);
}

.category-card:hover .category-name {
    color: #fff;
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: background 0.2s ease;
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.category-name {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.category-count {
    font-size: 0.875rem;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.newsletter-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2d2d4a 100%);
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.newsletter-title {
    color: #fff;
    margin-bottom: 0.75rem;
}

.newsletter-text {
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--color-primary-dark);
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.main-content {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 3rem;
    padding: 3rem 0;
}

.main-content.no-sidebar {
    grid-template-columns: 1fr;
}

.primary-content {
    min-width: 0;
}

.sidebar {
    position: relative;
}

.sidebar-inner {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.widget {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

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

.widget li {
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--color-border-light);
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: var(--color-text);
    font-size: 0.9375rem;
}

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

.recent-post-widget {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-alt);
}

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

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 1;
    }

    .sidebar-inner {
        position: static;
    }
}

.single-post-header {
    padding: 3rem 0 2rem;
    background: var(--color-bg-alt);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--color-text-light);
}

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

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

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-category-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
}

.post-date,
.post-read-time {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.post-date svg,
.post-read-time svg {
    width: 16px;
    height: 16px;
}

.single-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: var(--content-width);
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    line-height: 1.4;
}

.author-name {
    font-weight: 600;
    color: var(--color-secondary);
}

.author-name a {
    color: inherit;
}

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

.author-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .single-post-title {
        font-size: 1.75rem;
    }
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.social-share-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-right: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.pinterest { background: #e60023; }
.share-btn.copy { background: var(--color-text-light); }

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
}

.featured-image figcaption {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
    font-style: italic;
}

.post-content {
    max-width: var(--content-width);
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
}

.post-content h3 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
}

.post-content h4 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.post-content li {
    margin-bottom: 0.625rem;
}

.post-content img {
    border-radius: var(--radius);
    margin: 2rem auto;
}

.post-content .wp-block-image figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.post-tags-label {
    font-weight: 500;
    color: var(--color-text-light);
    margin-right: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    font-size: 0.8125rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: var(--color-primary);
    color: #fff;
}

.author-bio-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    margin: 3rem 0;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content {
    flex: 1;
}

.author-bio-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.author-bio-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.author-bio-description {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-bio-links {
    display: flex;
    gap: 0.75rem;
}

.author-bio-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-bg);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: all 0.2s ease;
}

.author-bio-links a:hover {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 600px) {
    .author-bio-box {
        flex-direction: column;
        text-align: center;
    }

    .author-bio-avatar {
        margin: 0 auto;
    }

    .author-bio-links {
        justify-content: center;
    }
}

.related-posts-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--color-bg-alt);
}

.related-posts-title {
    margin-bottom: 2rem;
}

.faq-section {
    margin: 3rem 0;
}

.faq-title {
    margin-bottom: 1.5rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--color-bg);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--color-bg-alt);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.comments-section {
    margin: 3rem 0;
}

.comments-title {
    margin-bottom: 1.5rem;
}

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

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.comment:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    color: var(--color-secondary);
}

.comment-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.comment-content {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1rem;
}

.comment-respond {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.comment-form-cookies-consent input {
    margin-top: 0.25rem;
}

.submit {
    padding: 0.875rem 2rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit:hover {
    background: var(--color-primary-dark);
}

.archive-header {
    padding: 3rem 0;
    background: var(--color-bg-alt);
    text-align: center;
}

.archive-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.archive-description {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.archive-count {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.875rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.pagination .dots {
    border: none;
    background: none;
}

.search-results-header {
    padding: 3rem 0;
    background: var(--color-bg-alt);
}

.search-results-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.search-results-form {
    max-width: 500px;
}

.search-results-form .search-form {
    display: flex;
    gap: 0.5rem;
}

.search-results-form .search-field {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
}

.search-results-form .search-submit {
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-results-text {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.error-404 {
    text-align: center;
    padding: 6rem 2rem;
}

.error-404-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-bg-alt);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-404-text {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background: #2d2d4a;
    color: #fff;
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.amazon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: #ff9900;
    color: #111;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.amazon-btn:hover {
    background: #e68a00;
    color: #111;
    transform: translateY(-2px);
}

.amazon-btn svg {
    width: 20px;
    height: 20px;
}

.amazon-disclosure {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 0.375rem;
}

.review-summary-box {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

.review-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.review-product-info {
    flex: 1;
}

.review-product-name {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
}

.review-brand {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
    color: #fbbf24;
}

.rating-stars svg {
    width: 20px;
    height: 20px;
}

.rating-stars svg.empty {
    color: var(--color-border);
}

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

.review-product-image {
    width: 200px;
    flex-shrink: 0;
}

.review-product-image img {
    width: 100%;
    border-radius: var(--radius);
}

.review-price-note {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-pros,
.review-cons {
    padding: 1.25rem;
    border-radius: var(--radius);
}

.review-pros {
    background: rgba(16, 185, 129, 0.08);
}

.review-cons {
    background: rgba(239, 68, 68, 0.08);
}

.pros-title,
.cons-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pros-title {
    color: var(--color-success);
}

.cons-title {
    color: var(--color-accent);
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9375rem;
}

.pros-list li,
.cons-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.cons-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.review-summary-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .review-summary-header {
        flex-direction: column-reverse;
    }

    .review-product-image {
        width: 100%;
        max-width: 250px;
    }

    .review-pros-cons {
        grid-template-columns: 1fr;
    }
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
}

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

.specs-table th {
    width: 35%;
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-secondary);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
    overflow-x: auto;
    display: block;
}

.comparison-table thead {
    background: var(--color-bg-alt);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--color-border);
    min-width: 150px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--color-bg-alt);
    position: sticky;
    left: 0;
    z-index: 1;
}

.comparison-table th {
    font-weight: 700;
    color: var(--color-secondary);
}

.comparison-table .product-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    object-fit: contain;
}

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

.comparison-table .cross {
    color: var(--color-accent);
}

.comparison-table .highlight {
    background: rgba(0, 102, 204, 0.05);
}

.page-template-about .team-section {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.team-title {
    text-align: center;
    margin-bottom: 3rem;
}

.team-founder {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.founder-card {
    background: var(--color-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.founder-role {
    font-size: 0.9375rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.founder-bio {
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.reviewers-section {
    margin-top: 2rem;
}

.reviewers-subtitle {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.reviewers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.reviewer-card {
    background: var(--color-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.reviewer-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-size: 1.0625rem;
    margin-bottom: 0.375rem;
}

.reviewer-specialty {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .reviewers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.contact-page {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0.125rem;
}

.contact-value {
    font-weight: 500;
    color: var(--color-secondary);
}

.contact-value a {
    color: inherit;
}

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

.contact-form-container {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.legal-page {
    padding: 4rem 0;
}

.legal-content {
    max-width: var(--content-width);
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
}

.legal-updated {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
}

.legal-content p {
    margin-bottom: 1.25rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
}

.highlight-box {
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius);
    margin: 2rem 0;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: calc(var(--content-width) + 200px);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

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

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