/*
Theme Name: Astra Child - Morel Tax Services
Theme URI: https://moreltaxes.com/
Author: Morel Tax Services
Author URI: https://moreltaxes.com/
Description: Complete custom-coded child theme for Astra, designed for Morel Tax Services. Premium soft-neumorphism header: top contact bar + logo left / centered nav / Contact Us button right, hamburger mobile menu. Rich dark footer with brand column, link columns and contact card. Quicksand headings + Open Sans body. Elementor compatible (no duplicate header/footer). Parent theme is never modified.
Template: astra
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Tags: blog, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Design tokens (Morel brand palette + subtle neumorphism)
   ========================================================================== */
:root {
	--ac-primary:        #0073b1;  /* Brand blue (logo check) */
	--ac-primary-dark:   #005a8c;
	--ac-primary-soft:   #e8f3fa;
	--ac-gold:           #ae7a31;  /* Brand gold (buttons) */
	--ac-gold-dark:      #8f6326;
	--ac-navy:           #042b45;  /* Top bar & footer */
	--ac-navy-soft:      #06344f;  /* Footer panels */
	--ac-dark:           #22303c;  /* Headings */
	--ac-text:           #3d4c59;
	--ac-muted:          #64748b;
	--ac-border:         #e2e8f0;
	--ac-bg:             #ffffff;
	--ac-bg-soft:        #f7fafc;
	--ac-surface:        #edf2f7;  /* Neumorphic header surface */
	--ac-font-heading:   'Quicksand', 'Segoe UI', -apple-system, sans-serif;
	--ac-font-body:      'Open Sans', 'Segoe UI', -apple-system, sans-serif;
	--ac-radius:         14px;
	--ac-shadow:         0 12px 32px rgba(4, 43, 69, 0.12);
	--ac-header-height:  92px;
	/* Soft-UI (neumorphism) shadows - light surface */
	--ac-neu:            5px 5px 12px rgba(166, 180, 200, 0.50), -5px -5px 12px rgba(255, 255, 255, 0.95);
	--ac-neu-sm:         3px 3px 7px rgba(166, 180, 200, 0.45), -3px -3px 7px rgba(255, 255, 255, 0.90);
	--ac-neu-inset:      inset 3px 3px 6px rgba(166, 180, 200, 0.38), inset -3px -3px 6px rgba(255, 255, 255, 0.92);
	/* Soft-UI shadows - dark navy surface (footer) */
	--ac-neu-dark:       6px 6px 14px rgba(1, 17, 28, 0.55), -6px -6px 14px rgba(13, 77, 120, 0.28);
	--ac-neu-dark-sm:    4px 4px 9px rgba(1, 17, 28, 0.50), -4px -4px 9px rgba(13, 77, 120, 0.25);
}

/* ==========================================================================
   2. Base typography & globals
   ========================================================================== */
html {
	scroll-behavior: smooth;
}

.ac-body {
	font-family: var(--ac-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ac-text);
	background-color: var(--ac-bg);
}

.ac-body h1,
.ac-body h2,
.ac-body h3,
.ac-body h4,
.ac-body h5,
.ac-body h6 {
	font-family: var(--ac-font-heading);
	font-weight: 700;
	line-height: 1.25;
	color: var(--ac-dark);
	margin: 0 0 0.6em;
}

.ac-body a {
	color: var(--ac-primary);
	transition: color 0.2s ease;
}

.ac-body a:hover {
	color: var(--ac-primary-dark);
}

.ac-body img {
	max-width: 100%;
	height: auto;
}

.ac-body ::selection {
	background: var(--ac-gold);
	color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--ac-primary);
	outline-offset: 2px;
}

/* Accessibility helpers */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: var(--ac-primary);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	line-height: normal;
	padding: 14px 20px;
	text-decoration: none;
	z-index: 100000;
	border-radius: 8px;
	box-shadow: var(--ac-shadow);
}

