:root,
[color-scheme="light"],
[color-scheme="dark"] {
  --accent: #58364F;
  --accent-rgb: 88, 54, 79;
  --accent--light: #58364F;
  --accent-rgb--light: 88, 54, 79;
  --accent--dark: #58364F;
  --accent-rgb--dark: 88, 54, 79;
  --additional: #d2b4c8;
  --additional-rgb: 210, 180, 200;
}

.mxd-logo__image {
  display: none;
}

.mxd-logo__image.glma-uploaded-logo {
  display: block;
  width: 5.6rem;
  height: 5.6rem;
  object-fit: contain;
}

.mxd-logo__image.glma-uploaded-logo + .mxd-logo__text {
  display: none;
}

.mxd-logo__text {
  width: 5.6rem;
  height: 5.6rem;
  background: url("https://res.cloudinary.com/dthd5f398/image/upload/f_auto/q_auto:best/v1788903325/glmaagency.com/c62f7fd6f7603de0d73e-c62f7fd6f760-GLMA-Logo-Footer-02.png") center / contain no-repeat;
  color: transparent;
  overflow: hidden;
}

[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .mxd-point-subtitle,
[dir="rtl"] .mxd-services-cards__tags,
[dir="rtl"] .mxd-project-item__tags,
[dir="rtl"] .mxd-blog-preview__tags,
[dir="rtl"] .footer-nav__link {
  direction: rtl;
}

.glma-copy p + p,
.glma-copy ul + p,
.glma-copy p + ul {
  margin-top: 1.6rem;
}

.glma-copy ul {
  display: grid;
  gap: 1rem;
}

.glma-copy li {
  list-style: none;
  color: var(--t-bright);
}

.glma-meta-list {
  display: grid;
  gap: 1.2rem;
}

.glma-meta-list p {
  margin: 0;
}

.glma-card-link {
  display: block;
  height: 100%;
}

.glma-service-row {
  display: block;
  color: inherit;
  text-decoration: none;
}

.glma-service-row:hover {
  color: inherit;
}

.glma-sidebar-list {
  display: grid;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
}

.glma-sidebar-list li {
  list-style: none;
}

.glma-sidebar-list a {
  color: var(--t-bright);
  text-decoration: none;
}

.glma-ar-word {
  direction: rtl;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 0;
}

[dir="ltr"] .glma-ar-word {
  text-align: right;
}

.glma-menu-ar-link .btn-caption {
  overflow: visible;
}

.glma-section-kicker {
  margin-top: 3rem;
}

.glma-about-service {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 2rem;
  color: inherit;
  text-decoration: none;
  background-color: var(--base-tint);
  padding: 2rem;
  overflow: hidden;
}

.glma-about-service:hover {
  color: inherit;
}

.glma-about-service img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-top: auto;
}

.glma-about-service p {
  margin: 0;
}

.glma-about-contact {
  display: grid;
  gap: 3rem;
  color: #ffffff;
  background-color: #58364F;
  padding: 3rem;
}

.glma-about-contact .mxd-point-subtitle span,
.glma-about-contact a,
.glma-about-contact h2 {
  color: #ffffff;
}

.glma-about-contact .btn {
  margin-top: 3rem;
}

.glma-about-contact__data {
  display: grid;
  gap: 1.8rem;
  align-content: center;
}

.glma-about-contact__data p {
  margin: 0;
}

.glma-about-contact__data span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.6rem;
}

.glma-service-detail .mxd-section-title__hrtitle {
  margin-bottom: 4.8rem;
}

.glma-service-spaced-section {
  padding-top: 8rem;
}

.glma-service-detail .mxd-section-inner-headline + .glma-service-spaced-section {
  padding-top: 0;
}

.glma-service-detail-grid,
.glma-service-feature-grid,
.glma-service-industries {
  row-gap: 0;
}

.glma-service-detail-card,
.glma-industry-card {
  min-height: 100%;
  background-color: var(--base-tint);
  padding: 3rem;
}

.glma-service-detail-card.glma-service-detail-row,
.glma-service-feature.glma-service-detail-row {
  display: grid;
  grid-template-columns: minmax(14rem, 18%) minmax(24rem, 30%) minmax(0, 1fr);
  column-gap: 4.8rem;
  row-gap: 2rem;
  align-items: start;
  min-height: auto;
  padding: 3.4rem 0;
  background-color: transparent;
  border-top: 0.2rem solid var(--st-muted);
}

.glma-service-detail-grid > .mxd-grid-item:last-child .glma-service-detail-row,
.glma-service-feature-grid > .mxd-grid-item:last-child .glma-service-detail-row {
  border-bottom: 0.2rem solid var(--st-muted);
}

.glma-service-detail-row .mxd-point-subtitle {
  margin: 0;
}

.glma-service-row-icon {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
}

.glma-service-row-icon img {
  display: block;
  width: clamp(5.8rem, 6vw, 8.8rem);
  height: clamp(5.8rem, 6vw, 8.8rem);
  object-fit: contain;
  flex: 0 0 auto;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: spin 5s linear infinite;
  animation-play-state: paused;
}

.no-touch .glma-service-detail-row:hover .glma-service-row-icon img {
  animation-play-state: running;
}

.glma-service-row-icon span {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--t-muted);
  padding-top: 0.8rem;
}

.glma-service-row-copy {
  max-width: 86rem;
}

.glma-service-detail-row h3 {
  font-size: clamp(2.8rem, 2.6vw, 4.2rem);
  line-height: 1.04;
  max-width: 34rem;
}

.glma-service-detail-card h3,
.glma-service-feature h3,
.glma-industry-card h4 {
  margin: 0 0 1.6rem;
}

