/**
 * Gemini Tech Services — Theme Stylesheet
 * @package GTS_Theme
 * @since 1.0.0
 */

/* Custom Properties */
:root {
	--gts-header-height: 110px;
	--gts-transition-fast: 150ms ease;
	--gts-transition-base: 250ms ease;
	--gts-transition-slow: 350ms ease;
}

/* Skip Navigation */
.skip-link {
	position: absolute;
	top: -100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10000;
	padding: 0.75rem 1.5rem;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 0 0.375rem 0.375rem;
	transition: top var(--gts-transition-fast);
}
.skip-link:focus { top: 0; outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }

/* Focus Indicators */
*:focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 2px; }

/* Header */
.site-header { transition: box-shadow var(--gts-transition-base), background-color var(--gts-transition-base); }
.site-header.is-scrolled { box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08); }
.site-header.is-scrolled .header-topbar { display: none; }

.site-header--transparent { position: absolute; top: 0; left: 0; right: 0; z-index: 999; background: transparent !important; }
.site-header--transparent.is-scrolled { position: fixed; background: rgba(0, 46, 93, 0.95) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

@media (max-width: 768px) { .header-topbar { display: none; } }

/* Navigation Mega Menu */
.has-mega-menu { position: relative; }
#gts-mega-menu-active {
	position: fixed;
	left: auto;
	right: auto;
	width: auto;
	min-width: 700px;
	max-width: 800px;
	background: rgba(13, 35, 64, 0.97);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 2rem;
	display: none;
	grid-template-columns: 200px 240px 180px 180px;
	gap: 2rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	z-index: 9999;
}
.mega-menu-col {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
#gts-mega-menu-active a {
	color: #ffffff;
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.8;
	opacity: 0.85;
	transition: opacity 0.2s;
	display: block;
}
#gts-mega-menu-active a:hover { opacity: 1; }
#gts-mega-menu-active .mega-menu-heading {
	color: var(--wp--preset--color--accent);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 0.75rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 768px) {
	#gts-mega-menu-active {
		display: none !important;
	}
}
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.85;
  transition: opacity 0.2s;
  padding: 0.2rem 0;
}
.mega-menu-item:hover { opacity: 1; }
.mega-menu-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.mega-menu-view-all {
  display: block;
  color: var(--wp--preset--color--accent);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  opacity: 1;
}
.mega-menu-view-all:hover { text-decoration: underline; }
.mega-menu-hero-col {
  align-self: stretch;
}
.mega-menu-hero-card {
  display: block;
  position: relative;
  height: 100%;
  min-height: 180px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
}
.mega-menu-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mega-menu-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(13,35,64,0.92));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Button Variants */
.wp-block-button.is-style-gts-secondary .wp-block-button__link { background-color: var(--wp--preset--color--secondary); color: var(--wp--preset--color--white); }
.wp-block-button.is-style-gts-secondary .wp-block-button__link:hover { background-color: var(--wp--preset--color--secondary-dark); }

.wp-block-button.is-style-gts-outline .wp-block-button__link { background-color: transparent; color: var(--wp--preset--color--primary); border: 2px solid var(--wp--preset--color--primary); }
.wp-block-button.is-style-gts-outline .wp-block-button__link:hover { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }

.wp-block-button.is-style-gts-ghost .wp-block-button__link { background-color: transparent; color: var(--wp--preset--color--primary); border: none; }
.wp-block-button.is-style-gts-ghost .wp-block-button__link:hover { background-color: var(--wp--preset--color--off-white); }

.wp-block-button.is-style-gts-text-link .wp-block-button__link { background: none; color: var(--wp--preset--color--primary); padding: 0; border: none; text-decoration: underline; text-underline-offset: 3px; }
.wp-block-button.is-style-gts-text-link .wp-block-button__link:hover { color: var(--wp--preset--color--primary-dark); text-decoration: none; }

/* Group / Section Variants */
.wp-block-group.is-style-gts-card { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--light-gray); border-radius: 0.5rem; overflow: hidden; transition: box-shadow var(--gts-transition-base), transform var(--gts-transition-base); }
.wp-block-group.is-style-gts-card:hover { box-shadow: var(--wp--preset--shadow--card-hover); transform: translateY(-2px); }

.wp-block-group.is-style-gts-card-elevated { background: var(--wp--preset--color--white); border-radius: 0.75rem; box-shadow: var(--wp--preset--shadow--lg); overflow: hidden; }
.wp-block-group.is-style-gts-card-elevated:hover { box-shadow: var(--wp--preset--shadow--xl); }

.wp-block-group.is-style-gts-section-light { background: var(--wp--preset--color--off-white); }

.wp-block-group.is-style-gts-section-dark { background: var(--wp--preset--color--near-black); color: var(--wp--preset--color--light-gray); }
.wp-block-group.is-style-gts-section-dark h1, .wp-block-group.is-style-gts-section-dark h2,
.wp-block-group.is-style-gts-section-dark h3, .wp-block-group.is-style-gts-section-dark h4,
.wp-block-group.is-style-gts-section-dark h5, .wp-block-group.is-style-gts-section-dark h6 { color: var(--wp--preset--color--white); }

.wp-block-group.is-style-gts-section-accent { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }

.wp-block-group.is-style-gts-highlight-box { background: var(--wp--preset--color--off-white); border-left: 4px solid var(--wp--preset--color--accent); padding: var(--wp--preset--spacing--40); border-radius: 0 0.5rem 0.5rem 0; }

/* Separator Variants */
.wp-block-separator.is-style-gts-wide { width: 100%; max-width: 100%; border-bottom-width: 2px; }
.wp-block-separator.is-style-gts-dots { border: none; text-align: center; }
.wp-block-separator.is-style-gts-dots::before { content: "• • •"; color: var(--wp--preset--color--medium-gray); font-size: 1.5rem; letter-spacing: 1rem; }
.wp-block-separator.is-style-gts-gradient { border: none; height: 3px; background: linear-gradient(90deg, transparent, var(--wp--preset--color--accent), transparent); }

/* Column Variants */
.wp-block-columns.is-style-gts-sidebar-left > .wp-block-column:first-child { flex-basis: 320px; flex-grow: 0; }
.wp-block-columns.is-style-gts-sidebar-right > .wp-block-column:last-child { flex-basis: 320px; flex-grow: 0; }

/* Image Variants */
.wp-block-image.is-style-gts-rounded img { border-radius: 0.75rem; }
.wp-block-image.is-style-gts-shadow img { box-shadow: var(--wp--preset--shadow--lg); }

/* List: No Bullets */
.is-style-no-bullets { list-style: none; padding-left: 0 !important; }

/* Post Card Hover */
.wp-block-post-template .is-style-gts-card .wp-block-post-featured-image img { transition: transform var(--gts-transition-slow); }
.wp-block-post-template .is-style-gts-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.wp-block-post-featured-image { overflow: hidden; }

/* ===== HERO SECTION ===== */
.gts-hero {
	position: relative;
	overflow: hidden;
}
/* Set overlay opacity to match dimRatio:60 in the block.
   This overrides the stored has-background-dim class in case the page
   was imported before the dimRatio was changed. opacity: 0.6 = 60% overlay. */
.gts-hero .wp-block-cover__background {
	opacity: 0.6 !important;
}
.gts-hero .wp-block-cover__image-background,
.gts-hero video.wp-block-cover__video-background {
	transform: scale(1.02);
}

/* Accent text highlight — gold mark on key phrases.
 * Applies ONLY inside .gts-hero cover blocks.
 */
.gts-hero mark {
	background: none;
	color: var(--wp--preset--color--accent-light);
	font-style: inherit;
	font-weight: inherit;
}



/* Hero heading typography */
.gts-hero h1 {
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-wrap: balance;
}

/* Hero CTA button — accent gold style like Epic Teams */
.wp-block-button.is-style-gts-accent .wp-block-button__link {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary-dark);
	font-weight: 700;
	border: none;
	transition: background-color var(--gts-transition-fast), transform var(--gts-transition-fast);
}
.wp-block-button.is-style-gts-accent .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent-light);
	transform: translateY(-1px);
}

/* Hero stat cards */
.gts-stat-card {
	text-align: center;
}
.gts-stat-card .stat-value {
	display: block;
	font-size: 2.75rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--heading);
}
.gts-stat-card .stat-label {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--dark-gray);
}

/* Service capability cards — top border accent */
.gts-capability-card {
	transition: transform var(--gts-transition-base), box-shadow var(--gts-transition-base);
}
.gts-capability-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--wp--preset--shadow--card-hover);
}

/* Dark section link colors */
.has-primary-dark-background-color a:not(.wp-block-button__link),
.has-near-black-background-color a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--accent-light);
	text-decoration-color: transparent;
	transition: text-decoration-color var(--gts-transition-fast);
}
.has-primary-dark-background-color a:not(.wp-block-button__link):hover,
.has-near-black-background-color a:not(.wp-block-button__link):hover {
	text-decoration-color: currentColor;
}

/* Smooth Scroll & Reduced Motion */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@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; } }

/* Back-to-top button */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity var(--gts-transition-base), visibility var(--gts-transition-base), background-color var(--gts-transition-fast); box-shadow: var(--wp--preset--shadow--md); }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--wp--preset--color--primary-dark); }
.back-to-top svg { width: 20px; height: 20px; fill: currentColor; }


/* ============================================================
   Hero — Soldier Background Image
   ============================================================ */

/* Anchor the cover image to the subject area */
.gts-hero .wp-block-cover__image-background {
    object-fit: cover;
    object-position: 62% 38%;
}

/* On narrow viewports re-anchor so the subject stays readable */
@media (max-width: 768px) {
    .gts-hero .wp-block-cover__image-background {
        object-position: 55% 30%;
    }
}


/* ============================================================
   Global header — unified transparent header across all pages
   ============================================================ */

/*
 * The transparent header is now used on all templates.
 * On non-hero pages it must resolve to opaque immediately
 * so white nav text is legible over white/light content.
 *
 * Strategy: default to opaque navy. The home hero page keeps
 * it transparent via JS .is-hero class added to <body>.
 * On scroll it always locks to opaque.
 */