.ac-skip-link {
	z-index: 100000;
}

/* ==========================================================================
   3. Layout containers
   ========================================================================== */
.ac-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 20px;
}

.ac-container--wide {
	max-width: 1400px;
}

@media (min-width: 768px) {
	.ac-container {
		padding-inline: 32px;
	}
}

.ac-section {
	padding-block: 56px;
}

@media (min-width: 768px) {
	.ac-section {
		padding-block: 72px;
	}
}

/* ==========================================================================
   4. Buttons (soft-UI gold / blue / outline)
   ========================================================================== */
.ac-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--ac-font-heading);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	padding: 15px 28px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.ac-btn--gold {
	background: linear-gradient(145deg, #bb8538, #9c6d2c);
	color: #fff;
	box-shadow: 5px 5px 12px rgba(174, 122, 49, 0.38), -5px -5px 12px rgba(255, 255, 255, 0.85);
}

.ac-btn--gold:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 7px 7px 16px rgba(174, 122, 49, 0.45), -7px -7px 16px rgba(255, 255, 255, 0.90);
}

.ac-btn--gold:active {
	transform: translateY(0);
	box-shadow: inset 3px 3px 7px rgba(96, 64, 16, 0.55), inset -3px -3px 7px rgba(255, 213, 148, 0.35);
}

.ac-btn--primary {
	background: linear-gradient(145deg, #0080c6, #0068a0);
	color: #fff;
	box-shadow: 5px 5px 12px rgba(0, 115, 177, 0.30), -5px -5px 12px rgba(255, 255, 255, 0.85);
}

.ac-btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 7px 7px 16px rgba(0, 115, 177, 0.38), -7px -7px 16px rgba(255, 255, 255, 0.90);
}

.ac-btn--outline {
	border: 2px solid var(--ac-primary);
	color: var(--ac-primary);
	background: transparent;
}

.ac-btn--outline:hover {
	background: var(--ac-primary);
	color: #fff;
	transform: translateY(-2px);
}

/* ==========================================================================
   5. Top contact bar (brand navy, info chips)
   ========================================================================== */
.ac-topbar {
	background: var(--ac-navy);
	color: #dbe7f1;
	font-size: 13px;
}

.ac-topbar a {
	color: #dbe7f1;
	text-decoration: none;
}

.ac-topbar a:hover {
	color: #fff;
}

.ac-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
	padding-block: 5px;
}

.ac-topbar__left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ac-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	padding: 4px 13px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

a.ac-topbar__item:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.22);
}

.ac-icon {
	width: 13px;
	height: 13px;
	fill: var(--ac-gold);
	flex: none;
}

.ac-topbar__lang {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ac-topbar__lang a {
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.ac-topbar__lang a:hover {
	border-color: rgba(255, 255, 255, 0.22);
}

.ac-topbar__lang a.is-active {
	color: var(--ac-gold);
	background: rgba(174, 122, 49, 0.14);
	border-color: rgba(174, 122, 49, 0.45);
}

.ac-topbar__lang-sep {
	opacity: 0.4;
}

@media (max-width: 544px) {
	.ac-topbar__item--location {
		display: none;
	}
}

/* ==========================================================================
   6. Header - soft neumorphic surface. Logo left, nav center, CTA right
   ========================================================================== */
.ac-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--ac-surface);
	border-bottom: 1px solid rgba(166, 180, 200, 0.25);
	transition: box-shadow 0.25s ease;
}

.ac-header--scrolled {
	box-shadow: 0 10px 28px rgba(4, 43, 69, 0.10);
}

.admin-bar .ac-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ac-header {
		top: 46px;
	}
}

.ac-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--ac-header-height);
}

/* Branding / logo (left) */
.ac-brand {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: none;
}

.ac-brand__link {
	display: inline-flex;
	align-items: center;
}

.ac-logo {
	display: block;
	height: 62px;
	width: auto;
}

