/*
Theme Name: Astra Child - XGene
Theme URI: https://xgeneconsulting.com
Author: XGene LLC — XGene Enterprise Platform
Author URI: https://xgeneconsulting.com
Template: astra
Version: 2.0.0-rc1j-g1.2-final-s9a5-ws5-article-v2-pilot3-mobile-parity
Text Domain: astra-child-xgene
Description: XGene Stage 9A remediation candidate correcting mega-menu focus return, Article header CTA visibility, and compatibility aliases while preserving the accepted Group 1 baseline.
License: Proprietary — All Rights Reserved
License URI: https://xgeneconsulting.com
Copyright: © 2026 XGene LLC. XGene Enterprise Platform. All rights reserved.
XGene Asset ID: XG-WP-THEME-ASTRA-CHILD-ENTERPRISE-001
XGene Owner: XGene LLC
XGene Platform: XGene Enterprise Platform
*/

.xg-service-archive-wrap,
.xg-service-single-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
}

.xg-service-archive__header h1,
.xg-service-hero__title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #1A2330;
	font-weight: 600;
}

.xg-service-archive__intro,
.xg-service-hero__desc,
.xg-service-card__desc,
.xg-service-content {
	font-family: 'Inter', sans-serif;
	color: #4A5568;
}

.xg-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 32px;
}

.xg-service-card {
	display: block;
	background: #F7F9FB;
	border: 1px solid #D8DCE1;
	border-radius: 8px;
	padding: 24px;
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}

.xg-service-card:hover {
	box-shadow: 0 4px 16px rgba(15, 42, 74, 0.12);
}

.xg-service-card__image img {
	border-radius: 6px;
	margin-bottom: 12px;
}

.xg-service-card__title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #1A2330;
	font-size: 20px;
	margin: 12px 0 8px;
}

.xg-service-card__link {
	color: #1E7A8C;
	font-weight: 600;
	display: inline-block;
	margin-top: 12px;
}

.xg-service-hero {
	text-align: center;
	margin-bottom: 40px;
}

.xg-service-hero__title {
	font-size: 36px;
	margin-bottom: 16px;
}

.xg-service-hero__desc {
	font-size: 18px;
	max-width: 700px;
	margin: 0 auto 24px;
}

.xg-service-cta-btn {
	display: inline-block;
	background: #0F2A4A;
	color: #FFFFFF !important;
	padding: 14px 28px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}

.xg-service-cta-btn:hover {
	background: #1E7A8C;
	color: #FFFFFF !important;
}

.xg-service-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
	justify-content: center;
}

.xg-service-term-group__label {
	font-weight: 600;
	color: #1A2330;
	margin-right: 6px;
}

.xg-service-tag {
	display: inline-block;
	background: #F7F9FB;
	border: 1px solid #D8DCE1;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 13px;
	color: #4A5568;
	margin-right: 4px;
}

.xg-service-content {
	line-height: 1.7;
	margin-bottom: 40px;
}

.xg-service-proof-points {
	background: #F7F9FB;
	border: 1px solid #D8DCE1;
	border-radius: 8px;
	padding: 32px;
	margin-bottom: 40px;
}

.xg-service-proof-points h2 {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #1A2330;
	margin-top: 0;
}

.xg-service-proof-points ul {
	padding-left: 20px;
}

.xg-service-proof-points li {
	margin-bottom: 12px;
	color: #4A5568;
}

.xg-service-cta-footer {
	text-align: center;
	margin-top: 40px;
}

/* Final footer-only responsive and link-presentation corrections. */
body .xg-site-footer .xg-shell {
	width: min(76rem, calc(100% - 2rem));
}

.xg-footer-grid > *,
.xg-footer-bottom > * {
	min-width: 0;
}

.xg-footer-nav {
	align-items: flex-start;
}

body .xg-site-footer .xg-footer-nav a {
	max-width: 100%;
	overflow-wrap: anywhere;
	text-decoration: none;
}

body .xg-site-footer .xg-footer-nav a:hover,
body .xg-site-footer .xg-footer-nav a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 0.09em;
	text-underline-offset: 0.2em;
}

.xg-footer-bottom {
	align-items: flex-start;
}

.xg-footer-bottom a,
.xg-footer-placeholder {
	overflow-wrap: anywhere;
}

/* Article (xg-article) CPT styles */
.xg-article-archive-wrap,
.xg-article-single-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
}

.xg-article-archive__header h1,
.xg-article-hero__title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #1A2330;
	font-weight: 600;
}

.xg-article-archive__intro,
.xg-article-hero__meta,
.xg-article-card__excerpt,
.xg-article-content,
.xg-article-archive__empty {
	font-family: 'Inter', sans-serif;
	color: #4A5568;
}

.xg-article-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.xg-article-filter__link {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid #D8DEE7;
	color: #4A5568;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.xg-article-filter__link:hover,
.xg-article-filter__link.is-active {
	background-color: #1A2330;
	border-color: #1A2330;
	color: #fff;
}

.xg-article-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 28px;
	margin-top: 32px;
}

.xg-article-card {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(26, 35, 48, 0.08);
	text-decoration: none;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.xg-article-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(26, 35, 48, 0.14);
}

