
/* PORTFOLIO / OUR WORK CAROUSEL COMPONENT */
.gms-portfolio-grid-wrapper {
	position: relative;
	padding: 6rem 1.5rem 5rem 1.5rem;
	background: radial-gradient(circle at 10% 20%, rgba(227, 24, 55, 0.05) 0%, transparent 40%),
	            radial-gradient(circle at 90% 80%, rgba(227, 24, 55, 0.05) 0%, transparent 40%),
	            #0a0b0d;
	color: #ffffff;
	font-family: inherit;
	overflow: hidden;
}

.gms-portfolio-header {
	max-width: 860px;
	margin: 0 auto 3.5rem auto;
	text-align: center;
}

.gms-portfolio-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	color: #e31837;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.15em;
	margin-bottom: 1rem;
}

.gms-portfolio-eyebrow .line {
	display: inline-block;
	height: 2px;
	width: 32px;
	background: #e31837;
}

.gms-portfolio-title {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 1.25rem 0;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.gms-portfolio-title .text-accent {
	color: #e31837;
}

.gms-portfolio-description {
	color: #9ca3af;
	font-size: 1.1rem;
	line-height: 1.6;
	max-width: 720px;
	margin: 0 auto;
}

/* Swiper Container */
.gms-portfolio-swiper {
	max-width: 1280px;
	margin: 0 auto 3.5rem auto;
	padding: 10px 4px 40px 4px !important;
	overflow: hidden;
}

.gms-portfolio-swiper .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.gms-portfolio-swiper .swiper-slide {
	height: auto;
	display: flex;
}

.gms-portfolio-card {
	background: linear-gradient(180deg, #13151b 0%, #0e1014 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gms-portfolio-card:hover {
	transform: translateY(-6px);
	border-color: rgba(227, 24, 55, 0.4);
	box-shadow: 0 20px 40px rgba(227, 24, 55, 0.08), 0 12px 24px rgba(0, 0, 0, 0.4);
}

.card-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #e31837;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	padding: 1.5rem 1.5rem 0 1.5rem;
	text-transform: uppercase;
}

.card-eyebrow .line {
	display: inline-block;
	height: 2px;
	width: 16px;
	background: #e31837;
}

.card-image {
	padding: 1.25rem 1.5rem;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
}

.card-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.card-image-placeholder {
	height: 190px;
	width: 100%;
	background: linear-gradient(135deg, rgba(227, 24, 55, 0.08) 0%, rgba(20, 22, 28, 0.8) 100%);
	border: 1px dashed rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.card-image-placeholder .mockup-frame {
	width: 82%;
	height: 72%;
	background: #181b22;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card-image-placeholder .mockup-screen {
	width: 85%;
	height: 75%;
	background: rgba(227, 24, 55, 0.1);
	border: 1px solid rgba(227, 24, 55, 0.2);
	border-radius: 4px;
}

.card-content {
	padding: 0 1.75rem 1.75rem 1.75rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.card-meta-industry {
	font-size: 0.8rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.35rem;
}

.card-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.75rem 0;
	letter-spacing: -0.01em;
}

.card-description {
	color: #9ca3af;
	font-size: 0.925rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.card-features {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding-top: 1.25rem;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #e5e7eb;
	font-size: 0.78rem;
	font-weight: 500;
	white-space: nowrap;
}

.feature-item .feature-svg {
	color: #9ca3af;
	flex-shrink: 0;
	transition: color 0.2s ease;
}

.gms-portfolio-card:hover .feature-item .feature-svg {
	color: #e31837;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #e31837;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
	width: fit-content;
}

.card-link .link-arrow {
	transition: transform 0.2s ease;
}

.card-link:hover {
	color: #ff3b59;
}

.card-link:hover .link-arrow {
	transform: translateX(4px);
}

/* Swiper Pagination */
.gms-portfolio-swiper-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 2rem;
}

.gms-portfolio-swiper-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	opacity: 1;
	transition: all 0.3s ease;
	cursor: pointer;
}

.gms-portfolio-swiper-pagination .swiper-pagination-bullet-active {
	background: #e31837;
	width: 28px;
	border-radius: 5px;
}

.gms-portfolio-cta-section {
	margin-top: 2rem;
	padding-top: 1rem;
	text-align: center;
}

.btn-portfolio-cta {
	background: #e31837;
	color: #ffffff !important;
	padding: 1rem 2.5rem;
	border-radius: 8px;
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(227, 24, 55, 0.4);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-portfolio-cta:hover {
	background: #c4132e;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(227, 24, 55, 0.6);
}

.portfolio-footer-text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2.5rem;
	color: #6b7280;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
}

.portfolio-footer-text .line {
	height: 1px;
	width: 80px;
	background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
	.card-features {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
	.portfolio-footer-text .line {
		width: 30px;
	}
}

/* ============================================================
   Static portfolio grid (carousel removed) + Projects pages.
   ============================================================ */
.gms-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Make the whole card clickable to the project detail page. */
.gms-portfolio-card {
  position: relative;
}

.gms-portfolio-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.gms-portfolio-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* View All Projects link under the homepage grid. */
.gms-portfolio-viewall {
  text-align: center;
  margin-top: 34px;
}

.gms-portfolio-viewall__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gms-accent, #ef2014);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.gms-portfolio-viewall__link:hover {
  gap: 12px;
}

/* ---- All Projects listing page ---- */
.gms-projects-page {
  padding: clamp(40px, 8vw, 90px) 0;
}

.gms-projects-page .gms-portfolio-title {
  color: #fff;
}

/* ---- Single Project detail page ---- */
.gms-project-detail {
  padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 96px);
}