.ac-site-tagline {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ac-gold);
}

/* Fallback: WordPress custom logo upload */
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 62px;
	width: auto;
	height: auto;
}

/* Panel = nav (center) + actions (right) */
.ac-header__panel {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.ac-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.ac-header__actions {
	flex: none;
}

/* Main menu - soft pills */
.ac-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ac-menu li {
	position: relative;
}

.ac-menu a {
	display: block;
	padding: 10px 14px;
	font-family: var(--ac-font-heading);
	font-weight: 600;
	font-size: 14px;
	color: var(--ac-navy);
	text-decoration: none;
	border-radius: 999px;
	transition: color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	white-space: nowrap;
}

.ac-menu a:hover {
	color: var(--ac-primary);
	box-shadow: var(--ac-neu-sm);
	background: var(--ac-surface);
}

.ac-menu .current-menu-item > a,
.ac-menu .current_page_item > a {
	color: var(--ac-primary);
	background: var(--ac-surface);
	box-shadow: var(--ac-neu-inset);
}

/* Desktop dropdown arrow */
@media (min-width: 922px) {
	.ac-menu > .menu-item-has-children > a {
		padding-right: 26px;
	}

	.ac-menu > .menu-item-has-children > a::after {
		content: '';
		display: inline-block;
		width: 6px;
		height: 6px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-3px);
		margin-left: 7px;
	}

	/* Dropdown: soft white card */
	.ac-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 235px;
		background: #fff;
		border-radius: 16px;
		box-shadow: var(--ac-neu), 0 18px 40px rgba(4, 43, 69, 0.10);
		padding: 10px;
		margin: 10px 0 0;
		list-style: none;
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
		z-index: 1000;
		display: block;
	}

	.ac-menu .sub-menu::before {
		content: '';
		position: absolute;
		top: 0;
		left: 22px;
		width: 42px;
		height: 3px;
		border-radius: 0 0 3px 3px;
		background: var(--ac-gold);
	}

	.ac-menu .menu-item-has-children:hover > .sub-menu,
	.ac-menu .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.ac-menu .sub-menu a {
		padding: 9px 13px;
		font-size: 13.5px;
		border-radius: 10px;
		white-space: normal;
	}

	.ac-menu .sub-menu a:hover {
		box-shadow: var(--ac-neu-inset);
		background: var(--ac-surface);
	}

	.ac-submenu-toggle {
		display: none;
	}
}

/* Hamburger - soft round button */
.ac-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--ac-surface);
	border: 0;
	border-radius: 50%;
	box-shadow: var(--ac-neu-sm);
	cursor: pointer;
	transition: box-shadow 0.2s ease;
}

.ac-header--open .ac-menu-toggle {
	box-shadow: var(--ac-neu-inset);
}

.ac-menu-toggle__box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 20px;
	height: 16px;
}

.ac-menu-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--ac-navy);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.ac-menu-toggle__bar + .ac-menu-toggle__bar {
	margin-top: 5px;
}

.ac-header--open .ac-menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ac-header--open .ac-menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.ac-header--open .ac-menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   7. Mobile navigation (max-width: 921px)
   ========================================================================== */
