/* DeepAI Child Theme - Complete Styling */

/* ===== Base Typography ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #f8f9fa;
}

/* ===== Hero Section ===== */
.ai-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ai-hero h1 {
    font-size: 2.5em;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ai-hero p {
    font-size: 1.15em;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Tools Directory ===== */
.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.ai-tool-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ai-tool-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: #2a5298;
}

.tool-icon {
    font-size: 2.8em;
    margin-bottom: 12px;
}

.ai-tool-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #1e3c72;
    font-weight: 600;
}

.ai-tool-card p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tool-link {
    display: inline-block;
    background: #1e3c72;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.tool-link:hover {
    background: #2a5298;
    transform: translateX(2px);
}

.ai-cta {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    margin: 40px auto;
    border-radius: 10px;
    max-width: 800px;
    border: 1px solid #e0e0e0;
}

.ai-cta h2 {
    color: #1e3c72;
    margin-bottom: 12px;
    font-size: 1.8em;
}

/* ===== Blog Listing ===== */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #2a5298;
}

.blog-card h2 {
    font-size: 1.6em;
    margin-bottom: 8px;
    color: #1e3c72;
    font-weight: 600;
}

.blog-card h2 a {
    color: #1e3c72;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #2a5298;
}

.blog-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 12px;
}

.blog-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    display: inline-block;
    background: #1e3c72;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.read-more:hover {
    background: #2a5298;
}

/* ===== Single Post Styling ===== */
.single-post .entry-title {
    color: #1e3c72;
    font-size: 2.2em;
    margin-bottom: 16px;
}

.single-post .entry-content {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
}

.single-post .entry-content h2 {
    color: #1e3c72;
    margin-top: 30px;
    margin-bottom: 16px;
    font-size: 1.8em;
}

.single-post .entry-content h3 {
    color: #2a5298;
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.4em;
}

.single-post .entry-content p {
    margin-bottom: 18px;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-left: 24px;
    margin-bottom: 18px;
}

.single-post .entry-content li {
    margin-bottom: 8px;
}

/* ===== Page Header ===== */
.page-header {
    background: #fff;
    border-bottom: 2px solid #1e3c72;
    padding: 30px 0;
    margin-bottom: 30px;
}

.page-title {
    color: #1e3c72;
    font-size: 2.2em;
    margin: 0;
}

/* ===== Navigation ===== */
.main-navigation {
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #1e3c72;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .ai-hero h1 { font-size: 1.8em; }
    .ai-hero p { font-size: 1em; }
    .ai-tools-grid { grid-template-columns: 1fr; }
    .blog-card h2 { font-size: 1.3em; }
    .single-post .entry-title { font-size: 1.8em; }
}

/* ===== AdSense-Friendly Spacing ===== */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Improved Readability ===== */
p {
    margin-bottom: 1.2em;
    font-size: 1.05em;
}

a {
    color: #1e3c72;
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: #2a5298;
}

/* ===== Site Branding ===== */
.site-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #1e3c72;
}

.site-description {
    color: #666;
    font-size: 1.05em;
}
