/* mod_kirie_services - tuiles "Nos activités" */
.jd-services-showcase { --kirie-services-height: 485px; }
@media (min-width: 992px) {
  .jd-services-showcase > [class*="col-"] { height: var(--kirie-services-height); }
  .jd-services-showcase .jd-services-showcase-link.is-full { flex: 1 1 100%; }
  .jd-services-showcase .jd-services-showcase-link.is-half { flex: 1 1 50%; }
}
.jd-services-showcase .jd-services-showcase-link {
  min-height: 150px;
  text-decoration: none;
}
@media (max-width: 991.98px) {
  .jd-services-showcase .jd-services-showcase-link { min-height: 300px; }
}
.jd-services-showcase .jdss-item {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #222;
}
.jd-services-showcase .jdss-item-opacity {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, .2);
  box-shadow: inset 0 0 200px #000;
  opacity: .5;
}
.jd-services-showcase .jdss-item-content { position: relative; z-index: 1; }
.jd-services-showcase .member-designation { font-size: 1rem; }
.jd-services-showcase .member-name {
  margin: 0;
  font-weight: 600;
  color: var(--kirie-secondary, #fbd438);
}
.jd-services-showcase .jdss-item-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  color: var(--kirie-primary, #050505);
  background-color: var(--kirie-secondary, #fbd438);
  opacity: 0;
  transition: opacity .2s ease-in-out;
}
.jd-services-showcase .jdss-item-overlay .member-name {
  margin-bottom: 10px;
  color: var(--kirie-primary, #050505);
}
@media (min-width: 992px) {
  .jd-services-showcase .jdss-item:hover .jdss-item-overlay,
  .jd-services-showcase-link:focus-visible .jdss-item-overlay { opacity: 1; }
}
