/* ═══════════════════════════════════════════════════
   AH Consulting — Theme Stylesheet
   ═══════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────── */
:root {
	--ahc-accent:          #bfa888;
	--ahc-dark:            #0d0d0d;
	--ahc-light:           #f8f7f5;
	--ahc-border:          #e8e8e8;
	--ahc-header-h:        80px;

	/* Kept so existing page templates resolve var(--nectar-accent-color) */
	--nectar-accent-color: #bfa888;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ─── Base ───────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ahc-dark);
	background: #fff;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 1rem;
}

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
.ahc-site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	height: var(--ahc-header-h);
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.0);
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Solid header once user scrolls */
.ahc-site-header.is-scrolled {
	background: rgba(10, 10, 10, 0.98);
	border-bottom-color: rgba(255, 255, 255, 0.07);
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}

.ahc-header-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 40px;
	height: var(--ahc-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* ── Brand ── */
.ahc-brand {
	flex-shrink: 0;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ahc-brand img { height: 36px; width: auto; }

.ahc-brand-text {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.2px;
	text-decoration: none;
}

/* ── Desktop nav wrapper ── */
.ahc-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.ahc-nav-list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	align-items: center;
	gap: 2px;
}

.ahc-nav-list li { margin: 0; position: relative; }

/* Base nav link */
.ahc-nav-link {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.62);
	text-decoration: none;
	padding: 7px 13px;
	border-radius: 8px;
	letter-spacing: 0.1px;
	transition: color 0.18s ease, background 0.18s ease;
	white-space: nowrap;
	cursor: pointer;
}

.ahc-nav-link:hover,
.ahc-nav-list .current-menu-item > .ahc-nav-link,
.ahc-nav-list .current_page_item > .ahc-nav-link {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
	text-decoration: none;
}

/* Chevron on Services */
.ahc-nav-chevron {
	opacity: 0.5;
	transition: transform 0.25s ease, opacity 0.2s;
	flex-shrink: 0;
}

.ahc-has-mega:hover .ahc-nav-chevron,
.ahc-has-mega.mega-open .ahc-nav-chevron {
	transform: rotate(180deg);
	opacity: 0.9;
}

/* Divider between nav links and CTA */
.ahc-nav-divider {
	width: 1px;
	height: 20px;
	background: rgba(255, 255, 255, 0.12);
	margin: 0 8px;
	flex-shrink: 0;
}

/* CTA button */
.ahc-nav-cta {
	background: var(--ahc-accent) !important;
	color: #fff !important;
	padding: 8px 22px !important;
	border-radius: 100px !important;
	font-weight: 600 !important;
	margin-left: 4px;
	transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.ahc-nav-cta:hover {
	opacity: 0.88 !important;
	transform: translateY(-1px);
	background: var(--ahc-accent) !important;
}

/* ── Mega Menu ── */
.ahc-mega {
	position: fixed;
	top: var(--ahc-header-h);
	left: 0; right: 0;
	background: #0e0e0e;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	padding: 44px 40px 48px;
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	pointer-events: none;
}

.ahc-has-mega.mega-open .ahc-mega {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.ahc-mega-inner {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 60px;
	align-items: start;
}

/* Left: intro panel */
.ahc-mega-intro {
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	padding-right: 60px;
}

.ahc-mega-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--ahc-accent);
	margin-bottom: 14px;
}

.ahc-mega-heading {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
	margin: 0 0 12px;
}

.ahc-mega-desc {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.42);
	line-height: 1.75;
	margin: 0 0 24px;
}

.ahc-mega-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ahc-accent);
	text-decoration: none;
	transition: gap 0.2s ease;
}

.ahc-mega-all:hover { gap: 12px; text-decoration: none; color: var(--ahc-accent); }

/* Right: service grid */
.ahc-mega-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
}

.ahc-mega-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: background 0.18s ease;
}

.ahc-mega-item:hover {
	background: rgba(255, 255, 255, 0.05);
	text-decoration: none;
}

.ahc-mega-item-icon {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: rgba(191, 168, 136, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.18s ease;
}

.ahc-mega-item:hover .ahc-mega-item-icon {
	background: rgba(191, 168, 136, 0.18);
}

.ahc-mega-item-text { display: flex; flex-direction: column; gap: 2px; }

.ahc-mega-item-text strong {
	font-size: 13.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.3;
}

.ahc-mega-item-text span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
	line-height: 1.4;
}

