/*
Theme Name:   Help Nagaland Child
Theme URI:    https://helpnagaland.com/
Template:     astra
Author:       Nagaland Me
Author URI:   https://nagaland.me/
Description:  Custom Astra child theme for helpnagaland.com. Provides the front-page hero, submission and map page templates, nine legal-page templates, branded header, footer and 404, plus security and privacy defaults tuned for the Clean Nagaland civic reporting platform. Pairs with the helpnagaland-core plugin.
Version:      1.1.8
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  helpnagaland-child
Tags:         astra, child-theme, dark, civic-tech, nagaland
*/


/* ==========================================================================
   BRAND TOKENS
   ==========================================================================
   These CSS custom properties cascade from the root element. The plugin's
   public.css and admin.css both consume the same variable names so the
   visual identity stays consistent across theme + plugin. Changing a value
   here updates the whole site.
   ========================================================================== */

:root {
	--hnc-bg: #0B0F16;
	--hnc-bg-elev: #10151F;
	--hnc-bg-card: #141A24;
	--hnc-border: #1F2937;
	--hnc-fg: #E5E7EB;
	--hnc-fg-muted: #9CA3AF;
	--hnc-fg-subtle: #6B7280;
	--hnc-green: #10B981;
	--hnc-green-hover: #059669;
	--hnc-red: #EF4444;
	--hnc-amber: #F59E0B;
	--hnc-blue: #3B82F6;

	--hnc-radius: 8px;
	--hnc-radius-lg: 14px;
	--hnc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
	--hnc-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.45);
	--hnc-shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.55);

	--hnc-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hnc-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--hnc-container: 1140px;
}


/* ==========================================================================
   GLOBAL OVERRIDES
   ==========================================================================
   Astra ships a light, friendly default. The Clean Nagaland brand is
   intentionally dark and serious. These rules override Astra at the body
   level so every page inherits the dark surface.
   ========================================================================== */

body,
.ast-container,
.entry-content {
	background-color: var(--hnc-bg);
	color: var(--hnc-fg);
	font-family: var(--hnc-font-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--hnc-green);
	transition: color 120ms ease;
}

a:hover,
a:focus {
	color: var(--hnc-green-hover);
}

/* Headings stay brand-colored even when Astra tries to override */
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-title {
	color: var(--hnc-fg);
	font-weight: 600;
	line-height: 1.25;
}

/* Astra's default site container background */
.site,
.site-content,
#primary {
	background-color: var(--hnc-bg);
}

/* Astra's card-like blocks */
.ast-article-post,
.ast-article-single {
	background-color: var(--hnc-bg-card);
	border: 1px solid var(--hnc-border);
	border-radius: var(--hnc-radius-lg);
	padding: 2rem;
	box-shadow: var(--hnc-shadow-sm);
}


/* ==========================================================================
   HEADER
   ==========================================================================
   Keep Astra's header structure, change the palette. Logo area gets a
   subtle bottom border so the header sits as its own band.
   ========================================================================== */

.site-header,
.main-header-bar,
.ast-primary-header-bar {
	background-color: var(--hnc-bg-elev) !important;
	border-bottom: 1px solid var(--hnc-border);
}

.site-title,
.site-title a,
.site-branding a {
	color: var(--hnc-fg) !important;
	font-weight: 700;
}

.main-header-menu li a,
.main-navigation a {
	color: var(--hnc-fg-muted) !important;
	font-weight: 500;
}

.main-header-menu li a:hover,
.main-header-menu li.current-menu-item > a {
	color: var(--hnc-green) !important;
}


/* ==========================================================================
   FRONT-PAGE HERO
   ========================================================================== */

