/*
Theme Name: SEO Insights
Theme URI: https://yourwebsite.com
Author: SEO Insights Team
Author URI: https://yourwebsite.com
Description: A professional SEO blog theme featuring comprehensive guides on on-page, technical, and off-page optimization strategies. Clean, modern design optimized for readability and performance.
Version: 2.0.2
Requires at least: 5.8
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: seo-insights
Tags: blog, news, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar, custom-colors, editor-style, responsive-design
*/

/* ============================================
   SEO Insights Blog - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.site-header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: var(--primary-color);
}

.nav-menu a.active::after,
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* SEO Tools Button - Desktop */
.seo-tools-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 15px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.seo-tools-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #ffffff !important;
}

.seo-tools-btn i {
    font-size: 16px;
}

/* Hide mobile button on desktop by default */
.seo-tools-btn-mobile {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-secondary {
    border-color: white;
    color: white;
}

.hero-cta .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Category Section */
.category-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.category-card h3 {
    margin-bottom: 1rem;
}

.category-card h3 a {
    color: var(--text-primary);
}

.category-card h3 a:hover {
    color: var(--primary-color);
}

.category-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    gap: 12px;
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.blog-content h3 a {
    color: var(--text-primary);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    gap: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-link,
.page-numbers {
    padding: 10px 18px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pagination-link:hover:not(.disabled),
.page-numbers:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-link.active,
.page-numbers.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.category-icon-large {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.category-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.category-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 0.95rem;
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form button {
    background-color: white;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--bg-secondary);
}

/* Footer */
.site-footer {
    background-color: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Blog Post Page */
.breadcrumb {
    background-color: var(--bg-secondary);
    padding: 1rem 0;
}

.breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li[aria-current="page"] {
    color: var(--text-primary);
}

.blog-post {
    padding: 3rem 0;
}

.post-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.post-header {
    margin-bottom: 2rem;
}

.post-category {
    margin-bottom: 1rem;
}

.post-category a {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-name a:hover {
    color: var(--primary-color);
}

.post-date {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.post-date span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-share {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
}

.featured-image figcaption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
}

.post-body,
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-body .lead,
.entry-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
}

.post-body h2,
.entry-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    scroll-margin-top: 100px;
}

.post-body h3,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    scroll-margin-top: 100px;
}

.post-body ul,
.post-body ol,
.entry-content ul,
.entry-content ol {
    list-style: inherit;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-body li,
.entry-content li {
    margin-bottom: 0.5rem;
}

.post-body strong,
.entry-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-body blockquote,
.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
}

.post-body blockquote cite,
.entry-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

.info-box,
.warning-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-box {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
}

.warning-box {
    background-color: rgba(245, 158, 11, 0.05);
    border-left: 4px solid var(--warning-color);
}

.info-box h4,
.warning-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.info-box p,
.warning-box p {
    margin: 0;
}

.post-tags {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-tags h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tags a {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.author-bio {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin: 3rem 0;
}

.author-bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-bio-content h3 {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-bio-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.author-bio-content p {
    margin-bottom: 1.5rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.author-social a {
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.related-posts {
    margin: 4rem 0;
}

.related-posts h2 {
    margin-bottom: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-post-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.related-post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.1rem;
}

.related-post-card a {
    color: var(--text-primary);
}

.related-post-card a:hover {
    color: var(--primary-color);
}

.related-meta {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.sidebar-widget {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.toc-widget {
    background-color: white;
    border: 1px solid var(--border-color);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0;
    line-height: 1.6;
}

.table-of-contents a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
}

.table-of-contents a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.table-of-contents a.toc-sub {
    font-size: 0.9rem;
    padding-left: 1.75rem;
}

.table-of-contents a.active {
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.popular-post:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.popular-post:last-child {
    margin-bottom: 0;
}

.popular-post img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.popular-post > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-post h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.popular-post a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.popular-post a:hover {
    color: var(--primary-color);
}

.popular-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.popular-date i {
    font-size: 0.75rem;
}

.newsletter-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-widget h3 {
    color: white;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.sidebar-newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 1rem;
}

.sidebar-newsletter-form button {
    width: 100%;
    background-color: white;
    color: var(--primary-color);
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-newsletter-form button:hover {
    background-color: var(--bg-secondary);
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-weight: 500;
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list span {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .post-container {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: relative;
    }
    
    /* Hide desktop button on mobile */
    .seo-tools-btn-desktop {
        display: none !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-lg);
        gap: 0;
        z-index: 1000;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .nav-menu a.active::after,
    .nav-menu .current-menu-item a::after,
    .nav-menu .current_page_item a::after {
        display: none;
    }
    
    /* SEO Tools Button inside mobile menu */
    .menu-item-seo-tools {
        background-color: var(--bg-secondary);
    }
    
    .seo-tools-btn-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 1rem 2rem !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #ffffff !important;
        border-radius: 0 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        margin: 0 !important;
        font-size: 15px !important;
        width: 100% !important;
        box-shadow: none !important;
    }
    
    .seo-tools-btn-mobile:hover {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
        color: #ffffff !important;
    }
    
    .seo-tools-btn-mobile i {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header h1 {
        font-size: 2.25rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-bio-avatar {
        margin: 0 auto;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .category-section,
    .blog-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-tools-btn-mobile {
        padding: 1rem 1.5rem !important;
        font-size: 14px !important;
    }
}
