/* ==========================================================================
   UTILITIES (Tailwind-inspired)
   ========================================================================== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }
.text-center { text-align: center; }
.text-secondary { color: var(--nx-text-secondary); }
.w-full { width: 100%; }
.mx-auto { margin-inline: auto; }
.container {
	width: min(100% - 2rem, var(--nx-wide-max));
	margin-inline: auto;
}
.container--narrow { width: min(100% - 2rem, var(--nx-content-max)); }

.wp-site-blocks {
	background: #050505;
	color: var(--nx-text-primary);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.15;
	color: var(--nx-text-primary);
	margin-block: 0 0.75em;
}
h1, .is-style-h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2, .is-style-h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3, .is-style-h3 { font-size: clamp(2rem, 4vw, 3rem); }
.text-small { font-size: 14px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.nexus-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--nx-header-height);
	transition: var(--nx-transition);
	background: transparent;
}
.nexus-header--solid,
.home .nexus-header,
.nexus-front-page .nexus-header {
	background: rgba(5, 5, 5, 0.98);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--nx-border);
}
.nexus-btn--subscribe {
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	font-size: 0.9375rem;
}
.nexus-header .wp-block-navigation-item.is-active .wp-block-navigation-item__content,
.nexus-header .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	color: var(--nx-orange) !important;
}
.nexus-header .wp-block-navigation-item.is-active .wp-block-navigation-item__content::after,
.nexus-header .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after {
	content: '';
	display: block;
	height: 2px;
	background: var(--nx-orange);
	margin-top: 4px;
	box-shadow: 0 0 8px var(--nx-glow-orange);
}
.nexus-header.is-scrolled {
	height: 68px;
	background: rgba(5, 5, 5, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--nx-border);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Push all page/post content below the fixed navbar */
.wp-site-blocks > main {
	padding-top: calc(var(--nx-header-height) + 2rem);
}

.wp-site-blocks > main:has(.nexus-hero),
.wp-site-blocks > main.nexus-home,
.wp-site-blocks > main.nexus-404 {
	padding-top: 0;
}
.nexus-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 100%;
	gap: 1rem;
	padding-inline: clamp(1rem, 4vw, 2rem);
}
.nexus-header__logo {
	justify-self: start;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--nx-text-primary);
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 1.125rem;
	text-decoration: none;
}
.nexus-header__logo:hover { color: var(--nx-text-primary); }
.nexus-header__logo-text {
	display: inline-flex;
	align-items: baseline;
	gap: 0.3rem;
}
.nexus-header__logo-nexus {
	color: var(--nx-text-primary);
}
.nexus-header__logo-tech {
	color: var(--nx-orange);
	text-shadow: 0 0 20px rgba(255, 122, 0, 0.35);
}
.nexus-header__logo svg {
	width: 40px;
	height: 40px;
	min-width: 40px;
	flex-shrink: 0;
	max-width: none;
	transition: var(--nx-transition);
}
.nexus-mobile-nav__head .nexus-header__logo {
	font-size: 1rem;
}
.nexus-mobile-nav__head .nexus-header__logo svg {
	width: 36px;
	height: 36px;
	min-width: 36px;
}
.nexus-header__logo:hover svg {
	filter: drop-shadow(0 0 12px var(--nx-glow-orange));
}
.nexus-nav {
	justify-self: center;
	display: none;
}
.nexus-nav__list {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nexus-nav__link {
	position: relative;
	color: var(--nx-text-secondary);
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 500;
	font-size: 0.9375rem;
	padding-block: 0.25rem;
}
.nexus-nav__link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: var(--nx-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: var(--nx-transition);
	box-shadow: 0 0 8px var(--nx-glow-orange);
}
.nexus-nav__link:hover,
.nexus-nav__link.is-active {
	color: var(--nx-text-primary);
}
.nexus-nav__link:hover::after,
.nexus-nav__link.is-active::after { transform: scaleX(1); }
.nexus-nav__link.is-active { color: var(--nx-green); }
.nexus-header__actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.nexus-header__search,
.nexus-header__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	border: 1px solid var(--nx-border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--nx-text-primary);
	cursor: pointer;
	transition: var(--nx-transition);
}
.nexus-header__search:hover,
.nexus-header__menu-toggle:hover {
	border-color: rgba(255, 122, 0, 0.4);
	box-shadow: 0 0 20px var(--nx-glow-orange);
}
@media (min-width: 992px) {
	.nexus-nav { display: block; }
	.nexus-header__menu-toggle { display: none; }
}