.hnc-hero {
	position: relative;
	padding: 6rem 1.5rem 5rem;
	text-align: center;
	background:
		radial-gradient(ellipse at top, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
		linear-gradient(180deg, var(--hnc-bg) 0%, var(--hnc-bg-elev) 100%);
	border-bottom: 1px solid var(--hnc-border);
}

.hnc-hero-inner {
	max-width: 860px;
	margin: 0 auto;
}

.hnc-hero-eyebrow {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hnc-green);
	margin-bottom: 1.25rem;
}

.hnc-hero-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
	font-weight: 700;
	color: var(--hnc-fg);
	margin: 0 0 1.25rem;
	letter-spacing: -0.015em;
}

.hnc-hero-title em {
	color: var(--hnc-green);
	font-style: normal;
}

.hnc-hero-subtitle {
	font-size: clamp(1rem, 1.6vw, 1.175rem);
	color: var(--hnc-fg-muted);
	max-width: 640px;
	margin: 0 auto 2.5rem;
	line-height: 1.6;
}

.hnc-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.hnc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.5rem;
	border-radius: var(--hnc-radius);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.hnc-btn-primary {
	background-color: var(--hnc-green);
	color: #0B0F16 !important;
}

.hnc-btn-primary:hover,
.hnc-btn-primary:focus {
	background-color: var(--hnc-green-hover);
	color: #0B0F16 !important;
	transform: translateY(-1px);
}

.hnc-btn-secondary {
	background-color: transparent;
	color: var(--hnc-fg) !important;
	border-color: var(--hnc-border);
}

.hnc-btn-secondary:hover,
.hnc-btn-secondary:focus {
	background-color: var(--hnc-bg-card);
	border-color: var(--hnc-fg-muted);
	color: var(--hnc-fg) !important;
}


/* ==========================================================================
   FRONT-PAGE FEATURE GRID
   ========================================================================== */

.hnc-features {
	padding: 5rem 1.5rem;
	max-width: var(--hnc-container);
	margin: 0 auto;
}

.hnc-features-title {
	text-align: center;
	font-size: 2rem;
	margin: 0 0 3rem;
	color: var(--hnc-fg);
}

.hnc-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.hnc-feature-card {
	background-color: var(--hnc-bg-card);
	border: 1px solid var(--hnc-border);
	border-radius: var(--hnc-radius-lg);
	padding: 2rem 1.75rem;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hnc-feature-card:hover {
	transform: translateY(-3px);
	border-color: rgba(16, 185, 129, 0.45);
	box-shadow: var(--hnc-shadow-md);
}

.hnc-feature-icon {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background-color: rgba(16, 185, 129, 0.15);
	color: var(--hnc-green);
	margin-bottom: 1.25rem;
	font-size: 1.4rem;
	font-weight: 700;
}

.hnc-feature-heading {
	font-size: 1.15rem;
	margin: 0 0 0.75rem;
	color: var(--hnc-fg);
}

.hnc-feature-body {
	color: var(--hnc-fg-muted);
	line-height: 1.65;
	margin: 0 0 1.25rem;
}

.hnc-feature-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--hnc-green);
	text-decoration: none;
}

.hnc-feature-link::after {
	content: "\2192";
	transition: transform 160ms ease;
}

.hnc-feature-link:hover::after {
	transform: translateX(3px);
}


/* ==========================================================================
   FRONT-PAGE PROMISE STRIP (transparency commitment)
   ========================================================================== */

.hnc-promise {
	background: linear-gradient(135deg, var(--hnc-bg-elev) 0%, var(--hnc-bg-card) 100%);
	border-top: 1px solid var(--hnc-border);
	border-bottom: 1px solid var(--hnc-border);
	padding: 4rem 1.5rem;
}

