/**
 * PrimeMeadow Main CSS
 * Comprehensive styles for all theme components.
 *
 * @package PrimeMeadow
 */

/* =============================================================================
   ADDITIONAL CSS CUSTOM PROPERTIES
   ============================================================================= */
:root {
    --transition-fast: 150ms ease;
    --transition: 250ms ease;
    --transition-slow: 400ms ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --review-box-accent: #2563eb;
}

/* =============================================================================
   CONTAINER ENHANCEMENTS
   ============================================================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* =============================================================================
   TOPBAR STYLES
   ============================================================================= */
.topbar {
    background: #1f2937;
    color: #d1d5db;
    font-size: 0.875rem;
    padding: 0;
    min-height: 36px;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.topbar-text {
    font-size: 0.8125rem;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #9ca3af;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.topbar-social a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* =============================================================================
   HEADER STYLES
   ============================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header-main {
    padding: 0.75rem 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    text-decoration: none;
}

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

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #1f2937;
}

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

.site-title a:hover { color: #2563eb; }

.site-description {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.125rem 0 0;
    line-height: 1.3;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 380px;
    margin-left: auto;
}

.header-search form {
    position: relative;
    display: flex;
}

.header-search input[type="search"] {
    width: 100%;
    padding: 0.5rem 1rem;
    padding-right: 48px;
    border: 2px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 0.875rem;
    background: #f9fafb;
    color: #1f2937;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
    outline: none;
    appearance: none;
}

.header-search input[type="search"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
    background: #fff;
}

.header-search button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    border-radius: 0 9999px 9999px 0;
}

.header-search button:hover { color: #2563eb; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #1f2937;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s;
}

.menu-toggle:hover {
    background: #dbeafe;
    color: #2563eb;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

/* =============================================================================
   NAVIGATION STYLES
   ============================================================================= */
.site-nav {
    background: #fff;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

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

.primary-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: 0.875rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: color 0.15s;
    border-bottom: 3px solid transparent;
    line-height: 1;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li.current_page_parent > a {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Dropdown Menus */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
    border-top: 3px solid #2563eb;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li a {
    display: block;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: #4b5563;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, background-color 0.15s;
    border-bottom: 1px solid #f9fafb;
}

.primary-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.primary-menu .sub-menu li a:hover {
    color: #2563eb;
    background: #f0f7ff;
}

/* Nested sub-menus */
.primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */
.breadcrumbs-wrapper {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.625rem 0;
}

.breadcrumbs {
    font-size: 0.8125rem;
    color: #6b7280;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs-list a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumbs-list a:hover { color: #2563eb; }
.breadcrumbs-list .separator { color: #d1d5db; }
.breadcrumbs-list .current { color: #1f2937; font-weight: 500; }
.breadcrumb-item { display: flex; align-items: center; gap: 0.375rem; }

/* =============================================================================
   POST CARDS
   ============================================================================= */
.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.post-card-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

.post-card:hover .post-card-thumbnail img {
    transform: scale(1.04);
}

/* Category Badge on Card */
.post-card-thumbnail .category-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 1;
}

.post-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.625rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.15s;
}

.post-card-title a:hover { color: #2563eb; }

.post-card-excerpt {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Meta Row */
.post-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

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

.meta-author a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.15s;
}

.meta-author a:hover { color: #2563eb; }

.meta-avatar {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50%;
    object-fit: cover;
}

.meta-date, .meta-reading-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Read More Button */
.post-card-read-more {
    align-self: flex-start;
    margin-top: auto;
}

/* Category Badge Styles */
.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 9999px;
    text-decoration: none;
    background: #2563eb;
    color: #fff;
    transition: background-color 0.15s, transform 0.15s;
    white-space: nowrap;
}

.category-badge:hover {
    background: #1d4ed8;
    color: #fff;
    transform: scale(1.03);
}

/* Category color variations */
.category-tech-reviews { background: #2563eb; }
.category-home-kitchen { background: #10b981; }
.category-beauty { background: #ec4899; }
.category-sports { background: #f59e0b; }
.category-budget-picks { background: #8b5cf6; }
.category-reviews { background: #ef4444; }

/* =============================================================================
   SECTION TITLES
   ============================================================================= */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #2563eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* =============================================================================
   SINGLE POST STYLES
   ============================================================================= */
.single-post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.post-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.post-header {
    padding: 2rem 2rem 0;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 1rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.author-avatar-small {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    object-fit: cover;
}

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

.post-author a:hover { color: #2563eb; }

.post-date, .post-reading-time, .post-comments {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Post Content */
.post-content {
    padding: 2rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
}

.post-content h2 { font-size: 1.625rem; margin: 2rem 0 1rem; }
.post-content h3 { font-size: 1.375rem; margin: 1.75rem 0 0.875rem; }
.post-content h4 { font-size: 1.125rem; margin: 1.5rem 0 0.75rem; }

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

.post-content li {
    margin-bottom: 0.375rem;
    line-height: 1.7;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-color: rgba(37,99,235,0.3);
    transition: text-decoration-color 0.15s;
}

.post-content a:hover {
    text-decoration-color: #2563eb;
}

.post-content blockquote {
    border-left: 4px solid #2563eb;
    padding: 1rem 1.5rem;
    background: #eff6ff;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: #1e40af;
}

.post-content figure {
    margin: 1.5rem 0;
}

.post-content figcaption {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
}

.post-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.post-content table th,
.post-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.post-content table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.post-content table tr:nth-child(even) td {
    background: #f9fafb;
}

/* Post Footer */
.post-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #f3f4f6;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tags-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.tag-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: background-color 0.15s, border-color 0.15s;
}

.tag-link:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
}

/* Social Share */
.post-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.15s;
}

.share-btn:hover { opacity: 0.85; }

.share-facebook { background: #1877f2; color: #fff; }
.share-twitter { background: #1da1f2; color: #fff; }
.share-pinterest { background: #e60023; color: #fff; }

/* =============================================================================
   AUTHOR BOX
   ============================================================================= */
.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid #e5e7eb;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.author-name a {
    color: #1f2937;
    text-decoration: none;
}

.author-name a:hover { color: #2563eb; }

.author-bio {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1rem;
}

/* =============================================================================
   POST NAVIGATION
   ============================================================================= */
.post-navigation {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.nav-previous a,
.nav-next a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    background: #f9fafb;
    transition: background-color 0.15s;
    height: 100%;
}

.nav-next a { align-items: flex-end; text-align: right; }

.nav-previous a:hover,
.nav-next a:hover {
    background: #eff6ff;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.375rem;
}

.nav-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================================================
   RELATED POSTS
   ============================================================================= */
.related-posts {
    margin: 2rem 0;
}

/* =============================================================================
   COMMENTS SECTION
   ============================================================================= */
.comments-section {
    margin: 2rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.comments-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

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

.comment-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.comment-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.comment-author-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    background: #2563eb;
    color: #fff;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comment-metadata {
    font-size: 0.8125rem;
    color: #9ca3af;
}

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

.comment-metadata a:hover { color: #6b7280; }

.comment-content p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #374151;
    margin: 0;
}

.comment-awaiting-moderation {
    font-size: 0.875rem;
    color: #f59e0b;
    background: #fef3c7;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    margin: 0;
}

.comment-footer .reply a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    padding-left: 2rem;
    border-left: 3px solid #eff6ff;
    margin-left: 0.75rem;
    margin-top: 0.75rem;
}

/* Comment Form */
.comment-form .comment-form-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

/* =============================================================================
   SIDEBAR STYLES
   ============================================================================= */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: start;
    position: sticky;
    top: 90px;
}

.widget {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 0;
}

.widget_search .search-field {
    flex: 1;
    padding: 0.5rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px 0 0 6px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
}

.widget_search .search-field:focus { border-color: #2563eb; }

.widget_search .search-submit {
    padding: 0.5rem 0.875rem;
    background: #2563eb;
    color: #fff;
    border: 2px solid #2563eb;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.15s;
}

.widget_search .search-submit:hover { background: #1d4ed8; }

/* Recent/Popular Posts Widget */
.recent-posts-widget-list,
.popular-posts-widget-list,
.top-reviews-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.recent-post-item,
.popular-post-item,
.top-review-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.recent-post-thumb img,
.popular-post-thumb img,
.top-review-thumb img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.recent-post-info,
.popular-post-info,
.top-review-info {
    flex: 1;
    min-width: 0;
}

.recent-post-title,
.popular-post-title,
.top-review-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-post-title:hover,
.popular-post-title:hover,
.top-review-title:hover { color: #2563eb; }

.recent-post-date,
.popular-post-comments {
    font-size: 0.75rem;
    color: #9ca3af;
}

.popular-post-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e5e7eb;
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

/* Categories Widget */
.widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_categories li {
    padding: 0.375rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.widget_categories li:last-child { border-bottom: none; }

.widget_categories a {
    color: #374151;
    text-decoration: none;
    transition: color 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories a:hover { color: #2563eb; }

.widget_categories .post-count {
    font-size: 0.75rem;
    background: #f3f4f6;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    color: #6b7280;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.widget_tag_cloud a {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.8rem !important;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.15s;
}

.widget_tag_cloud a:hover {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

/* Sidebar Recent Posts */
.sidebar-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-recent-post {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.sidebar-post-thumb img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-post-info { flex: 1; }

.sidebar-post-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 0.125rem;
}

.sidebar-post-title:hover { color: #2563eb; }

.sidebar-post-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Sidebar Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    padding: 0.375rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.sidebar-categories li:last-child { border-bottom: none; }

.sidebar-categories a {
    color: #374151;
    text-decoration: none;
    transition: color 0.15s;
}

.sidebar-categories a:hover { color: #2563eb; }

/* Footer Widget Styles */
.footer-widget .widget-title {
    color: #fff;
    border-bottom-color: #2563eb;
}

.footer-widget {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    color: #d1d5db;
}

.footer-widget a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.15s;
}

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

.footer-widget .sidebar-recent-posts li,
.footer-widget .recent-posts-widget-list li {
    border-bottom-color: rgba(255,255,255,0.08);
}

.footer-widget .recent-post-title,
.footer-widget .sidebar-post-title {
    color: #e5e7eb;
}

.footer-widget .recent-post-title:hover,
.footer-widget .sidebar-post-title:hover { color: #fff; }

/* =============================================================================
   FOOTER STYLES
   ============================================================================= */
.site-footer {
    background: #1f2937;
    color: #d1d5db;
    margin-top: 4rem;
}

.footer-widgets-section {
    padding: 3.5rem 0 2rem;
}

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

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

.footer-widget-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
}

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

.footer-copyright {
    font-size: 0.8125rem;
    color: #6b7280;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a,
.footer-menu-list a {
    font-size: 0.8125rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover,
.footer-menu-list a:hover { color: #fff; }

.footer-menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background-color 0.15s, color 0.15s;
}

.footer-social-link:hover {
    background: #2563eb;
    color: #fff;
}

/* Social Widget */
.social-widget-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.social-widget-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity 0.15s;
    color: #fff;
}

.social-widget-link:hover { opacity: 0.88; color: #fff; }

.social-facebook { background: #1877f2; }
.social-twitter { background: #1da1f2; }
.social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-youtube { background: #ff0000; }
.social-pinterest { background: #e60023; }
.social-linkedin { background: #0a66c2; }

.social-icon { font-size: 1rem; }

/* =============================================================================
   BACK TO TOP
   ============================================================================= */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background-color 0.15s;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
}

/* =============================================================================
   PAGINATION
   ============================================================================= */
.pagination {
    margin: 3rem 0 1rem;
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-list a,
.pagination-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    transition: all 0.15s;
}

.pagination-list a:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #2563eb;
}

.pagination-list .current span,
.pagination-list li.active span,
.pagination-list li.active a {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.pagination-list .dots { border: none; background: transparent; pointer-events: none; }

/* =============================================================================
   ARCHIVE PAGE STYLES
   ============================================================================= */
.archive-header {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.archive-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
}

.archive-description {
    color: #4b5563;
    font-size: 0.9375rem;
    margin: 0;
}

.archive-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* =============================================================================
   SEARCH PAGE STYLES
   ============================================================================= */
.search-header {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.search-query {
    color: #2563eb;
}

.search-results-count {
    color: #6b7280;
    font-size: 0.9375rem;
    margin: 0 0 1rem;
}

/* =============================================================================
   404 PAGE STYLES
   ============================================================================= */
.error-404 {
    text-align: center;
    padding: 4rem 2rem;
}

.error-404-visual {
    margin-bottom: 2rem;
}

.error-404-number {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    color: #e5e7eb;
    line-height: 1;
    font-family: var(--font-heading);
}

.error-404-icon {
    font-size: 3rem;
    margin-top: -1rem;
}

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

.error-404-message {
    font-size: 1.0625rem;
    color: #4b5563;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.error-404-actions {
    margin-bottom: 3rem;
}

.error-404-search,
.error-404-recent,
.error-404-categories {
    margin: 3rem 0;
    text-align: left;
}

.error-404-search h2,
.error-404-recent h2,
.error-404-categories h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.category-cloud .category-badge {
    font-size: 0.8rem;
}

.cat-count {
    opacity: 0.75;
    margin-left: 0.25rem;
}

/* =============================================================================
   HERO SECTION (Homepage)
   ============================================================================= */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 380px;
    align-items: center;
}

.hero-text {
    padding: 3rem;
}

.hero-category {
    margin-bottom: 0.75rem;
}

.hero-category .category-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 0.75rem;
}

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

.hero-title a:hover { opacity: 0.9; }

.hero-product-name {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.75rem;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
}

.hero-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.hero-rating-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.hero-excerpt {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-image {
    height: 380px;
    overflow: hidden;
}

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

/* Featured Posts Section */
.featured-posts-section {
    margin-top: 0;
}

/* =============================================================================
   HOME PAGE SPECIFIC
   ============================================================================= */
.home-featured,
.home-top-reviews,
.home-latest-posts {
    margin-bottom: 3rem;
}

.home-categories {
    background: #f9fafb;
    padding: 3rem 0;
    margin: 3rem -1.5rem;
}

.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-showcase-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #e5e7eb;
}

.category-showcase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.category-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.category-initial {
    font-size: 2.5rem;
    font-weight: 800;
    color: #93c5fd;
    font-family: var(--font-heading);
}

.category-card-info {
    padding: 0.875rem 1rem;
}

.category-card-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem;
}

.category-card-count {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Newsletter Section */
.home-newsletter {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    padding: 3rem 0;
    margin: 3rem -1.5rem 0;
    color: #fff;
}

.newsletter-box {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.newsletter-content {
    flex: 1;
}

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
}

.newsletter-description {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin: 0;
}

.newsletter-form-area {
    flex: 1;
    max-width: 480px;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.newsletter-email {
    flex: 1;
    border-radius: 8px 0 0 8px;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    outline: none;
}

.newsletter-input-group .btn-accent {
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

.newsletter-privacy {
    color: rgba(255,255,255,0.6);
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* =============================================================================
   ABOUT PAGE STYLES
   ============================================================================= */
.about-hero {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.about-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: #1e3a8a;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: #3b82f6;
    margin: 0;
}

.about-mission {
    padding: 3rem 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-image img {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.mission-text h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.trust-feature {
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.trust-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-feature p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.about-team {
    padding: 3rem 0;
    background: #f9fafb;
}

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

.team-member {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.team-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.team-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.team-name a { color: #1f2937; text-decoration: none; }
.team-name a:hover { color: #2563eb; }

.team-role {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.team-bio {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

.about-stats {
    background: #2563eb;
    padding: 3rem 0;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================================================
   CONTACT PAGE STYLES
   ============================================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.contact-form-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.contact-form-response {
    padding: 0;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-form-response.success {
    padding: 1rem;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-form-response.error {
    padding: 1rem;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-info-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.contact-info-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.contact-info-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.contact-info-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.125rem;
}

.contact-info-text a,
.contact-info-text span {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
}

.contact-info-text a:hover { color: #2563eb; }

.contact-social h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

.social-links-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-map-placeholder {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

.form-privacy-note {
    margin-top: 0.75rem;
    color: #9ca3af;
}

/* =============================================================================
   LEGAL PAGE STYLES
   ============================================================================= */
.legal-page .page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-last-updated {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.375rem 0 0;
}

.legal-toc {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.legal-toc h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151;
}

.toc-list {
    padding-left: 1.25rem;
    margin: 0;
    counter-reset: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.toc-list li {
    font-size: 0.875rem;
}

.toc-list a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.15s;
}

.toc-list a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f3f4f6;
    scroll-margin-top: 90px;
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.legal-section p {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.875rem;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
}

.legal-section li {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 0.375rem;
    list-style: disc;
}

/* =============================================================================
   COOKIE CONSENT
   ============================================================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: #e5e7eb;
    z-index: 500;
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-consent[hidden] { display: none; }

.cookie-consent-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    font-size: 0.875rem;
    margin: 0;
    flex: 1;
}

.cookie-consent-text a {
    color: #93c5fd;
    text-decoration: underline;
    margin-left: 0.25rem;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* =============================================================================
   ADSENSE UNITS
   ============================================================================= */
.adsense-unit,
.adsense-widget-unit {
    text-align: center;
    margin: 1rem 0;
    overflow: hidden;
}

.ad-banner-section {
    padding: 1.5rem 0;
    text-align: center;
}

/* =============================================================================
   NO RESULTS
   ============================================================================= */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.no-results-text {
    font-size: 1rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.search-suggestions,
.no-results-categories,
.browse-categories,
.recent-posts-fallback {
    margin: 2rem 0;
    text-align: left;
}

.search-suggestions h3,
.no-results-categories h3,
.browse-categories h3,
.recent-posts-fallback h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

.search-suggestions ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #6b7280;
    font-size: 0.9375rem;
}

.category-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* =============================================================================
   AWARDS OVERLAY
   ============================================================================= */
.award-badge-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 4px;
    background: #f59e0b;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* =============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .category-showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet-Large (max-width: 1024px) */
@media (max-width: 1024px) {
    .content-area {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .widget-area {
        position: static;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .hero-text {
        padding: 2.5rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .nav-links {
        grid-template-columns: 1fr;
    }

    .comment-form .comment-form-fields-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        flex-direction: column;
        z-index: 150;
        border-top: 3px solid #2563eb;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .primary-menu.open { display: flex; }

    .primary-menu > li > a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f3f4f6;
        border-left: 3px solid transparent;
    }

    .primary-menu > li > a:hover,
    .primary-menu > li.current-menu-item > a {
        border-left-color: #2563eb;
        border-bottom-color: #f3f4f6;
    }

    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 4px solid #dbeafe;
        margin-left: 1.5rem;
        display: none;
    }

    .primary-menu li.open > .sub-menu { display: block; }

    .header-search {
        display: none;
    }

    .posts-grid,
    .posts-grid-2,
    .posts-grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-menu-list {
        justify-content: center;
    }

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

    .newsletter-box {
        flex-direction: column;
    }

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

    .trust-features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-text {
        padding: 1.75rem;
    }

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

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

    .post-header,
    .post-content,
    .post-footer { padding: 1.25rem; }

    .author-box { flex-direction: column; }

    .comment-form .comment-form-fields-row {
        grid-template-columns: 1fr;
    }

    .about-hero-title { font-size: 1.875rem; }

    .home-categories,
    .home-newsletter {
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container { padding-left: 1rem; padding-right: 1rem; }

    .site-description { display: none; }

    .category-showcase-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-meta {
        gap: 0.375rem 0.75rem;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .trust-features-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-email,
    .newsletter-input-group .btn-accent {
        border-radius: 8px;
    }

    .comment-list .children {
        padding-left: 1rem;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        display: grid;
    }
}