@media (max-width: 921px) {
	:root {
		--ac-header-height: 72px;
	}

	.ac-menu-toggle {
		display: inline-flex;
	}

	.ac-logo {
		height: 44px;
	}

	.custom-logo {
		max-height: 44px;
	}

	.ac-site-tagline {
		font-size: 9px;
	}

	.ac-header__panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: block;
		background: var(--ac-surface);
		box-shadow: 0 24px 40px rgba(4, 43, 69, 0.14);
		padding: 14px 20px 24px;
		max-height: calc(100vh - var(--ac-header-height) - 20px);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	}

	.ac-header--open .ac-header__panel {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.ac-header__nav {
		display: block;
	}

	.ac-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.ac-menu a {
		padding: 13px 16px;
		font-size: 16px;
		border-radius: 12px;
		white-space: normal;
	}

	.ac-menu a:hover,
	.ac-menu .current-menu-item > a {
		box-shadow: var(--ac-neu-sm);
	}

	.ac-menu .menu-item-has-children > a {
		padding-right: 54px;
	}

	/* Mobile accordion sub-menus */
	.ac-menu .sub-menu {
		display: none;
		list-style: none;
		margin: 4px 0 6px;
		padding: 4px 4px 4px 14px;
		border-left: 2px solid rgba(174, 122, 49, 0.45);
	}

	.ac-menu li.ac-open > .sub-menu {
		display: block;
	}

	.ac-submenu-toggle {
		position: absolute;
		top: 6px;
		right: 2px;
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--ac-surface);
		border: 0;
		border-radius: 50%;
		box-shadow: var(--ac-neu-sm);
		cursor: pointer;
		color: var(--ac-navy);
	}

	.ac-submenu-toggle[aria-expanded='true'] {
		box-shadow: var(--ac-neu-inset);
	}

	.ac-submenu-toggle::before {
		content: '';
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		transition: transform 0.2s ease;
	}

	.ac-submenu-toggle[aria-expanded='true']::before {
		transform: rotate(225deg) translateY(-2px);
	}

	.ac-header__actions {
		margin-top: 18px;
	}

	.ac-header-cta {
		width: 100%;
	}
}

/* ==========================================================================
   8. Hero section (front page)
   ========================================================================== */
.ac-hero {
	background:
		radial-gradient(1100px 480px at 85% -10%, var(--ac-primary-soft), transparent 60%),
		radial-gradient(800px 400px at 5% 110%, rgba(174, 122, 49, 0.10), transparent 60%),
		linear-gradient(180deg, var(--ac-surface), var(--ac-bg));
	padding: 88px 0 80px;
	text-align: center;
}

.ac-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 13px;
	font-weight: 700;
	color: var(--ac-gold);
	margin: 0 0 8px;
}

.ac-hero__title {
	font-size: clamp(32px, 6vw, 56px);
	max-width: 820px;
	margin: 0 auto 16px;
	color: var(--ac-navy);
}

.ac-hero__subtitle {
	color: var(--ac-muted);
	font-size: 18px;
	max-width: 640px;
	margin: 0 auto 32px;
}

.ac-hero__actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ==========================================================================
   9. Blog grid & post cards
   ========================================================================== */
.ac-archive__header {
	max-width: 760px;
}

.ac-archive__title {
	font-size: clamp(30px, 5vw, 44px);
	margin: 0 0 10px;
	color: var(--ac-navy);
}

.ac-archive__description {
	color: var(--ac-muted);
	font-size: 17px;
}

.ac-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-top: 36px;
}

@media (min-width: 640px) {
	.ac-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ac-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ac-card {
	background: #fff;
	border: 1px solid var(--ac-border);
	border-radius: var(--ac-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	margin: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ac-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--ac-shadow);
}

.ac-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--ac-bg-soft);
}

.ac-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ac-card:hover .ac-card__media img {
	transform: scale(1.05);
}

.ac-card__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.ac-card__meta {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ac-gold);
}

.ac-card__meta a {
	color: inherit;
	text-decoration: none;
}

.ac-card__meta a:hover {
	text-decoration: underline;
}

.ac-card__title {
	font-size: 20px;
	margin: 0;
}

.ac-card__title a {
	color: var(--ac-dark);
	text-decoration: none;
}

.ac-card__title a:hover {
	color: var(--ac-primary);
}

.ac-card__excerpt {
	color: var(--ac-muted);
	font-size: 14.5px;
	margin: 0;
}

.ac-card__footer {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--ac-muted);
	padding-top: 12px;
	border-top: 1px dashed var(--ac-border);
}