/* Default opaque state for all non-hero pages */
.site-header--transparent {
    background: rgba(13, 35, 64, 0.97) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero page only: start transparent, become opaque on scroll */
body.is-hero-page .site-header--transparent:not(.is-scrolled) {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.is-hero-page .site-header--transparent.is-scrolled {
    background: rgba(13, 35, 64, 0.97) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Navigation text stays white in all states */
.site-header--transparent .wp-block-navigation,
.site-header--transparent .wp-block-navigation a,
.site-header--transparent .wp-block-navigation-item__content {
    color: var(--wp--preset--color--white) !important;
}

/* Site title always white on transparent header */
.site-header--transparent .wp-block-site-title,
.site-header--transparent .wp-block-site-title a {
    color: var(--wp--preset--color--white) !important;
}

/* Subtitle tagline always accent-light */
.site-header--transparent .header-main > div > div > div > p {
    color: var(--wp--preset--color--accent-light) !important;
}


/* ============================================================
   Block gap and section whitespace — definitive fix
   ============================================================ */

/*
 * WordPress injects blockGap as an inline --wp--style--block-gap
 * custom property and applies it to .wp-site-blocks > * via gap.
 * Setting blockGap:0 in theme.json removes the gap declaration.
 * These rules close any remaining sources of inter-section whitespace.
 */

.wp-site-blocks {
    gap: 0 !important;
    row-gap: 0 !important;
}

.wp-site-blocks > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Template parts (header/footer wrappers) */
.wp-block-template-part {
    display: block;
    margin: 0 !important;
    padding: 0;
}

/* Cover blocks used as heroes — no margin bleed */
.wp-site-blocks > .wp-block-cover,
main > .wp-block-cover {
    margin: 0 !important;
}

/* Main element itself */
main.wp-block-group {
    margin: 0 !important;
}


/* ============================================================
   Footer CTA heading — force heading font via CSS
   as a fallback in case cached templates still render
   the old markup without has-heading-font-family class
   ============================================================ */

.footer-cta-band h2,
.footer-cta-band .wp-block-heading,
.site-footer .footer-cta-band h2 {
    font-family: var(--wp--preset--font-family--heading) !important;
    color: var(--wp--preset--color--white) !important;
}


/* ============================================================
   Insights cards — McKinsey-style dark grid  (v2.4.0)
   ============================================================ */

.gts-insights-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.gts-insights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.gts-insights-grid { grid-template-columns: 1fr; }
}

.gts-insights-card {
	background: #111827;
	border-radius: 0.5rem;
	overflow: hidden;
	transition: transform 200ms ease, box-shadow 200ms ease;
	display: flex;
	flex-direction: column;
}

.gts-insights-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.gts-insights-card .wp-block-post-featured-image {
	overflow: hidden;
	flex-shrink: 0;
}

.gts-insights-card .wp-block-post-featured-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	transition: transform 350ms ease;
	border-radius: 0;
}

.gts-insights-card:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

/* When no featured image: show a dark placeholder band */
.gts-insights-card .wp-block-post-featured-image:not(:has(img)) {
	background: #1B4F8C;
	height: 120px;
}

/* Query pagination on dark bg */
.has-near-black-background-color .wp-block-query-pagination {
	color: var(--wp--preset--color--medium-gray);
}

.has-near-black-background-color .wp-block-query-pagination a {
	color: var(--wp--preset--color--light-gray);
}

.has-near-black-background-color .wp-block-query-pagination a:hover {
	color: var(--wp--preset--color--accent);
}


/* ============================================================
   Single post body — compact modern typography  (v2.4.0)
   ============================================================ */

.gts-post-content p,
.gts-post-content li {
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--wp--preset--color--dark-gray);
}

.gts-post-content h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--primary-dark);
	font-family: var(--wp--preset--font-family--heading);
}

.gts-post-content h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-top: 1.5rem;
	margin-bottom: 0.4rem;
	color: var(--wp--preset--color--primary-dark);
}

.gts-post-content blockquote {
	border-left: 3px solid var(--wp--preset--color--accent);
	padding-left: 1.25rem;
	margin: 1.5rem 0;
	color: var(--wp--preset--color--dark-gray);
	font-style: italic;
}


/* ============================================================
   Job search bar  (v2.4.0)
   ============================================================ */

.gts-job-search {
	width: 100%;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.gts-job-search .wp-block-search__inside-wrapper {
	display: flex;
	background: #fff;
	border-radius: 9999px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.25);
	border: none;
}

.gts-job-search .wp-block-search__input {
	border: none !important;
	outline: none !important;
	padding: 1rem 1.5rem !important;
	font-size: 0.95rem !important;
	color: var(--wp--preset--color--near-black) !important;
	background: transparent !important;
	flex: 1;
	box-shadow: none !important;
}

.gts-job-search .wp-block-search__input::placeholder {
	color: var(--wp--preset--color--medium-gray);
}

.gts-job-search .wp-block-search__button {
	background: var(--wp--preset--color--secondary) !important;
	color: #fff !important;
	border: none !important;
	padding: 0 1.75rem !important;
	font-weight: 700 !important;
	font-size: 0.875rem !important;
	cursor: pointer;
	border-radius: 0 9999px 9999px 0 !important;
	transition: background 150ms ease;
	white-space: nowrap;
}

.gts-job-search .wp-block-search__button:hover {
	background: var(--wp--preset--color--primary) !important;
}


/* ============================================================
   Browse pills  (v2.4.0)
   ============================================================ */