/* Mobile menu */
.nexus-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 1100;
	visibility: hidden;
	pointer-events: none;
}
.nexus-mobile-nav.is-open {
	visibility: visible;
	pointer-events: auto;
}
.nexus-mobile-nav__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.nexus-mobile-nav.is-open .nexus-mobile-nav__overlay { opacity: 1; }
.nexus-mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(88vw, 360px);
	height: 100%;
	background: var(--nx-bg-secondary);
	border-left: 1px solid var(--nx-border);
	padding: 1.5rem;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
}
.nexus-mobile-nav.is-open .nexus-mobile-nav__panel { transform: translateX(0); }
.nexus-mobile-nav__list {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.nexus-mobile-nav__link {
	display: block;
	padding: 1rem;
	border-radius: 16px;
	color: var(--nx-text-primary);
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 1.125rem;
	transition: var(--nx-transition);
}
.nexus-mobile-nav__link:hover,
.nexus-mobile-nav__link.is-active {
	background: rgba(0, 210, 106, 0.08);
	color: var(--nx-green);
}

/* Search modal */
.nexus-search-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 12vh;
	background: rgba(13, 17, 23, 0.92);
	backdrop-filter: blur(12px);
	opacity: 0;
	visibility: hidden;
	transition: var(--nx-transition);
}
.nexus-search-modal.is-open {
	opacity: 1;
	visibility: visible;
}
.nexus-search-modal__inner {
	width: min(92vw, 640px);
}
.nexus-search-modal__input-wrap {
	position: relative;
}
.nexus-search-modal__input {
	width: 100%;
	padding: 1.125rem 1.25rem 1.125rem 3rem;
	font-size: 1.125rem;
	border-radius: var(--nx-radius-input);
	border: 1px solid var(--nx-border);
	background: var(--nx-surface-elevated);
	color: var(--nx-text-primary);
	transition: var(--nx-transition);
}
.nexus-search-modal__input:focus {
	border-color: var(--nx-orange);
	box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
	outline: none;
}
.nexus-search-modal__icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--nx-text-secondary);
}
.nexus-search-results {
	margin-top: 1rem;
	max-height: 50vh;
	overflow-y: auto;
}
.nexus-search-result {
	display: block;
	padding: 1rem;
	border-radius: 16px;
	border: 1px solid transparent;
	transition: var(--nx-transition);
}
.nexus-search-result:hover {
	background: var(--nx-surface-elevated);
	border-color: var(--nx-border);
}
.nexus-search-result__title {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	color: var(--nx-text-primary);
	margin: 0 0 0.25rem;
}
.nexus-search-result__meta {
	font-size: 14px;
	color: var(--nx-text-secondary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.nexus-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	border-radius: var(--nx-radius-button);
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	border: none;
	cursor: pointer;
	transition: var(--nx-transition);
	text-decoration: none;
}
.nexus-btn--primary,
.wp-block-button:not(.is-style-nexus-secondary):not(.is-style-nexus-ghost) .wp-block-button__link {
	background: linear-gradient(135deg, var(--nx-orange), var(--nx-orange-hover));
	color: #fff;
	box-shadow: 0 4px 20px rgba(255, 122, 0, 0.25);
}
.nexus-btn--primary:hover,
.wp-block-button:not(.is-style-nexus-secondary):not(.is-style-nexus-ghost) .wp-block-button__link:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 32px var(--nx-glow-orange);
	color: #fff;
}
.nexus-btn--primary:active { transform: translateY(0) scale(0.98); }
.nexus-btn--secondary,
.is-style-nexus-secondary .wp-block-button__link {
	background: transparent;
	color: var(--nx-green);
	border: 1px solid var(--nx-green);
}
.nexus-btn--secondary:hover,
.is-style-nexus-secondary .wp-block-button__link:hover {
	background: rgba(0, 210, 106, 0.08);
	box-shadow: 0 0 24px var(--nx-glow-green);
	color: var(--nx-green-hover);
}
.nexus-btn--ghost,
.is-style-nexus-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, 0.04);
	color: var(--nx-text-primary);
	border: 1px solid var(--nx-border);
}
.nexus-btn--outline {
	background: rgba(22, 27, 34, 0.8);
	color: var(--nx-text-primary);
	border: 1px solid var(--nx-border);
	gap: 0.5rem;
}
.nexus-btn--outline:hover {
	border-color: rgba(255, 255, 255, 0.2);
	background: var(--nx-surface-elevated);
	color: var(--nx-text-primary);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.nexus-btn--primary {
	gap: 0.5rem;
}
.nexus-btn--icon {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 14px;
}
.nexus-btn--ripple { position: relative; overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.nexus-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	padding: calc(var(--nx-header-height) + 3rem) 0 4rem;
	background: #050505;
	overflow: hidden;
}
.nexus-hero__mesh {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
}
.nexus-hero__mesh::before,
.nexus-hero__mesh::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	animation: nexus-glow-pulse 8s ease-in-out infinite;
}
.nexus-hero__mesh::before {
	width: 480px;
	height: 480px;
	top: 5%;
	right: 5%;
	background: var(--nx-glow-orange);
	opacity: 0.7;
}
.nexus-hero__mesh::after {
	width: 420px;
	height: 420px;
	bottom: 10%;
	left: 0;
	background: var(--nx-glow-green);
	opacity: 0.55;
	animation-delay: -4s;
}
.nexus-hero__grid {
	display: grid;
	gap: 3rem;
	align-items: center;
	position: relative;
	z-index: 1;
}
@media (min-width: 992px) {
	.nexus-hero__grid { grid-template-columns: 1fr 1fr; }
}
.nexus-hero__title {
	font-size: clamp(2.5rem, 5.5vw, 4.25rem);
	margin-bottom: 1.25rem;
	line-height: 1.08;
	font-weight: 700;
	color: var(--nx-text-primary) !important;
}
.nexus-hero h1.nexus-hero__title,
.nexus-hero .nexus-hero__title {
	color: var(--nx-text-primary) !important;
}
.nexus-hero__word-orange,
.nexus-hero h1 .nexus-hero__word-orange,
.nexus-hero .nexus-hero__title .nexus-hero__word-orange {
	color: #FF7A00 !important;
	-webkit-text-fill-color: #FF7A00 !important;
	background: none !important;
}
.nexus-hero__word-green,
.nexus-hero h1 .nexus-hero__word-green,
.nexus-hero .nexus-hero__title .nexus-hero__word-green {
	background: linear-gradient(135deg, #00D26A 0%, #22F38A 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
}
.nexus-hero__badge,
.nexus-hero p.nexus-hero__badge {
	color: #FF7A00 !important;
	border-color: rgba(255, 122, 0, 0.45) !important;
	background: rgba(255, 122, 0, 0.1) !important;
}
.nexus-hero__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #FF7A00 !important;
	box-shadow: 0 0 10px rgba(255, 122, 0, 0.5);
}
.nexus-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.875rem;
	margin-bottom: 1.25rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: 'Space Grotesk', sans-serif;
}
.nexus-hero__subtitle {
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	color: #B0B0B0;
	max-width: 520px;
	margin-bottom: 2rem;
	line-height: 1.65;
}
.nexus-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.nexus-hero__actions .nexus-btn--outline {
	background: transparent;
	border: 1px solid rgba(0, 210, 106, 0.55);
	color: #FFFFFF;
}
.nexus-hero__actions .nexus-btn--outline:hover {
	border-color: var(--nx-green);
	background: rgba(0, 210, 106, 0.08);
	color: #FFFFFF;
	box-shadow: 0 0 24px rgba(0, 210, 106, 0.2);
}
.nexus-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--nx-border);
}
.nexus-hero__stat {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--nx-text-secondary);
	font-size: 0.875rem;
}
.nexus-hero__stat svg {
	color: var(--nx-orange);
	flex-shrink: 0;
}
.nexus-hero__stat:nth-child(2) svg { color: var(--nx-green); }
.nexus-hero__stat strong {
	color: var(--nx-text-primary);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	font-weight: 700;
}
.nexus-hero__stat span { opacity: 0.85; }
.nexus-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
}
.nexus-hero__globe-wrap {
	position: relative;
	width: min(100%, 440px);
	aspect-ratio: 1;
	animation: nexus-float 7s ease-in-out infinite;
}
.nexus-hero__globe {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter:
		drop-shadow(0 0 80px rgba(255, 122, 0, 0.45))
		drop-shadow(0 0 100px rgba(0, 255, 102, 0.35))
		drop-shadow(0 0 40px rgba(0, 210, 106, 0.25));
}
.nexus-hero__globe-wrap::before {
	content: '';
	position: absolute;
	inset: -15%;
	background: radial-gradient(circle at 30% 70%, rgba(0, 255, 102, 0.5) 0%, transparent 55%);
	opacity: 0.6;
	pointer-events: none;
}
.nexus-hero__globe-wrap::after {
	content: '';
	position: absolute;
	inset: -15%;
	background: radial-gradient(circle at 75% 25%, rgba(255, 122, 0, 0.55) 0%, transparent 50%);
	opacity: 0.65;
	pointer-events: none;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.nexus-cards-grid {
	display: block;
}
.nexus-cards-grid > .wp-block-post-template,
.nexus-cards-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}
.nexus-cards-grid .wp-block-post-template > li,
.nexus-cards-grid .wp-block-post-template > .wp-block-post {
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.nexus-card {
	background: var(--nx-surface-card);
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius-card);
	overflow: hidden;
	transition: var(--nx-transition);
	box-shadow: var(--nx-shadow-card);
	height: 100%;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.nexus-card:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 122, 0, 0.3);
	box-shadow: var(--nx-shadow-card), 0 0 40px rgba(255, 122, 0, 0.12);
}
.nexus-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.nexus-card__link:hover { color: inherit; }
.nexus-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	width: 100%;
	max-height: 220px;
	flex-shrink: 0;
}
.nexus-card__media img,
.nexus-card__media .nexus-picture__img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nexus-card:hover .nexus-card__media img,
.nexus-card:hover .nexus-card__media .nexus-picture__img {
	transform: scale(1.05);
}

