/*
 * Wealth & Health 40s - Main Stylesheet
 * 
 * Base Color: Navy (#1a2a3a)
 * Accent Color: Gold/Orange for monetization buttons
 * Typography: Easy to read for 40s, larger font size and line height.
 */

:root {
    --color-primary: #1a2a3a; /* Trustworthy navy */
    --color-secondary: #004080; /* Lighter navy for hover */
    --color-accent: #f39c12; /* High-conversion orange/gold for buttons */
    --color-accent-hover: #e67e22;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #f9f9f9;
    --color-white: #ffffff;
    --color-border: #e0e0e0;

    --font-base: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 18px; /* Slightly larger for eye comfort */
    --line-height-base: 1.8; /* Spacious line height */
}

body {
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content-area {
    width: 68%;
}

.widget-area {
    width: 28%;
}

/* Header */
.site-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-title, .site-title a {
    color: var(--color-white);
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.site-description {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Navigation */
.main-navigation {
    margin-top: 15px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    margin-right: 20px;
}

.main-navigation a {
    color: var(--color-white);
    font-weight: bold;
    text-decoration: none;
}

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

.menu-toggle {
    display: none;
}

/* Articles */
.article-card, .single-article, .single-page {
    background-color: var(--color-white);
    padding: 40px 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.entry-title {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-primary);
    line-height: 1.4;
}

.entry-meta {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.entry-content h3 {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-top: 40px;
    margin-bottom: 15px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Sidebar */
.widget {
    background-color: var(--color-white);
    padding: 30px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-navigation a {
    color: var(--color-white);
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Monetization / Ad Areas */
.ad-area {
    margin: 40px 0;
    text-align: center;
    background-color: #f0f4f8; /* visual cue for ad space in empty state */
    padding: 20px;
    border: 1px dashed #cbd5e1;
    color: #94a3b8;
    font-size: 0.8rem;
}

.ad-area.position-top {
    margin-top: 0;
}

/* Monetization Button Shortcode */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.monetization-btn {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    font-size: 1.2rem;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.monetization-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .content-area, .widget-area {
        width: 100%;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid var(--color-white);
        color: var(--color-white);
        padding: 5px 15px;
        cursor: pointer;
    }
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }
    .main-navigation.toggled ul {
        display: flex;
    }
    .main-navigation li {
        margin: 5px 0;
    }
    .article-card, .single-article, .single-page {
        padding: 20px;
    }
}