.gts-job-browse-pills .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.25) !important;
	color: var(--wp--preset--color--light-gray) !important;
	font-size: 0.78rem !important;
	transition: border-color 150ms ease, color 150ms ease;
}

.gts-job-browse-pills .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--accent-light) !important;
	color: var(--wp--preset--color--accent-light) !important;
	background: transparent !important;
}


/* ============================================================
   Job row list  (v2.4.0)
   ============================================================ */

.gts-job-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.gts-job-row {
	padding: 1.1rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	transition: background 150ms ease;
}

.gts-job-row:first-child {
	border-top: 1px solid rgba(255,255,255,0.08);
}

.gts-job-row:hover {
	background: rgba(255,255,255,0.03);
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	border-radius: 0.25rem;
}

.gts-job-row__cta {
	white-space: nowrap;
	margin-left: 1.5rem;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.gts-job-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
	.gts-job-row__cta { margin-left: 0; }
}


/* ============================================================
   Search results dark layout  (v2.4.1)
   ============================================================ */

.gts-search-results {
	display: flex;
	flex-direction: column;
}

.gts-search-row:first-child {
	border-top: 1px solid rgba(255,255,255,0.08);
}

.gts-search-row:hover .wp-block-post-title a {
	color: var(--wp--preset--color--accent) !important;
}


/* ============================================================
   CTA compact — all CTA blocks  (v2.4.1)
   ============================================================ */

/* Footer CTA band — tighter overall */
.footer-cta-band {
	padding-top: var(--wp--preset--spacing--50) !important;
	padding-bottom: var(--wp--preset--spacing--50) !important;
}

/* Button gap in all CTA button groups */
.footer-cta-band .wp-block-buttons,
.gts-apply-cta-bar .wp-block-buttons,
.gts-job-row .wp-block-buttons {
	gap: 0.75rem;
	flex-wrap: wrap;
}




/* ============================================================
   Applicant modal  (v2.4.1)
   ============================================================ */

.gts-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(8, 23, 40, 0.88);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.gts-modal-overlay.is-open {
	display: flex;
}

.gts-modal {
	background: #fff;
	border-radius: 0.75rem;
	width: 100%;
	max-width: 580px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 24px 80px rgba(0,0,0,0.5);
	position: relative;
	animation: gts-modal-in 220ms ease;
}

@keyframes gts-modal-in {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to   { opacity: 1; transform: none; }
}

.gts-modal__header {
	background: var(--wp--preset--color--primary-dark);
	color: #fff;
	padding: 1.5rem 1.75rem 1.25rem;
	border-radius: 0.75rem 0.75rem 0 0;
	position: sticky;
	top: 0;
	z-index: 2;
}

.gts-modal__label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin-bottom: 0.25rem;
}

.gts-modal__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	margin: 0;
}

.gts-modal__position {
	font-size: 0.8rem;
	color: var(--wp--preset--color--light-gray);
	margin-top: 0.25rem;
}

.gts-modal__close {
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	background: none;
	border: none;
	color: rgba(255,255,255,0.6);
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
	padding: 0.25rem;
	transition: color 150ms ease;
}

.gts-modal__close:hover { color: #fff; }

.gts-modal__body {
	padding: 1.5rem 1.75rem;
}

.gts-modal__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

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

.gts-modal__field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.gts-modal__field label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--dark-gray);
	margin-bottom: 0.35rem;
}

.gts-modal__field input,
.gts-modal__field select,
.gts-modal__field textarea {
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 0.375rem;
	padding: 0.6rem 0.85rem;
	font-size: 0.875rem;
	font-family: var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--near-black);
	background: #fff;
	transition: border-color 150ms ease;
	width: 100%;
	box-sizing: border-box;
}

.gts-modal__field input:focus,
.gts-modal__field select:focus,
.gts-modal__field textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--secondary);
	box-shadow: 0 0 0 3px rgba(27,108,168,0.15);
}

.gts-modal__field textarea {
	resize: vertical;
	min-height: 90px;
}

.gts-modal__file-label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border: 1px dashed var(--wp--preset--color--light-gray);
	border-radius: 0.375rem;
	padding: 0.85rem 1rem;
	cursor: pointer;
	transition: border-color 150ms ease, background 150ms ease;
	font-size: 0.82rem;
	color: var(--wp--preset--color--dark-gray);
}

.gts-modal__file-label:hover {
	border-color: var(--wp--preset--color--secondary);
	background: #EFF6FF;
}

.gts-modal__file-icon {
	font-size: 1.2rem;
	flex-shrink: 0;
}

.gts-modal__file-input {
	display: none;
}

.gts-modal__file-name {
	color: var(--wp--preset--color--secondary);
	font-weight: 600;
}

.gts-modal__disclosure {
	font-size: 0.72rem;
	color: var(--wp--preset--color--medium-gray);
	line-height: 1.6;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--light-gray);
}

.gts-modal__disclosure a {
	color: var(--wp--preset--color--secondary);
	text-decoration: underline;
}

