/*
Theme Name: Digital Hustle Lab - Premium Light
Theme URI: https://digitalhustlelab.com
Author: Antigravity
Description: A high-performance, AdSense-friendly light theme for AI Tool reviews and Side Hustle guides.
Version: 1.0
Text Domain: dhl
*/

:root {
    --primary: #1e3a8a; /* Deep Navy */
    --accent: #3b82f6;  /* Electric Blue */
    --highlight: #f59e0b; /* Gold */
    --bg-light: #fdfdfd;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
#main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

/* Navigation */
.main-nav {
    display: block;
}

/* Target both the menu class and the fallback ul */
.nav-links, 
.main-nav ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex !important;
    flex-direction: row;
    gap: 25px;
}

.nav-links li,
.main-nav ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.nav-links li a,
.main-nav ul li a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.nav-links li a:hover,
.main-nav ul li a:hover,
.nav-links li.active a,
.main-nav ul li.active a {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, #fff, #f3f4f6);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h2 {
    font-size: 1.25rem;
    margin: 0 0 10px;
}

/* Single Post */
.single-post-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding-top: 40px;
}

.single-post-wrap h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.featured-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 5px;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
}

.entry-content p {
    margin-bottom: 30px;
}

.entry-content h2, .entry-content h3 {
    color: var(--primary);
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 800;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 35px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 12px;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 30px;
    margin: 40px 0;
    background: #f9fafb;
    font-style: italic;
    border-radius: 0 12px 12px 0;
}

.post-img-mid {
    margin: 45px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Premium Empire Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.entry-content th {
    background-color: var(--primary);
    color: white;
    text-align: left;
    padding: 15px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.entry-content td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.entry-content tr:nth-child(even) {
    background-color: #f8fafc;
}

.entry-content tr:hover {
    background-color: #f1f5f9;
}

/* Premium Code Blocks */
.entry-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 40px 0;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #334155;
}

.entry-content code {
    font-family: inherit;
    color: inherit;
}

/* Ad Placements */
.ad-slot {
    background: #f9fafb;
    border: 1px dashed var(--border);
    margin: 40px 0;
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
    margin-top: 80px;
}

/* Empire Home Funnel Styles */
.home-funnel-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
}

.hero-section {
    text-align: center;
    padding: 120px 40px;
    background: radial-gradient(circle at top right, #f8fafc 0%, #ffffff 100%);
    border-radius: 50px;
    margin-bottom: 100px;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.05);
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 950;
    letter-spacing: -3.5px;
    line-height: 0.9;
    margin-bottom: 30px;
    color: var(--primary);
}

.hero-section p {
    font-size: 1.6rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 45px auto;
    line-height: 1.4;
}

.cta-button-large {
    background: var(--primary);
    color: white;
    padding: 24px 60px;
    border-radius: 100px;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button-large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.3);
}

.home-section-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    letter-spacing: -1px;
}

.tool-recommendation-box {
    background: #0f172a;
    color: white;
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    margin: 100px 0;
    position: relative;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.tool-recommendation-box h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 950;
}

.tool-recommendation-box p {
    color: #94a3b8;
    font-size: 1.4rem;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 80px 0;
}

.featured-guide-item {
    background: white;
    padding: 45px 35px;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-guide-item:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.featured-guide-item h3 {
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.3;
    color: var(--primary);
    font-weight: 900;
}

.email-capture-home {
    background: #f8fafc;
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    border: 2px dashed #cbd5e1;
    margin: 100px 0;
}

.social-proof {
    text-align: center;
    padding: 60px 0;
    opacity: 0.6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Viral Engagement Layer */
.social-share-bar {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.share-link {
    background: #f8fafc;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.share-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.post-pagination-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 80px 0;
}

.nav-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.nav-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.nav-thumb {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    margin-right: 20px;
}

.nav-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 800;
}

.nav-title {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 800;
    display: block;
    margin-top: 5px;
}

.related-posts-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 4px solid #f1f5f9;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .post-pagination-wrap { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
}
