/*
Theme Name: DailyNest
Theme URI: https://dailynest.com.ng/
Author: DailyNest Team
Author URI: https://dailynest.com.ng/
Description: A simple, clean, and professional WordPress theme optimized for Google AdSense approval. Focuses on readability, fast loading, and easy navigation.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, clean, adsense-optimized, white, responsive-layout, one-column, two-columns
Text Domain: dailynest

DailyNest - The Ultimate AdSense Approval Theme
*/

/* 1. Base Styles & Reset */
:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --max-width: 1100px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Layout */
.container {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px 0;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
}

@media (max-width: 991px) {
    .sidebar {
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .site-main {
        flex-direction: column;
    }
}

/* 3. Header */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (min-width: 769px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.site-title a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 769px) {
    .main-navigation ul {
        gap: 20px;
    }
}

.main-navigation a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 5px;
}

/* 4. Posts & Cards */
.post-card {
    background: var(--white);
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-meta {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a {
    color: var(--primary-color);
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* 5. Sidebar Widget Style */
.widget {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    color: var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* 6. Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #ecf0f1;
    padding: 50px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* 7. Single Post Content */
.single-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    margin: 40px 0 20px;
}

.entry-content h3 {
    margin: 30px 0 15px;
}