.ac-card__more {
	color: var(--ac-primary);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.ac-card__more:hover {
	color: var(--ac-primary-dark);
}

/* Section heading row (Latest from the blog) */
.ac-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.ac-section-head h2 {
	font-size: clamp(26px, 4vw, 36px);
	margin: 0;
	color: var(--ac-navy);
}

.ac-link-more {
	font-family: var(--ac-font-heading);
	font-weight: 700;
	text-decoration: none;
}

/* Empty state */
.ac-empty {
	text-align: center;
	padding: 70px 20px;
}

.ac-empty .search-form {
	max-width: 440px;
	margin: 24px auto 0;
}

/* ==========================================================================
   10. Single post
   ========================================================================== */
.ac-single {
	max-width: 860px;
}

.ac-single-article {
	max-width: 800px;
	margin-inline: auto;
}

.ac-single__categories {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ac-gold);
	margin-bottom: 12px;
}

.ac-single__categories a {
	color: inherit;
	text-decoration: none;
}

.ac-single__title {
	font-size: clamp(30px, 5vw, 44px);
	margin-bottom: 16px;
	color: var(--ac-navy);
}

.ac-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	color: var(--ac-muted);
	font-size: 14px;
}

.ac-single__meta .ac-meta-sep {
	color: var(--ac-border);
}

.ac-single__thumbnail {
	margin: 32px 0;
	border-radius: var(--ac-radius);
	overflow: hidden;
}

.ac-single__thumbnail img {
	width: 100%;
	display: block;
}

.ac-single__tags {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ac-single__tags a {
	background: var(--ac-primary-soft);
	color: var(--ac-primary-dark);
	padding: 7px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.ac-single__tags a:hover {
	background: var(--ac-primary);
	color: #fff;
}

.ac-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--ac-border);
	font-size: 15px;
}

.ac-post-nav a {
	text-decoration: none;
	font-weight: 600;
}

/* ==========================================================================
   11. Pages & entry content typography
   ========================================================================== */
.ac-page__hero img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	display: block;
}

.ac-page__title {
	font-size: clamp(30px, 5vw, 44px);
	margin-bottom: 24px;
	color: var(--ac-navy);
}

.ac-entry-content {
	max-width: 800px;
}

.ac-front-page__content.ac-entry-content {
	max-width: 900px;
	padding-block: 56px;
}

.ac-entry-content--full {
	max-width: none;
	padding: 0;
}

.ac-entry-content > * + * {
	margin-top: 1.4em;
}

.ac-entry-content h2 {
	font-size: clamp(24px, 3.5vw, 32px);
	margin-top: 1.8em;
}

.ac-entry-content h3 {
	font-size: clamp(20px, 3vw, 24px);
	margin-top: 1.6em;
}

.ac-entry-content img {
	border-radius: 12px;
}

.ac-entry-content blockquote {
	border-left: 4px solid var(--ac-gold);
	background: var(--ac-bg-soft);
	padding: 20px 26px;
	border-radius: 0 12px 12px 0;
	font-style: italic;
	font-size: 18px;
	color: var(--ac-dark);
}

.ac-entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.ac-entry-content pre {
	background: var(--ac-navy);
	color: #e2e8f0;
	padding: 20px;
	border-radius: 12px;
	overflow: auto;
	font-size: 14px;
}

.ac-entry-content code {
	background: var(--ac-primary-soft);
	color: var(--ac-primary-dark);
	padding: 2px 7px;
	border-radius: 6px;
	font-size: 0.9em;
}

.ac-entry-content pre code {
	background: none;
	color: inherit;
	padding: 0;
}

.ac-entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.ac-entry-content th,
.ac-entry-content td {
	border: 1px solid var(--ac-border);
	padding: 10px 14px;
	text-align: left;
}

.ac-entry-content th {
	background: var(--ac-bg-soft);
	font-family: var(--ac-font-heading);
}

.ac-entry-content .alignwide {
	margin-inline: -40px;
	max-width: calc(100% + 80px);
	width: calc(100% + 80px);
}