.gts-modal__footer {
	padding: 1rem 1.75rem 1.5rem;
	background: var(--wp--preset--color--off-white);
	border-top: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 0 0 0.75rem 0.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.gts-modal__submit {
	background: var(--wp--preset--color--secondary);
	color: #fff;
	border: none;
	border-radius: 0.375rem;
	padding: 0.7rem 1.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	font-family: var(--wp--preset--font-family--body);
	cursor: pointer;
	transition: background 150ms ease;
	white-space: nowrap;
}

.gts-modal__submit:hover { background: var(--wp--preset--color--primary); }

.gts-modal__cancel {
	background: none;
	border: none;
	color: var(--wp--preset--color--medium-gray);
	font-size: 0.82rem;
	cursor: pointer;
	text-decoration: underline;
}

.gts-modal__cancel:hover { color: var(--wp--preset--color--dark-gray); }

.gts-modal__required {
	color: #DC2626;
}

/* Prevent body scroll when modal open */
body.gts-modal-open {
	overflow: hidden;
}


/* ============================================================
   Job search context bar  (v2.4.3.2)
   ============================================================ */

.gts-search-context {
	min-height: 1.5em; /* prevent layout shift while JS populates it */
}

.gts-result-pill {
	display: inline-block;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 20px;
	padding: 2px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-left: 0.5rem;
	vertical-align: middle;
	color: var(--wp--preset--color--light-gray);
}


/* ============================================================
   Header — account & cart icon colour match
   The WooCommerce Customer Account and Mini-Cart blocks sit in
   the header. Only their icon/text colour needs to match the
   white navigation links. No other properties are changed.
   ============================================================ */

.site-header--transparent .wp-block-woocommerce-customer-account,
.site-header--transparent .wp-block-woocommerce-customer-account a,
.site-header--transparent .wp-block-woocommerce-customer-account svg,
.site-header--transparent .wc-block-mini-cart__button,
.site-header--transparent .wc-block-mini-cart svg {
	color: var(--wp--preset--color--white) !important;
	fill: var(--wp--preset--color--white) !important;
}


/* ============================================================
   CTA band — heading colour fix  (v2.5.0)
   On the hero-overlay gradient background the heading inherits
   the accent-light colour from the hero CSS. Force white so the
   heading always reads correctly on any dark gradient band.
   ============================================================ */

.footer-cta-band .wp-block-heading,
.footer-cta-band h1,
.footer-cta-band h2,
.footer-cta-band h3 {
	color: var(--wp--preset--color--white) !important;
}

/* Button spacing — gap between buttons and vertical breathing room */
.footer-cta-band .wp-block-buttons {
	display: flex !important;
	gap: 1.5rem !important;
	flex-wrap: wrap;
	justify-content: center;
}

/* CTA section — uniform heading colour, button gap */
.has-primary-dark-background-color .wp-block-heading,
.has-primary-dark-background-color .wp-block-heading mark {
	color: #E8C97A !important;
	background: none !important;
}

.has-primary-dark-background-color .wp-block-buttons {
	gap: 1.5rem !important;
}


/* ============================================================
   Insights / Projects grid — equal height cards  (v2.5.2)
   Cards stretch to fill the row height regardless of whether
   they have a featured image or not.
   ============================================================ */

.gts-insights-grid .wp-block-post {
	display: flex;
	flex-direction: column;
}

.gts-insights-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Image placeholder when no featured image — keeps card height consistent */
.gts-insights-card .wp-block-post-featured-image:empty,
.gts-insights-card .wp-block-post-featured-image:not(:has(img)) {
	min-height: 180px;
	background: var(--wp--preset--color--primary);
	flex-shrink: 0;
}

/* Body area grows to fill remaining height */
.gts-insights-card > .wp-block-group:last-child {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Push the meta row (date/service/year) to the bottom */
.gts-insights-card > .wp-block-group:last-child > .wp-block-group:last-child {
	margin-top: auto !important;
}


/* ============================================================
   WooCommerce My Account — modern restyled layout  (v2.7.0)
   ============================================================ */

/* Account page — lay nav and content side by side.
 * Targets every possible parent WooCommerce may use in FSE themes:
 * .woocommerce wrapper, post-content block, or direct entry-content.
 * Using flex on the nav element itself to pull it left of the content.
 */

/* Make the WooCommerce wrapper (and any FSE post-content parent) a flex row */
.woocommerce-account .woocommerce,
.woocommerce-account .wp-block-post-content > .woocommerce,
.woocommerce-account .entry-content {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 1.25rem !important;
	width: 100%;
}

/* If nav and content are direct children of post-content (no .woocommerce wrapper) */
.woocommerce-account .wp-block-post-content {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 2rem !important;
}

/* ---- Sidebar nav ---- */
.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--wp--preset--color--primary-dark);
	border-radius: 0.5rem;
	overflow: hidden;
	position: sticky;
	top: 70px;
	flex: 0 0 190px;
	min-width: 190px;
}

/* Nav label at top of sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation::before {
	content: 'MY ACCOUNT';
	display: block;
	padding: 0.65rem 1rem 0.5rem;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: rgba(255,255,255,0.35);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.35rem 1rem;
	color: rgba(255,255,255,0.65);
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 500;
	border-left: 2px solid transparent;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
	letter-spacing: 0.01em;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: rgba(255,255,255,0.06);
	color: #ffffff;
	border-left-color: var(--wp--preset--color--accent);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
	background: rgba(255,255,255,0.09);
	color: var(--wp--preset--color--accent);
	border-left-color: var(--wp--preset--color--accent);
	font-weight: 600;
}

/* Logout item — visually separated */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 0.5rem;
	border-top: 1px solid rgba(255,255,255,0.08);
	padding-top: 0.25rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: rgba(255,255,255,0.4);
	font-size: 0.75rem;
}

