/*
Theme Name: Modern News
Theme URI: https://example.com/modern-news-theme
Author: Your Name
Author URI: https://example.com
Description: A clean, light, and modern news WordPress theme with responsive design. Features minimalist aesthetics, system font stack for native look and performance, and optimized for readability across all devices.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modern-news
Tags: news, blog, magazine, responsive, clean, minimal, light, two-columns, custom-menu, featured-images, threaded-comments, translation-ready

Modern News WordPress Theme, Copyright 2026
Modern News is distributed under the terms of the GNU GPL
*/

/* 
This stylesheet is loaded for theme identification in WordPress.
Main styles are loaded via Tailwind CDN in header.php for this demo version.
For production, compile Tailwind CSS into this file.
*/

/* Base reset and utility classes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #FFFFFF;
    color: #1E293B;
}

/* WordPress required classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.sticky {
    /* Styles for sticky posts */
}

.bypostauthor {
    /* Styles for post author comments */
}

.gallery-caption {
    font-size: 0.875rem;
    color: #64748b;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Article content typography */
.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-content blockquote {
    border-left: 4px solid #3B82F6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #475569;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Line clamp for titles - max 2 lines with ellipsis */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Before banner injection - centered like content */
.before-banner-wrapper {
    /* Centered container with same max-width as content */
}

.injected-before-banner {
    /* Additional styling can be added here */
}
