/*
Theme Name: AssociativePress
Theme URI: https://associativepress.com
Author: Your Name
Description: A news-style theme inspired by AP.org for parody content
Version: 1.0
License: GNU General Public License v2 or later
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.header {
    background: #fff;
    border-bottom: 3px solid #d32f2f;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #d32f2f;
    letter-spacing: -1px;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #d32f2f;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid #d32f2f;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-meta {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.hero-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.news-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-image-placeholder {
    width: 100%;
    height: 200px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #d32f2f;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.bottom-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.latest-story {
    background: #fff;
    padding: 30px;
    border-left: 5px solid #d32f2f;
}

.store-link {
    background: #d32f2f;
    padding: 40px 30px;
    color: #fff;
    text-align: center;
}

.store-link h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.store-link p {
    margin-bottom: 20px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #d32f2f;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 3px;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

.footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

article.single-post {
    background: #fff;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

article.single-post .entry-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

article.single-post .entry-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

article.single-post .entry-content {
    font-size: 18px;
    line-height: 1.8;
}

article.single-post .entry-content p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-section {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 28px;
    }
}