.glma-service-detail-card p,
.glma-service-feature p,
.glma-industry-card p {
  margin: 0;
}

.glma-service-detail-card p + p,
.glma-service-feature p + p {
  margin-top: 1.2rem;
}

.glma-service-feature {
  min-height: 100%;
  padding: 0 2.4rem 2.4rem 0;
}

.glma-service-feature.glma-service-detail-row {
  padding-right: 0;
}

.glma-service-detail-image {
  min-height: 56rem;
  background-image: url("https://res.cloudinary.com/dthd5f398/image/upload/f_auto/q_auto:best/v1788903776/glmaagency.com/515283b270458d607802-1920x1080_divider-01.webp");
  background-position: center;
  background-size: cover;
}

.glma-service-accent {
  background-color: #58364F;
}

.glma-service-accent,
.glma-service-accent h2,
.glma-service-accent h3,
.glma-service-accent h4,
.glma-service-accent p,
.glma-service-accent a,
.glma-service-accent .mxd-point-subtitle span {
  color: #ffffff;
}

.glma-service-accent .glma-industry-card {
  background-color: rgba(0, 0, 0, 0.12);
}

.glma-service-cta-strip {
  margin-top: 8rem;
  padding-top: 8rem;
}

.glma-service-detail .mxd-awards-list {
  margin-top: 1.2rem;
}

.glma-service-faq-image,
.glma-service-faq-panel {
  height: 100%;
  min-height: 62rem;
}

.glma-service-faq-image {
  overflow: hidden;
  background-color: var(--base-tint);
}

.glma-service-faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glma-service-faq-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #58364F;
  padding: 5rem;
}

.glma-service-faq-panel,
.glma-service-faq-panel h2,
.glma-service-faq-panel p,
.glma-service-faq-panel .mxd-point-subtitle span {
  color: #ffffff;
}

.glma-footer-wordmark {
  width: 94%;
  color: var(--t-bright);
  font-family: var(--_font-accent);
  font-size: clamp(6rem, 12.5vw, 23rem);
  font-weight: var(--fw-semibold);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  margin-inline: auto;
  text-wrap: wrap;
}

@media only screen and (min-width: 1200px) {
  .glma-about-contact {
    grid-template-columns: 1fr 1fr;
    padding: 6rem;
  }
}

@media only screen and (max-width: 1199px) {
  .glma-service-spaced-section {
    padding-top: 6rem;
  }

  .glma-service-cta-strip {
    margin-top: 6rem;
    padding-top: 6rem;
  }

  .glma-service-detail-card.glma-service-detail-row,
  .glma-service-feature.glma-service-detail-row {
    grid-template-columns: minmax(10rem, 16%) minmax(18rem, 34%) minmax(0, 1fr);
    column-gap: 3rem;
    row-gap: 2rem;
  }

  .glma-service-detail-row h3 {
    font-size: clamp(2.6rem, 3vw, 3.6rem);
  }

  .glma-service-feature {
    padding-right: 0;
  }

  .glma-service-faq-image,
  .glma-service-faq-panel {
    min-height: auto;
  }

  .glma-service-faq-image {
    aspect-ratio: 16 / 10;
  }
}

@media only screen and (max-width: 767px) {
  .glma-service-spaced-section {
    padding-top: 5rem;
  }

  .glma-service-cta-strip {
    margin-top: 5rem;
    padding-top: 5rem;
  }

  .glma-service-detail .mxd-section-title__hrtitle {
    margin-bottom: 3rem;
  }

  .glma-service-detail-card.glma-service-detail-row,
  .glma-service-feature.glma-service-detail-row {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 2.6rem 0;
  }

  .glma-service-detail-row h3 {
    font-size: clamp(2.4rem, 7vw, 3.2rem);
    max-width: 100%;
  }

  .glma-service-row-icon {
    align-items: center;
  }

  .glma-service-row-icon img {
    width: 6.4rem;
    height: 6.4rem;
  }

  .glma-service-row-icon span {
    padding-top: 0;
  }

  .glma-service-detail-card,
  .glma-industry-card,
  .glma-service-faq-panel {
    padding: 2rem;
  }

  .glma-service-detail-image {
    min-height: 34rem;
  }
}
/* Keep the project facts in two columns with the requested desktop spacing. */
@media only screen and (min-width: 1200px) {
  .inner-headline__data .mxd-data-list > .container-fluid > .row.g-0 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 100px;
  }

  .inner-headline__data .mxd-data-list > .container-fluid > .row.g-0 > .mxd-data-list__column {
    width: auto;
    min-width: 0;
  }
}
/* Preserve the full composition for explicitly uncropped project images. */
.glma-west-beach-gallery .mxd-project-cards__item:nth-child(2) {
  height: auto;
}
.glma-west-beach-gallery .mxd-project-cards__item:nth-child(2) img {
  height: auto;
  object-fit: contain;
}
@media only screen and (min-width: 1200px) {
  .glma-west-beach-gallery {
    display: grid;
    grid-template-columns: 5fr 7fr;
  }
  .glma-west-beach-gallery > .mxd-project-cards__item {
    width: 100%;
  }
  .glma-west-beach-gallery > .mxd-project-cards__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .glma-west-beach-gallery .mxd-project-cards__item:nth-child(2) img {
    height: 100%;
  }
}

.mxd-project-cards__inner img.glma-image-contain {
  object-fit: contain;
}

/* Equal portrait images stay side by side and shrink with the article. */
.glma-article-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 744px;
  margin-inline: auto;
}

.glma-article-image-pair > figure {
  min-width: 0;
  margin: 0;
}