/* WordPress post-featured-image block inside cards */
.nexus-card .wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	width: 100%;
	max-height: 220px;
	flex-shrink: 0;
	line-height: 0;
}
.nexus-card .wp-block-post-featured-image a {
	display: block;
	width: 100%;
	height: 100%;
}
.nexus-card .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nexus-card:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}
.nexus-card__body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.nexus-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--nx-surface-elevated), var(--nx-bg-primary));
}
.nexus-badge {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	font-family: 'Space Grotesk', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.nexus-badge--orange {
	background: rgba(255, 122, 0, 0.15);
	color: var(--nx-orange);
	border: 1px solid rgba(255, 122, 0, 0.3);
}
.nexus-badge--green {
	background: rgba(0, 210, 106, 0.12);
	color: var(--nx-green);
	border: 1px solid rgba(0, 210, 106, 0.3);
}
.nexus-badge--on-image,
.nexus-card__media-wrap .nexus-badge,
.nexus-card__media-wrap .wp-block-post-terms {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	margin: 0 !important;
}
.nexus-card__media-wrap .wp-block-post-terms a {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	font-family: 'Space Grotesk', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	background: rgba(13, 17, 23, 0.75);
	border: 1px solid rgba(255, 122, 0, 0.45);
	color: var(--nx-orange);
	backdrop-filter: blur(8px);
}
.nexus-card--home:nth-child(3n+2) .nexus-card__media-wrap .wp-block-post-terms a {
	border-color: rgba(0, 210, 106, 0.45);
	color: var(--nx-green);
}
.nexus-card__media-wrap {
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}
.nexus-home__articles {
	padding: 2rem 0 4rem;
}
.nexus-cards-grid--home {
	margin-top: 0;
}
.nexus-cards-grid--home .wp-block-post-template {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 991px) {
	.nexus-cards-grid--home .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.nexus-cards-grid--home .wp-block-post-template {
		grid-template-columns: 1fr;
	}
}
.nexus-card--home .nexus-card__meta-row .nexus-card__readtime::before {
	content: '•';
	margin: 0 0.75rem;
	opacity: 0.45;
}
.nexus-card--home .nexus-card__meta-row {
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 13px;
	color: var(--nx-text-secondary);
	margin-bottom: 0.75rem;
}
.nexus-card__readmore {
	display: inline-flex !important;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
	padding-top: 1rem;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 0.9375rem;
	color: #FF7A00 !important;
	text-decoration: none !important;
	transition: var(--nx-transition);
	visibility: visible !important;
	opacity: 1 !important;
}
.nexus-cards-grid--home .wp-block-post-template > li:nth-child(3n+2) .nexus-card__readmore {
	color: #00D26A !important;
}
.nexus-cards-grid--home .wp-block-post-template > li:nth-child(3n+2) .nexus-card__readmore:hover {
	color: #22F38A !important;
}
.nexus-card__readmore-arrow {
	display: inline-block;
	transition: transform 0.25s ease;
}
.nexus-card__readmore:hover {
	gap: 0.55rem;
	filter: brightness(1.15);
}
.nexus-card__readmore:hover .nexus-card__readmore-arrow {
	transform: translateX(3px);
}
.nexus-card--home:nth-child(3n+2) .nexus-card__readmore {
	color: var(--nx-green);
}
.nexus-card--home {
	background: linear-gradient(180deg, #161B22 0%, #0D1117 100%);
}
.nexus-card__media .nexus-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
}
.nexus-card__meta {
	display: flex;
	gap: 1rem;
	font-size: 14px;
	color: var(--nx-text-secondary);
	margin-bottom: 0.75rem;
}
.nexus-card__title,
.nexus-card h2.nexus-card__title,
.nexus-card .wp-block-post-title,
.nexus-card .wp-block-post-title a {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
	transition: var(--nx-transition);
	color: #FFFFFF;
}
.nexus-card:hover .nexus-card__title,
.nexus-card:hover h2.nexus-card__title,
.nexus-card:hover .wp-block-post-title a { color: var(--nx-orange); }
.nexus-card__excerpt {
	font-size: 0.9375rem;
	color: var(--nx-text-secondary);
	margin: 0 0 1rem;
}
.nexus-card__author {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 14px;
	color: var(--nx-text-secondary);
}
.nexus-card__avatar { border-radius: 50%; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.nexus-layout-with-sidebar {
	display: grid;
	gap: 2rem;
	padding-block: 2rem;
}
@media (min-width: 992px) {
	.nexus-layout-with-sidebar {
		grid-template-columns: 1fr 320px;
		align-items: start;
	}
}
.nexus-sidebar {
	position: sticky;
	top: calc(var(--nx-header-height) + 1.5rem);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.nexus-widget,
.is-style-nexus-glass,
.is-style-nexus-card {
	background: rgba(22, 27, 34, 0.75);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius-card);
	padding: 1.5rem;
	box-shadow: var(--nx-shadow-card);
}
.nexus-widget__title {
	font-size: 1rem;
	margin: 0 0 1rem;
	font-family: 'Space Grotesk', sans-serif;
}
.nexus-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.nexus-newsletter-form input[type="email"] {
	padding: 0.875rem 1rem;
	border-radius: var(--nx-radius-input);
	border: 1px solid var(--nx-border);
	background: var(--nx-bg-primary);
	color: var(--nx-text-primary);
	font-size: 1rem;
}
.nexus-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nexus-tag {
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	font-size: 13px;
	border: 1px solid var(--nx-border);
	color: var(--nx-text-secondary);
	transition: var(--nx-transition);
}
.nexus-tag:hover {
	border-color: var(--nx-green);
	color: var(--nx-green);
	box-shadow: 0 0 16px var(--nx-glow-green);
}
.nexus-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nexus-toc__item a {
	display: block;
	padding: 0.5rem 0;
	color: var(--nx-text-secondary);
	font-size: 14px;
	border-left: 2px solid transparent;
	padding-left: 0.75rem;
	transition: var(--nx-transition);
}
.nexus-toc__item a:hover,
.nexus-toc__item a.is-active {
	color: var(--nx-green);
	border-left-color: var(--nx-green);
}
.nexus-toc__item--h3 a { padding-left: 1.5rem; }

/* ==========================================================================
   ARTICLE
   ========================================================================== */
.nexus-article {
	padding-top: calc(var(--nx-header-height) + 2rem);
}
.nexus-article__header {
	margin-bottom: 2rem;
}
.nexus-article__featured {
	border-radius: var(--nx-radius-card);
	overflow: hidden;
	margin-bottom: 2rem;
	border: 1px solid var(--nx-border);
}
.nexus-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	font-size: 14px;
	color: var(--nx-text-secondary);
	margin-bottom: 1rem;
}
.nexus-article__content {
	max-width: var(--nx-content-max);
}
.nexus-article__content p { margin-bottom: 1.5em; }
.nexus-article__content img {
	border-radius: 16px;
	margin-block: 2rem;
}
.nexus-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	font-size: 14px;
}
.nexus-breadcrumbs li:not(:last-child)::after {
	content: '/';
	margin-left: 0.5rem;
	color: var(--nx-text-secondary);
}
.nexus-breadcrumbs a { color: var(--nx-text-secondary); }
.nexus-breadcrumbs a:hover { color: var(--nx-orange); }