/* ---- Content area ---- */
.woocommerce-account .woocommerce-MyAccount-content {
	background: var(--wp--preset--color--white);
	border: 1px solid #E5E7EB;
	border-radius: 0.5rem;
	padding: 1.5rem 1.75rem;
	min-height: 400px;
	flex: 1 1 0;
	min-width: 0;
	overflow-x: auto;
}

/* Headings inside account content */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: var(--wp--preset--font-family--heading) !important;
	color: var(--wp--preset--color--primary-dark) !important;
	font-weight: 800;
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 1.15rem;
}

/* Page-level heading */
.woocommerce-account h1.wp-block-post-title,
.woocommerce-account .entry-title,
.woocommerce-account h1 {
	font-family: var(--wp--preset--font-family--heading) !important;
	color: var(--wp--preset--color--primary-dark) !important;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	margin-bottom: 2rem;
}

/* Tables — orders, licenses, downloads */
.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.woocommerce-table,
.woocommerce-account table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.woocommerce-account table th {
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--dark-gray);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.65rem 1rem;
	border-bottom: 2px solid var(--wp--preset--color--light-gray);
	text-align: left;
}

.woocommerce-account table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--dark-gray);
	vertical-align: middle;
}

.woocommerce-account table tr:last-child td {
	border-bottom: none;
}

.woocommerce-account table a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	font-weight: 600;
}

/* Notices */
.woocommerce-account .woocommerce-message {
	border-left: 4px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--off-white);
	padding: 0.75rem 1rem;
	border-radius: 0 0.375rem 0.375rem 0;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}

/* Manage Applications link in sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation-link--manage-applications a {
	color: var(--wp--preset--color--accent-light) !important;
	font-weight: 600 !important;
}

/* Manage Jobs link in sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation-link--manage-jobs a {
	color: var(--wp--preset--color--accent-light) !important;
	font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 768px) {
	.woocommerce-account .woocommerce,
	.woocommerce-account .wp-block-post-content,
	.woocommerce-account .entry-content {
		flex-direction: column !important;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
		flex: none;
		width: 100%;
	}
	.woocommerce-account .woocommerce-MyAccount-content {
		flex: none;
		width: 100%;
	}
}


/* ============================================================
   Front-end Applications Manager  (v2.7.0)
   ============================================================ */

.gts-app-manager {
	font-size: 0.9rem;
	color: var(--wp--preset--color--dark-gray);
}

.gts-app-manager__heading {
	font-family: var(--wp--preset--font-family--heading) !important;
	color: var(--wp--preset--color--primary-dark) !important;
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 1.5rem;
}

/* Stat cards */
.gts-app-manager__stats {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.gts-stat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 0.625rem;
	padding: 1.1rem 1.5rem;
	min-width: 110px;
	flex: 1;
	border-top: 3px solid var(--wp--preset--color--primary-dark);
}

.gts-stat-card--gold  { border-top-color: var(--wp--preset--color--accent); }
.gts-stat-card--blue  { border-top-color: #1D4ED8; }
.gts-stat-card--green { border-top-color: #059669; }

.gts-stat-card__num {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--wp--preset--color--primary-dark);
	margin-bottom: 0.25rem;
}

.gts-stat-card--gold  .gts-stat-card__num { color: var(--wp--preset--color--accent); }
.gts-stat-card--blue  .gts-stat-card__num { color: #1D4ED8; }
.gts-stat-card--green .gts-stat-card__num { color: #059669; }

.gts-stat-card__label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--medium-gray);
}

/* Filters */
.gts-app-manager__filters {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.gts-app-manager__select {
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 0.375rem;
	font-size: 0.85rem;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark-gray);
}

.gts-app-manager__filter-btn {
	padding: 0.45rem 1.25rem;
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--white);
	border: none;
	border-radius: 0.375rem;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
}

.gts-app-manager__clear {
	font-size: 0.82rem;
	color: var(--wp--preset--color--medium-gray);
	text-decoration: underline;
}

/* Table */
.gts-app-manager__table-wrap {
	overflow-x: auto;
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 0.625rem;
}

.gts-app-manager__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.gts-app-manager__table th {
	background: var(--wp--preset--color--off-white);
	padding: 0.7rem 1rem;
	text-align: left;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--dark-gray);
	border-bottom: 2px solid var(--wp--preset--color--light-gray);
	white-space: nowrap;
}

.gts-app-manager__table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--wp--preset--color--off-white);
	vertical-align: top;
}

.gts-app-manager__table tr:last-child td { border-bottom: none; }

.gts-app-row__date  { white-space: nowrap; color: var(--wp--preset--color--medium-gray); font-size: 0.8rem; }
.gts-app-row__name  strong { color: var(--wp--preset--color--primary-dark); }
.gts-app-row__name  a { color: var(--wp--preset--color--primary); font-size: 0.8rem; }
.gts-app-row__position { font-size: 0.8rem; max-width: 200px; }

