/**
 * Home #acm-features-129 — ripristino grafica Joomla / Wayback (maggio 2024).
 * - Fascia sezione #475966
 * - Barra titolo .features-item #436a8a (Joomla); slide/wrapper transparent
 * - Foto 200×200, cerchi numerati grigi
 * Caricato per ULTIMO in head.php.
 */

/* Fascia e carousel: colore Joomla (#475966, non #243b55) */
html.itemid-101 section.wrap.t3-sections,
body.asor-home section.wrap.t3-sections,
html.itemid-101 section.wrap.t3-sections > .section-inner:first-of-type,
body.asor-home section.wrap.t3-sections > .section-inner:first-of-type,
html body .t3-wrapper:has(> .wrap.t3-slideshow) section.wrap.t3-sections > .section-inner:first-of-type,
body.itemid-101 section.wrap.t3-sections > .section-inner:first-of-type {
  background-color: #243b55 !important;
  background: #495d6a !important;
}

html.itemid-101 #acm-features-129.acm-features.style-1,
body.itemid-101 #acm-features-129.acm-features.style-1,
body.asor-home #acm-features-129.acm-features.style-1,
html.itemid-101 #acm-features-129 .container,
html.itemid-101 #acm-features-129 .relative,
html.itemid-101 #acm-features-129 .swiper-container,
html.itemid-101 #acm-features-129 .swiper-wrapper,
body.asor-home #acm-features-129 .container,
body.asor-home #acm-features-129 .relative,
body.asor-home #acm-features-129 .swiper-container,
body.asor-home #acm-features-129 .swiper-wrapper,
html body .t3-wrapper:has(> .wrap.t3-slideshow) #acm-features-129 .container,
html body .t3-wrapper:has(> .wrap.t3-slideshow) #acm-features-129 .relative,
html body .t3-wrapper:has(> .wrap.t3-slideshow) #acm-features-129 .swiper-wrapper,
html body .t3-wrapper:has(> .wrap.t3-slideshow) #acm-features-129 .swiper-container,
html body .t3-wrapper:has(> .wrap.t3-slideshow) #acm-features-129.acm-features.style-1 {
  background-color: transparent !important;
  background: transparent !important;
}

#acm-features-129.acm-features.style-1 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html.itemid-101 #acm-features-129,
body.itemid-101 #acm-features-129,
body.asor-home #acm-features-129 {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Slide e link foto: trasparenti — il blu resta solo su .features-item sotto il titolo */
html body .t3-wrapper:has(> .wrap.t3-slideshow) #acm-features-129.acm-features.style-1 .swiper-slide.col,
html.itemid-101 #acm-features-129.acm-features.style-1 .swiper-slide,
html.itemid-101 #acm-features-129 .swiper-slide.col,
body.itemid-101 #acm-features-129.acm-features.style-1 .swiper-slide,
body.asor-home #acm-features-129 .swiper-slide.col,
.acm-features.style-1#acm-features-129 .swiper-slide,
#acm-features-129 .swiper-slide > a {
  background-color: transparent !important;
  background: transparent !important;
}

/* Barra titolo sotto foto — #436a8a come Joomla (solo .features-item, non .swiper-slide) */
html.itemid-101 #acm-features-129.acm-features.style-1 .features-item,
body.itemid-101 #acm-features-129.acm-features.style-1 .features-item,
body.asor-home #acm-features-129.acm-features.style-1 .features-item,
html body #acm-features-129 .features-item,
html body #acm-features-129 .asor-129-label.features-item {
  background-color: #243b55 !important;
  background: #495d6a !important;
  padding: 19px 5px 0 5px !important;
  margin: -26px auto 0 auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  position: relative !important;
  text-align: center !important;
  width: 300px !important;
  max-width: 300px !important;
  min-width: 300px !important;
  box-sizing: border-box !important;
}

/* Vincolo globale tema (custom-joomla-home / features-intro): slide sempre trasparenti su #129 */
html body.itemid-101 #acm-features-129.acm-features.style-1 .swiper-slide,
html body.itemid-101.home #acm-features-129 .swiper-slide.col,
html body.asor-home #acm-features-129 .swiper-slide.col,
.acm-features.style-1#acm-features-129 .swiper-slide.col {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html.itemid-101 #acm-features-129.acm-features.style-1 .features-title,
body.itemid-101 #acm-features-129.acm-features.style-1 .features-title,
body.asor-home #acm-features-129.acm-features.style-1 .features-title,
html.itemid-101 #acm-features-129 .features-title a,
body.asor-home #acm-features-129 .features-title a {
  color: #c29032 !important;
  font-size: 17px !important;
  background: transparent !important;
}

/* Foto: dimensioni Joomla (non allargate al 100%) */
html.itemid-101 #acm-features-129 .swiper-slide > a,
body.itemid-101 #acm-features-129 .swiper-slide > a,
body.asor-home #acm-features-129 .swiper-slide > a {
  display: block !important;
  width: 200px !important;
  max-width: 200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: transparent !important;
}

html.itemid-101 #acm-features-129 img.features-image,
body.itemid-101 #acm-features-129 img.features-image,
body.asor-home #acm-features-129 img.features-image,
html.itemid-101 #acm-features-129.acm-features.style-1 .features-image,
body.itemid-101 #acm-features-129.acm-features.style-1 .features-image,
body.asor-home #acm-features-129.acm-features.style-1 .features-image {
  width: 200px !important;
  max-width: 200px !important;
  height: 200px !important;
  max-height: 200px !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: transparent !important;
}

/* Cerchi numerati grigi (Joomla), non verdi */
html.itemid-101 #acm-features-129 .swiper-slide .count,
body.itemid-101 #acm-features-129 .swiper-slide .count,
body.asor-home #acm-features-129 .swiper-slide .count {
  background-color: #898989 !important;
  border: none !important;
  color: #ffffff !important;
}

#acm-features-129 .asor-129-slide,
#acm-features-129 .asor-129-photo,
#acm-features-129 .asor-129-photo a,
html.itemid-101 #acm-features-129.acm-features.style-1 .swiper-slide,
body.itemid-101 #acm-features-129.acm-features.style-1 .swiper-slide.col {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
}

html.itemid-101 #acm-features-129 .relative,
body.asor-home #acm-features-129 .relative {
  margin-top: 10px !important;
}

@media (max-width: 991px) {
  html.itemid-101 #acm-features-129 img.features-image,
  body.asor-home #acm-features-129 img.features-image {
    width: auto !important;
    max-width: 70% !important;
    height: auto !important;
    max-height: 200px !important;
    min-height: 0 !important;
  }

  html.itemid-101 #acm-features-129 .swiper-slide > a,
  body.asor-home #acm-features-129 .swiper-slide > a {
    width: 100% !important;
    max-width: 200px !important;
  }
}

@media (min-width: 992px) {
  html.itemid-101 #acm-features-129 .container,
  body.asor-home #acm-features-129 .container {
    margin-top: -310px !important;
  }
}