/* Code blocks */
.nexus-code-block,
.wp-block-code,
pre.wp-block-code {
	position: relative;
	background: #0B1220 !important;
	border: 1px solid var(--nx-border);
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	overflow-x: auto;
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.9375rem;
	line-height: 1.6;
}
.nexus-code-block__copy {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	padding: 0.375rem 0.75rem;
	border-radius: 10px;
	border: 1px solid var(--nx-border);
	background: var(--nx-surface-elevated);
	color: var(--nx-text-secondary);
	font-size: 12px;
	cursor: pointer;
	transition: var(--nx-transition);
}
.nexus-code-block__copy:hover {
	color: var(--nx-green);
	border-color: var(--nx-green);
}

/* Author box */
.nexus-author-box {
	display: flex;
	gap: 1.25rem;
	padding: 1.5rem;
	border-radius: var(--nx-radius-card);
	border: 1px solid var(--nx-border);
	background: var(--nx-surface-card);
	margin-block: 3rem;
}
.nexus-author-box__avatar img,
.nexus-author-box .wp-block-avatar img,
.nexus-article__meta .wp-block-post-author__avatar img {
	border-radius: 50%;
	object-fit: cover;
}
.nexus-author-box__name {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

/* Share buttons */
.nexus-share {
	display: flex;
	gap: 0.75rem;
	margin-block: 2rem;
}
.nexus-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	border: 1px solid var(--nx-border);
	background: var(--nx-surface-elevated);
	color: var(--nx-text-secondary);
	transition: var(--nx-transition);
}
.nexus-share__btn:hover {
	color: var(--nx-orange);
	border-color: var(--nx-orange);
	box-shadow: 0 0 20px var(--nx-glow-orange);
	transform: translateY(-2px);
}