.gts-app-row__download {
	color: var(--wp--preset--color--primary) !important;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.82rem;
}

.gts-app-row__no-file { color: var(--wp--preset--color--medium-gray); }

.gts-app-row__cover-btn {
	padding: 0.25rem 0.75rem;
	background: var(--wp--preset--color--off-white);
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 0.25rem;
	font-size: 0.78rem;
	cursor: pointer;
	color: var(--wp--preset--color--dark-gray);
}

.gts-app-row__status {
	padding: 0.25rem 0.5rem;
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 0.25rem;
	font-size: 0.8rem;
	background: var(--wp--preset--color--white);
}

.gts-app-row__delete {
	padding: 0.25rem 0.6rem;
	background: #FEE2E2;
	color: #991B1B;
	border: none;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	cursor: pointer;
}

/* Empty state */
.gts-app-manager__empty {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--wp--preset--color--medium-gray);
}

.gts-app-manager__empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

/* Gate (login / no permission) */
.gts-manager-gate {
	padding: 2rem;
	background: var(--wp--preset--color--off-white);
	border-radius: 0.5rem;
	text-align: center;
	font-size: 0.95rem;
}

/* Cover lightbox */
.gts-cover-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
}

.gts-cover-box {
	background: var(--wp--preset--color--white);
	border-radius: 0.75rem;
	max-width: 560px;
	width: 90%;
	padding: 2rem;
	position: relative;
	max-height: 80vh;
	overflow-y: auto;
}

.gts-cover-box h3 {
	color: var(--wp--preset--color--primary-dark) !important;
	font-size: 1rem;
	margin: 0 0 1rem;
}

.gts-cover-box__body {
	font-size: 0.9rem;
	line-height: 1.7;
	white-space: pre-wrap;
	color: var(--wp--preset--color--dark-gray);
}

.gts-cover-box__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--wp--preset--color--medium-gray);
	line-height: 1;
}

@media (max-width: 640px) {
	.gts-app-manager__stats { gap: 0.5rem; }
	.gts-stat-card { min-width: 80px; padding: 0.75rem 1rem; }
}

/* ============================================================
   Project Profile — Bain-inspired case study layout (v2.7.2)
   ============================================================ */

/* Hero band spacing for project profiles */
.gts-project-hero {
	position: relative;
}

/* Stat callout band */
.gts-project-stats .wp-block-columns {
	align-items: center;
}

/* Project body — generous reading typography */
.gts-project-body p {
	line-height: 1.8;
}

.gts-project-body h3 {
	position: relative;
	padding-bottom: var(--wp--preset--spacing--20);
}

.gts-project-body h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 48px;
	height: 3px;
	background-color: var(--wp--preset--color--accent);
}

/* Featured image overlap into hero */
.gts-project-hero + .wp-block-group .wp-block-post-featured-image img {
	box-shadow: var(--wp--preset--shadow--xl);
}

/* Stat numbers responsive sizing */
@media (max-width: 768px) {
	.gts-project-stats .wp-block-columns {
		gap: var(--wp--preset--spacing--40) !important;
	}
}

/* ==========================================================================
   Related Projects Block (gts/related-projects)
   ========================================================================== */

.gts-related-projects {
	background-color: var(--wp--preset--color--off-white);
	border-top: 1px solid var(--wp--preset--color--light-gray);
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.gts-related-projects__inner {
	max-width: 1100px;
	margin-inline: auto;
}

.gts-related-projects__heading {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--medium-gray);
	margin-block-end: var(--wp--preset--spacing--40);
}

.gts-related-projects__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--40);
}

@media (max-width: 768px) {
	.gts-related-projects__grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 769px) and (max-width: 1023px) {
	.gts-related-projects__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.gts-related-projects__card {
	background: #ffffff;
	border-radius: 0.5rem;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--light-gray);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease;
}

.gts-related-projects__card:hover {
	box-shadow: 0 4px 20px rgba(13, 35, 64, 0.10);
}

.gts-related-projects__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--wp--preset--color--light-gray);
}

.gts-related-projects__thumb a {
	display: block;
	height: 100%;
}

.gts-related-projects__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.gts-related-projects__card:hover .gts-related-projects__thumb img {
	transform: scale(1.04);
}

.gts-related-projects__thumb--placeholder {
	background: linear-gradient(135deg, var(--wp--preset--color--primary-dark) 0%, var(--wp--preset--color--accent) 100%);
}

.gts-related-projects__card-body {
	padding: 1rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	flex: 1;
}

.gts-related-projects__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary-dark);
	text-decoration: none;
	line-height: 1.3;
}

.gts-related-projects__title:hover {
	color: var(--wp--preset--color--accent);
}

.gts-related-projects__excerpt {
	font-size: 0.82rem;
	color: var(--wp--preset--color--dark-gray);
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================================
   Service Page Template (single-service)
   ========================================================================== */

.gts-service-hero {
	position: relative;
}

.gts-service-body .wp-block-post-content {
	max-width: 1060px;
}

/* Service narrative split: description left, capabilities right.
   Let Gutenberg's native wp:columns flex layout control the 58/42
   column widths via the inline flex-basis styles on each wp:column.
   This wrapper only adjusts alignment and gap. */
.gts-svc-split .wp-block-columns {
	align-items: start;
	column-gap: var(--wp--preset--spacing--50) !important;
}

.gts-svc-capabilities {
	background: var(--wp--preset--color--off-white);
	border-top: 3px solid var(--wp--preset--color--accent);
	border-radius: 0 0 0.5rem 0.5rem;
	padding: var(--wp--preset--spacing--40);
}

.gts-svc-capabilities h3 {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--medium-gray);
	margin-block-end: var(--wp--preset--spacing--30);
	font-family: var(--wp--preset--font-family--body);
}

