/* TMT-Media production stylesheet — Stage 28.0 */

/* Source owner: tmt-clean-services-overview.css */
body.tmt-static-site .tmt-service-anchor { scroll-margin-top:110px; }

/* Clean Services overview ownership. */
body.tmt-static-site .tmt-services-overview {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

body.tmt-static-site .tmt-services-overview__container + .tmt-services-overview__container {
  margin-top: clamp(3rem, 6vw, 5rem);
}

body.tmt-static-site .tmt-services-overview__title {
  margin: 0 0 var(--tmt-heading-content-gap);
  text-align: left;
}

body.tmt-static-site .tmt-services-overview__subtitle {
  margin: 0 0 var(--tmt-subheading-content-gap);
}

body.tmt-static-site .tmt-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

body.tmt-static-site .tmt-service-card {
  min-width: 0;
  margin: 0;
}

body.tmt-static-site .tmt-service-card__link,
body.tmt-static-site .tmt-service-card__link:hover,
body.tmt-static-site .tmt-service-card__link:focus-visible {
  display: flex;
  height: 100%;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--tmt-border);
  border-radius: var(--tmt-radius);
  background: var(--tmt-panel-grad);
  color: var(--tmt-card-text, var(--tmt-text));
  -webkit-text-fill-color: var(--tmt-card-text, var(--tmt-text));
  box-shadow: var(--tmt-shadow);
  text-decoration: none !important;
  transform: translateY(0);
  transition: transform var(--tmt-transition), box-shadow var(--tmt-transition), border-color var(--tmt-transition-fast);
}

@media (hover: hover) {
  body.tmt-static-site .tmt-service-card__link:hover {
    transform: translateY(calc(-1 * var(--tmt-hover-lift)));
    box-shadow: var(--tmt-shadow-hover);
  }
}

body.tmt-static-site .tmt-service-card__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  box-shadow: var(--tmt-shadow-hover);
}

body.tmt-static-site .tmt-service-card__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  text-align: center;
}

body.tmt-static-site .tmt-service-card__icon {
  display: block;
  width: auto;
  height: 88px;
  max-width: 132px;
  object-fit: contain;
}

html[data-tmt-theme="dark"] body.tmt-static-site .tmt-service-card__icon {
  filter: brightness(0) invert(1);
}

body.tmt-static-site .tmt-service-card__label {
  --tmt-underline-offset: -.30em;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
}

body.tmt-static-site .tmt-service-card__link:hover .tmt-service-card__label.tmt-animated-underline::after,
body.tmt-static-site .tmt-service-card__link:focus-visible .tmt-service-card__label.tmt-animated-underline::after {
  transform: scaleX(1);
}

@media (max-width: 680px) {
  body.tmt-static-site .tmt-services-grid {
    grid-template-columns: 1fr;
  }

  body.tmt-static-site .tmt-service-card__link {
    min-height: 160px;
    padding: 1.1rem .75rem;
  }

  body.tmt-static-site .tmt-service-card__icon {
    height: 70px;
    max-width: 105px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tmt-static-site .tmt-service-card__link {
    transition: none;
  }

  body.tmt-static-site .tmt-service-card__link:hover {
    transform: none;
  }
}

/* The service-card owner suppresses inherited native content-link decoration. */
html[data-tmt-theme] body.tmt-static-site #services a.tmt-service-card__link,
html[data-tmt-theme] body.tmt-static-site #services a.tmt-service-card__link:hover,
html[data-tmt-theme] body.tmt-static-site #services a.tmt-service-card__link:focus-visible {
  text-decoration: none !important;
}