.hnc-promise-inner {
	max-width: var(--hnc-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2.5rem;
	text-align: center;
}

.hnc-promise-item {
	padding: 0 1rem;
}

.hnc-promise-stat {
	font-size: 2rem;
	font-weight: 700;
	color: var(--hnc-green);
	margin-bottom: 0.35rem;
	display: block;
}

.hnc-promise-label {
	color: var(--hnc-fg-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}


/* ==========================================================================
   CTA BAND
   ========================================================================== */

.hnc-cta-band {
	text-align: center;
	padding: 5rem 1.5rem;
	max-width: 820px;
	margin: 0 auto;
}

.hnc-cta-band h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0 0 1rem;
}

.hnc-cta-band p {
	color: var(--hnc-fg-muted);
	font-size: 1.075rem;
	line-height: 1.65;
	margin: 0 0 2rem;
}


/* ==========================================================================
   404 PAGE
   ========================================================================== */

.hnc-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem 1.5rem;
	text-align: center;
}

.hnc-404-inner {
	max-width: 520px;
}

.hnc-404-code {
	font-family: var(--hnc-font-mono);
	font-size: clamp(5rem, 12vw, 9rem);
	font-weight: 700;
	color: var(--hnc-green);
	line-height: 1;
	margin: 0 0 1.5rem;
	letter-spacing: -0.02em;
}

.hnc-404-title {
	font-size: 1.75rem;
	color: var(--hnc-fg);
	margin: 0 0 1rem;
}

.hnc-404-body {
	color: var(--hnc-fg-muted);
	line-height: 1.65;
	margin: 0 0 2rem;
}

.hnc-404-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer,
.footer-sml-layout-1,
.ast-small-footer {
	background-color: var(--hnc-bg-elev) !important;
	border-top: 1px solid var(--hnc-border);
	color: var(--hnc-fg-muted);
}

.hnc-footer-brand {
	max-width: var(--hnc-container);
	margin: 0 auto;
	padding: 3rem 1.5rem 1rem;
}

.hnc-footer {
	max-width: var(--hnc-container);
	margin: 0 auto;
	padding: 1rem 1.5rem 2rem;
	display: grid;
	/*
	 * auto-fit lets us add or remove footer categories without
	 * changing CSS. On a 1140 px container with five 170 px-min
	 * columns we get 5 across; on phones the same rule produces 2
	 * columns; on very narrow screens it produces 1.
	 */
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1.75rem 2rem;
}

@media (max-width: 700px) {
	.hnc-footer {
		/* Two-column phone layout (operator preference). The
		 * brand intro lives in its own block above and so this
		 * grid carries only the categorized link groups. */
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 1.25rem;
		padding-top: 0.5rem;
	}
}

@media (max-width: 380px) {
	.hnc-footer {
		/* Single column only for very narrow phones / split-screen
		 * tablets, where 2 columns become illegible. */
		grid-template-columns: 1fr;
	}
}

