/*
Theme Name: Newswire Editorial
Theme URI: https://example.com/newswire-editorial
Author: Custom
Author URI: https://example.com
Description: A dense, black-and-white financial-news editorial theme with a red accent — bold sans headlines, thin rule dividers, and a multi-story index grid, inspired by global business-news sites. Built as a full-site-editing block theme with every template and pattern pre-configured, so activating it applies the full layout immediately with no manual block setup.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newswire-editorial
Tags: full-site-editing, block-patterns, news, editorial, one-column, two-columns, custom-colors, custom-menu, footer-widgets

This theme is an original design created for a WordPress site and is not affiliated with, endorsed by, or copied from any news organization. Any resemblance to a particular publication's visual style is a general editorial-design convention (bold sans headlines, black/white/red palette, rule dividers) and not reproduced code or assets.
*/

/* Supplemental CSS. Layout, color, and typography live in theme.json;
   this file only covers things block styles can't express cleanly. */

.wp-site-blocks {
	overflow-x: hidden;
}

/* Thin horizontal rule divider used between story groups */
.is-style-nw-divider {
	border: none;
	border-top: 1px solid var(--wp--preset--color--nw-rule);
	margin: 0;
}

/* Small-caps red kicker / section label above headlines */
.nw-kicker {
	display: inline-block;
	font-family: var(--wp--preset--font-family--nw-sans);
	font-size: var(--wp--preset--font-size--nw-kicker);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--nw-red);
	margin-bottom: 0.4em;
}

/* Story card border treatment */
.nw-card {
	border-top: 3px solid var(--wp--preset--color--nw-black);
	padding-top: 1rem;
}

.nw-card + .nw-card {
	border-left: 1px solid var(--wp--preset--color--nw-rule);
}

/* Dark header bar */
.nw-header-bar {
	background-color: var(--wp--preset--color--nw-black);
	color: var(--wp--preset--color--nw-white);
}

.nw-header-bar a {
	color: var(--wp--preset--color--nw-white);
	text-decoration: none;
}

.nw-header-bar a:hover {
	color: var(--wp--preset--color--nw-red);
}

/* Ticker-style strip under the header */
.nw-ticker {
	background-color: var(--wp--preset--color--nw-red);
	color: var(--wp--preset--color--nw-white);
	font-family: var(--wp--preset--font-family--nw-sans);
	font-size: var(--wp--preset--font-size--nw-kicker);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Hero overlay text on the lead story image */
.nw-hero-overlay {
	position: relative;
}

.nw-hero-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
	pointer-events: none;
}

.nw-hero-overlay .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

/* Byline row */
.nw-byline {
	font-family: var(--wp--preset--font-family--nw-sans);
	font-size: var(--wp--preset--font-size--nw-meta);
	color: var(--wp--preset--color--nw-gray);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Footer */
.nw-footer {
	background-color: var(--wp--preset--color--nw-black);
	color: var(--wp--preset--color--nw-white-70);
}

.nw-footer a {
	color: var(--wp--preset--color--nw-white-70);
}

.nw-footer a:hover {
	color: var(--wp--preset--color--nw-red);
}

@media (max-width: 782px) {
	.nw-card + .nw-card {
		border-left: none;
		border-top: 1px solid var(--wp--preset--color--nw-rule);
		padding-top: 1rem;
		margin-top: 1rem;
	}
}
