.sportelli-unitni-text-1,
.sportelli-unitni-text-1 p {
  color: var(--color-text-base, #1a1a1a);
  font-family: Inter;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -1px;

  text-align: start;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.sportelli-unitni-text-1 strong {
  font-weight: 800;
}
.sportelli-unitni-text-2 {
  color: var(--color-text-base, #1a1a1a);
  font-family: Inter;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: 130%;
}
.sportelli-unitni-text-3,
.sportelli-unitni-text-3 p {
  color: var(--color-text-base, #1a1a1a);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;

  text-align: start;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* -webkit-line-clamp: 5; */
  overflow: hidden;
}
.sportelli-buttons-container {
  width: 911.997px;
  min-height: 372px;
  height: auto;
  padding: 40px 48px;
  flex-direction: column;
  gap: 8px;
  border-radius: 72px;
  background: var(--color-blue-97, #f2f7fc);
  z-index: 1;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.sportelli-texts-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.buttons-container-2-buttons {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-top: auto;
}

.banner-left-side {
  overflow: hidden;
  width: 70%;
  position: relative;
  height: 688px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  border-radius: 0px 72px 72px 352px;
  background: var(--color-teal-20, #05615e);
}

.banner-left-side video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.date-desc-card p a,.date-desc-card a{
  color:white;
}

.date-desc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  margin-bottom: 40px;
}
.date-desc-card .date {
  color: var(--color-white, #fff);
  font-family: "Roboto Mono";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  text-decoration-line: underline;
}
.date-desc-card .desc,
.date-desc-card .desc p {
  color: var(--color-white, #fff);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 30px */
  text-align: start;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.banner-left-side .pause-play {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.48);
  position: absolute;
  z-index: 9;
  left: 20px;
  top: 20px;
  padding: 20px;
  gap: 8px;
  cursor: pointer;
  display: none;
  width: 72px;
  height: 72px;
  justify-content: center;
  align-items: center;
}

.carousel-buttons-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.custom-carousel {
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  min-width: 386px;
  padding: 0px 20px;
}

.custom-carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
  transform: translateX(0);
}

.custom-carousel-card {
  position: relative;
  color: white;
  font-size: 1.5em;
  border-radius: 10px;
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: flex-end;
  gap: 56px;
  background: var(--color-teal-26, #077f7b);
  box-shadow: 0px 16px 13px 0px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  max-width: 300px; /* Ensure all cards have the same width */
  transition: transform 0.4s ease-in-out;
  flex: 0 0 300px; /* Force the cards to occupy their full width */
}

.custom-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

#custom-prev-button,
#custom-next-button {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 8px;
  border-radius: 40px;
  border: 1px solid var(--color-white, #fff);
  background: transparent;
}

#custom-prev-button:hover,
#custom-next-button:hover {
  background-color: #077f7b;
  cursor: pointer;
}

.custom-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 72px;
  gap: 16px;
}

.custom-dot {
  margin: 0 !important;
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background-color: #ddd;
  border-radius: 50%;
  cursor: pointer;
  fill: var(--color-white, #fff);
  opacity: 0.2;
}

.custom-dot.active {
  background-color: white;
  opacity: 1;
  width: 12px;
  height: 12px;
}

.carousel-title {
  color: var(--color-white, #fff);
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 48px;

  text-align: start;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  max-width: 370px;
}

@media (min-width: 1700px) {
  .custom-carousel {
    max-width: 471px;
    min-width: 471px;
  }
  .custom-carousel-card {
    min-width: 444px;
    max-width: 444px;
  }
  .banner-right-side {
    padding: 80px 64px 80px 230px;
    width: 40%;
  }
  .banner-left-side {
    width: 70%;
  }
}

@media (min-width: 1503px) and (max-width: 1699px) {
  .custom-carousel {
    max-width: 400px;
    min-width: 400px;
  }
  .custom-carousel-card {
    min-width: 370px;
    max-width: 370px;
  }
  .banner-right-side {
    padding: 80px 64px 80px 230px;
    width: 40%;
  }
  .sportelli-buttons-container {
    gap: 0;
    min-height: 372px;
  }
}
@media (min-width: 1323px) and (max-width: 1502px) {
  .custom-carousel {
    max-width: 386px;
    min-width: 386px;
  }
  .custom-carousel-card {
    min-width: 353px;
    max-width: 353px;
  }
  .banner-right-side {
    padding: 80px 64px 80px 210px;
    width: 40%;
  }
}
@media (min-width: 1080px) and (max-width: 1322px) {
  .banner-right-side {
    padding: 80px 64px 80px 173px;
  }
  .custom-carousel {
    max-width: 430px;
    min-width: 430px;
  }
  .custom-carousel-card {
    min-width: 400px;
    max-width: 400px;
  }
  .banner-left-side {
    width: 60%;
  }
  .banner-right-side {
    width: 50%;
  }
}
@media (min-width: 991px) and (max-width: 1079px) {
  .banner-right-side {
    padding: 80px 64px 80px 145px;
  }
  .custom-carousel {
    max-width: 372px;
    min-width: 372px;
  }
  .custom-carousel-card {
    min-width: 339px;
    max-width: 339px;
  }
  .banner-left-side {
    width: 60%;
  }
  .banner-right-side {
    width: 50% !important;
  }
}
@media (min-width: 991px) {
  .banner-left-side img {
    display: block;
    height: 100% !important;
  }

  .banner-right-side {
    margin-left: -10%;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 0px 0px 72px 0px;
    background: var(--color-teal-20, #05615e);
    box-shadow: 0px 16px 48px 0px rgba(0, 0, 0, 0.15);
  }
}
@media (max-width: 990px) {
  .banner-right-side {
    gap: 24px;
  }
  .date-desc-card .desc,
  .date-desc-card .desc p {
    color: var(--color-white, #fff);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
  }
  .sportelli-unitni-text-1 strong {
    color: var(--color-text-base, #1a1a1a);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 130%;
  }
  .sportelli-unitni-text-1,
  .sportelli-unitni-text-1 p,
  .sportelli-unitni-text-1 p {
    font-size: 24px;
    font-weight: 400;
    line-height: 130%;
  }
  .buttons-container-2-buttons {
    gap: 16px;
  }
  .sportelli-buttons-container {
    gap: 40px;
  }
  .banner-left-side img {
    max-width: 100%;
    object-fit: cover;
  }
  .custom-dots {
    gap: 8px;
  }
  .custom-dots {
    margin: 0 48px;
  }
  .buttons-container-2-buttons svg {
    width: 16px;
    height: 16px;
  }
  .carousel-title {
    font-size: 20px;
    line-height: 150%;
  }
  .custom-carousel-track {
    transform: translateX(320px);
    justify-content: center;
  }
  .banner-right-side {
    display: none;
    margin-top: -60px;
    width: 100%;
    padding: 80px 10px 20px 10px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 0px 0px 0px 72px;
    background: var(--color-teal-20, #05615e);
    box-shadow: 0px 16px 48px 0px rgba(0, 0, 0, 0.15);
  }
  .spinner-container {
    width: 100%;
    height: 400px;
  }
  .banner-left-side .pause-play {
    display: none;
  }
  .home-banner-container {
    flex-direction: column;
  }
  .sportelli-unitni-container {
    flex-direction: column;
  }
  .sportelli-unitni-text-1 {
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 130% !important;
  }
  .sportelli-unitni-text-2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 130% !important;
    text-align: start;
  }
  .sportelli-unitni-text-3,
  .sportelli-unitni-text-3 p {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    text-align: start;
  }
  .banner-left-side {
    width: 100% !important;
    /* border-radius: 0px; */
    border-radius: 0px 0px 0px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .banner-left-side .sportelli-buttons-container {
    height: auto;
    border-radius: 32px 32px 0px 72px;
    padding: 26px;
    width: 100.5%;
  }
  .banner-left-side video {
    display: none;
  }
  .image-banner-container {
    height: 85% !important;
  }
}

@media (max-width: 1699px) {
  .sportelli-unitni-text-1 {
    font-size: 29px;
  }
  .sportelli-unitni-text-2 {
    font-size: 29px;
  }
  .sportelli-unitni-text-3 {
    font-size: 16px;
  }
}
@media (min-width: 1323px) and (max-width: 1700px) {
  .sportelli-buttons-container {
    width: 678px;
    min-height: 372px;
    gap: 0px;
  }
}
@media (max-width: 600px) {
  .banner-left-side img {
    display: block;
    height: 90%;
  }
  p {
    margin: 0;
  }

  .banner-left-side .sportelli-buttons-container {
    padding: 32px;
  }

  #custom-prev-button,
  #custom-next-button {
    padding: 8px;
  }

  .carousel-buttons-card {
    gap: 24px;
  }
}
@media (min-width: 601px) and (max-width: 1322px) {
  .banner-left-side img {
    display: block;
    height: 67%;
  }
  .buttons-container-2-buttons svg {
    width: 16px;
    height: 16px;
  }
  .sportelli-buttons-container {
    gap: 0 !important;
    min-height: 372px;
    width: 519px;
    padding: 31px 35px !important;
  }
  /* .sportelli-unitni-text-1 {
    font-size: 20px;
  }
  .sportelli-unitni-text-2 {
    font-size: 20px;
  }
  .sportelli-unitni-text-3 {
    font-size: 14px;
  }
  .buttons-container-2-buttons button {
    padding: 10px;
    font-size: 10px;
  } */
}

a.notification_cta_footer {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 32px;
  right: 32px;
  align-items: center;
  color: var(--color-white, #FFF);
  text-align: justify;
  font-family: 'Inter';
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  text-decoration: none;
}

a.notification_cta_footer div {
  text-align: end;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  max-width: 250px;
}

.image-banner-container {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.image-banner {
  width: 100%;
  height: 100%;
}

#video-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e0e0e0; /* Light gray for skeleton */
  animation: pulse 1.5s infinite;
  z-index: 1; /* Ensure skeleton appears over the video */
}
.skeleton-3 {
  display: block;
  background-color: #e0e0e0; /* Light gray for skeleton */
  animation: pulse 1.5s infinite;
  z-index: 1; /* Ensure skeleton appears over the video */
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.spinner {
  width: 100px;
  height: 100px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3498db; /* Customize the color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-banner-container {
  width: 100%;
}

@media (min-width: 991px) and (max-width: 1499px) {
  .sportelli-buttons-container-no-notf {
    width: 678px !important;
  }
}
@media (min-width: 1500px) and (max-width: 1919px) {
  .sportelli-buttons-container-no-notf {
    width: 1200px !important;
  }
}
@media (min-width: 1920px) {
  .sportelli-buttons-container-no-notf {
    width: 1380px !important;
    padding: 40px 117px;
  }
}
