html[data-bs-theme="dark"] {
  --bs-body-bg: #0d0d0d;
  --bs-body-color: #ffffff;
  --bs-secondary-bg: #181818;
  --bs-tertiary-bg: #121212;
}
#Special {
  padding-top: 0px;
  padding-right: 16px;
  padding-bottom: 0px;
  padding-left: 16px;
}

.carousel-inner,
.carousel-item {
  height: 90vh;
  min-height: 300px;
}

#inner,
.carousel-item {
  background: #000 !important;
  position: relative;
}

#banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.5;

  background: linear-gradient(to bottom, transparent, #121212 100%);
}

.carousel-overlay .card {
  position: absolute;
  bottom: 3rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  border: none;
  padding: 0.75rem 3rem;
  background: rgba(0, 0, 0, 0);
  border-radius: 0.5rem;
  max-width: 90vw;
  height: auto;
  color: #fff;
}

.carousel-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgb(0, 0, 0, 0) 0%, #000 100%);
  pointer-events: none;
  z-index: 1;
}

.section-heading {
  background: #000;
  padding: 2rem 0 1rem 0;
  margin-left: 1.5rem;
  text-align: left;
}

.section-heading h2 {
  color: #fff;

  font-size: 1.8rem;
}

.card-text {
  position: relative;
  display: block;
  z-index: 2;
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: left;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 100%;
}

#carLogo {
  width: 60%;
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
}

#star {
  max-width: 14px;
  height: auto;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.chars-limit {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60ch;
}

@media (max-width: 768px) {
  .carousel-overlay {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
  .card-text {
    padding: 0.5rem 1rem;
  }
  #carLogo {
    width: 80%;
    max-width: 250px;
  }
  .chars-limit {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .carousel-inner,
  .carousel-item {
    height: 60vh;
    min-height: 220px;
  }

  .carousel-overlay {
    bottom: 0.5rem;
    padding: 0.4rem 0.75rem;
  }

  .section-heading h2 {
    font-size: 1.4rem;
    margin-left: 1rem;
  }

  #carLogo {
    width: 90%;
    max-width: 200px;
  }
}

.img-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  border: none !important;
  height: auto;
  background-color: transparent !important;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: cover;
  z-index: 1;
}

.col {
  position: relative;
  overflow: hidden;
}

.hidden {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

#card-t {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  margin: 5%;
}

#card-p {
  font-size: 0.85rem;
  color: #ccc;
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.col:hover .img-thumbnail {
  transform: scale(1.12);
  filter: brightness(0.4);
}

.col:hover .hidden {
  opacity: 1;
}

.col:hover #card-t,
.col:hover #card-p {
  opacity: 1;
  transform: translateY(0);
}

.col:hover #card-t {
  transition-delay: 0.1s;
}
.col:hover #card-p {
  transition-delay: 0.15s;
  margin-top: 10%;
  margin-left: 2%;
}

@media (max-width: 576px) {
  .hidden {
    flex-direction: column;
    align-items: flex-start;
  }

  #card-p2 {
    align-self: flex-end;
  }
}

#card-i {
  max-width: 10px;
  height: auto;
  vertical-align: left;
}
#current {
  padding: 5px;
  border: var(--bs-pagination-border-width) solid
    var(--bs-pagination-border-color);
}
#current:hover {
  background-color: var(--bs-pagination-hover-bg);
}
#video-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
#video-overlay > div {
  position: relative;
  max-width: 80%;
  width: 800px;
  background: #000;
}
#video-overlay-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: white;
  border: none;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
}
#search {
  background: rgba(0, 0, 0, 0.478);
  border-radius: 0.38rem;
  box-shadow: rgba(0, 0, 0, 0.1);
  height: 38px;
  padding: 10px;
  width: 15%;
  margin: 5px;
}
.navbar {
  opacity: 0.9;
  z-index: 10;
}