.xg-article-card__image {
	width: 100%;
	height: 190px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.xg-article-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.xg-article-card__image--placeholder {
	background: linear-gradient(135deg, #1A2330, #3A4A63);
}

.xg-article-card__body {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.xg-article-card__category,
.xg-article-hero__category {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #2E6E5E;
	background: #E8F3EF;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
	width: fit-content;
}

.xg-article-card__title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #1A2330;
	font-size: 19px;
	font-weight: 600;
	margin: 0 0 10px;
}

.xg-article-card__excerpt {
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 16px;
	flex-grow: 1;
}

.xg-article-card__meta {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	color: #8A94A6;
	margin-bottom: 8px;
}

.xg-article-card__link {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #1A2330;
}

.xg-article-hero {
	text-align: left;
	margin-bottom: 28px;
}

.xg-article-hero__title {
	font-size: 36px;
	margin: 10px 0;
}

.xg-article-hero__meta {
	font-size: 14px;
}

.xg-article-hero__image {
	margin: 24px 0 36px;
	border-radius: 12px;
	overflow: hidden;
}

.xg-article-hero__image img {
	width: 100%;
	height: auto;
	display: block;
}

.xg-article-content {
	font-size: 17px;
	line-height: 1.75;
}

.xg-article-content p {
	margin: 0 0 20px;
}

.xg-article-share {
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid #E2E6ED;
}

.xg-article-share__label {
	font-family: 'Inter', sans-serif;
	color: #4A5568;
	margin-bottom: 14px;
}

.xg-article-back {
	margin-top: 24px;
}

.xg-article-back a {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #4A5568;
	text-decoration: none;
}

/* Enterprise-readiness visual fallbacks and public contact surfaces. */
.xg-service-visual {
	position: relative;
	display: grid;
	min-height: 10.5rem;
	place-items: center;
	margin: -0.1rem -0.1rem 1rem;
	padding: 1.4rem;
	overflow: hidden;
	border: 1px solid rgb(17 93 246 / 12%);
	border-radius: 0.85rem;
	background:
		radial-gradient(circle at 82% 18%, rgb(11 141 150 / 22%), transparent 34%),
		linear-gradient(145deg, var(--xg-sky), var(--xg-white) 58%, var(--xg-aqua));
}

.xg-service-visual--hero {
	min-height: clamp(13rem, 25vw, 21rem);
	max-width: 62rem;
	margin: 0 auto 2rem;
	border-radius: var(--xg-radius-lg);
}

.xg-service-visual__glow {
	position: absolute;
	width: 10rem;
	height: 10rem;
	border-radius: 50%;
	background: rgb(17 93 246 / 9%);
	filter: blur(1px);
	transform: translate(58%, -38%);
}

.xg-service-visual__icon {
	position: relative;
	z-index: 1;
	width: 3.25rem;
	height: 3.25rem;
	color: var(--xg-deep-blue);
	fill: currentColor;
}

.xg-service-visual--hero .xg-service-visual__icon {
	width: clamp(4rem, 7vw, 6rem);
	height: clamp(4rem, 7vw, 6rem);
}

.xg-service-visual__label {
	position: absolute;
	right: 1rem;
	bottom: 0.8rem;
	left: 1rem;
	color: var(--xg-navy);
	font-family: var(--xg-font-sans);
	font-size: 0.72rem;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: 0.07em;
	text-align: center;
	text-transform: uppercase;
	opacity: 0.72;
}

.xg-business-contact {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(14rem, 0.7fr);
	gap: 1.5rem;
	margin-top: 2rem;
	padding: 1.35rem 1.5rem;
	border-top: 1px solid var(--xg-line);
	border-radius: 0 0 var(--xg-radius) var(--xg-radius);
	background: linear-gradient(135deg, var(--xg-sky), var(--xg-white));
}

.xg-business-contact h2,
.xg-business-contact p {
	margin: 0;
}

.xg-business-contact h2 {
	color: var(--xg-navy);
	font-size: 1.05rem;
}

.xg-business-contact__eyebrow {
	margin-bottom: 0.25rem !important;
	color: var(--xg-teal);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.xg-business-contact__names,
.xg-business-contact__location,
.xg-business-contact__action p {
	margin-top: 0.3rem !important;
	color: var(--xg-muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

.xg-business-contact__action {
	align-self: center;
}

.xg-business-contact__action a {
	color: var(--xg-deep-blue);
	font-weight: 750;
	overflow-wrap: anywhere;
}

.xg-footer-legal {
	overflow-wrap: anywhere;
}

@media (max-width: 700px) {
	.xg-business-contact {
		grid-template-columns: 1fr;
	}
}


/* --------------------------------------------------------------------------
   STAGE 9 RC1e — EARLY MOBILE VISUAL SUPPRESSION
   Loaded in the child stylesheet before the legacy animation layers. This
   prevents desktop semantic diagrams from painting briefly on mobile/tablet.
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  [data-xg-desktop-visual],
  [data-xg-animation-slot][data-xg-animation-desktop-only="1"],
  [data-xg-animate-diagram],
  [data-xg-pathway],
  [data-xg-motion-scene],
  [data-xg-semantic-motion],
  [data-xg121-topic-motion],
  [data-xg190-graph],
  [data-xg111-media-visual],
  .xg-life-science-flow,.xg-about-system,.xg-audience-orbit,.xg-methodology-visual,
  .xg-contact-signal,.xg-book-visual,.xg-service-motion,.xg-service-lifecycle,
  .xg-editorial-flow,.xg-editorial-cover__visual,.xg120-semantic-motion,
  .xg121-topic-motion,.xg190-graph,.xg190-evidence-flow,.xg111-media-stage,
  .xg111-media-visual,.xg-hub-signal,.xg-services-map,.xg-reg-center-visual,
  .xg-evidence-visual,.xg-expert-judgment,.xg-expert-archive-visual,.xg-404-dog-scene {
    display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;
    max-height:0!important;margin:0!important;padding:0!important;border:0!important;
    overflow:hidden!important;pointer-events:none!important;
  }
}
