/*
Theme Name: NewspaperPress
Theme URI: https://example.com/newspaperpress
Author: Manus AI
Author URI: https://manus.im
Description: A high-performance, mobile-first, and SEO-optimized WordPress theme for newspaper websites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newspaperpress
Tags: news, newspaper, blog, responsive, mobile-first, seo-friendly, accessibility, customizer-options, clean, minimal
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
	/* Smooth scrolling for anchor links */
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
	color: #0073aa;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #005177;
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	padding: 1rem;
	border-bottom: 1px solid #eee;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.site-branding {
	margin-bottom: 1rem;
}

.site-title {
	font-size: 1.8rem;
	margin: 0;
}

.site-title a {
	color: #333;
}

.site-description {
	font-size: 0.9rem;
	color: #777;
	margin: 0;
}

.main-navigation {
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.main-navigation li {
	text-align: center;
	border-bottom: 1px solid #eee;
}

.main-navigation a {
	display: block;
	padding: 0.8rem 1rem;
	color: #333;
	text-decoration: none;
}

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

.menu-toggle {
	display: block;
	width: 100%;
	padding: 0.8rem 1rem;
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	cursor: pointer;
	font-size: 1rem;
	margin-bottom: 1rem;
}

/* Hide menu by default on mobile */
.main-navigation ul {
	display: none;
}

.main-navigation.toggled ul {
	display: flex;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-content {
	padding: 1rem;
}

.content-area {
	width: 100%;
}

.site-main article {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #eee;
}

.entry-header {
	margin-bottom: 1rem;
}

.entry-title {
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.entry-title a {
	color: #333;
}

.entry-meta {
	font-size: 0.8rem;
	color: #777;
}

.post-thumbnail img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1rem;
}

.entry-content p {
	margin-bottom: 1rem;
}

.entry-footer {
	font-size: 0.8rem;
	color: #777;
}

/* Pagination */
.navigation.pagination {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.nav-links .page-numbers {
	display: inline-block;
	padding: 0.5rem 0.8rem;
	margin: 0 0.2rem;
	border: 1px solid #ddd;
	color: #333;
	text-decoration: none;
}

.nav-links .page-numbers.current {
	background-color: #0073aa;
	color: #fff;
	border-color: #0073aa;
}

.nav-links .page-numbers:hover {
	background-color: #f0f0f0;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.widget-area {
	padding: 1rem;
	border-top: 1px solid #eee;
	margin-top: 2rem;
}

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 1rem;
	border-bottom: 1px solid #eee;
	padding-bottom: 0.5rem;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	padding: 1rem;
	border-top: 1px solid #eee;
	text-align: center;
	font-size: 0.8rem;
	color: #777;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
	.site-header {
		flex-direction: row;
		justify-content: space-between;
		padding: 1rem 2rem;
	}

	.site-branding {
		margin-bottom: 0;
	}

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		flex-direction: row;
		border-bottom: none;
		width: auto;
	}

	.main-navigation li {
		border-bottom: none;
	}

	.site-content {
		display: flex;
		max-width: 1200px;
		margin: 0 auto;
		padding: 2rem;
	}

	.content-area {
		flex: 2;
		padding-right: 2rem;
	}

	.widget-area {
		flex: 1;
		border-top: none;
		margin-top: 0;
		padding-left: 2rem;
		border-left: 1px solid #eee;
	}
}