.gms-project-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.gms-project-back {
  display: inline-block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.gms-project-back:hover {
  color: var(--gms-accent, #ef2014);
}

.gms-project-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gms-accent, #ef2014);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.gms-project-eyebrow .line {
  width: 28px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.gms-project-title {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.gms-project-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 620px;
}

.gms-project-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  margin-bottom: 28px;
}

.gms-project-features .feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
}

.gms-project-features .feature-svg {
  color: var(--gms-accent, #ef2014);
}

.gms-project-live {
  margin-top: 6px;
}

/* Gallery */
.gms-project-gallery-section {
  margin-top: clamp(36px, 6vw, 64px);
}

.gms-project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gms-project-gallery__item {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gms-project-gallery__item:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 32, 20, 0.5);
}

.gms-project-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}

.gms-project-gallery__item--empty {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gms-project-gallery--placeholder {
  opacity: 0.6;
}

.gms-project-gallery-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 22px;
  font-style: italic;
}

.gms-project-cta {
  text-align: center;
  margin-top: clamp(40px, 7vw, 72px);
}

@media (max-width: 900px) {
  .gms-portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .gms-portfolio-grid,
  .gms-project-gallery {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   All Projects (Our Work) page — hero + info intro.
   ============================================================ */
.gms-projects-page {
  padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 8vw, 96px);
}

.gms-projects-hero {
  text-align: center;
  padding-bottom: clamp(20px, 4vw, 40px);
}

.gms-projects-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.gms-projects-hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 14px 0 16px;
}

.gms-projects-hero__lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 640px;
}

/* Info / "what this page does" band */
.gms-projects-about {
  padding: clamp(24px, 4vw, 44px) 0;
  margin: clamp(20px, 3vw, 36px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gms-projects-about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.gms-projects-about__intro h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0 0 14px;
}

.gms-projects-about__intro p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.gms-projects-about__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gms-projects-about__points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gms-projects-about__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239, 32, 20, 0.12);
  color: var(--gms-accent, #ef2014);
}

.gms-projects-about__points strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 3px;
}

.gms-projects-about__points li > span:last-child {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Listing head */
.gms-projects-listing__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: clamp(20px, 3vw, 32px) 0 24px;
}

.gms-projects-listing__head h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0;
}

.gms-projects-listing__count {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  white-space: nowrap;
}

.gms-projects-empty {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 820px) {
  .gms-projects-about__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============================================================
   Portfolio card gallery (per-card images) + lightbox.
   ============================================================ */
.gms-portfolio-card[data-gms-gallery] {
  cursor: pointer;
}

.gms-portfolio-card .card-image {
  position: relative;
}

.card-gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.card-gallery-badge svg { display: block; }

.card-link--gallery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gms-accent, #ef2014);
  font-weight: 600;
}

/* Lightbox overlay */
.gms-pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 4, 4, 0.95);
  /* Side padding leaves room for the edge arrows; top for the close button. */
  padding: clamp(54px, 8vh, 76px) clamp(56px, 9vw, 96px);
}

.gms-pf-lightbox.is-open {
  display: flex;
}

