/*
Theme Name: NewsPress Pro
Theme URI: https://example.com/newspress
Author: Gemini AI
Description: Premium High-Performance News Theme.
Version: 2.0.0
Text Domain: newspress
*/

/* 1. Global Reset & Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #f7fafc;
}

/* 2. Header Styling (Modern & Clean) */
header {
    background: #ffffff;
    border-bottom: 3px solid #e63946; /* Red News Line */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 3. News Grid Layout */
.wp-block-post-template {
    display: grid;
    gap: 30px;
    list-style: none;
    padding: 0;
}

/* Card Look for Posts */
.wp-block-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #edf2f7;
    padding-bottom: 15px;
}

.wp-block-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 4. Images Styling */
.wp-block-post-featured-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* 5. Typography Fixes */
h1, h2, h3 {
    color: #2d3748;
    margin: 15px 0;
    padding: 0 15px;
}

.wp-block-post-title a {
    text-decoration: none;
    color: #1a202c;
    font-weight: 800;
}

.wp-block-post-excerpt {
    font-size: 0.95rem;
    color: #4a5568;
    padding: 0 15px;
}

/* 6. Sidebar Widgets */
aside {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #e63946;
}

/* 7. Breaking News Ticker (Special) */
.np-ticker-container {
    background: #1a202c;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: #e63946;
    padding: 2px 10px;
    margin-right: 15px;
    border-radius: 3px;
    font-size: 12px;
}