/**
 * Template C — CMS image frames (cover, gap-free)
 */

body.cms-active-template-templateC .template-c .tc-about-main-media {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 400;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-about-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-about-feature-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

body.cms-active-template-templateC .template-c .tc-menu-thumb-wrap.tc-cms-media {
  flex-shrink: 0;
  width: 120px;
  max-width: 32vw;
  aspect-ratio: 840 / 280;
  height: auto;
  overflow: hidden;
  display: inline-block;
  line-height: 0;
}

body.cms-active-template-templateC .template-c .tc-menu-thumb-wrap .tc-menu-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-svc-v2-icon-wrap.tc-cms-media,
body.cms-active-template-templateC .template-c .tc-svc-v2-icon-wrap.tc-cms-media[data-cms-aspect="services.items.icon_image"] {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  aspect-ratio: 1 / 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-svc-v2-icon-wrap .tc-svc-v2-icon-img,
body.cms-active-template-templateC .template-c .tc-svc-v2-icon-wrap img[data-cms-field="services.items.icon_image"] {
  width: 100% !important;
  height: 100% !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  background: transparent !important;
}

body.cms-active-template-templateC .template-c .tc-team-v2-avatar-ring.tc-cms-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-team-v2-avatar-ring .tc-team-v2-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-testimonial-photo-wrap.tc-cms-media {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  line-height: 0;
}

body.cms-active-template-templateC .template-c .tc-testimonial-photo-wrap .tc-testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-video-v2-screen.tc-video-v2-media--hero-size {
  aspect-ratio: 960 / 480;
  overflow: hidden;
  line-height: 0;
  background: #111;
}

body.cms-active-template-templateC .template-c .tc-video-v2-screen .tc-video-v2-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-blog-thumb-link.tc-cms-media {
  display: block;
  width: 100%;
  aspect-ratio: 840 / 280;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-blog-thumb-link .tc-blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: transparent;
}

body.cms-active-template-templateC .template-c .tc-fact-figure.tc-cms-media img {
  max-width: 72px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
