/*
Theme Name: Keyword Research Tool
Theme URI: https://tempmailsall.com
Author: Kausar
Author URI: https://tempmailsall.com
Description: A custom WordPress theme for keyword research tool
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keyword-tool
*/

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Keyword Tool Styles */
.keyword-tool-section {
    padding: 60px 0;
}

.tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-header h1 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.tool-header p {
    font-size: 18px;
    color: #6b7280;
}

.keyword-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Styles */
.results-container {
    display: none;
}

.results-container.active {
    display: block;
}

.location-results {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.location-header h2 {
    font-size: 28px;
    color: var(--text-color);
}

.difficulty-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.difficulty-easy { background: #d1fae5; color: #065f46; }
.difficulty-medium { background: #fef3c7; color: #92400e; }
.difficulty-hard { background: #fee2e2; color: #991b1b; }
.difficulty-very-hard { background: #dbeafe; color: #1e3a8a; }

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.metric-card {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.metric-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.keyword-info {
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.info-value {
    color: #6b7280;
}

.trend-chart {
    margin-bottom: 25px;
}

.trend-chart h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.trend-bars {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 200px;
}

.trend-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), #60a5fa);
    border-radius: 4px 4px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.trend-value {
    position: absolute;
    top: -25px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
}

.trend-label {
    margin-top: 10px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.serp-results {
    margin-top: 25px;
}

.serp-results h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.serp-item {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
}

.serp-position {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.serp-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.serp-title:hover {
    text-decoration: underline;
}

.serp-link {
    font-size: 13px;
    color: #059669;
    margin-bottom: 8px;
    display: block;
}

.serp-snippet {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--card-bg);
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.faq-item {
    background: var(--bg-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 60px 0;
}

.blog-posts-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
}

.post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover,
.post-card:hover .post-title {
    color: var(--primary-color);
}

.post-excerpt {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.post-meta {
    font-size: 12px;
    color: #9ca3af;
}

/* Single Post Styles */
.single-post-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 60px 0;
}

.sidebar {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.sidebar-post {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-post a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-post a:hover {
    color: var(--primary-color);
}

.sidebar-post-date {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
}

.main-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.article-meta {
    color: #6b7280;
    font-size: 14px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 28px;
}

.article-content h3 {
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 22px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    gap: 20px;
}

.nav-link {
    flex: 1;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.3s;
}

.nav-link:hover {
    background: var(--primary-color);
    color: white;
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* Footer Styles */
footer {
    background: var(--text-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
}

.footer-description {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #d1d5db;
}

/* Page Template Styles */
.page-template {
    padding: 60px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.page-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

/* Blog Archive Page Styles */
.blog-archive-page {
    padding: 60px 0;
    background: var(--bg-color);
}

.blog-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-archive-header .page-title {
    font-size: 42px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-archive-header .page-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.category-filter {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--secondary-color);
}

.category-count {
    font-size: 12px;
    opacity: 0.8;
}

.posts-count {
    margin-bottom: 25px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post-card:hover .post-thumbnail {
    transform: scale(1.1);
}

.placeholder-thumbnail {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-content {
    padding: 25px;
}

.post-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #6b7280;
}

.post-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-card-meta svg {
    opacity: 0.7;
}

.post-card-excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s;
}

.blog-post-card:hover .read-more {
    gap: 10px;
}

.read-more svg {
    transition: transform 0.3s;
}

.blog-post-card:hover .read-more svg {
    transform: translateX(4px);
}

/* Pagination Styles */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.blog-pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
}

.blog-pagination .page-numbers a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.blog-pagination .page-numbers .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.blog-pagination .page-numbers .dots {
    background: transparent;
    border: none;
    pointer-events: none;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.no-posts-found svg {
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-posts-found h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.no-posts-found p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-back-all {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back-all:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Modern Comments Section Styles */
.comments-area {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-top: 50px;
}

.comments-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title::before {
    content: "💬";
    font-size: 32px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-list .comment {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.comment-list .comment:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.comment-list .children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

.comment-body {
    position: relative;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    width: 50px;
    height: 50px;
}

.comment-author .fn {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

.comment-author .fn:hover {
    color: var(--primary-color);
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-metadata a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.comment-metadata a:hover {
    color: var(--primary-color);
}

.comment-metadata .comment-edit-link {
    color: var(--primary-color);
    font-weight: 500;
}

.comment-content {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.comment-content p {
    margin-bottom: 12px;
}

.comment-awaiting-moderation {
    background: #fef3c7;
    color: #92400e;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.comment-reply-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.comment-reply-link::before {
    content: "↩";
    font-size: 16px;
}

/* Comment Form Styles */
.comment-respond {
    background: var(--bg-color);
    padding: 35px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-reply-title::before {
    content: "✍️";
    font-size: 28px;
}

.comment-reply-title small {
    margin-left: auto;
}

.comment-reply-title small a {
    font-size: 14px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    background: #fee2e2;
    transition: all 0.3s;
}

.comment-reply-title small a:hover {
    background: #ef4444;
    color: white;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.comment-form .required {
    color: #ef4444;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: grid;
    gap: 8px;
}

.form-submit {
    grid-column: 1 / -1;
    margin: 10px 0 0 0;
}

.form-submit .submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.form-submit .submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.form-submit .submit::after {
    content: "→";
    font-size: 18px;
    transition: transform 0.3s;
}

.form-submit .submit:hover::after {
    transform: translateX(4px);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    grid-column: 1 / -1;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.comment-form-cookies-consent label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}

/* Comment Navigation */
.comment-navigation {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    flex: 1;
}

.comment-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
}

.comment-navigation a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* No Comments Message */
.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.no-comments::before {
    content: "💭";
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

/* Pingback & Trackback Styles */
.comment-list .pingback,
.comment-list .trackback {
    background: #f0f9ff;
    border-left-color: #0ea5e9;
}

.comment-list .pingback .comment-body,
.comment-list .trackback .comment-body {
    padding: 0;
}

.comment-list .pingback .comment-content,
.comment-list .trackback .comment-content {
    font-style: italic;
    color: #0369a1;
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comments-area {
        padding: 25px 20px;
    }
    
    .comments-title {
        font-size: 24px;
    }
    
    .comment-list .children {
        margin-left: 20px;
    }
    
    .comment-respond {
        padding: 25px 20px;
    }
    
    .comment-reply-title {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-reply-title small {
        margin-left: 0;
    }
    
    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        grid-column: 1 / -1;
    }
    
    .comment-navigation {
        flex-direction: column;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .tool-header h1 {
        font-size: 28px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .site-logo img {
        width: 60px;
        height: 60px;
    }
    
    .site-title {
        font-size: 18px;
    }
    
    /* Blog Archive Responsive */
    .blog-archive-header .page-title {
        font-size: 32px;
    }
    
    .blog-archive-header .page-description {
        font-size: 16px;
    }
    
    .category-buttons {
        flex-direction: column;
    }
    
    .category-btn {
        justify-content: center;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-pagination .page-numbers a,
    .blog-pagination .page-numbers span {
            padding: 10px 14px;
            font-size: 14px;
        }
    }
    
    /* Header Search Form */
    .header-search {
        position: relative;
    }
    
    .header-search .search-form {
        display: flex;
        align-items: center;
        background-color: var(--bg-color);
        border-radius: 50px;
        overflow: hidden;
        border: 2px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .header-search .search-form:focus-within {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }
    
    .header-search .search-field {
        border: none;
        background: transparent;
        padding: 10px 20px;
        font-size: 14px;
        outline: none;
        width: 200px;
        transition: width 0.3s ease;
    }
    
    .header-search .search-field:focus {
        width: 250px;
    }
    
    .header-search .search-submit {
        background-color: var(--primary-color);
        border: none;
        cursor: pointer;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }
    
    .header-search .search-submit:hover {
        background-color: var(--secondary-color);
    }
    
    .header-search .search-icon {
        width: 20px;
        height: 20px;
        fill: white;
    }
    
    .screen-reader-text {
        clip: rect(1px, 1px, 1px, 1px);
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
    }
    
    @media (max-width: 968px) {
        .header-search {
            margin-left: auto;
        }
    }
    
    @media (max-width: 768px) {
        .header-search {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            padding: 15px;
            background: var(--card-bg);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            display: none;
        }
    
        .main-navigation.active + .header-search {
            display: block;
        }
    
        .header-search .search-field,
        .header-search .search-field:focus {
            width: 100%;
        }
    }
    