/* ==========================================================================
   PRESSFORE EXECUTIVE CLEAN LIGHT THEME - FULLY MERGED STYLESHEET
   ========================================================================== */

:root {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --gold-accent: #b89728;
    --gold-light: #fdf8e2;
    --gold-dark: #997a20;
    --text-main: #334155;
    --text-bright: #0f172a;
    --text-muted: #64748b;
    --red-badge: #dc2626;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-accent);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

/* ==========================================================================
   1. TOP BREAKING NEWS TICKER
   ========================================================================== */
.top-news-ticker {
	background-color: var(--bg-surface, #ffffff);
	color: var(--text-main, #334155);
	border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	font-size: 0.8rem;
	overflow: hidden;
	position: relative;
	z-index: 50;
	width: 100%;
}

.ticker-wrapper {
	display: flex;
	align-items: center;
	height: 40px;
	width: 100%;
	overflow: hidden;
}

.ticker-badge {
	background: linear-gradient(135deg, var(--red-badge, #dc2626) 0%, #991b1b 100%);
	color: #ffffff;
	font-weight: 800;
	text-transform: uppercase;
	padding: 0 22px 0 16px;
	height: 100%;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	letter-spacing: 1px;
	white-space: nowrap;
	z-index: 3;
	clip-path: polygon(0 0, 100% 0, 86% 100%, 0% 100%);
	flex-shrink: 0;
}

.ticker-badge .icon-bolt {
	flex-shrink: 0;
}

.ticker-content {
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	position: relative;
	mask-image: linear-gradient(to right, transparent 0%, #000000 18px, #000000 calc(100% - 28px), transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 18px, #000000 calc(100% - 28px), transparent 100%);
}

.ticker-track {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	animation: tickerLoop 35s linear infinite;
	will-change: transform;
}

.ticker-track:hover,
.ticker-track:focus-within {
	animation-play-state: paused;
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	padding: 0 35px;
	color: var(--text-main, #334155);
}

.ticker-item .ticker-time,
.ticker-item span {
	color: var(--gold-dark, #997a20);
	font-weight: 700;
	margin-right: 8px;
	padding: 2px 7px;
	background-color: var(--gold-light, #fdf8e2);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-radius: 4px;
	font-size: 0.7rem;
	line-height: 1.2;
}

.ticker-item a {
	color: var(--text-bright, #0f172a);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.ticker-item a:hover,
.ticker-item a:focus-visible {
	color: var(--gold-accent, #b89728);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@keyframes tickerLoop {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ticker-track {
		animation: none;
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   2. HEADER AREA & SOCIAL UTILITIES
   ========================================================================== */
.site-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 90;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px clamp(15px, 3vw, 40px);
}

.header-date-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.site-branding {
    text-align: center;
}

.site-title {
    margin: 0;
    line-height: 1.1;
}

.site-title a {
    /* Fluid typography: scales gracefully from 1.7rem on mobile to 2.4rem on desktop */
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.15em; /* Professional editorial tracking */
    color: var(--text-bright, #0f172a);
    font-family: Georgia, "Times New Roman", serif;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.site-title a:hover {
    color: var(--gold-accent, #b89728);
}

.site-description {
    /* Fluid typography: scales from 0.7rem on mobile to 0.8rem on desktop */
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--gold-accent, #b89728);
    text-transform: uppercase;
    letter-spacing: 0.25em; /* Wide, airy tracking typical of luxury media */
    margin-top: 6px;
    font-weight: 600;
    line-height: 1.3;
}

/* Right Actions Group (Social Icons + Subscribe Button) */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Social Icons Styling */
.header-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.04);
    color: currentColor;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-social-icons a:hover {
    background-color: var(--pressfore-primary, #2271b1);
    color: #fff;
}

.btn-subscribe {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #997a20 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(184, 151, 40, 0.25);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-subscribe:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    color: #ffffff;
}

/* ==========================================================================
   3. NAVIGATION & MULTI-DIMENSIONAL DROPDOWN STYLES
   ========================================================================== */
.main-navigation {
	background-color: var(--bg-surface, #ffffff);
	border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	box-shadow: var(--shadow-sm);
	position: relative;
	z-index: 900;
	overflow: visible;
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	overflow: visible;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 30px;
	scrollbar-width: none;
	overflow: visible;
	align-items: stretch;
}

.nav-menu::-webkit-scrollbar {
	display: none;
}

.nav-menu li {
	position: relative;
	display: flex;
	align-items: center;
}

.nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: 18px 0;
	line-height: 1;
}

.nav-menu li a {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--text-muted, #64748b);
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	transition: color 0.2s ease;
}

.nav-menu li a.active,
.nav-menu li.current-menu-item > a,
.nav-menu li.current-menu-ancestor > a,
.nav-menu li.current_page_item > a,
.nav-menu li a:hover,
.nav-menu li a:focus-visible {
	color: var(--text-bright, #0f172a);
}

.nav-menu > li > a.active::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-ancestor > a::after,
.nav-menu > li.current_page_item > a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--gold-accent, #b89728);
}

/* Sub-menu styling & Multi-Level Nesting Positioning */
.nav-menu .sub-menu {
	display: block;
	list-style: none;
	margin: 0;
	position: absolute;
	min-width: 224px;
	background-color: var(--bg-surface, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-top: 2px solid var(--gold-accent, #b89728);
	border-radius: 6px;
	box-shadow: var(--shadow-md);
	padding: 8px 0;
	z-index: 910;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-menu > li > .sub-menu {
	top: 100%;
	left: 0;
	margin-top: 4px;
}

/* Invisible hover bridge so moving the cursor across the gap never drops :hover */
.nav-menu > li > .sub-menu::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
	background: transparent;
}

.nav-menu .sub-menu .sub-menu {
	top: -9px;
	left: calc(100% + 2px);
	transform: translateX(8px);
}

/* Hover bridge for nested flyout sub-menus */
.nav-menu .sub-menu .sub-menu::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -8px;
	width: 8px;
	background: transparent;
}

.nav-menu li.menu-item-has-children:hover > .sub-menu,
.nav-menu li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) translateX(0);
}

.nav-menu .sub-menu li {
	width: 100%;
}

.nav-menu .sub-menu li a {
	padding: 9px 18px;
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.2px;
	color: var(--text-main, #334155);
	display: flex;
	align-items: center;
	justify-content: space-between;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav-menu .sub-menu li a:hover,
.nav-menu .sub-menu li a:focus-visible {
	background-color: var(--gold-light, #fdf8e2);
	color: var(--gold-dark, #997a20);
	padding-left: 22px;
}

.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.dropdown-arrow {
	font-size: 1rem;
	line-height: 1;
	display: inline-block;
	color: var(--text-muted, #64748b);
	transition: transform 0.2s ease, color 0.2s ease;
}

.menu-item-has-children:hover > a .dropdown-arrow,
.menu-item-has-children:focus-within > a .dropdown-arrow {
	color: var(--gold-accent, #b89728);
	transform: rotate(90deg);
}

/* Mobile Toggle & Burger Button */
.nav-overflow-toggle {
	display: none;
	background-color: var(--bg-main, #f8fafc);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	color: var(--text-bright, #0f172a);
	padding: 7px 12px;
	border-radius: 6px;
	cursor: pointer;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-overflow-toggle:hover,
.nav-overflow-toggle:focus-visible {
	background-color: var(--gold-light, #fdf8e2);
	border-color: var(--gold-accent, #b89728);
	color: var(--gold-dark, #997a20);
}

.premium-burger {
	display: none;
	align-items: center;
	gap: 10px;
}

.burger-icon-wrapper {
	width: 20px;
	height: 14px;
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

.burger-icon-wrapper .line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--text-bright, #0f172a);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s ease;
	transform-origin: left center;
}

.nav-overflow-toggle[aria-expanded="true"] .line-1 {
	transform: rotate(45deg) translate(1px, -1px);
}

.nav-overflow-toggle[aria-expanded="true"] .line-2 {
	opacity: 0;
	transform: scaleX(0);
}

.nav-overflow-toggle[aria-expanded="true"] .line-3 {
	transform: rotate(-45deg) translate(1px, 1px);
}

@media (max-width: 991.98px) {
	.nav-overflow-toggle,
	.premium-burger {
		display: inline-flex;
		margin: 8px 0;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		padding: 12px 0;
		background-color: var(--bg-surface, #ffffff);
		border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	}

	.nav-menu.is-open {
		display: flex;
	}

	.nav-menu li {
		flex-direction: column;
		align-items: stretch;
	}

	.nav-menu > li > a {
		padding: 12px 4px;
		justify-content: space-between;
		line-height: 1.4;
	}

	.nav-menu > li > a.active::after,
	.nav-menu > li.current-menu-item > a::after,
	.nav-menu > li.current-menu-ancestor > a::after,
	.nav-menu > li.current_page_item > a::after {
		display: none;
	}

	.nav-menu .sub-menu {
		position: static;
		display: block;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		margin-top: 0;
		box-shadow: none;
		border: none;
		border-left: 2px solid var(--gold-accent, #b89728);
		border-radius: 0;
		padding: 4px 0 4px 12px;
		background-color: transparent;
		min-width: 0;
	}

	.nav-menu > li > .sub-menu::before,
	.nav-menu .sub-menu .sub-menu::before {
		display: none;
	}
}

/* ==========================================================================
   4. PRESSFORE PREMIUM BREADCRUMBS STYLING (MERGED)
   ========================================================================== */
.pressfore-breadcrumb {
	width: 100%;
	background-color: var(--bg-surface, #ffffff);
	padding: 1rem 0;
	margin: 0 0 1.5rem 0;
	border-bottom: 1px solid var(--border-color, #edf2f7);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.pressfore-breadcrumb .breadcrumb-list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	list-style: none;
	margin: 0 auto;
	padding: 0 1rem;
	max-width: 1280px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.pressfore-breadcrumb .breadcrumb-list::-webkit-scrollbar {
	display: none;
}

.pressfore-breadcrumb .breadcrumb-item {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-muted, #718096);
	flex-shrink: 0;
}

.pressfore-breadcrumb .breadcrumb-link {
	display: inline-flex;
	align-items: center;
	color: var(--text-main, #4a5568);
	text-decoration: none;
	padding: 0.2rem 0.35rem;
	border-radius: 4px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.pressfore-breadcrumb .breadcrumb-link:hover,
.pressfore-breadcrumb .breadcrumb-link:focus-visible {
	color: var(--text-bright, #1a202c);
	background-color: var(--gold-light, var(--bg-main, #f7fafc));
	outline: none;
}

.pressfore-breadcrumb .breadcrumb-home-icon {
	display: block;
	color: var(--text-main, #4a5568);
	transition: transform 0.15s ease, color 0.15s ease;
}

.pressfore-breadcrumb .home-link:hover .breadcrumb-home-icon,
.pressfore-breadcrumb .home-link:focus-visible .breadcrumb-home-icon {
	transform: translateY(-1px);
	color: var(--gold-dark, var(--text-bright, #1a202c));
}

.pressfore-breadcrumb .breadcrumb-separator {
	display: inline-flex;
	align-items: center;
	color: var(--text-muted, #cbd5e0);
	opacity: 0.75;
	margin: 0 0.4rem;
	flex-shrink: 0;
	user-select: none;
}

.pressfore-breadcrumb .breadcrumb-item.active {
	min-width: 0;
	flex-shrink: 1;
	overflow: hidden;
}

.pressfore-breadcrumb .breadcrumb-current {
	display: block;
	color: var(--text-bright, #1a202c);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: 0.8125rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce) {
	.pressfore-breadcrumb .breadcrumb-link,
	.pressfore-breadcrumb .breadcrumb-home-icon {
		transition: none;
	}

	.pressfore-breadcrumb .home-link:hover .breadcrumb-home-icon,
	.pressfore-breadcrumb .home-link:focus-visible .breadcrumb-home-icon {
		transform: none;
	}
}

/* ==========================================================================
   5. MAIN CONTENT & HERO SECTION
   ========================================================================== */
.site-main {
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.lead-article {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lead-article:hover {
    box-shadow: var(--shadow-md);
}

.article-image-box {
    position: relative;
    overflow: hidden;
}

.lead-visual {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--red-badge);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    font-family: Georgia, serif;
}

.article-title a {
    color: var(--text-bright);
}

.article-title a:hover {
    color: var(--gold-accent);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
    font-size: 0.85rem;
}

.author-name {
    color: var(--text-muted);
    font-weight: 600;
}

.read-link {
    color: var(--gold-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

/* ==========================================================================
   6. TRENDING SIDEBAR STYLING
   ========================================================================== */
.trending-sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.trending-header h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 12px;
    font-weight: 800;
}

.trending-header h3 svg {
    color: var(--gold-accent);
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-thumb {
    width: 75px;
    height: 65px;
    border-radius: 4px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}

.trending-content .date {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.trending-content h4 {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

.trending-content h4 a {
    color: var(--text-bright);
}

.trending-content h4 a:hover {
    color: var(--gold-accent);
}

/* ==========================================================================
   7. ARCHIVE TEMPLATES & CONTENT STREAMS
   ========================================================================== */
.archive-header {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--text-bright);
    padding-bottom: 20px;
}

.archive-meta-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-accent);
    margin-bottom: 6px;
}

.archive-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-bright);
    font-family: Georgia, serif;
    margin-bottom: 10px;
}

.archive-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.5;
}

.portal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.archive-layout-left .portal-grid {
    grid-template-columns: 1fr 2fr;
}

.archive-layout-full .posts-grid {
    grid-template-columns: repeat(3, 1fr);
}

.archive-layout-full .content-stream-full {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.content-stream,
.content-stream-full {
    display: flex;
    flex-direction: column;
}

.stream-header {
    border-bottom: 2px solid var(--text-bright);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.stream-header h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-bright);
    font-weight: 800;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-img {
    height: 180px;
    width: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body .date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.card-title a {
    color: var(--text-bright);
}

.card-title a:hover {
    color: var(--gold-accent);
}

.card-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-meta .author {
    font-weight: 600;
}

.card-meta .action {
    color: var(--gold-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   8. PAGINATION NAVIGATION
   ========================================================================== */
.archive-pagination {
	display: flex;
	align-items: center;
	margin-top: 40px;
}

.center-pagination {
	justify-content: center;
}

.archive-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.archive-pagination ul.page-numbers li {
	margin: 0;
}

.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	background-color: var(--bg-card, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-radius: 6px;
	box-shadow: var(--shadow-sm);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	color: var(--text-main, #334155);
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease;
}

.archive-pagination a.page-numbers:hover,
.archive-pagination a.page-numbers:focus-visible {
	outline: none;
	background-color: var(--gold-light, #fdf8e2);
	border-color: var(--gold-accent, #b89728);
	color: var(--gold-dark, #997a20);
	box-shadow: var(--shadow-sm);
	transform: translateY(-1px);
}

.archive-pagination a.page-numbers:active {
	transform: translateY(0);
}

.archive-pagination .page-numbers.current {
	background-color: var(--gold-accent, #b89728);
	border-color: var(--gold-accent, #b89728);
	color: #ffffff;
	font-weight: 700;
	cursor: default;
}

.archive-pagination .page-numbers.dots {
	background-color: transparent;
	border-color: transparent;
	box-shadow: none;
	color: var(--text-muted, #64748b);
	min-width: 28px;
	padding: 0 4px;
	cursor: default;
}

@media (max-width: 575.98px) {
	.archive-pagination {
		margin-top: 30px;
	}

	.archive-pagination ul.page-numbers {
		gap: 6px;
	}

	.archive-pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
		font-size: 0.8125rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.archive-pagination .page-numbers {
		transition: none;
	}

	.archive-pagination a.page-numbers:hover,
	.archive-pagination a.page-numbers:focus-visible,
	.archive-pagination a.page-numbers:active {
		transform: none;
	}
}

/* ==========================================================================
   9. PORTAL SIDEBAR & WIDGETS
   ========================================================================== */
.portal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portal-sidebar .widget {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--bg-card, #ffffff) 0%, var(--bg-main, #f8fafc) 100%);
	border-left: 4px solid var(--gold-accent, #b89728);
}

.newsletter-widget h3,
.categories-widget h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-bright);
    margin-bottom: 10px;
    font-weight: 800;
}

.newsletter-widget p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 11px 14px;
    border-radius: 4px;
    color: var(--text-bright);
    font-size: 0.9rem;
    width: 100%;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 2px rgba(184, 151, 40, 0.15);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #997a20 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 11px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.categories-widget ul {
    list-style: none;
    margin-top: 15px;
}

.categories-widget li {
    border-bottom: 1px solid var(--border-color);
    padding: 11px 0;
    transition: padding-left 0.2s ease;
}

.categories-widget li:hover {
    padding-left: 4px;
}

.categories-widget li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.categories-widget li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.categories-widget li a:hover {
    color: var(--gold-accent);
}

.categories-widget li a span {
    color: var(--text-muted);
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 12px;
    font-weight: 600;
}

/* Archives & Core WordPress Widgets */
.portal-sidebar .archives-widget {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.portal-sidebar .archives-widget:hover {
    border-color: var(--wp-admin-theme-color, #2271b1);
    box-shadow: 0 10px 15px -3px rgba(34, 113, 177, 0.05), 0 4px 6px -2px rgba(34, 113, 177, 0.025);
}

.portal-sidebar .archives-widget h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color, #1e293b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--surface-subtle, #f1f5f9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-sidebar .archives-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-sidebar .archives-widget li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    background: transparent;
    transition: background-color 0.2s ease, transform 0.2s ease;
    color: var(--text-muted, #64748b);
    font-size: 0.85rem;
    font-weight: 600;
}

.portal-sidebar .archives-widget li:hover {
    background-color: var(--surface-subtle, #f8fafc);
    transform: translateX(2px);
}

.portal-sidebar .archives-widget li a {
    color: var(--text-main, #334155);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
    word-break: break-word;
}

.portal-sidebar .archives-widget li a:hover {
    color: var(--wp-admin-theme-color, #2271b1);
}

.portal-sidebar .archives-widget li a + *,
.portal-sidebar .archives-widget li a ~ * {
    background: var(--surface-subtle, #e2e8f0);
    color: var(--text-muted, #475569);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    flex-shrink: 0;
}

.portal-sidebar .widget .widget-title,
.portal-sidebar .widget h3,
.portal-sidebar .widget h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-bright, #0f172a);
    margin-top: 0;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(184, 151, 40, 0.2);
    letter-spacing: 0.5px;
}

.portal-sidebar .widget p {
    font-size: 0.92rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin-bottom: 15px;
}

.portal-sidebar .widget ul,
.portal-sidebar .widget ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-sidebar .widget li {
    position: relative;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.93rem;
    transition: padding-left 0.2s ease;
}

.portal-sidebar .widget li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.portal-sidebar .widget ul li a,
.portal-sidebar .widget ol li a {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-muted, #64748b);
    padding: 2px 6px;
    border-radius: 6px;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle glowing accent indicator pill on the left */
.portal-sidebar .widget ul li a::before, 
.portal-sidebar .widget ol li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--gold-accent);
    border-radius: 0 4px 4px 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-sidebar .widget ul li a:hover,
.portal-sidebar .widget ol li a:hover {
    color: var(--text-bright, #0f172a);
    background-color: var(--bg-surface, #ffffff);
    transform: translateX(4px); /* Smooth hardware-accelerated slide instead of layout reflow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Reveal the left accent indicator on hover */
.portal-sidebar .widget ul li a:hover::before, 
.portal-sidebar .widget ol li a:hover::before {
    transform: translateY(-50%) scaleY(1);
}

.portal-sidebar .widget .post-date,
.portal-sidebar .widget .recent-posts-date {
    display: block;
    font-size: 0.78rem;
    color: rgba(100, 116, 139, 0.8);
    margin-top: 3px;
}

.portal-sidebar .widget_categories li span,
.portal-sidebar .widget_archive li span,
.portal-sidebar .widget_recent_entries .post-date {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--gold-accent, #b89728);
    font-family: 'Fira Code', monospace;
}

.portal-sidebar .widget_search form {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.portal-sidebar .widget_search .search-field {
    flex: 1;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: var(--text-bright, #0f172a);
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.portal-sidebar .widget_search .search-field:focus {
    border-color: var(--gold-accent, #b89728);
}

.portal-sidebar .widget_search .search-submit {
    background: var(--gold-accent, #b89728);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0 16px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.portal-sidebar .widget_search .search-submit:hover {
    opacity: 0.9;
}

.portal-sidebar .tagcloud,
.portal-sidebar .widget_tag_cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.portal-sidebar .tagcloud a,
.portal-sidebar .widget_tag_cloud a {
    background: #f1f5f9;
    color: var(--text-muted, #64748b);
    font-size: 0.82rem !important;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.portal-sidebar .tagcloud a:hover,
.portal-sidebar .widget_tag_cloud a:hover {
    background: var(--gold-light, #fdf8e2);
    color: var(--text-bright, #0f172a);
    border-color: rgba(184, 151, 40, 0.3);
}

.portal-sidebar .widget_calendar {
    text-align: center;
}

.portal-sidebar .widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.portal-sidebar .widget_calendar caption {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--text-bright, #0f172a);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.portal-sidebar .widget_calendar th,
.portal-sidebar .widget_calendar td {
    padding: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portal-sidebar .widget_calendar th {
    background: #f1f5f9;
    color: var(--text-bright, #0f172a);
    font-weight: 600;
}

.portal-sidebar .widget_calendar td#today {
    background: var(--gold-light, #fdf8e2);
    color: var(--gold-accent, #b89728);
    font-weight: 700;
}

.portal-sidebar .widget_calendar tfoot td {
    border: none;
    padding-top: 12px;
}

.portal-sidebar .widget_calendar tfoot a {
    color: var(--gold-accent, #b89728);
    text-decoration: none;
    font-size: 0.85rem;
}

.portal-sidebar .widget select {
    width: 100%;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: var(--text-bright, #0f172a);
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.portal-sidebar .widget select option {
    background: #ffffff;
    color: #0f172a;
}

/* ==========================================================================
   10. FOOTER AREA
   ========================================================================== */
.site-footer {
	background-color: var(--bg-surface, #ffffff);
	border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	color: var(--text-main, #334155);
	margin-top: 60px;
	padding-top: 50px;
}

.footer-inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.footer-brand {
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 2px;
	color: var(--text-bright, #0f172a);
	font-family: Georgia, serif;
	margin-bottom: 12px;
	line-height: 1.2;
}

.footer-desc {
	color: var(--text-muted, #64748b);
	font-size: 0.9rem;
	max-width: 340px;
	line-height: 1.6;
	margin: 0;
}

.footer-col h4 {
	position: relative;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-bright, #0f172a);
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.footer-col h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 28px;
	height: 2px;
	background-color: var(--gold-accent, #b89728);
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-col ul li a {
	color: var(--text-main, #334155);
	font-size: 0.875rem;
	text-decoration: none;
	display: inline-block;
	transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
	color: var(--gold-accent, #b89728);
	transform: translateX(3px);
}

.footer-bottom {
	padding: 20px 0;
	text-align: center;
	font-size: 0.8rem;
	color: var(--text-muted, #64748b);
}

.footer-bottom-text {
	margin: 0;
	line-height: 1.5;
}

.footer-bottom-text a {
	color: var(--text-main, #334155);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-bottom-text a:hover,
.footer-bottom-text a:focus-visible {
	color: var(--gold-accent, #b89728);
}

@media (max-width: 991.98px) {
	.footer-inner {
		grid-template-columns: 1.5fr 1fr 1fr;
		gap: 28px;
	}
}

@media (max-width: 767.98px) {
	.site-footer {
		margin-top: 40px;
		padding-top: 40px;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-bottom: 32px;
		text-align: left;
	}

	.footer-desc {
		max-width: none;
	}
}

/* ==========================================================================
   11. SEARCH, CATEGORY, AUTHOR, SINGLE, PAGE & COMMENTS SPECIFIC STYLES
   ========================================================================== */
.search-main,
.category-main,
.author-main,
.single-main,
.page-main {
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

.search-header,
.category-header,
.author-header,
.single-header,
.page-header {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--text-bright);
    padding-bottom: 24px;
}

.single-post-container,
.page-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.single-content-body {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single-content-body p {
    margin-bottom: 0;
}

.single-content-body h2 {
    font-size: 1.5rem;
    font-family: Georgia, serif;
    color: var(--text-bright);
    margin-top: 15px;
    margin-bottom: 8px;
}

.single-content-body blockquote {
    border-left: 4px solid var(--gold-accent);
    padding: 18px 24px;
    background: var(--gold-light);
    font-style: italic;
    color: var(--text-bright);
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.single-content-body ul {
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-content-body ul li {
    color: var(--text-main);
}

.single-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 45px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.post-tags {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.post-tags a {
    background: var(--bg-card);
    padding: 5px 12px;
    border-radius: 4px;
    color: var(--text-main);
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.post-tags a:hover {
    background-color: var(--gold-light);
    color: var(--gold-accent);
}

.portal-sidebar .tags-widget .post-tags a {
	background: var(--bg-card, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	padding: 5px 12px;
	border-radius: 4px;
	color: var(--text-main, #334155);
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.portal-sidebar .tags-widget .post-tags a:hover,
.portal-sidebar .tags-widget .post-tags a:focus-visible {
	background: var(--gold-accent, #b89728);
	border-color: var(--gold-accent, #b89728);
	color: #ffffff;
}

/* ==========================================================================
   POST NAVIGATION COMPONENT STYLES
   ========================================================================== */
.post-navigation {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 2px solid var(--text-bright, #0f172a);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px;
	background-color: var(--bg-main, #f8fafc);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.post-navigation a:hover,
.post-navigation a:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md, 0 10px 24px rgba(0, 0, 0, 0.08));
	border-color: var(--gold-accent, #b89728);
	background-color: var(--bg-surface, #ffffff);
}

.post-navigation .nav-previous {
	text-align: left;
}

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

.post-navigation .nav-direction {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--gold-dark, #997a20);
	transition: color 0.2s ease;
}

.post-navigation .nav-next .nav-direction {
	justify-content: flex-end;
}

.post-navigation .nav-title {
	font-family: Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text-bright, #0f172a);
	line-height: 1.38;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-navigation a:hover .nav-direction,
.post-navigation a:focus-visible .nav-direction,
.post-navigation a:hover .nav-title,
.post-navigation a:focus-visible .nav-title {
	color: var(--gold-accent, #b89728);
}

@media (max-width: 767.98px) {
	.post-navigation {
		margin-top: 32px;
		padding-top: 24px;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.post-navigation a {
		padding: 16px 18px;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.post-navigation .nav-next .nav-direction {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.post-navigation a,
	.post-navigation .nav-direction,
	.post-navigation .nav-title {
		transition: none;
	}

	.post-navigation a:hover,
	.post-navigation a:focus-visible {
		transform: none;
	}
}

/* ==========================================================================
   COMMENTS SECTION COMPONENT STYLES
   ========================================================================== */
.comments-section {
	margin-top: 50px;
	background-color: var(--bg-card, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-radius: 10px;
	padding: 36px;
	box-shadow: var(--shadow-sm);
	color: var(--text-main, #334155);
}

.comment-respond .comment-form-heading, .comment-respond .form-group, .comment-respond .comment-form-cookies-consent, .comment-respond .form-submit {
	padding: 10px 0;
}

.comments-header {
	border-bottom: 2px solid var(--text-bright, #0f172a);
	margin-bottom: 28px;
	padding-bottom: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.comments-header h3 {
	font-size: 1.25rem;
	font-family: Georgia, serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-bright, #0f172a);
	font-weight: 800;
	margin: 0;
}

.comments-meta-badge {
	font-size: 0.75rem;
	color: var(--gold-dark, #997a20);
	background-color: var(--gold-light, #fdf8e2);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.comments-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 36px;
}

.comment-item {
	display: flex;
	gap: 18px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.comment-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.comment-reply {
	margin-left: 44px;
	padding-top: 12px;
	padding-left: 16px;
	border-left: 2px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.comment-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bg-main, #e2e8f0) 0%, var(--text-muted, #94a3b8) 100%);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #ffffff;
	font-size: 0.9rem;
}

.comment-avatar.author-avatar {
	background: linear-gradient(135deg, var(--gold-accent, #b89728) 0%, var(--gold-dark, #997a20) 100%);
	border-color: transparent;
}

.comment-content {
	flex: 1;
	min-width: 0;
}

.comment-meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
	flex-wrap: wrap;
	gap: 8px;
}

.comment-author {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-bright, #0f172a);
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.author-tag {
	font-size: 0.7rem;
	background-color: var(--gold-light, #fdf8e2);
	color: var(--gold-dark, #997a20);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.comment-date {
	font-size: 0.78rem;
	color: var(--text-muted, #64748b);
}

.comment-text {
	font-size: 0.95rem;
	color: var(--text-main, #334155);
	line-height: 1.65;
	margin-bottom: 12px;
}

.comment-reply-link {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--gold-dark, #997a20);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s ease, transform 0.2s ease;
}

.comment-reply-link:hover,
.comment-reply-link:focus-visible {
	color: var(--gold-accent, #b89728);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.comment-form-wrapper {
	background-color: var(--bg-surface, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-radius: 8px;
	padding: 28px;
}

.form-title {
	font-size: 1.125rem;
	font-family: Georgia, serif;
	color: var(--text-bright, #0f172a);
	margin: 0 0 6px;
	font-weight: 700;
}

.form-subtitle {
	font-size: 0.85rem;
	color: var(--text-muted, #64748b);
	margin: 0 0 20px;
	line-height: 1.5;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.form-row-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-bright, #0f172a);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
	background-color: var(--bg-main, #f8fafc);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
	padding: 11px 14px;
	border-radius: 6px;
	color: var(--text-bright, #0f172a);
	font-size: 0.9rem;
	width: 100%;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
}

.form-group input:hover,
.form-group textarea:hover {
	border-color: var(--gold-accent, #b89728);
}

.form-group input:focus,
.form-group input:focus-visible,
.form-group textarea:focus,
.form-group textarea:focus-visible {
	outline: none;
	background-color: var(--bg-card, #ffffff);
	border-color: var(--gold-accent, #b89728);
	box-shadow: 0 0 0 3px var(--gold-light, rgba(184, 151, 40, 0.18));
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.btn-submit-comment {
	background: linear-gradient(135deg, var(--gold-accent, #b89728) 0%, var(--gold-dark, #997a20) 100%);
	color: #ffffff;
	font-weight: 700;
	border: none;
	padding: 12px 24px;
	border-radius: 6px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 1px;
	align-self: flex-start;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-submit-comment:hover,
.btn-submit-comment:focus-visible {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.btn-submit-comment:active {
	transform: translateY(0);
}

@media (max-width: 767.98px) {
	.comments-section {
		padding: 24px 20px;
		margin-top: 36px;
	}

	.comment-form-wrapper {
		padding: 20px;
	}

	.comment-item {
		gap: 12px;
	}

	.comment-avatar {
		width: 40px;
		height: 40px;
		font-size: 0.8rem;
	}

	.comment-reply {
		margin-left: 16px;
		padding-left: 12px;
	}

	.form-row-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.comment-reply-link,
	.form-group input,
	.form-group textarea,
	.btn-submit-comment {
		transition: none;
	}
}

.nav-menu.is-expanded {
    align-items: flex-start !important;
}

.nav-menu.is-expanded li {
    width: 100%;
}

.nav-menu.is-expanded li a {
    text-align: left;
    justify-content: flex-start !important;
    width: 100%;
}

.nav-menu.is-expanded .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   12. STANDALONE PREMIUM SEARCH FORM COMPONENT
   ========================================================================== */
.search-form-box {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.search-input-wrapper {
	display: flex;
	align-items: center;
	background-color: var(--bg-card, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-radius: 50px;
	padding: 6px 6px 6px 20px;
	box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.06));
	transition:
		border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.search-input-wrapper:hover {
	border-color: var(--gold-accent, #b89728);
	box-shadow: var(--shadow-md, 0 10px 24px rgba(0, 0, 0, 0.12));
}

.search-input-wrapper:focus-within {
	border-color: var(--gold-accent, #b89728);
	box-shadow:
		0 0 0 3px var(--gold-light, #fdf8e2),
		var(--shadow-md, 0 10px 24px rgba(0, 0, 0, 0.12));
	background-color: var(--bg-surface, #ffffff);
}

.search-icon {
	color: var(--text-muted, #64748b);
	flex-shrink: 0;
	margin-right: 14px;
	transition: color 0.2s ease;
}

.search-input-wrapper:focus-within .search-icon {
	color: var(--gold-accent, #b89728);
}

.search-field {
	flex-grow: 1;
	width: 100%;
	min-width: 0;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--text-bright, #0f172a);
	padding: 10px 0;
	line-height: 1.4;
}

.search-field:focus,
.search-field:focus-visible {
	outline: none;
}

.search-field::-webkit-search-decoration,
.search-field::-webkit-search-cancel-button,
.search-field::-webkit-search-results-button,
.search-field::-webkit-search-results-decoration {
	display: none;
}

.search-field::placeholder {
	color: var(--text-muted, #64748b);
	opacity: 0.8;
}

.search-submit-btn {
	background: linear-gradient(135deg, var(--gold-accent, #b89728) 0%, var(--gold-dark, #997a20) 100%);
	color: #ffffff;
	border: none;
	padding: 12px 28px;
	border-radius: 40px !important;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.1));
	transition:
		transform 0.2s ease,
		filter 0.2s ease,
		box-shadow 0.2s ease;
}

.search-submit-btn:hover,
.search-submit-btn:focus-visible {
	outline: none;
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md, 0 6px 16px rgba(0, 0, 0, 0.16));
}

.search-submit-btn:active {
	transform: translateY(0);
}

@media (max-width: 575.98px) {
	.search-input-wrapper {
		flex-wrap: wrap;
		border-radius: 12px;
		padding: 10px 12px;
		gap: 8px;
	}

	.search-icon {
		margin-right: 4px;
	}

	.search-field {
		font-size: 1rem;
		padding: 8px 4px;
	}

	.search-submit-btn {
		width: 100%;
		border-radius: 8px;
		padding: 12px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.search-input-wrapper,
	.search-icon,
	.search-submit-btn {
		transition: none;
	}

	.search-submit-btn:hover,
	.search-submit-btn:focus-visible,
	.search-submit-btn:active {
		transform: none;
	}
}

/* ==========================================================================
   13. PREMIUM 404 ERROR PAGE SECTION STYLES
   ========================================================================== */
.error-404-section {
	width: 100%;
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background-color: var(--bg-main, #f8fafc);
	color: var(--text-main, #334155);
}

.error-container {
	width: 100%;
	max-width: 680px;
	background-color: var(--bg-surface, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	border-radius: 12px;
	padding: 50px 40px;
	text-align: center;
	box-shadow: var(--shadow-md, 0 12px 28px rgba(0, 0, 0, 0.08));
	display: flex;
	flex-direction: column;
	align-items: center;
}

.error-badge-wrapper {
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
}

.error-code {
	font-size: 5rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 2px;
	color: var(--gold-accent, #b89728);
	font-family: Georgia, serif;
	position: relative;
	z-index: 2;
}

.error-badge-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 132px;
	height: 68px;
	background-color: var(--gold-light, #fdf8e2);
	opacity: 0.85;
	filter: blur(22px);
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
}

.error-title {
	margin: 0 0 14px;
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--text-bright, #0f172a);
	font-family: Georgia, serif;
}

.error-description {
	margin: 0 auto 30px;
	max-width: 540px;
	font-size: 0.98rem;
	color: var(--text-muted, #64748b);
	line-height: 1.65;
}

.error-search-wrapper {
	width: 100%;
	max-width: 480px;
	margin-bottom: 30px;
}

.error-actions {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.error-404-section .btn-primary {
	background: linear-gradient(135deg, var(--gold-accent, #b89728) 0%, var(--gold-dark, #997a20) 100%);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 12px 24px;
	border-radius: 50px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.08));
	transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.error-404-section .btn-primary:hover,
.error-404-section .btn-primary:focus-visible {
	outline: none;
	filter: brightness(1.06);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md, 0 10px 24px rgba(0, 0, 0, 0.14));
	color: #ffffff;
}

.error-404-section .btn-primary:active {
	transform: translateY(0);
}

.error-404-section .btn-secondary {
	background-color: var(--bg-main, #f8fafc);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
	color: var(--text-bright, #0f172a);
	font-weight: 700;
	font-size: 0.85rem;
	padding: 12px 24px;
	border-radius: 50px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.error-404-section .btn-secondary:hover,
.error-404-section .btn-secondary:focus-visible {
	outline: none;
	border-color: var(--gold-accent, #b89728);
	color: var(--gold-dark, #997a20);
	background-color: var(--gold-light, #fdf8e2);
	transform: translateY(-1px);
}

.error-404-section .btn-secondary:active {
	transform: translateY(0);
}

@media (max-width: 639.98px) {
	.error-404-section {
		padding: 40px 16px;
		min-height: auto;
	}

	.error-container {
		padding: 32px 20px;
	}

	.error-code {
		font-size: 3.75rem;
	}

	.error-title {
		font-size: 1.65rem;
	}

	.error-actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.error-404-section .btn-primary,
	.error-404-section .btn-secondary {
		transition: none;
	}

	.error-404-section .btn-primary:hover,
	.error-404-section .btn-primary:focus-visible,
	.error-404-section .btn-primary:active,
	.error-404-section .btn-secondary:hover,
	.error-404-section .btn-secondary:focus-visible,
	.error-404-section .btn-secondary:active {
		transform: none;
	}
}

/* ==========================================================================
   14. PRESSFORE MULTI-PAGE POST PAGINATION STYLES
   ========================================================================== */
.page-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

.page-links .post-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background-color: #ffffff;
    color: var(--text-main, #1e293b);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.page-links .post-page-numbers:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-bright, #0f172a);
    transform: translateY(-1px);
}

.page-links .post-page-numbers.current {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES FOR ALL DEVICES
   ========================================================================== */

/* Desktop Flyout Sub-Menus (> 1024px) */
@media (min-width: 1025px) {
	.nav-menu .sub-menu {
		display: block;
		list-style: none;
		margin: 0;
		position: absolute;
		min-width: 224px;
		background-color: var(--bg-surface, #ffffff);
		border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
		border-top: 2px solid var(--gold-accent, #b89728);
		border-radius: 6px;
		box-shadow: var(--shadow-md);
		padding: 8px 0;
		z-index: 910;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	}

	.nav-menu > li > .sub-menu {
		top: 100%;
		left: 0;
		margin-top: 4px;
	}

	.nav-menu > li > .sub-menu::before {
		content: "";
		position: absolute;
		top: -10px;
		left: 0;
		right: 0;
		height: 10px;
		background: transparent;
	}

	.nav-menu .sub-menu .sub-menu {
		top: -9px;
		left: calc(100% + 2px);
		transform: translateX(8px);
	}

	.nav-menu .sub-menu .sub-menu::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: -8px;
		width: 8px;
		background: transparent;
	}

	.nav-menu li.menu-item-has-children:hover > .sub-menu,
	.nav-menu li.menu-item-has-children:focus-within > .sub-menu,
	.nav-menu li.menu-item-has-children.is-open > .sub-menu,
	.nav-menu li.menu-item-has-children.is-sub-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) translateX(0);
	}
}

/* Tablets & Small Desktops (1024px and below) */
@media (max-width: 1024px) {

    .nav-container {
		justify-content: flex-end;
	}

	.nav-overflow-toggle,
	.premium-burger {
		display: inline-flex;
		margin: 10px 0;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		flex-basis: 100%;
		padding: 12px 16px;
		margin-bottom: 10px;
		background-color: var(--bg-card, #ffffff);
		border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
		border-top: 2px solid var(--gold-accent, #b89728);
		border-radius: 8px;
		box-shadow: var(--shadow-sm);
	}

	.nav-menu.is-open,
	.nav-menu.is-expanded,
	.nav-overflow-toggle[aria-expanded="true"] + .nav-menu {
		display: flex;
		align-items: flex-start;
	}

	.nav-menu li {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
	}

	.nav-menu li:last-child {
		border-bottom: none;
	}

	.nav-menu > li > a {
		padding: 12px 6px;
		justify-content: space-between;
		width: 100%;
		line-height: 1.4;
	}

	.nav-menu li a:hover,
	.nav-menu li a:focus-visible {
		background-color: var(--gold-light, #fdf8e2);
		color: var(--gold-dark, #997a20);
		padding-left: 10px;
		border-radius: 6px;
	}

	.nav-menu > li > a.active::after,
	.nav-menu > li.current-menu-item > a::after,
	.nav-menu > li.current-menu-ancestor > a::after,
	.nav-menu > li.current_page_item > a::after {
		display: none;
	}

	.nav-menu .sub-menu {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		margin: 0 0 8px 10px;
		box-shadow: none;
		border: none;
		border-left: 2px solid var(--gold-accent, #b89728);
		border-radius: 0;
		padding: 4px 0 4px 12px;
		background-color: transparent;
		min-width: 0;
		width: calc(100% - 10px);
	}

	.nav-menu li.menu-item-has-children:hover > .sub-menu,
	.nav-menu li.menu-item-has-children:focus-within > .sub-menu,
	.nav-menu li.menu-item-has-children.is-open > .sub-menu,
	.nav-menu li.menu-item-has-children.is-sub-open > .sub-menu {
		display: block;
	}

	.nav-menu .sub-menu li {
		border-bottom: none;
	}

	.nav-menu .sub-menu li a {
		padding: 8px 10px;
		white-space: normal;
	}

    .hero-section,
    .portal-grid,
    .archive-layout-left .portal-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .lead-visual {
        height: 320px;
    }

    .archive-layout-full .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-title a {
        letter-spacing: 0.12em;
    }
    
    .site-description {
        letter-spacing: 0.2em;
    }
}

@media (prefers-reduced-motion: reduce) {
	.nav-menu li a,
	.nav-menu .sub-menu,
	.nav-menu .sub-menu li a,
	.dropdown-arrow,
	.nav-overflow-toggle,
	.burger-icon-wrapper .line {
		transition: none;
	}
}

/* Desktop Hover Activation */
@media (min-width: 861px) {
    .nav-menu li.menu-item-has-children:hover > .sub-menu,
    .nav-menu li.menu-item-has-children:focus-within > .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li.menu-item-has-children:hover > a .dropdown-arrow,
    .nav-menu li.menu-item-has-children:focus-within > a .dropdown-arrow {
        transform: rotate(90deg);
    }
}

/* Mobile & Small Screens (860px and below) */
@media (max-width: 860px) {
    .nav-overflow-toggle,
    .premium-burger {
        display: inline-flex !important;
    }

    .nav-container {
        overflow: visible !important;
        position: relative;
        z-index: 110;
    }

    .main-navigation {
        position: relative;
        z-index: 99999;
        overflow: visible !important;
    }

    .nav-menu {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        padding: 15px 20px;
        gap: 0;
        z-index: 100000;
        overflow: visible !important;
        align-items: flex-start !important;
    }

    .nav-menu.is-expanded {
        display: flex !important;
    }

    .nav-menu li a.active::after {
        display: none;
    }

    .nav-menu li {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .nav-menu li a {
        padding: 10px 0 !important;
        display: flex !important;
        width: 100% !important;
        text-align: left !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    
    .nav-menu > li:last-child > a {
        border-bottom: none;
    }

    .nav-menu .sub-menu {
        position: static !important;
        display: none !important;
        width: 100% !important;
        min-width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 15px !important;
        margin-top: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-direction: column !important;
    }

    .nav-menu li.menu-item-has-children:hover > .sub-menu,
    .nav-menu li.menu-item-has-children:focus-within > .sub-menu,
    .nav-menu .sub-menu.is-sub-expanded {
        display: flex !important;
        flex-direction: column !important;
    }

    .nav-menu .sub-menu li {
        width: 100% !important;
    }

    .nav-menu .sub-menu li a {
        padding: 8px 0 !important;
        font-size: 0.85rem;
        color: var(--text-main);
        text-align: left !important;
        justify-content: flex-start !important;
        width: 100% !important;
        border-bottom: none !important;
    }
}

/* Mobile Devices & Small Tablets (768px and below) */
@media screen and (max-width: 767.98px) {
    .site-header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .header-date-meta {
        order: 2;
    }
    
    .site-branding {
        order: 1;
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .site-title a {
        letter-spacing: 0.08em;
        word-break: break-word;
    }

    .site-description {
        letter-spacing: 0.15em;
        margin-top: 4px;
    }
    
    .header-right-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .portal-sidebar .archives-widget {
        padding: 16px;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .portal-sidebar .archives-widget h3 {
        font-size: 0.95rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .portal-sidebar .archives-widget li {
        padding: 6px 8px;
    }

    .portal-sidebar .archives-widget li a {
        font-size: 0.875rem;
    }

    .pressfore-breadcrumb {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }
    
    .pressfore-breadcrumb .breadcrumb-list {
        padding: 0 0.75rem;
    }
    
    .pressfore-breadcrumb .breadcrumb-item {
        font-size: 0.7rem;
    }
    
    .pressfore-breadcrumb .breadcrumb-current {
        font-size: 0.75rem;
    }

    .site-main,
    .search-main,
    .category-main,
    .author-main,
    .single-main,
    .page-main {
        padding: 24px 15px;
    }

    .hero-section {
        gap: 24px;
        margin-bottom: 35px;
    }

    .lead-visual {
        height: 240px;
    }

    .article-details {
        padding: 20px;
    }

    .article-title,
    .archive-title {
        font-size: 1.4rem;
    }

    .archive-description {
        font-size: 0.95rem;
    }

    .posts-grid,
    .archive-layout-full .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trending-sidebar,
    .portal-sidebar .widget {
        padding: 18px;
    }

    .single-post-container,
    .page-container {
        padding: 24px !important;
    }

    .single-header h1,
    .page-header h1,
    .archive-title {
        font-size: 1.8rem !important;
    }

    .card-img {
        height: 240px !important;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .post-navigation .nav-next .nav-direction {
        justify-content: flex-start;
    }

    .comments-section {
        padding: 24px 15px;
    }

    .comment-reply {
        margin-left: 20px;
    }

    .form-row-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .search-input-wrapper {
        padding: 5px 5px 5px 16px;
    }

    .search-field {
        font-size: 0.9rem;
    }

    .search-submit-btn {
        padding: 10px 22px;
        font-size: 0.8rem;
    }
}

/* Extra Small Phones & Mobile Search Form Layout (576px and below) */
@media (max-width: 576px) {
    .search-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
        padding: 14px;
        gap: 12px;
    }

    .search-icon {
        position: absolute;
        top: 24px;
        left: 20px;
        margin-right: 0;
    }

    .search-field {
        padding: 8px 0 8px 32px;
        font-size: 0.95rem;
    }

    .search-submit-btn {
        width: 100%;
        text-align: center;
        border-radius: 8px;
        padding: 12px;
    }
}

/* 404 Error Page Responsive Media Query (600px and below) */
@media (max-width: 600px) {
    .error-container {
        padding: 35px 20px;
    }

    .error-code {
        font-size: 3.8rem;
    }

    .error-title {
        font-size: 1.7rem;
    }

    .error-description {
        font-size: 0.9rem;
    }

    .error-actions {
        flex-direction: column;
        width: 100%;
    }

    .error-404-section .btn-primary,
    .error-404-section .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Extra Small Phones (480px and below) */
@media (max-width: 480px) {
    .article-title,
    .archive-title {
        font-size: 1.25rem;
    }

    .lead-visual {
        height: 200px;
    }

    .card-title {
        font-size: 1rem;
    }

    .single-header h1,
    .page-header h1,
    .archive-title {
        font-size: 1.45rem !important;
    }

    .single-content-body {
        font-size: 0.98rem;
    }

    .card-img {
        height: 190px !important;
    }

    .page-links {
        gap: 6px;
        font-size: 0.9rem;
    }

    .page-links .post-page-numbers {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.85rem;
    }

    .site-title a {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }

    .site-description {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON — CSS-ONLY VARIABLE-DRIVEN STYLES
   ========================================================================== */

.back-to-top-btn {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 950;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-accent, #b89728) 0%, var(--gold-dark, #997a20) 100%);
	color: #ffffff;
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	box-shadow: var(--shadow-md, 0 12px 28px rgba(0, 0, 0, 0.16));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease,
		transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.25s ease,
		filter 0.2s ease,
		border-color 0.2s ease;
}

.back-to-top-btn[hidden] {
	display: none;
}

.back-to-top-btn.is-visible,
.back-to-top-btn.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top-btn:hover,
.back-to-top-btn:focus-visible {
	outline: none;
	filter: brightness(1.06);
	border-color: var(--gold-light, rgba(253, 248, 226, 0.65));
	box-shadow: var(--shadow-md, 0 16px 32px rgba(0, 0, 0, 0.22));
	transform: translateY(-3px);
}

.back-to-top-btn:focus-visible {
	box-shadow:
		0 0 0 3px var(--bg-surface, #ffffff),
		0 0 0 5px var(--gold-accent, #b89728),
		var(--shadow-md, 0 16px 32px rgba(0, 0, 0, 0.22));
}

.back-to-top-btn:active {
	transform: translateY(-1px) scale(0.97);
}

.back-to-top-btn .btt-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: currentColor;
	transition: transform 0.2s ease;
}

.back-to-top-btn:hover .btt-icon,
.back-to-top-btn:focus-visible .btt-icon {
	transform: translateY(-2px);
}

/* Tooltip Pill */
.back-to-top-btn .btt-tooltip {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	padding: 5px 10px;
	border-radius: 6px;
	background-color: var(--bg-surface, #ffffff);
	color: var(--text-bright, #0f172a);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
	box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.1));
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translate(6px, -50%);
	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.back-to-top-btn:hover .btt-tooltip,
.back-to-top-btn:focus-visible .btt-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translate(0, -50%);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
	.back-to-top-btn {
		right: 16px;
		bottom: 16px;
		width: 42px;
		height: 42px;
	}

	.back-to-top-btn .btt-icon {
		width: 18px;
		height: 18px;
	}

	.back-to-top-btn .btt-tooltip {
		display: none;
	}
}

/* Reduced Motion Guard */
@media (prefers-reduced-motion: reduce) {
	.back-to-top-btn,
	.back-to-top-btn .btt-icon,
	.back-to-top-btn .btt-tooltip {
		transition: none;
	}

	.back-to-top-btn:hover,
	.back-to-top-btn:focus-visible,
	.back-to-top-btn:active,
	.back-to-top-btn:hover .btt-icon,
	.back-to-top-btn:focus-visible .btt-icon {
		transform: none;
	}

	.back-to-top-btn.is-visible,
	.back-to-top-btn.show {
		transform: none;
	}
}

.skip-link .screen-reader-text:focus, .skip-link:focus {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    clip-path: none !important;
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 999999;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

/* ==========================================================================
   FORMS & FORM ELEMENTS — RESPONSIVE, VARIABLE-DRIVEN STYLES
   ========================================================================== */

.pressfore-form,
.comment-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	max-width: 100%;
	color: var(--text-main, #334155);
}

/* Responsive Multi-Column Field Grids */
.form-row-grid,
.form-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.form-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.form-group,
.form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

/* Fieldset & Legend */
fieldset {
	margin: 0;
	padding: 18px 20px;
	background-color: var(--bg-surface, #ffffff);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
	border-radius: 8px;
	min-width: 0;
}

legend {
	padding: 0 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--text-bright, #0f172a);
}

/* Labels, Helper Text & Validation States */
label,
.form-label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: var(--text-bright, #0f172a);
	line-height: 1.4;
}

.required-marker {
	color: var(--gold-dark, #997a20);
	margin-left: 2px;
}

.form-help,
.form-description {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--text-muted, #64748b);
}

.form-error,
.error-message {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--red-badge, #b91c1c);
}

/* Text Inputs, Textareas & Selects */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
select,
textarea {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 14px;
	background-color: var(--bg-main, #f8fafc);
	color: var(--text-bright, #0f172a);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.9375rem;
	line-height: 1.45;
	box-sizing: border-box;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
	color: var(--text-muted, #64748b);
	opacity: 0.85;
}

input:hover:not(:disabled):not([readonly]),
select:hover:not(:disabled),
textarea:hover:not(:disabled):not([readonly]) {
	border-color: var(--gold-accent, #b89728);
}

input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
	outline: none;
	background-color: var(--bg-card, #ffffff);
	border-color: var(--gold-accent, #b89728);
	box-shadow: 0 0 0 3px var(--gold-light, rgba(184, 151, 40, 0.18));
}

input:disabled,
select:disabled,
textarea:disabled,
input[readonly],
textarea[readonly] {
	background-color: var(--bg-surface, #ffffff);
	color: var(--text-muted, #64748b);
	opacity: 0.72;
	cursor: not-allowed;
}

textarea {
	min-height: 120px;
	resize: vertical;
}

/* Custom Select Arrow */
select:not([multiple]) {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 38px;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--text-muted, #64748b) 50%),
		linear-gradient(135deg, var(--text-muted, #64748b) 50%, transparent 50%);
	background-position:
		calc(100% - 16px) calc(50% - 2px),
		calc(100% - 11px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	cursor: pointer;
}

/* Checkboxes & Radio Buttons */
.form-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.form-choice-label,
.comment-form input[type="checkbox"] + label,
.comment-form input[type="radio"] + label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.2px;
	color: var(--text-main, #334155);
	line-height: 1.4;
}

input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	background-color: var(--bg-main, #f8fafc);
	border: 1.5px solid var(--border-color, rgba(0, 0, 0, 0.22));
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

input[type="checkbox"] {
	border-radius: 4px;
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
	background-color: var(--gold-accent, #b89728);
	border-color: var(--gold-accent, #b89728);
}

input[type="checkbox"]:checked::before {
	content: "";
	width: 9px;
	height: 5px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg) translateY(-1px);
}

input[type="radio"]:checked::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #ffffff;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
	outline: none;
	border-color: var(--gold-accent, #b89728);
	box-shadow: 0 0 0 3px var(--gold-light, rgba(184, 151, 40, 0.18));
}

/* File Input */
input[type="file"] {
	padding: 8px 12px;
	font-size: 0.85rem;
	color: var(--text-main, #334155);
	background-color: var(--bg-main, #f8fafc);
	border: 1px dashed var(--border-color, rgba(0, 0, 0, 0.18));
	border-radius: 6px;
	cursor: pointer;
}

input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 6px 12px;
	background-color: var(--bg-card, #ffffff);
	color: var(--text-bright, #0f172a);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
	background-color: var(--gold-light, #fdf8e2);
	border-color: var(--gold-accent, #b89728);
	color: var(--gold-dark, #997a20);
}

/* Range Input */
input[type="range"] {
	width: 100%;
	height: 6px;
	padding: 0;
	background-color: var(--border-color, rgba(0, 0, 0, 0.14));
	border: none;
	border-radius: 999px;
	cursor: pointer;
	accent-color: var(--gold-accent, #b89728);
}

/* Buttons & Submit Controls */
.form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

button[type="submit"],
input[type="submit"],
.btn-submit,
.btn-submit-comment,
.form-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 24px;
	background: linear-gradient(135deg, var(--gold-accent, #b89728) 0%, var(--gold-dark, #997a20) 100%);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.9px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: filter 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-submit:hover,
.btn-submit-comment:hover,
.form-btn-primary:hover,
button[type="submit"]:focus-visible,
input[type="submit"]:focus-visible,
.btn-submit:focus-visible,
.btn-submit-comment:focus-visible,
.form-btn-primary:focus-visible {
	outline: none;
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

button[type="submit"]:active,
input[type="submit"]:active,
.btn-submit:active,
.btn-submit-comment:active,
.form-btn-primary:active {
	transform: translateY(0);
}

.form-btn-secondary,
button[type="reset"],
input[type="reset"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	background-color: var(--bg-surface, #ffffff);
	color: var(--text-bright, #0f172a);
	border: 1px solid var(--border-color, rgba(0, 0, 0, 0.14));
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.form-btn-secondary:hover,
.form-btn-secondary:focus-visible,
button[type="reset"]:hover,
button[type="reset"]:focus-visible,
input[type="reset"]:hover,
input[type="reset"]:focus-visible {
	outline: none;
	background-color: var(--gold-light, #fdf8e2);
	border-color: var(--gold-accent, #b89728);
	color: var(--gold-dark, #997a20);
}

/* Tablet Breakpoint */
@media (max-width: 991.98px) {
	.form-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile Breakpoint */
@media (max-width: 639.98px) {
	.form-row-grid,
	.form-grid-2,
	.form-grid-3 {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	fieldset {
		padding: 14px;
	}

	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="tel"],
	input[type="number"],
	input[type="password"],
	input[type="search"],
	input[type="date"],
	input[type="time"],
	input[type="datetime-local"],
	input[type="month"],
	input[type="week"],
	select,
	textarea {
		font-size: 1rem; /* Prevents unintended mobile zoom on input focus */
	}

	.form-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.form-actions button,
	.form-actions input[type="submit"],
	.form-actions input[type="reset"] {
		width: 100%;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	input,
	select,
	textarea,
	button,
	input[type="checkbox"],
	input[type="radio"],
	input[type="file"]::file-selector-button {
		transition: none;
	}

	button[type="submit"]:hover,
	input[type="submit"]:hover,
	.btn-submit:hover,
	.btn-submit-comment:hover,
	.form-btn-primary:hover,
	button[type="submit"]:focus-visible,
	input[type="submit"]:focus-visible,
	.btn-submit:focus-visible,
	.btn-submit-comment:focus-visible,
	.form-btn-primary:focus-visible {
		transform: none;
	}
}

/* ==========================================================================
   WordPress Core Alignment Classes (Premium Layout)
   ========================================================================== */

.alignnone {
	margin: 0.5rem 0 1.25rem;
}

.aligncenter {
	display: block;
	margin: 1.5rem auto;
	text-align: center;
}

.alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}

.wp-caption {
	max-width: 100%;
	background: var(--bg-surface, #ffffff);
	border: 1px solid var(--border-color, rgba(15, 23, 42, 0.12));
	border-radius: 6px;
	padding: 0.5rem;
	box-shadow: var(--shadow-sm, 0 2px 8px rgba(15, 23, 42, 0.06));
}

.wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.wp-caption-text {
	margin: 0.5rem 0 0.25rem;
	padding: 0 0.25rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--text-muted, #64748b);
	text-align: center;
}

.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;
	clip-path: inset(50%);
}

.current-menu-item > a,
.current-menu-ancestor > a,
.current_page_item > a {
	color: var(--gold-accent, #b89728);
	font-weight: 600;
}

.menu-item a:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--gold-accent, #b89728);
	outline-offset: 2px;
}

.sticky {
	position: relative;
	border-left: 3px solid var(--gold-accent, #b89728);
	background-color: var(--bg-surface, #ffffff);
}

.bypostauthor {
	border-left: 3px solid var(--gold-accent, #b89728);
	background-color: color-mix(in srgb, var(--gold-accent, #b89728) 6%, var(--bg-surface, transparent));
	border-radius: 8px;
}

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

.comment-body {
	padding: 1.25rem 1.5rem;
	margin-bottom: 1rem;
	background: var(--bg-surface, #ffffff);
	border: 1px solid var(--border-color, rgba(15, 23, 42, 0.1));
	border-radius: 8px;
}

.comment-author .avatar {
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 0.625rem;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.75rem;
	margin: 1.25rem 0;
}

.gallery-item {
	margin: 0;
}

.gallery-icon img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

[hidden],
.is-customizer-hidden {
	display: none !important;
}

@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;
	}
}