.hnc-footer-brand-title {
	font-size: 1.2rem;
	color: var(--hnc-fg);
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.hnc-footer-brand-desc {
	color: var(--hnc-fg-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
	max-width: 60ch;
}

.hnc-footer-col-heading {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hnc-fg-subtle);
	margin: 0 0 0.75rem;
}

.hnc-footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hnc-footer-col li {
	margin-bottom: 0.4rem;
}

.hnc-footer-col a {
	color: var(--hnc-fg-muted);
	font-size: 0.9375rem;
	line-height: 1.4;
	text-decoration: none;
	display: inline-block;
	min-height: 24px;
	padding: 0.15rem 0;
	/* Long category labels like "Source protection" wrap evenly
	 * instead of orphaning a single word on a narrow phone column. */
	text-wrap: balance;
}

.hnc-footer-col a:hover,
.hnc-footer-col a:focus-visible {
	color: var(--hnc-green);
}

@media (max-width: 700px) {
	.hnc-footer-col a {
		font-size: 0.875rem;
	}
}

.hnc-footer-bottom {
	max-width: var(--hnc-container);
	margin: 0 auto;
	padding: 1.25rem 1.5rem;
	border-top: 1px solid var(--hnc-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: var(--hnc-fg-subtle);
}


/* ==========================================================================
   WIDE-LAYOUT HELPERS
   ========================================================================== */

.hnc-wide {
	max-width: var(--hnc-container);
	margin-left: auto;
	margin-right: auto;
	padding: 0 1.5rem;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 700px) {
	.hnc-hero {
		padding: 4rem 1.25rem 3.5rem;
	}
	.hnc-features {
		padding: 3.5rem 1rem;
	}
	.hnc-features-grid {
		grid-template-columns: 1fr;
	}
	.hnc-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.hnc-btn {
		width: 100%;
	}
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

:focus-visible {
	outline: 2px solid var(--hnc-green);
	outline-offset: 2px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}


/* ==========================================================================
   SKIP LINK
   ========================================================================== */

.hnc-skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 9999;
	padding: 0.75rem 1rem;
	background-color: var(--hnc-green);
	color: #0B0F16 !important;
	font-weight: 600;
	text-decoration: none !important;
	border-radius: var(--hnc-radius);
	transition: top 120ms ease;
}

.hnc-skip-link:focus,
.hnc-skip-link:focus-visible {
	top: 1rem;
}


/* ==========================================================================
   CUSTOM HEADER
   ========================================================================== */

.hnc-header {
	background-color: var(--hnc-bg-elev);
	border-bottom: 1px solid var(--hnc-border);
	position: sticky;
	top: 0;
	z-index: 120;
	backdrop-filter: saturate(140%) blur(4px);
	-webkit-backdrop-filter: saturate(140%) blur(4px);
	background-color: rgba(16, 21, 31, 0.92);
}

.hnc-header-inner {
	max-width: var(--hnc-container);
	margin: 0 auto;
	padding: 0.85rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hnc-header-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

.hnc-header-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.hnc-header-logo-img {
	display: block;
	height: 32px;
	width: auto;
	max-width: 180px;
}

.hnc-header-tag {
	color: var(--hnc-fg-subtle);
	font-size: 0.8125rem;
	margin: 0;
	padding-left: 0.85rem;
	border-left: 1px solid var(--hnc-border);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 38ch;
}

@media (max-width: 820px) {
	.hnc-header-tag {
		display: none;
	}
}

.hnc-header-toggle {
	display: none;
	border: 1px solid var(--hnc-border);
	background: transparent;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: var(--hnc-radius);
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.hnc-header-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	background-color: var(--hnc-fg);
	border-radius: 2px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.hnc-header-toggle[aria-expanded="true"] .hnc-header-toggle-bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.hnc-header-toggle[aria-expanded="true"] .hnc-header-toggle-bar:nth-child(2) {
	opacity: 0;
}
.hnc-header-toggle[aria-expanded="true"] .hnc-header-toggle-bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.hnc-header-nav {
	display: flex;
	align-items: center;
}

.hnc-header-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}

.hnc-header-menu li {
	margin: 0;
}

.hnc-header-menu a {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.85rem;
	color: var(--hnc-fg-muted);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9375rem;
	border-radius: var(--hnc-radius);
	transition: color 120ms ease, background-color 120ms ease;
}

.hnc-header-menu a:hover,
.hnc-header-menu a:focus-visible,
.hnc-header-menu li.current-menu-item > a {
	color: var(--hnc-fg);
	background-color: var(--hnc-bg-card);
}

@media (max-width: 820px) {
	.hnc-header-toggle {
		display: inline-flex;
	}
	.hnc-header-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--hnc-bg-elev);
		border-bottom: 1px solid var(--hnc-border);
		display: none;
		padding: 1rem 1.5rem 1.25rem;
	}
	.hnc-header-nav.is-open {
		display: block;
	}
	.hnc-header-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.hnc-header-menu a {
		padding: 0.85rem 0.75rem;
		border-bottom: 1px solid var(--hnc-border);
		border-radius: 0;
	}
	.hnc-header-menu li:last-child a {
		border-bottom: none;
	}
}

.hnc-header-banner {
	background-color: rgba(239, 68, 68, 0.12);
	color: var(--hnc-red);
	border-top: 1px solid rgba(239, 68, 68, 0.35);
	padding: 0.65rem 1.5rem;
	text-align: center;
	font-size: 0.9375rem;
	font-weight: 500;
}


/* ==========================================================================
   PAGE HEADER (legal / content pages)
   ========================================================================== */

.hnc-page-header {
	padding: 3rem 1.5rem 2rem;
	max-width: 820px;
	margin: 0 auto;
	text-align: left;
}

.hnc-page-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hnc-green);
	margin-bottom: 0.75rem;
}

