/*
Theme Name: Newsmatic Child
Theme URI: https://www.viralhollywood.site/
Description: Viral Hollywood editorial homepage — child theme of Newsmatic (Phase 4B-1). Preserves the parent theme's branding; only adds a custom front-page template and homepage styles.
Author: Viral Hollywood
Template: newsmatic
Version: 1.0.0
*/

@import url("../newsmatic/style.css");

/* =========================================================
   Viral Hollywood — editorial homepage (front-page.php)
   Mobile-first. No JS. No external libraries.
   ========================================================= */

.vh-home {
	background: #ffffff;
}

.vh-main {
	width: 100%;
}

/* ---- Masthead (single H1) ---- */
.vh-masthead {
	padding: 28px 0 6px;
}
.vh-masthead-title {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.1;
	margin: 0 0 8px;
	color: #111111;
}
.vh-masthead-tagline {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.5;
	color: #555555;
	margin: 0;
	max-width: 640px;
}

/* ---- Hero / Featured Story ---- */
.vh-hero {
	display: grid;
	gap: 18px;
	margin: 24px 0 8px;
}
.vh-hero-media img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}
.vh-hero-title {
	font-size: clamp(1.35rem, 3vw, 2rem);
	line-height: 1.15;
	margin: 0 0 10px;
}
.vh-hero-title a {
	color: #111111;
	text-decoration: none;
}
.vh-hero-title a:hover {
	color: #d0021b;
}
.vh-hero-excerpt {
	color: #444444;
	line-height: 1.55;
	margin: 0 0 14px;
}
.vh-hero-link {
	display: inline-block;
	font-weight: 700;
	color: #ffffff;
	background: #d0021b;
	padding: 9px 18px;
	border-radius: 4px;
	text-decoration: none;
}
.vh-hero-link:hover {
	background: #a00014;
}
@media (min-width: 900px) {
	.vh-hero {
		grid-template-columns: 1.5fr 1fr;
		align-items: center;
	}
}

/* ---- Sections ---- */
.vh-section {
	margin-top: 40px;
}
.vh-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 2px solid #eeeeee;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
.vh-section-title {
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	margin: 0;
}
.vh-section-title a {
	color: #111111;
	text-decoration: none;
}
.vh-section-title a:hover {
	color: #d0021b;
}
.vh-section-more {
	font-size: 0.85rem;
	font-weight: 600;
	color: #d0021b;
	text-decoration: none;
	white-space: nowrap;
}
.vh-section-more:hover {
	text-decoration: underline;
}

/* ---- Cards ---- */
.vh-grid {
	display: grid;
	gap: 22px;
}
.vh-grid-3,
.vh-grid-4 {
	grid-template-columns: 1fr;
}
@media (min-width: 600px) {
	.vh-grid-3,
	.vh-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 900px) {
	.vh-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.vh-grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}
.vh-card-media {
	display: block;
}
.vh-card-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	border-radius: 6px;
}
.vh-card-title {
	font-size: 1rem;
	line-height: 1.35;
	margin: 10px 0 4px;
}
.vh-card-title a {
	color: #111111;
	text-decoration: none;
}
.vh-card-title a:hover {
	color: #d0021b;
}
.vh-card-date {
	font-size: 0.78rem;
	color: #888888;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