/* ── Mobile hamburger ── */
.ahc-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
	padding: 8px;
	border-radius: 10px;
	flex-shrink: 0;
	transition: background 0.2s, border-color 0.2s;
}

.ahc-nav-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.18);
}

.ahc-nav-toggle span {
	display: block;
	width: 100%;
	height: 1.5px;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
	transform-origin: center;
}

.ahc-nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ahc-nav-toggle.is-active span:nth-child(2) { opacity: 0; width: 0; }
.ahc-nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile full nav ── */
.ahc-mobile-nav {
	background: #0e0e0e;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.ahc-mobile-nav.is-open {
	max-height: 90vh;
	overflow-y: auto;
}

.ahc-mobile-list {
	list-style: none;
	margin: 0;
	padding: 12px 16px 24px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ahc-mobile-list > li { margin: 0; }

.ahc-mobile-list > li > a,
.ahc-mobile-expand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	font-size: 15px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	padding: 13px 16px;
	border-radius: 10px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	letter-spacing: 0.1px;
	transition: color 0.18s, background 0.18s;
}

.ahc-mobile-list > li > a:hover,
.ahc-mobile-expand:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
}

.ahc-mobile-expand svg {
	transition: transform 0.28s ease;
	opacity: 0.5;
	flex-shrink: 0;
}

.ahc-mobile-has-sub.is-open .ahc-mobile-expand svg {
	transform: rotate(180deg);
	opacity: 0.8;
}

/* Sub-menu */
.ahc-mobile-sub {
	list-style: none;
	margin: 0;
	padding: 0 0 6px 16px;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}

.ahc-mobile-has-sub.is-open .ahc-mobile-sub {
	max-height: 600px;
}

.ahc-mobile-sub li a {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.48);
	text-decoration: none;
	padding: 10px 16px;
	border-radius: 8px;
	transition: color 0.18s, background 0.18s;
}

.ahc-mobile-sub li a:hover {
	color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.05);
}

.ahc-mobile-all-link {
	color: var(--ahc-accent) !important;
	font-weight: 600 !important;
	margin-top: 4px;
}

/* Mobile CTA */
.ahc-mobile-cta {
	display: block !important;
	text-align: center !important;
	background: var(--ahc-accent) !important;
	color: #fff !important;
	padding: 14px 24px !important;
	border-radius: 100px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	margin-top: 8px !important;
}

/* ── Responsive breakpoint ── */
@media (max-width: 900px) {
	.ahc-nav-toggle { display: flex; }
	.ahc-nav        { display: none; }
	.ahc-header-inner { padding: 0 20px; }
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.ahc-site-footer {
	background: #080808;
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
}

/* ── Top section: 4-column grid ── */
.ahc-footer-top {
	max-width: 1320px;
	margin: 0 auto;
	padding: 80px 40px 64px;
}

.ahc-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: 48px;
	align-items: start;
}

/* Brand column */
.ahc-footer-col--brand {}

.ahc-footer-logo {
	display: inline-block;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.2px;
	margin-bottom: 18px;
}

.ahc-footer-desc {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.38);
	line-height: 1.8;
	margin: 0 0 28px;
	max-width: 300px;
}

/* Social icons */
.ahc-footer-socials {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.ahc-footer-social {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ahc-footer-social:hover {
	background: var(--ahc-accent);
	border-color: var(--ahc-accent);
	color: #fff;
}

/* Link columns */
.ahc-footer-col {}

.ahc-footer-col-heading {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
	margin: 0 0 20px;
}

.ahc-footer-links {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ahc-footer-links li { margin: 0; }

.ahc-footer-links a {
	display: block;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	transition: color 0.18s ease;
}

.ahc-footer-links a:hover { color: #fff; }
.ahc-footer-links li:last-child a { border-bottom: none; }

/* Contact column */
.ahc-footer-contact-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ahc-footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.48);
	line-height: 1.5;
}

.ahc-footer-contact-list li svg {
	flex-shrink: 0;
	margin-top: 1px;
	opacity: 0.5;
}

.ahc-footer-contact-list a {
	color: rgba(255, 255, 255, 0.48);
	text-decoration: none;
	transition: color 0.18s;
}

.ahc-footer-contact-list a:hover { color: var(--ahc-accent); }

.ahc-footer-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ahc-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 12px 24px;
	border-radius: 100px;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease, gap 0.2s ease;
}

.ahc-footer-cta-btn:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	gap: 12px;
	color: #fff;
	text-decoration: none;
}