/* Post navigation */
.nexus-post-nav {
	display: grid;
	gap: 1rem;
	margin-block: 3rem;
}
@media (min-width: 768px) {
	.nexus-post-nav { grid-template-columns: 1fr 1fr; }
}
.nexus-post-nav__link {
	padding: 1.25rem;
	border-radius: var(--nx-radius-card);
	border: 1px solid var(--nx-border);
	background: var(--nx-surface-card);
	transition: var(--nx-transition);
}
.nexus-post-nav__link:hover {
	border-color: var(--nx-green);
	box-shadow: 0 0 24px var(--nx-glow-green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nexus-footer {
	margin-top: 4rem;
	background: var(--nx-bg-secondary);
	border-top: 1px solid var(--nx-border);
	position: relative;
}
.nexus-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--nx-orange), var(--nx-green), transparent);
}
.nexus-footer__grid {
	display: grid;
	gap: 2rem;
	padding: 4rem 0 2rem;
}
@media (min-width: 768px) {
	.nexus-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
	.nexus-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}
.nexus-footer__brand p {
	color: var(--nx-text-secondary);
	max-width: 320px;
}
.nexus-footer__title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	margin: 0 0 1rem;
}
.nexus-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nexus-footer__links li { margin-bottom: 0.625rem; }
.nexus-footer__links a {
	color: var(--nx-text-secondary);
	transition: var(--nx-transition);
}
.nexus-footer__links a:hover {
	color: var(--nx-orange);
	padding-left: 4px;
}
.nexus-footer__social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}
.nexus-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--nx-border);
	color: var(--nx-text-secondary);
	transition: var(--nx-transition);
}
.nexus-footer__social a:hover {
	color: var(--nx-green);
	border-color: var(--nx-green);
	box-shadow: 0 0 20px var(--nx-glow-green);
	transform: translateY(-3px);
}
.nexus-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 0 2rem;
	border-top: 1px solid var(--nx-border);
	font-size: 14px;
	color: var(--nx-text-secondary);
}