.hnc-page-title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	line-height: 1.2;
	margin: 0 0 0.75rem;
	color: var(--hnc-fg);
}

.hnc-page-lede {
	color: var(--hnc-fg-muted);
	font-size: 1.075rem;
	line-height: 1.65;
	margin: 0 0 0.25rem;
}

.hnc-page-meta {
	color: var(--hnc-fg-subtle);
	font-size: 0.8125rem;
	margin: 1rem 0 0;
	font-family: var(--hnc-font-mono);
}


/* ==========================================================================
   LEGAL / CONTENT PAGE TYPOGRAPHY
   ========================================================================== */

.hnc-prose {
	max-width: 820px;
	margin: 0 auto;
	padding: 1rem 1.5rem 4rem;
	color: var(--hnc-fg);
	font-size: 1.0625rem;
	line-height: 1.7;
}

.hnc-prose > * + * {
	margin-top: 1.1em;
}

.hnc-prose h2 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hnc-border);
	color: var(--hnc-fg);
}

.hnc-prose h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.hnc-prose h3 {
	font-size: 1.15rem;
	margin-top: 1.75rem;
	color: var(--hnc-fg);
}

.hnc-prose p {
	color: var(--hnc-fg);
	margin: 0;
}

.hnc-prose ul,
.hnc-prose ol {
	padding-left: 1.5rem;
	color: var(--hnc-fg);
}

.hnc-prose li + li {
	margin-top: 0.5rem;
}

.hnc-prose strong {
	color: var(--hnc-fg);
}

.hnc-prose code {
	font-family: var(--hnc-font-mono);
	background-color: var(--hnc-bg-card);
	border: 1px solid var(--hnc-border);
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-size: 0.925em;
}

.hnc-prose blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--hnc-green);
	background-color: var(--hnc-bg-card);
	color: var(--hnc-fg-muted);
	border-radius: 0 var(--hnc-radius) var(--hnc-radius) 0;
}

.hnc-prose hr {
	border: none;
	height: 1px;
	background-color: var(--hnc-border);
	margin: 2rem 0;
}


/* ==========================================================================
   NOTICE / CALLOUT COMPONENT
   ========================================================================== */

.hnc-notice {
	border-radius: var(--hnc-radius);
	padding: 1rem 1.15rem;
	margin: 1.5rem 0;
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	line-height: 1.55;
	font-size: 0.9375rem;
}

.hnc-notice-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 0.75rem;
}

.hnc-notice-body {
	flex: 1 1 auto;
	color: inherit;
}

.hnc-notice-body p {
	margin: 0;
}

.hnc-notice-body p + p {
	margin-top: 0.5rem;
}

.hnc-notice-info {
	background-color: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.35);
	color: #DBE7FF;
}
.hnc-notice-info .hnc-notice-icon {
	background-color: var(--hnc-blue);
	color: #0B0F16;
}

.hnc-notice-warning {
	background-color: rgba(245, 158, 11, 0.1);
	border: 1px solid rgba(245, 158, 11, 0.35);
	color: #FFE7BD;
}
.hnc-notice-warning .hnc-notice-icon {
	background-color: var(--hnc-amber);
	color: #0B0F16;
}

.hnc-notice-danger {
	background-color: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #FFC7C7;
}
.hnc-notice-danger .hnc-notice-icon {
	background-color: var(--hnc-red);
	color: #0B0F16;
}

