/*
Theme Name: Editorial Network
Description: Clean editorial reading experience for GeneratePress sites. Montserrat typography, single-column posts, whitespace-first design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Template: generatepress
License: Proprietary
Text Domain: editorial-network
*/

/* ── Base Typography ────────────────────────────────────────────────── */

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #2e3236;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Headings ───────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6,
.entry-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
}

h1, .entry-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.entry-content h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.entry-content h3 {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    margin-top: 1.75em;
    margin-bottom: 0.5em;
}

.entry-content h4 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* ── Body Content ───────────────────────────────────────────────────── */

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

.entry-content a {
    color: #2e3236;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #000;
}

.entry-content blockquote {
    border-left: 3px solid #2e3236;
    margin: 1.5em 0;
    padding: 0.5em 1.5em;
    font-style: italic;
    color: #555;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content img {
    border-radius: 4px;
}

/* ── Single Post Layout ─────────────────────────────────────────────── */

.editorial-single .site-content .content-area {
    max-width: 720px;
    margin: 0 auto;
    float: none;
}

.editorial-single .inside-article {
    padding: 40px 20px;
}

.editorial-single .entry-header {
    margin-bottom: 2em;
}

.editorial-single .entry-meta {
    font-size: 14px;
    color: #888;
    margin-top: 0.75em;
}

.editorial-single .post-image {
    margin-bottom: 2em;
}

.editorial-single .post-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* ── Reading Time Badge ─────────────────────────────────────────────── */

.en-reading-time {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.02em;
    margin-top: 0.5em;
}

/* ── Navigation ─────────────────────────────────────────────────────── */

.main-navigation,
.main-navigation .main-nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* ── Footer Archives ────────────────────────────────────────────────── */

.en-footer-archives {
    padding: 30px 0;
    border-top: 1px solid #e8e8e8;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.en-footer-archives-title {
    font-weight: 600;
    color: #2e3236;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.en-footer-archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
}

.en-footer-archives-list a {
    color: #666;
    text-decoration: none;
}

.en-footer-archives-list a:hover {
    color: #2e3236;
    text-decoration: underline;
}

.en-footer-archives-list .count {
    color: #aaa;
    font-size: 12px;
}

/* ── Archive/Homepage Cards ─────────────────────────────────────────── */

.site-content .inside-article {
    border-bottom: 1px solid #f0f0f0;
}

/* ── Sidebar Tweaks (archive/home pages) ────────────────────────────── */

.widget-area .widget {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.widget-area .widget-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2e3236;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    h1, .entry-title {
        font-size: 28px;
    }

    .entry-content h2 {
        font-size: 24px;
    }

    .entry-content h3 {
        font-size: 20px;
    }

    .editorial-single .inside-article {
        padding: 24px 16px;
    }
}