/* ── Divider ── */
.ahc-site-footer::before {
	content: '';
	display: block;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
	max-width: 1320px;
	margin: 0 auto;
}

/* ── Bottom bar ── */
.ahc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ahc-footer-bottom-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.ahc-footer-copy {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.22);
	margin: 0;
	letter-spacing: 0.2px;
}

.ahc-footer-legal {
	display: flex;
	gap: 24px;
}

.ahc-footer-legal a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.25);
	text-decoration: none;
	transition: color 0.18s;
}

.ahc-footer-legal a:hover { color: rgba(255, 255, 255, 0.65); }

/* ── Responsive ── */
@media (max-width: 1100px) {
	.ahc-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
	.ahc-footer-col--brand { grid-column: 1 / -1; }
	.ahc-footer-desc { max-width: 100%; }
}

@media (max-width: 700px) {
	.ahc-footer-top { padding: 60px 20px 48px; }
	.ahc-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.ahc-footer-col--brand { grid-column: 1 / -1; }
	.ahc-footer-bottom-inner { padding: 20px; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
}

@media (max-width: 480px) {
	.ahc-footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   GENERIC PAGE (page.php)
   ═══════════════════════════════════════════════════ */
.ahc-page-main {
	padding-top: var(--ahc-header-h);
	min-height: 60vh;
}

.ahc-container {
	max-width: 820px;
	margin: 0 auto;
	padding: 80px 24px 120px;
}

.ahc-container h1 {
	font-size: clamp(32px, 4vw, 52px);
	color: var(--ahc-dark);
	margin-bottom: 36px;
}

.ahc-page-content p {
	font-size: 17px;
	line-height: 1.85;
	color: #555;
	margin-bottom: 24px;
}

.ahc-page-content a { color: var(--ahc-accent); }

.ahc-page-content ul,
.ahc-page-content ol {
	padding-left: 24px;
	margin-bottom: 24px;
}

.ahc-page-content li {
	font-size: 17px;
	line-height: 1.75;
	color: #555;
	margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════
   BLOG INDEX / ARCHIVE (index.php, archive.php)
   ═══════════════════════════════════════════════════ */
.ahc-blog-main {
	padding-top: var(--ahc-header-h);
	background: var(--ahc-light);
	min-height: 70vh;
}

.ahc-blog-hero {
	background: var(--ahc-dark);
	padding: 100px 24px 80px;
	text-align: center;
}

.ahc-blog-hero h1 {
	font-size: clamp(36px, 5vw, 64px);
	color: #fff;
	margin: 0 auto 16px;
	max-width: 700px;
}

.ahc-blog-hero p {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.55);
	max-width: 480px;
	margin: 0 auto;
	line-height: 1.7;
}

.ahc-blog-grid {
	max-width: 1180px;
	margin: 0 auto;
	padding: 80px 24px 100px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.ahc-post-card {
	background: #fff;
	border: 1px solid var(--ahc-border);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ahc-post-card:hover {
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.09);
	transform: translateY(-4px);
}

.ahc-post-card a { text-decoration: none; color: inherit; }

.ahc-post-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #e8e6e2;
	display: block;
}

.ahc-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ahc-post-card:hover .ahc-post-thumb img { transform: scale(1.04); }

.ahc-post-body {
	padding: 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ahc-post-meta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ahc-accent);
	margin: 0 0 12px;
}

.ahc-post-meta a { color: var(--ahc-accent); text-decoration: none; }

.ahc-post-body h2 {
	font-size: 20px;
	color: var(--ahc-dark);
	margin: 0 0 12px;
	line-height: 1.3;
}

.ahc-post-body h2 a:hover { color: var(--ahc-accent); }

.ahc-post-body p {
	font-size: 14px;
	color: #666;
	line-height: 1.75;
	flex: 1;
	margin: 0 0 20px;
}

.ahc-post-link {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ahc-dark);
	border-top: 1px solid #f0f0f0;
	padding-top: 18px;
	text-decoration: none;
	transition: color 0.2s;
}