/* ==========================================================================
   SPECIAL UI
   ========================================================================== */
.nexus-fab-group {
	position: fixed;
	bottom: 5rem;
	right: 1.25rem;
	z-index: 900;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.nexus-fab {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--nx-border);
	background: var(--nx-surface-elevated);
	color: var(--nx-text-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--nx-shadow-card);
	transition: var(--nx-transition);
}
.nexus-fab:hover {
	border-color: var(--nx-orange);
	box-shadow: 0 0 24px var(--nx-glow-orange);
	transform: translateY(-3px);
}
.nexus-back-to-top {
	opacity: 0;
	visibility: hidden;
}
.nexus-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}
.nexus-mobile-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 800;
	display: flex;
	justify-content: space-around;
	padding: 0.625rem;
	background: rgba(13, 17, 23, 0.95);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--nx-border);
}
@media (min-width: 768px) {
	.nexus-mobile-bottom-nav { display: none; }
}
.nexus-mobile-bottom-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	font-size: 11px;
	color: var(--nx-text-secondary);
	padding: 0.5rem;
}
.nexus-mobile-bottom-nav a.is-active,
.nexus-mobile-bottom-nav a:hover { color: var(--nx-green); }
.nexus-mobile-bottom-nav svg { width: 22px; height: 22px; }

