/* General Section Styling */
.section-title {
  font-size: var(--wdg-fon-size-h2);
  text-align: center;
  margin-block: var(--wdg-gap-xsmall);
  color: var(--wdg-color-text);
  font-weight: 400;
  text-align: left;
  line-height: 115%;
  letter-spacing: -0.6px;
}

/* Grid Container */
.mt-container {
  padding-top: var(--wdg-gap-xsmall);
}

.mt-grid {
  display: grid;
  gap: var(--wdg-gap-medium);
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
}
@media (max-width: 47.9375em) {
  .mt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mt-item {
  display: flex;
  align-items: center;
  gap: var(--wdg-gap-xsmall);
  vertical-align: top;
  margin-bottom: 16px;
  background-color: var(--wdg-color-white);
  border-radius: 8px;
}

button.mt-open-url {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--wdg-gap-xxsmall);
  text-align: left;
  gap: var(--wdg-gap-xsmall);
  width: 100%;
  position: relative;
  border-radius: 8px;
  transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
button.mt-open-url:hover {
  box-shadow: 0 0px 12px rgba(0, 0, 0, 0.2);
  background-color: #f3f3f3;
}
button.mt-open-url:hover .mt-profile {
  transform: scale(1.05);
}
button.mt-open-url:hover .mt-profile-container::after {
  background: hsl(from var(--wdg-color-primary) h s l/0.5);
}
button.mt-open-url:hover .mt-profile-container::before {
  opacity: 1;
}
button.mt-open-url .mt-profile-container {
  /* Overlay Effect Using Pseudo-Element */
}
button.mt-open-url .mt-profile-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 50, 160, 0); /* No overlay by default */
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
  z-index: 2;
}
button.mt-open-url .mt-profile-container {
  /* Icon Play Effect Using Pseudo-Element */
}
button.mt-open-url .mt-profile-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  opacity: 0; /* Hide initially */
  z-index: 3;
  transition: opacity 0.3s ease-in-out;
}

/* Profile Image Container */
.mt-profile-container {
  position: relative;
  width: auto;
  height: auto;
  aspect-ratio: 1/1; /* Enforce a perfect circle */
  border-radius: 50%;
  overflow: hidden;
  max-height: 90px;
}

/* Profile Image */
.mt-profile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease-in-out; /* Smooth scaling on hover */
  flex-shrink: 0; /* Prevent shrinking in flex containers */
}

/* Title Styling */
.mt-title {
  font-size: var(--wdg-font-size-medium);
  font-weight: 500;
  color: var(--wdg-color-text);
  line-height: 1.2;
  word-wrap: break-word;
  letter-spacing: -0.2px;
  text-align: left;
  width: auto; /* Default for larger screens */
  min-width: 140px;
  text-transform: none;
  max-width: 220px;
}

/* Responsive Adjustments */
@media screen and (max-width: 1536px) {
  .mt-profile-container {
    width: auto;
    height: auto;
    max-height: 90px;
    max-width: 90px;
  }
  .mt-profile {
    width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 1440px) {
  .mt-profile-container {
    width: auto;
    height: auto;
    max-height: 90px;
    max-width: 90px;
  }
  .mt-profile {
    width: 100%;
    height: 100%;
  }
  .mt-title {
    width: 110px; /* Default for medium screens */
  }
}
@media screen and (max-width: 1280px) {
  .mt-profile-container {
    width: auto;
    height: auto;
    max-height: 70px;
    max-width: 70px;
  }
  .mt-profile {
    width: 100%;
    height: 100%;
  }
  .mt-title {
    width: 110px; /* Default for medium screens */
  }
}
@media screen and (max-width: 1024px) {
  .mt-title {
    font-size: 0.9em;
    width: 90px;
  }
  .mt-profile-container {
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 60px;
  }
}
@media screen and (max-width: 768px) {
  .mt-title {
    width: 100px; /* Default for medium screens */
  }
  .mt-profile-container {
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 60px;
  }
}
@media screen and (max-width: 480px) {
  .mt-title {
    font-size: 1em;
    width: 160px;
  }
  .mt-profile-container {
    width: 60px;
    height: 60px;
  }
}
/*# sourceMappingURL=mt-carousel.css.map */
