/*
Theme Name: George Whitten
Theme URI: https://worthyministries.com
Template: generatepress
Author: George Whitten
Author URI: https://worthynews.com
Description: Personal GeneratePress child theme for George Whitten — founder and chief editor of Worthy News, author of the Worthy Brief, and pastor. Newsroom-inspired branding.
Version: 1.0.0
Text Domain: george-whitten-child
*/

/* ==========================================================================
   1. Brand palette (newsroom / press)
   ========================================================================== */
:root {
	--gw-ink: #14161f;        /* deep charcoal navy - masthead */
	--gw-ink-light: #262a3a;  /* lighter charcoal for panels */
	--gw-red: #b3121b;        /* press red / breaking-news accent */
	--gw-red-dark: #8a0e15;
	--gw-gold: #c9a227;       /* ministry gold accent, used sparingly */
	--gw-gray: #f4f5f7;       /* light section background */
	--gw-line: #e2e3e8;       /* hairlines / rules */
	--gw-white: #ffffff;
	--gw-text: #1c1e26;
	--gw-text-muted: #5b5f6e;
}

/* ==========================================================================
   2. Global type & body
   ========================================================================== */
body {
	background-color: var(--gw-white);
	color: var(--gw-text);
	font-family: 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Georgia', 'Times New Roman', serif;
	color: var(--gw-ink);
	letter-spacing: 0.01em;
}

a {
	color: var(--gw-red);
}

a:hover,
a:focus {
	color: var(--gw-red-dark);
}

/* ==========================================================================
   3. Site header / nav (newsroom masthead)
   ========================================================================== */
.main-navigation,
#site-navigation,
.site-header {
	background-color: var(--gw-ink);
	border-bottom: 3px solid var(--gw-red);
}

.main-navigation .main-nav ul li a,
.site-title a,
.site-description {
	color: var(--gw-white) !important;
}

.main-navigation .main-nav ul li a:hover {
	color: var(--gw-gold) !important;
}

.site-title a {
	font-family: 'Georgia', serif;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ==========================================================================
   4. Hero / byline banner
   ========================================================================== */
.gw-hero {
	position: relative;
	background: linear-gradient(135deg, var(--gw-ink) 0%, var(--gw-ink-light) 100%);
	color: var(--gw-white);
	padding: 70px 20px;
}

.gw-hero__inner {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.gw-hero__photo {
	width: 190px;
	height: 190px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid var(--gw-red);
	flex-shrink: 0;
}

.gw-hero__text {
	flex: 1;
	min-width: 260px;
}

.gw-hero__kicker {
	display: inline-block;
	background-color: var(--gw-red);
	color: var(--gw-white);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 12px;
	margin-bottom: 14px;
}

.gw-hero__name {
	font-size: clamp(2rem, 4.5vw, 3rem);
	color: var(--gw-white);
	margin: 0 0 8px;
	line-height: 1.1;
}

.gw-hero__title {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 1.05rem;
	color: var(--gw-gold);
	margin: 0 0 18px;
	letter-spacing: 0.02em;
}

.gw-hero__links {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.gw-btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 2px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	font-size: 0.82rem;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 2px solid transparent;
}

.gw-btn--primary {
	background-color: var(--gw-red);
	color: var(--gw-white);
}

.gw-btn--primary:hover {
	background-color: var(--gw-red-dark);
	color: var(--gw-white);
}

.gw-btn--secondary {
	background-color: transparent;
	border-color: var(--gw-white);
	color: var(--gw-white);
}

.gw-btn--secondary:hover {
	background-color: var(--gw-white);
	color: var(--gw-ink);
}

/* ==========================================================================
   5. Content sections
   ========================================================================== */
.gw-section {
	padding: 64px 20px;
	max-width: 900px;
	margin: 0 auto;
}

.gw-section--gray {
	background-color: var(--gw-gray);
	max-width: none;
}

.gw-section--gray .gw-section__inner {
	max-width: 900px;
	margin: 0 auto;
}

.gw-section h2 {
	font-size: 1.9rem;
	margin-bottom: 22px;
	position: relative;
	padding-bottom: 14px;
}

.gw-section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	background-color: var(--gw-red);
}

.gw-section p {
	font-size: 1.06rem;
	line-height: 1.8;
	color: var(--gw-text);
}

.gw-section p + p {
	margin-top: 18px;
}

.gw-pullquote {
	border-left: 3px solid var(--gw-gold);
	padding: 18px 24px;
	margin: 30px 0;
	font-family: 'Georgia', serif;
	font-style: italic;
	font-size: 1.15rem;
	color: var(--gw-ink);
	background-color: var(--gw-white);
}

/* Pen name callout */
.gw-pen-name {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background-color: var(--gw-white);
	border: 1px solid var(--gw-line);
	border-left: 4px solid var(--gw-red);
	padding: 26px;
	margin-top: 30px;
}

.gw-pen-name h3 {
	margin: 0 0 10px;
	font-size: 1.2rem;
}

/* CTA band - Worthy Brief subscribe */
.gw-cta-band {
	background: linear-gradient(135deg, var(--gw-red) 0%, var(--gw-red-dark) 100%);
	color: var(--gw-white);
	text-align: center;
	padding: 56px 20px;
}

.gw-cta-band h2 {
	color: var(--gw-white);
}

.gw-cta-band p {
	color: var(--gw-white);
	opacity: 0.92;
	max-width: 560px;
	margin: 0 auto 24px;
}

/* Books */
.gw-books__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 26px;
	margin-top: 24px;
}

.gw-book-card {
	background-color: var(--gw-white);
	border: 1px solid var(--gw-line);
	display: flex;
	gap: 20px;
	padding: 22px;
	align-items: flex-start;
}

.gw-book-card__cover {
	width: 100px;
	height: 150px;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 6px 16px rgba(0,0,0,0.18);
	border: 1px solid var(--gw-line);
}

.gw-book-card__body {
	flex: 1;
	min-width: 0;
}

.gw-book-card__title {
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.gw-book-card__blurb {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--gw-text-muted);
	margin: 0 0 16px;
}

/* ==========================================================================
   6. Recent articles feed
   ========================================================================== */
.gw-articles {
	max-width: 1000px;
	margin: 0 auto;
	padding: 64px 20px;
}

.gw-articles h2 {
	text-align: center;
}

.gw-articles__intro {
	text-align: center;
	color: var(--gw-text-muted);
	max-width: 600px;
	margin: 0 auto 36px;
}

.gw-articles__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 26px;
}

.gw-article-card {
	background-color: var(--gw-white);
	border: 1px solid var(--gw-line);
	border-top: 3px solid var(--gw-red);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gw-article-card__source {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gw-red);
}

.gw-article-card__title {
	font-family: 'Georgia', serif;
	font-size: 1.1rem;
	line-height: 1.4;
	margin: 0;
}

.gw-article-card__title a {
	color: var(--gw-ink);
	text-decoration: none;
}

.gw-article-card__title a:hover {
	color: var(--gw-red);
}

.gw-article-card__date {
	font-size: 0.8rem;
	color: var(--gw-text-muted);
}

.gw-articles__more {
	text-align: center;
	margin-top: 34px;
}

/* Footer */
.site-footer,
#site-footer,
.site-info {
	background-color: var(--gw-ink);
	color: var(--gw-white);
}

.site-footer a {
	color: var(--gw-gold);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 640px) {
	.gw-hero__inner {
		flex-direction: column;
		text-align: center;
	}
	.gw-hero__links {
		justify-content: center;
	}
	.gw-pen-name {
		flex-direction: column;
	}
}