.hnc-notice-success {
	background-color: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #BDF5E2;
}
.hnc-notice-success .hnc-notice-icon {
	background-color: var(--hnc-green);
	color: #0B0F16;
}


/* ==========================================================================
   SAFETY PRESCREEN CARD (drug report)
   ========================================================================== */

.hnc-safety-card {
	max-width: 820px;
	margin: 1.5rem auto 0;
	padding: 1.5rem 1.75rem;
	background-color: var(--hnc-bg-card);
	border: 1px solid var(--hnc-border);
	border-left: 4px solid var(--hnc-red);
	border-radius: var(--hnc-radius-lg);
}

.hnc-safety-card h2 {
	margin-top: 0;
	font-size: 1.15rem;
	color: var(--hnc-red);
}

.hnc-safety-card ul {
	margin: 0.75rem 0 0;
	padding-left: 1.25rem;
	color: var(--hnc-fg);
}


/* ==========================================================================
   FOOTER EXTRAS (disclaimer strip, legal links)
   ========================================================================== */

.hnc-footer-extra {
	max-width: var(--hnc-container);
	margin: 0 auto;
	padding: 0 1.5rem 1rem;
}

.hnc-footer-extra ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.hnc-footer-extra a {
	color: var(--hnc-fg-muted);
	text-decoration: none;
	font-size: 0.875rem;
}

.hnc-footer-disclaimer {
	max-width: var(--hnc-container);
	margin: 0 auto;
	padding: 1.25rem 1.5rem;
	border-top: 1px dashed var(--hnc-border);
	border-bottom: 1px dashed var(--hnc-border);
	color: var(--hnc-fg-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.hnc-footer-disclaimer strong {
	color: var(--hnc-fg);
}

.hnc-footer-disclaimer p {
	margin: 0;
}

.hnc-footer-brand-meta {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	color: var(--hnc-fg-subtle);
}

.hnc-footer-brand-meta a {
	color: var(--hnc-fg-muted);
}

.hnc-footer-copy {
	display: inline-block;
}

.hnc-footer-legal-menu {
	list-style: none;
	display: flex;
	gap: 0.25rem 1rem;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}

.hnc-footer-legal-menu li {
	margin: 0;
}

.hnc-footer-legal-menu a {
	color: var(--hnc-fg-muted);
	text-decoration: none;
	font-size: 0.875rem;
}

.hnc-footer-legal-menu a:hover,
.hnc-footer-legal-menu a:focus-visible {
	color: var(--hnc-green);
}


/* ==========================================================================
   DEFINITION LIST (used on About, Editorial Policy, etc.)
   ========================================================================== */

.hnc-dl {
	margin: 1.5rem 0;
	padding: 0;
}

.hnc-dl dt {
	font-weight: 600;
	color: var(--hnc-fg);
	margin-top: 1rem;
}

.hnc-dl dt:first-child {
	margin-top: 0;
}

.hnc-dl dd {
	margin: 0.35rem 0 0;
	color: var(--hnc-fg-muted);
	line-height: 1.65;
}


/* ==========================================================================
   FRONT-PAGE LIVE COUNTER (populated by plugin if active)
   ========================================================================== */

.hnc-live-counter {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	padding: 0.5rem 0.9rem;
	background-color: var(--hnc-bg-card);
	border: 1px solid var(--hnc-border);
	border-radius: 9999px;
	font-size: 0.8125rem;
	color: var(--hnc-fg-muted);
}

.hnc-live-counter-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--hnc-green);
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}


/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
	.hnc-header,
	.hnc-skip-link,
	.hnc-footer-legal,
	.hnc-header-banner,
	.hnc-footer-bottom nav {
		display: none !important;
	}
	body,
	.hnc-prose,
	.hnc-page-title {
		background: #fff !important;
		color: #000 !important;
	}
	a {
		color: #000 !important;
		text-decoration: underline;
	}
}