.ahc-post-card:hover .ahc-post-link { color: var(--ahc-accent); }

.ahc-no-posts {
	max-width: 560px;
	margin: 0 auto;
	padding: 100px 24px;
	text-align: center;
}

.ahc-no-posts h2 { font-size: 28px; color: var(--ahc-dark); }

.ahc-pagination {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px 80px;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.ahc-pagination a,
.ahc-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
	color: var(--ahc-dark);
	border: 1px solid var(--ahc-border);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ahc-pagination a:hover {
	background: var(--ahc-accent);
	color: #fff;
	border-color: var(--ahc-accent);
}

.ahc-pagination .current {
	background: var(--ahc-dark);
	color: #fff;
	border-color: var(--ahc-dark);
}

@media (max-width: 1060px) { .ahc-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .ahc-blog-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   SINGLE POST (single.php)
   ═══════════════════════════════════════════════════ */
.ahc-single-main { padding-top: var(--ahc-header-h); }

.ahc-single-hero {
	background: var(--ahc-dark);
	padding: 100px 24px 80px;
	text-align: center;
}

.ahc-single-hero h1 {
	font-size: clamp(28px, 4vw, 52px);
	color: #fff;
	max-width: 820px;
	margin: 0 auto 20px;
	line-height: 1.15;
}

.ahc-single-meta {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.5px;
	margin: 0 0 20px;
}

.ahc-single-meta a { color: var(--ahc-accent); text-decoration: none; }

.ahc-single-content {
	max-width: 760px;
	margin: 0 auto;
	padding: 80px 24px 120px;
}

.ahc-single-content p  { font-size: 17px; line-height: 1.85; color: #444; margin-bottom: 28px; }
.ahc-single-content h2 { font-size: 28px; color: var(--ahc-dark); margin: 48px 0 18px; }
.ahc-single-content h3 { font-size: 22px; color: var(--ahc-dark); margin: 36px 0 14px; }

.ahc-single-content ul,
.ahc-single-content ol { padding-left: 24px; margin-bottom: 28px; }

.ahc-single-content li { font-size: 17px; line-height: 1.75; color: #444; margin-bottom: 8px; }

.ahc-single-content blockquote {
	border-left: 3px solid var(--ahc-accent);
	padding: 16px 24px;
	margin: 32px 0;
	background: var(--ahc-light);
	border-radius: 0 8px 8px 0;
	font-size: 19px;
	font-style: italic;
	color: #333;
}

.ahc-single-content img { border-radius: 12px; margin: 8px 0 28px; }
.ahc-single-content a  { color: var(--ahc-accent); }

.ahc-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #eee;
}

.ahc-post-nav-link {
	text-decoration: none;
	color: var(--ahc-dark);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	transition: color 0.2s;
}

.ahc-post-nav-link:hover { color: var(--ahc-accent); }

.ahc-post-nav-link span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #aaa;
	margin-bottom: 6px;
}

.ahc-post-nav-next { text-align: right; }

@media (max-width: 600px) {
	.ahc-post-nav { grid-template-columns: 1fr; }
	.ahc-post-nav-next { text-align: left; }
}

/* ═══════════════════════════════════════════════════
   404 PAGE (404.php)
   ═══════════════════════════════════════════════════ */
.ahc-404-main {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: calc(var(--ahc-header-h) + 80px) 24px 80px;
}

.ahc-404-inner h1 {
	font-size: clamp(100px, 18vw, 180px);
	font-weight: 700;
	color: #f0ede9;
	line-height: 1;
	margin: 0 0 8px;
}

.ahc-404-inner h2 {
	font-size: clamp(24px, 3vw, 38px);
	color: var(--ahc-dark);
	margin: 0 0 16px;
}

.ahc-404-inner p {
	font-size: 17px;
	color: #888;
	max-width: 420px;
	margin: 0 auto 40px;
	line-height: 1.7;
}

.ahc-btn-primary {
	display: inline-block;
	background: var(--ahc-dark);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 16px 40px;
	border-radius: 100px;
	text-decoration: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.ahc-btn-primary:hover {
	opacity: 0.8;
	transform: translateY(-2px);
	color: #fff;
}

/* ─── Full-width utility used by blog templates ── */
.ahc-fw {
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	overflow: hidden;
}
