/**
* Theme Name: Extice Child
* Description: This is a child theme of Extice, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: extice
* Version: 1.0.7
*/

/* KEVIID service image sizing */
body.single-extice_services .elementor-post-thumbnail {
  aspect-ratio: 1410 / 760 !important;
  border-radius: 18px;
  overflow: hidden;
}

body.single-extice_services .elementor-post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: 0 !important;
}

body.single-extice_services .elementor-widget-image-gallery .gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 30px !important;
  margin: 0 !important;
}

body.single-extice_services .elementor-widget-image-gallery .gallery::before,
body.single-extice_services .elementor-widget-image-gallery .gallery::after {
  content: none !important;
  display: none !important;
}

body.single-extice_services .elementor-widget-image-gallery .gallery-item {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.single-extice_services .elementor-widget-image-gallery .gallery-icon {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

body.single-extice_services .elementor-widget-image-gallery .gallery-icon a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.single-extice_services .elementor-widget-image-gallery .gallery-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: 0 !important;
}

@media (max-width: 767px) {
  body.single-extice_services .elementor-widget-image-gallery .gallery {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}


/* Hide empty service feature icon boxes */
body.single-extice_services .elementor-widget-icon-box.elementor-yes {
  display: none !important;
}


/* Projects archive cards: remove title/excerpt truncation */
body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-content {
  display: grid !important;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) auto;
  align-items: end !important;
  gap: 24px !important;
}

body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-title,
body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-excerpt {
  max-width: none !important;
  width: auto !important;
}

body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-title,
body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-title a,
body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-excerpt {
  display: block !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  height: auto !important;
  max-height: none !important;
}

body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-button-wrapper {
  align-self: end;
}

@media (max-width: 1024px) {
  body.page-id-2357 .elementor-widget-extice-projects .project-item.project-style-2 .project-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}


/* Global project cards: always show full titles */
.elementor-widget-extice-projects .project-item .project-title,
.elementor-widget-extice-projects .project-item .project-title a {
  max-width: none !important;
  width: auto !important;
  display: block !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  height: auto !important;
  max-height: none !important;
}
