/* Sports building details — styles from TeamZ Sports-building-details.html */
.overview-cinema-section {
  padding-bottom: 80px;
  @media screen and (max-width: 1200px) {
    padding-bottom: 30px;
  }
}

.explore-the-experiences-section {
  background-color: #fff;
}

.more-than-sports-section,
.explore-the-experiences-section {
  padding-block: 80px;
  @media screen and (max-width: 1200px) {
    padding-block: 30px;
  }
}

.overview-cinema-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  @media screen and (max-width: 1200px) {
    gap: 20px;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .about-cinema-title {
    margin-bottom: 20px;
  }
}

.overview-cinema-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2%;
  width: 100%;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid #061f1c1a;
}

.overview-cinema-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  .overview-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  .overview-label {
    text-align: center;
    font-weight: 400;
    font-size: 9px;
    color: #55575a;
    margin-bottom: 4px;
  }
  .overview-value {
    font-weight: 700;
    font-size: 24px;
    color: #000;
  }
}

.overview-cinema-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;
}

.overview-cinema-grid-image {
  border-radius: 24px;
  overflow: hidden;
  display: block;
  height: 268px;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  &:nth-child(1),
  &.item-top {
    grid-column: 1 / -1;
  }
  &:nth-child(2),
  &.item-bottom-left {
    grid-column: 1 / 2;
  }
  &:nth-child(3),
  &.item-bottom-right {
    grid-column: 2 / 3;
  }
}

@media (max-width: 767px) {
  .overview-cinema-grid {
    grid-template-columns: 1fr;
  }

  .overview-cinema-grid-image:nth-child(n),
  .overview-cinema-grid-image.item-top,
  .overview-cinema-grid-image.item-bottom-left,
  .overview-cinema-grid-image.item-bottom-right {
    grid-column: 1 / -1;
  }
}

.experiences-card {
  /* Same swipe card model on all breakpoints (mobile-style) */
  width: min(280px, 78vw);
  margin-inline-end: 0;
  height: 560px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  transition: opacity 0.35s ease, transform 0.35s ease;
  flex-shrink: 0;
  opacity: 0.7;
  transform: scale(0.94);
  @media (max-width: 1200px) {
    width: min(72vw, 340px);
    height: 460px;
  }
  @media (max-width: 767px) {
    width: min(78vw, 300px);
    height: 400px;
  }

  &.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
  }
  .card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    &::before {
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
      background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(6, 31, 28, 0.8) 100%
      );
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .card-content {
    height: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    @media screen and (max-width: 1200px) {
      padding: 12px 14px;
    }
  }
  .card-title {
    transition: transform 0.4s ease;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    @media screen and (max-width: 1200px) {
      font-size: 15px;
    }
  }
  .card-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    transition: all 0.4s ease;
    img {
      transition: inherit;
    }
  }
  .card-desc {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.38;
    color: #fff;
    @media screen and (max-width: 1200px) {
      font-size: 14px;
    }
  }
  .card-desc-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease;
    min-width: 0;
    max-width: 100%;
  }
  .desc-inner {
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
  }
  &:hover,
  &.swiper-slide-active {
    .card-icon {
      width: 44px;
      height: 44px;
      background-color: #1e988a;
      img {
        filter: brightness(0) invert(1);
      }
    }
    .card-img {
      transform: scale(1.04);
    }
    .card-desc-wrapper {
      grid-template-rows: 1fr;
    }
  }
  @media (hover: none) {
    &:hover:not(.swiper-slide-active) {
      .card-icon {
        width: 35px;
        height: 35px;
        background-color: #fff;
        img {
          filter: none;
        }
      }
      .card-img {
        transform: none;
      }
      .card-desc-wrapper {
        grid-template-rows: 0fr;
      }
    }
  }
}

.experiences-slider-wrapper {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  .experiences-slider {
    overflow: hidden;
    padding-block: 8px 4px;
    box-sizing: border-box;
  }
  .swiper-wrapper {
    align-items: center;
  }
  .swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1e988a;
    pointer-events: all;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 1px solid #1e988a;
    transition: all 0.2s;
    @media screen and (max-width: 1200px) {
      display: none;
    }
    img,svg{
      transition: inherit;
    }
    &:hover{
      background-color: #fff;
    color: #1e988a;
    }
  }
  .swiper-button-prev {
    inset-inline-start: 0;
  }
  .swiper-button-next {
    inset-inline-end: 0;
  }
  .experiences-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    @media screen and (max-width: 1200px) {
      display: flex;
    }
    .swiper-pagination-bullet {
      width: 8px;
      height: 8px;
      margin: 0 !important;
      opacity: 1;
      background: #c9d4d2;
      border-radius: 999px;
      transition: width 0.25s ease, background-color 0.25s ease;
    }
    .swiper-pagination-bullet-active {
      width: 22px;
      background: #1e988a;
    }
  }
}

:lang(ar) .experiences-slider-wrapper .swiper-button svg,
[dir="rtl"] .experiences-slider-wrapper .swiper-button svg {
  transform: scaleX(-1);
}

.experiences-card .card-desc p {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
