/*
Theme Name: NWC
Theme URI: https://example.com/nwc
Author: Cursor
Description: Lean WordPress theme base for the NWC project.
Version: 1.0.0
Text Domain: nwc
*/

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1 0 auto;
	min-height: 400px;
}

.container-fluid,
.container-xl {
	width: 100%;
	margin: 0 auto;
}

.container-fluid {
	max-width: none;
	padding: 0;
}

.container-xl {
	max-width: 1446px;
	padding: 0 15px;
}

/* Always-on base class applied alongside (or instead of) --offset.
   --offset adds top padding to clear the absolute header on pages with no hero.
   The base class always adds bottom padding so the last content section never
   abuts the footer wave. */
.page-content-shell {
	/* padding-bottom: 120px; */ /* temporarily disabled — revisit later */
}

.page-content-shell--offset {
	padding-top: 320px;
}

body.error404 main.site-main {
	margin: 200px 0 0;
}

.content-card {
	max-width: 960px;
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
}

.entry-card {
	background: #ffffff;
	border: 1px solid rgba(15, 61, 115, 0.12);
	border-radius: 24px;
	box-shadow: 0 12px 35px rgba(8, 28, 59, 0.08);
	padding: 2rem;
}

.entry-card h1,
.entry-card h2,
.entry-card h3,
.entry-card h4 {
	color: #0f3d73;
}

.entry-card p,
.entry-card li {
	color: #081c3b;
	font-size: 1.125rem;
	line-height: 1.8;
}

.entry-card a {
	color: #0f3d73;
	text-decoration: underline;
}

.entry-card > *:first-child {
	margin-top: 0;
}

.entry-card > *:last-child {
	margin-bottom: 0;
}

.archive-entry {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(15, 61, 115, 0.1);
}

.archive-entry:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.hero-panel {
	max-width: 880px;
	margin: 0 auto;
	text-align: center;
	padding: 4rem 1.5rem 6rem;
	color: #ffffff;
}

.hero-panel p {
	font-size: 1.25rem;
	line-height: 1.7;
}

.hero-panel a {
	text-decoration: none;
}

.footer-links a,
.footer-contact a {
	color: inherit;
	text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
	color: #61f5ff;
}

.current-menu-item > a,
.current_page_item > a {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.page-content-shell {
		padding-bottom: 60px;
	}

	.page-content-shell--offset {
		padding-top: 100px;
	}

	body.error404 main.site-main {
		margin: 75px 0 0;
	}

	.entry-card {
		padding: 1.5rem;
		border-radius: 18px;
	}

	.content-card {
		padding: 2rem 1rem 4rem;
	}

	.hero-panel {
		padding: 3rem 1rem 4rem;
	}
}