.ac-entry-content .aligncenter {
	margin-inline: auto;
}

/* ==========================================================================
   12. Comments
   ========================================================================== */
.ac-comments {
	margin-top: 56px;
}

.ac-comments .comments-title,
.ac-comments .comment-reply-title {
	font-family: var(--ac-font-heading);
	font-size: 24px;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 0 0 0 24px;
	padding: 0;
}

.comment-body {
	padding: 24px 0;
	border-bottom: 1px solid var(--ac-border);
}

.comment-author .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 14px;
}

.comment-author-name,
.comment-metadata {
	font-size: 14px;
}

.comment-metadata {
	color: var(--ac-muted);
}

.comment-metadata a {
	color: inherit;
	text-decoration: none;
}

.comment-content {
	margin-top: 10px;
	clear: both;
}

.reply a {
	font-size: 13px;
	font-weight: 700;
	color: var(--ac-primary);
	text-decoration: none;
}

.comment-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--ac-dark);
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ac-border);
	border-radius: 10px;
	font: inherit;
	background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--ac-primary);
	outline: none;
	box-shadow: 0 0 0 3px var(--ac-primary-soft);
}

.form-submit {
	margin-top: 16px;
}

.form-submit .submit {
	display: inline-flex;
	align-items: center;
	font-family: var(--ac-font-heading);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	padding: 14px 28px;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(145deg, #bb8538, #9c6d2c);
	color: #fff;
	cursor: pointer;
	box-shadow: 4px 4px 10px rgba(174, 122, 49, 0.30), -4px -4px 10px rgba(255, 255, 255, 0.80);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.form-submit .submit:hover {
	transform: translateY(-2px);
}

/* ==========================================================================
   13. Pagination
   ========================================================================== */
.ac-section .nav-links,
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 44px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--ac-bg);
	box-shadow: 3px 3px 7px rgba(166, 180, 200, 0.35), -3px -3px 7px rgba(255, 255, 255, 0.9);
	color: var(--ac-dark);
	text-decoration: none;
	font-family: var(--ac-font-heading);
	font-weight: 600;
	transition: all 0.2s ease;
}

.nav-links .page-numbers:hover {
	color: var(--ac-primary);
}

.nav-links .page-numbers.current {
	background: var(--ac-surface);
	box-shadow: var(--ac-neu-inset);
	color: var(--ac-primary);
}

/* ==========================================================================
   14. Search form & generic inputs
   ========================================================================== */
.ac-body input[type='text'],
.ac-body input[type='email'],
.ac-body input[type='url'],
.ac-body input[type='search'],
.ac-body input[type='tel'],
.ac-body input[type='number'],
.ac-body textarea,
.ac-body select {
	font: inherit;
}

.search-form {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.search-form .search-field {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--ac-border);
	border-radius: 12px;
	background: #fff;
}

.search-form .search-field:focus {
	border-color: var(--ac-primary);
	outline: none;
	box-shadow: 0 0 0 3px var(--ac-primary-soft);
}

