
/* ==========================================================================
   Hall of Fame
   ========================================================================== */
.fame-sec {
  padding: 60px 0;
  background: #fff;
}

.hall-tree-img {
  position: absolute;
  top: -5px;
  height: 80px;
}

.tree-fame-img-left {
  left: -30px;
  transform: rotate(10deg);
}

.tree-fame-img-right {
  right: -30px;
  transform: rotate(-10deg);
}

.fame-slider {
  min-height: 550px;
}

/* .neet-catalog-page .fame-slider {
  min-height: 0;
} */

.neet-catalog-page .fame-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
}

.neet-catalog-page .fame-top-card {
  height: 100%;
  margin-bottom: 0;
}

.neet-catalog-page .fame-center-card {
  position: relative;
  bottom: 25px;
  padding-top: 35px !important;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  aspect-ratio: 1 / 1.5;
}

.jee-catalog-page .fame-slider {
  min-height: 0;
}

.jee-catalog-page .fame-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
}

.jee-catalog-page .fame-top-card {
  height: 100%;
  margin-bottom: 0;
}

.jee-catalog-page .fame-center-card {
  position: relative;
  bottom: 25px;
  padding-top: 35px !important;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  aspect-ratio: 1 / 1.5;
}


@media (max-width: 575.98px) {
    .boost-prep {
        display: flex;
        justify-content: center;
    }
  .neet-catalog-page .fame-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .neet-catalog-page .fame-top-grid > .item:nth-child(2) {
    display: none;
  }

  .jee-catalog-page .fame-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .jee-catalog-page .fame-top-grid > .item:nth-child(2) {
    display: none;
  }
}

/* Add padding to prevent the center card (which is pulled up by -20px) from being clipped by overflow:hidden */
.fame-carousel-wrapper .owl-stage-outer {
  padding-top: 30px;
  padding-bottom: 30px;
}

.fame-carousel-wrapper .owl-item.center .fame-top-card {
  position: relative;
  bottom: 25px;
  padding: 35px 0px 0 !important;
  z-index: 2;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15) !important;
  aspect-ratio: 1/1.5;
}

.fame-top-card {
  background: linear-gradient(to bottom, #fff 70%, #ffd180);
  border-radius: 12px;
  padding: 15px 0px 0;
  flex: 1;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0px 0px 49px -33px rgba(0, 0, 0, 0.75);
  border: 1px solid #ccc;
  border-bottom: 4px solid var(--color-primary);
  transition: all 0.3s ease;
  aspect-ratio: 1/1.3;
}

.fame-rank-text {
  font-family: "Oswald", sans-serif;

  font-size: 28px;
  transition: font-size 0.3s ease;
}

.fame-name-text {
  font-size: 14px;
  transition: font-size 0.3s ease;
}

.fame-desc-text {
  font-size: 10px;
  margin-bottom: 0;
  transition: font-size 0.3s ease;
}

.fame-carousel-wrapper .owl-item.center .fame-rank-text {
  font-size: 42px;
}

.fame-carousel-wrapper .owl-item.center .fame-name-text {
  font-size: 18px;
}

.fame-carousel-wrapper .owl-item.center .fame-desc-text {
  font-size: 12px;
}

.fame-carousel-wrapper .owl-nav button.owl-prev,
.fame-carousel-wrapper .owl-nav button.owl-next {
  position: absolute;
  top: 40%;
  transform: translateY(-40%);
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 12px !important;
  color: #333 !important;
  cursor: pointer;
  margin: 0 !important;
}

.fame-carousel-wrapper .owl-nav button:hover {
  background: #f8f9fa !important;
}

.fame-carousel-wrapper .owl-nav button.owl-prev {
  left: 20px;
}

.fame-carousel-wrapper .owl-nav button.owl-next {
  right: 20px;
}

.fame-top-img {
  width: 200px;
  border: 1px solid;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fame-bottom-img {
  /* width: 50%; */
  object-fit: cover;
  object-position: 60% 60%;
}

.fame-bottom-img-side {
  object-fit: contain;
  height: 80%;
  width: 80%;
}

.fame-top-card img {
  margin-top: 20px;
}

.fame-rank {
  font-size: 32px;
  font-weight: 800;
  /* margin-top: 20px; */
}

.fame-name {
  font-size: 18px;
  font-weight: 600;
}

.fame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  text-align: center;
}

.fame-small-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
}

.fame-small-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e9ecef;
  margin: 0 auto 10px;
}

.fame-small-rank {
  font-size: 16px;
  font-weight: 700;
  color: #dc3545;
}

.ranker-this-year-box {
  display: flex;
  gap: 20px;
  overflow: auto;
  max-width: max-content;
  margin: auto;
  padding: 10px;
}

.other-rankers-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.diagram-container {
  max-width: 600px;
  margin: auto;
}

}