@media (max-width: 767px) {
	body { padding-bottom: 4.5rem; }
}

.nexus-search-page__form,
.nexus-search-page .wp-block-search {
	margin-top: 1.5rem;
}
.nexus-search-page .wp-block-search__inside-wrapper {
	display: flex;
	gap: 0.75rem;
}
.nexus-search-page .wp-block-search__input {
	flex: 1;
	padding: 0.875rem 1.125rem;
	border-radius: var(--nx-radius-input);
	border: 1px solid var(--nx-border);
	background: var(--nx-bg-secondary);
	color: var(--nx-text-primary);
	font-size: 1rem;
}
.nexus-search-page .wp-block-search__button {
	padding: 0.875rem 1.5rem;
	border-radius: var(--nx-radius-button);
	background: var(--nx-orange);
	color: #fff;
	border: none;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	cursor: pointer;
}
.nexus-search-page .wp-block-search__button:hover {
	background: var(--nx-orange-hover);
}

/* Newsletter popup */
.nexus-popup {
	position: fixed;
	inset: 0;
	z-index: 1300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.7);
	opacity: 0;
	visibility: hidden;
	transition: var(--nx-transition);
}
.nexus-popup.is-open { opacity: 1; visibility: visible; }
.nexus-popup__card {
	width: min(92vw, 480px);
	padding: 2rem;
	border-radius: var(--nx-radius-card);
	background: var(--nx-bg-secondary);
	border: 1px solid var(--nx-border);
	box-shadow: var(--nx-shadow-card), 0 0 60px var(--nx-glow-orange);
	transform: translateY(20px);
	transition: var(--nx-transition);
}
.nexus-popup.is-open .nexus-popup__card { transform: translateY(0); }