.search-form .search-submit {
	font-family: var(--ac-font-heading);
	font-weight: 700;
	font-size: 14px;
	padding: 12px 22px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(145deg, #0080c6, #0068a0);
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.search-form .search-submit:hover {
	transform: translateY(-1px);
}

/* ==========================================================================
   15. 404 page
   ========================================================================== */
.ac-error {
	min-height: 55vh;
	display: flex;
	align-items: center;
}

.ac-error__inner {
	text-align: center;
	margin-inline: auto;
	padding-block: 60px;
}

.ac-error__code {
	font-family: var(--ac-font-heading);
	font-size: clamp(90px, 18vw, 180px);
	font-weight: 700;
	line-height: 1;
	margin: 0;
	background: linear-gradient(135deg, var(--ac-primary), var(--ac-gold));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ac-error__title {
	font-size: clamp(26px, 4vw, 36px);
	margin: 12px 0 10px;
	color: var(--ac-navy);
}

.ac-error__text {
	color: var(--ac-muted);
	max-width: 480px;
	margin: 0 auto 28px;
}

.ac-error__search {
	max-width: 420px;
	margin: 36px auto 0;
}

/* ==========================================================================
   16. Footer - premium dark navy with subtle neumorphism
   ========================================================================== */
.ac-footer {
	background: var(--ac-navy);
	color: #b9c9d8;
	margin-top: 40px;
}

.ac-footer a {
	color: #b9c9d8;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.ac-footer a:hover {
	color: #fff;
}

/* Top area: brand column + 3 content columns */
.ac-footer__top {
	display: grid;
	grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
	gap: 44px;
	padding-block: 70px 56px;
}

@media (max-width: 1024px) {
	.ac-footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}

@media (max-width: 640px) {
	.ac-footer__top {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-block: 52px 40px;
	}
}

/* Brand column */
.ac-footer__brand {
	display: inline-flex;
	align-items: center;
}

.ac-footer-logo {
	display: block;
	height: 46px;
	width: auto;
}

.ac-footer__tagline {
	display: block;
	margin-top: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ac-gold);
}

.ac-footer__blurb {
	margin: 16px 0 20px;
	font-size: 14.5px;
	line-height: 1.75;
	color: #9db2c4;
	max-width: 320px;
}

.ac-footer__chips {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.ac-footer-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--ac-navy-soft);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13.5px;
	box-shadow: var(--ac-neu-dark-sm);
}

.ac-footer-chip .ac-icon {
	width: 14px;
	height: 14px;
}

/* Link columns */
.ac-footer-widget__title,
.ac-footer__col > h4 {
	font-family: var(--ac-font-heading);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 20px;
	position: relative;
	padding-bottom: 12px;
}

.ac-footer-widget__title::after,
.ac-footer__col > h4::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 2px;
	background: var(--ac-gold);
}

.ac-footer__col ul,
.ac-footer__column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ac-footer__col li,
.ac-footer__column li {
	margin-bottom: 11px;
}

.ac-footer__col li a,
.ac-footer__column li a {
	display: inline-block;
	font-size: 14.5px;
}

.ac-footer__col li a:hover,
.ac-footer__column li a:hover {
	transform: translateX(4px);
	color: var(--ac-gold);
}

/* Contact card (soft dark panel) */
.ac-footer-card {
	background: var(--ac-navy-soft);
	border-radius: 18px;
	padding: 26px 24px;
	box-shadow: var(--ac-neu-dark);
}

.ac-footer-card h4 {
	margin-bottom: 14px;
}

.ac-footer-card h4::after {
	display: none;
}

.ac-footer-card__phone {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ac-font-heading);
	font-size: 21px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}

.ac-footer-card__phone .ac-icon {
	width: 16px;
	height: 16px;
}

.ac-footer-card__loc {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #9db2c4;
	margin-bottom: 20px;
}

.ac-footer-card .ac-btn {
	width: 100%;
	padding: 14px 20px;
	font-size: 14px;
	box-shadow: 4px 4px 10px rgba(1, 17, 28, 0.55), -4px -4px 10px rgba(13, 77, 120, 0.30);
}

/* Bottom bar */
.ac-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ac-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 20px;
}

.ac-copyright {
	margin: 0;
	font-size: 14px;
	color: #8ba1b5;
}

.ac-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

/* Back-to-top: soft round dark button */
.ac-top-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--ac-navy-soft);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--ac-neu-dark-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.ac-top-btn:hover {
	transform: translateY(-3px);
	color: var(--ac-gold);
}

.ac-top-btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

@media (max-width: 767px) {
	.ac-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.ac-top-btn {
		position: fixed;
		right: 18px;
		bottom: 18px;
		z-index: 900;
		width: 48px;
		height: 48px;
	}
}

/* ==========================================================================
   17. Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