.gts-svc-capabilities ol {
	padding-left: 1.1rem;
	margin: 0;
}

.gts-svc-capabilities ol li {
	font-size: 0.825rem;
	line-height: 1.7;
	color: var(--wp--preset--color--primary-dark);
	font-weight: 500;
	font-family: var(--wp--preset--font-family--body);
	margin-block-end: 0.35rem;
}

.gts-svc-divider {
	border: none;
	border-top: 1px solid var(--wp--preset--color--light-gray);
	margin-block: var(--wp--preset--spacing--50);
}

.gts-svc-related {
	background: var(--wp--preset--color--primary-dark);
	border-radius: 0.5rem;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	margin-block-start: var(--wp--preset--spacing--50);
}

.gts-svc-related p {
	color: var(--wp--preset--color--light-gray);
	font-size: 0.92rem;
	line-height: 1.75;
	margin: 0;
}

.gts-svc-related p strong {
	color: var(--wp--preset--color--accent);
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-block-end: 0.4rem;
}

.gts-svc-related a {
	color: var(--wp--preset--color--accent-light);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gts-svc-related a:hover {
	color: #ffffff;
}

/* ==========================================================================
   White outline button variant — for use on dark backgrounds
   ========================================================================== */

.wp-block-button.is-style-gts-outline-white .wp-block-button__link {
	background-color: transparent;
	color: #ffffff;
	border: 2px solid rgba(255,255,255,0.6);
}

.wp-block-button.is-style-gts-outline-white .wp-block-button__link:hover {
	background-color: rgba(255,255,255,0.12);
	border-color: #ffffff;
	color: #ffffff;
}

/* ==========================================================================
   About page — equal-height card columns
   ========================================================================== */

/* Stretch columns so equal-height cards work */
.gts-about-leader-wrap.wp-block-columns {
	align-items: stretch;
}

/* Force wp:column children to fill height when columns are equal height */
.wp-block-group.gts-about-leader {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

/* Cert badges equal height */
.gts-cert-badge {
	height: 100%;
	box-sizing: border-box;
}

/* ==========================================================================
   Equal-height CTA cards — home page testimonials, insights, job listings
   ========================================================================== */

/* Columns that should stretch children to equal height */
.gts-stretch-cols,
.wp-block-columns:has(.gts-equal-card) {
	align-items: stretch !important;
}

/* Stretch individual wp:column wrappers */
.gts-stretch-cols > .wp-block-column {
	display: flex;
	flex-direction: column;
}

/* Testimonial cards — fill column height */
.gts-testimonial-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

/* Push the attribution to the bottom of each testimonial card */
.gts-testimonial-card > :last-child {
	margin-top: auto;
}

/* Equal-height cards (job listings, etc.) */
.gts-equal-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.gts-equal-card > :last-child {
	margin-top: auto;
}

/* Post template grid cards — equal height */
.wp-block-post-template.is-flex-container > li {
	display: flex;
}

.wp-block-post-template.is-flex-container > li > .wp-block-group {
	height: 100%;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.wp-block-post-template.is-flex-container > li > .wp-block-group > :last-child {
	margin-top: auto;
}

/* ==========================================================================
   Contract Vehicles — home page graphical cover cards
   ========================================================================== */

.gts-cv-cards {
	align-items: stretch !important;
}

.gts-cv-cards > .wp-block-column {
	display: flex;
	flex-direction: column;
}

/* Cover card: fill column height and flex internally */
.gts-cv-card,
.gts-cv-cards .wp-block-cover {
	height: 100%;
	min-height: 420px;
	border-radius: 0.625rem;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gts-cv-cards .wp-block-cover:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* Push the details/button group to the bottom of each card */
.gts-cv-card .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Inner content spacing */
.gts-cv-cards .wp-block-cover__inner-container {
  padding: 2rem;
  gap: 0;
}
.gts-cv-cards .wp-block-cover__inner-container > * {
  margin-top: 0;
  margin-bottom: 0;
}
.gts-cv-cards .wp-block-cover__inner-container > p:first-child {
  margin-bottom: 0.35rem;
}
.gts-cv-cards .wp-block-cover__inner-container > h2,
.gts-cv-cards .wp-block-cover__inner-container > h3 {
  margin-bottom: 0.75rem;
}
.gts-cv-cards .wp-block-cover__inner-container > p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.gts-cv-cards .wp-block-cover__inner-container .wp-block-buttons {
  margin-top: auto;
  padding-top: 1.25rem;
}

.gts-cv-card .wp-block-cover__inner-container > .wp-block-group:last-child {
	margin-top: auto;
}

/* Stat bar below the cards */
.gts-cv-cards + .wp-block-group .wp-block-columns {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: var(--wp--preset--spacing--40);
}