/* The image area. Scrolls vertically for long/tall screenshots. */
.gms-pf-lightbox__stage {
  margin: 0;
  min-width: 0;
  max-width: min(760px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.gms-pf-lightbox__img {
  max-width: 100%;
  width: auto;
  height: auto;      /* natural height; tall screenshots scroll within the stage */
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  display: block;
  cursor: zoom-in;   /* click to magnify long screenshots */
}

/* Magnified: enlarge well beyond fit-width so text is readable; scroll both ways. */
.gms-pf-lightbox__img.is-zoomed {
  max-width: none;
  width: min(1700px, 220vw);
  height: auto;
  cursor: zoom-out;
}

@media (max-width: 640px) {
  .gms-pf-lightbox__img.is-zoomed { width: 200vw; }
}

.gms-pf-lightbox__stage.is-zoomed {
  overflow-x: auto;
  align-items: flex-start;
}

.gms-pf-lightbox__caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-align: center;
  flex: 0 0 auto;
}

/* Transparent controls at the edges (no circle background). */
.gms-pf-lightbox__nav,
.gms-pf-lightbox__close {
  position: absolute;
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gms-pf-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 88px;
  font-size: 4rem;
}

.gms-pf-lightbox__nav--prev { left: clamp(8px, 2.5vw, 28px); }
.gms-pf-lightbox__nav--next { right: clamp(8px, 2.5vw, 28px); }

.gms-pf-lightbox__close {
  top: clamp(12px, 3vw, 22px);
  right: clamp(12px, 3vw, 22px);
  width: 52px;
  height: 52px;
  font-size: 3.1rem;
}

.gms-pf-lightbox__close:hover,
.gms-pf-lightbox__nav:hover {
  color: var(--gms-accent, #ef2014);
}

.gms-pf-lightbox__nav:hover { transform: translateY(-50%) scale(1.15); }

@media (max-width: 640px) {
  .gms-pf-lightbox { padding: 52px 36px; }
  .gms-pf-lightbox__stage { max-height: 82vh; }
  .gms-pf-lightbox__nav { width: 34px; height: 60px; font-size: 3rem; }
  .gms-pf-lightbox__nav--prev { left: 4px; }
  .gms-pf-lightbox__nav--next { right: 4px; }
  .gms-pf-lightbox__close { font-size: 2.5rem; top: 10px; right: 10px; }
}

/* ============================================================
   Our Work — Elementor page: blend the portfolio widget into the
   page (remove its standalone black background + heavy padding so
   it doesn't create an empty band under the hero).
   Scoped to the Elementor widget so the homepage section is unaffected.
   ============================================================ */
.elementor-widget-gms-portfolio-grid .gms-portfolio-grid-wrapper {
  background: transparent;
  padding: 0 0 2rem;
  overflow: visible;
}

.elementor-widget-gms-portfolio-grid .gms-portfolio-header {
  margin: 0 auto 2.75rem;
}

.elementor-widget-gms-portfolio-grid .gms-portfolio-grid {
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.elementor-widget-gms-portfolio-grid .gms-portfolio-card {
  min-height: 100%;
}

/* Nicer empty-state placeholder (until real screenshots are dropped in). */
.elementor-widget-gms-portfolio-grid .card-image-placeholder::after {
  content: "Preview coming soon";
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

/* CTA spacing on the page */
.elementor-widget-gms-portfolio-grid .gms-portfolio-cta-section {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .elementor-widget-gms-portfolio-grid .gms-portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .elementor-widget-gms-portfolio-grid .gms-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix: let card feature chips wrap instead of overflowing/clipping the card. */
.card-features {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 18px;
}

.feature-item {
  white-space: normal;
}

/* Uniform PORTRAIT card cover image (taller than wide, like website screenshots). */
.gms-portfolio-card .card-image {
  min-height: 0;
  padding: 1.25rem 1.25rem 0;
}

.gms-portfolio-card .card-image img {
  width: 100%;
  height: 210px !important;
  aspect-ratio: auto !important;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}

.gms-portfolio-card .card-image-placeholder {
  height: 210px !important;
  aspect-ratio: auto !important;
}

@media (max-width: 1024px) {
  .gms-portfolio-card .card-image img,
  .gms-portfolio-card .card-image-placeholder { height: 190px !important; }
}

@media (max-width: 600px) {
  .gms-portfolio-card .card-image img,
  .gms-portfolio-card .card-image-placeholder { height: 180px !important; }
}

/* Breathing room between the card image and the title/text. */
.gms-portfolio-card .card-content {
  padding-top: 1.5rem;
}

/* Elementor page-hero eyebrow → red pill, matching theme-controlled pages
   (Services/Industries/etc.). Applies to Our Work + other Elementor pages.
   Also covers the FAQ/section-heading eyebrow (e.g. "Glossary" on the glossary page). */
.elementor-widget-gms-page-hero .gms-approved-intro__main > .gms-eyebrow,
.elementor-widget-gms-faq .gms-section-heading > .gms-eyebrow,
.elementor-widget-gms-faq .gms-faq-stacked .gms-eyebrow {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 40px;
  padding: 0 18px;
  justify-content: center;
  border: 1px solid rgba(239, 32, 20, 0.32);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(116, 28, 22, 0.42) 0%, rgba(76, 17, 12, 0.58) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 28px rgba(50, 11, 8, 0.22);
  color: #ef3024;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Center the Elementor page-hero on the full width (the 2-column grid was
   left-shifting centered heroes on the Resources pages). The theme's
   --services grid uses !important at desktop, so we must override with it too. */
.elementor-widget-gms-page-hero .gms-approved-intro--align-center .gms-approved-intro__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  gap: 0 !important;
  text-align: center;
}

.elementor-widget-gms-page-hero .gms-approved-intro--align-center .gms-approved-intro__side {
  display: none !important;
}

.elementor-widget-gms-page-hero .gms-approved-intro--align-center .gms-approved-intro__main {
  max-width: 760px !important;
  width: 100% !important;
  margin-inline: auto !important;
  align-items: center !important;
  text-align: center;
}

.elementor-widget-gms-page-hero .gms-approved-intro--align-center .gms-approved-intro__main h1 {
  margin-inline: auto !important;
  text-align: center !important;
}

.elementor-widget-gms-page-hero .gms-approved-intro--align-center .gms-page-hero__actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 16px;
  width: 100%;
}

/* Center the FAQ/glossary section heading (eyebrow, title, description). */
.elementor-widget-gms-faq .gms-section-heading {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