/* 404 */
.nexus-404 {
	min-height: 70vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: calc(var(--nx-header-height) + 2rem) 1rem 4rem;
}
.nexus-404__code {
	font-size: clamp(6rem, 15vw, 10rem);
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(135deg, var(--nx-orange), var(--nx-green));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes nexus-glow-pulse {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50% { opacity: 0.8; transform: scale(1.1); }
}
@keyframes nexus-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
.nexus-fade-up {
	opacity: 0;
	transform: translateY(24px);
	animation: nexus-fade-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	animation-play-state: paused;
}
.nexus-fade-up.is-inview {
	animation-play-state: running;
}
@keyframes nexus-fade-up {
	to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
}

.nexus-card__readtime-placeholder { display: none; }

/* Hide publish dates site-wide (fallback for customized templates) */
.wp-block-post-date,
.nexus-card__date,
.nexus-article__meta .wp-block-post-date,
time.wp-block-post-date {
	display: none !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 576px) {
	body { font-size: 16px; }
	.nexus-hero { min-height: auto; padding-bottom: 6rem; }
	.nexus-cards-grid { grid-template-columns: 1fr; }
	.nexus-cards-grid .wp-block-post-template {
		grid-template-columns: 1fr;
	}
	.nexus-card .wp-block-post-featured-image,
	.nexus-card__media {
		max-height: 200px;
	}
}
@media (min-width: 577px) and (max-width: 991px) {
	.nexus-card .wp-block-post-featured-image,
	.nexus-card__media {
		max-height: 210px;
	}
}
@media (min-width: 992px) {
	.nexus-card .wp-block-post-featured-image,
	.nexus-card__media {
		max-height: 220px;
	}
}
@media (max-width: 768px) {
	.nexus-sidebar { position: static; }
	.nexus-fab-group { bottom: 5.5rem; }
}
@media (min-width: 1440px) {
	.container { width: min(100% - 4rem, 1320px); }
}

/* WordPress block editor alignment */
.alignwide { max-width: var(--nx-wide-max); margin-inline: auto; }
.alignfull { width: 100%; max-width: none; }
.wp-block-post-content { padding-bottom: 2rem; }

/* Comments */
.nexus-comments {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--nx-border);
}
.comment-list { list-style: none; padding: 0; }
.comment-body {
	padding: 1.25rem;
	margin-bottom: 1rem;
	border-radius: 16px;
	border: 1px solid var(--nx-border);
	background: var(--nx-surface-card);
}

/* Infinite scroll */
.nexus-load-more-wrap { text-align: center; margin-top: 2rem; }

/* Sticky CTA */
.nexus-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 850;
	padding: 1rem;
	background: linear-gradient(180deg, transparent, rgba(13, 17, 23, 0.95));
	transform: translateY(100%);
	transition: var(--nx-transition);
}
.nexus-sticky-cta.is-visible { transform: translateY(0); }
@keyframes nexus-ripple {
	to { transform: scale(2.5); opacity: 0; }
}

/* WordPress Navigation block in header */
.nexus-header .wp-block-navigation {
	justify-self: center;
}
.nexus-header .wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	color: #D4D4D4;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 500;
	font-size: 0.9375rem;
	padding-block: 0.25rem;
	transition: var(--nx-transition);
}
.nexus-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--nx-text-primary);
}
.nexus-header .wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
	color: var(--nx-green);
}
@media (max-width: 991px) {
	.nexus-header .wp-block-navigation { display: none; }
}
@media (min-width: 992px) {
	.nexus-header .wp-block-navigation { display: flex; }
}

/* Hidden utility for responsive */
@media (min-width: 992px) {
	.md\:inline-flex { display: inline-flex !important; }
}
@media (max-width: 991px) {
	.hidden { display: none !important; }
}

@media (min-width: 768px) {
	.nexus-sticky-cta {
		left: auto;
		right: 1.5rem;
		bottom: 1.5rem;
		width: auto;
		background: var(--nx-surface-elevated);
		border: 1px solid var(--nx-border);
		border-radius: var(--nx-radius-card);
		padding: 1rem 1.5rem;
	}
}
