.home-container[data-astro-cid-lcdefpme] {
  max-width: 1400px;
  margin-inline: auto;
  padding: 0 20px;
}

.home-section[data-astro-cid-lcdefpme] {
  padding: 50px 0;
}

.home-section-title[data-astro-cid-lcdefpme] {
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  font-family: var(--wd-title-font);
}

.home-section-title-upper[data-astro-cid-lcdefpme] {
  text-transform: uppercase;
  font-size: 26px;
}

.carousel-viewport[data-astro-cid-lcdefpme] {
  overflow: hidden;
  width: 100%;
}

.carousel-track[data-astro-cid-lcdefpme] {
  display: flex;
  gap: 0;
  width: 100%;
  min-width: 0;
  transition: transform .4s;
}

.carousel-slide[data-astro-cid-lcdefpme] {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-dots[data-astro-cid-lcdefpme] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  box-sizing: border-box;
  display: block;
  width: 9px;
  height: 9px;
  min-width: 9px;
  min-height: 9px;
  margin: 0;
  border-radius: 50%;
  border: none;
  padding: 0;
  line-height: 0;
  font-size: 0;
  background: #0003;
  cursor: pointer;
  flex: none;
  -webkit-appearance: none;
  appearance: none;
}

.carousel-dot.is-active {
  background: #000000bf;
}

.home-hero[data-astro-cid-lcdefpme] {
  margin-top: -40px;
  padding: 30px 0;
  background: linear-gradient(#d9edf1 0%, #eaf5f7 100%);
}

.hero-grid[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-carousel[data-astro-cid-lcdefpme] {
  min-width: 0;
}

.hero-carousel[data-astro-cid-lcdefpme] .carousel-slide[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.hero-carousel[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-teaser-carousel[data-astro-cid-lcdefpme] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.teaser-card[data-astro-cid-lcdefpme] {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 10px #0000000d;
}

.teaser-card-cat[data-astro-cid-lcdefpme] {
  display: inline-block;
  background: var(--wd-primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 30px;
  text-decoration: none;
  margin-bottom: 18px;
}

.teaser-card-title[data-astro-cid-lcdefpme] {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.teaser-card-title[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  color: inherit;
  text-decoration: none;
}

.teaser-card-meta[data-astro-cid-lcdefpme], .article-card-meta[data-astro-cid-lcdefpme] {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #999;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.teaser-meta-author[data-astro-cid-lcdefpme], .article-meta-author[data-astro-cid-lcdefpme] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.teaser-avatar[data-astro-cid-lcdefpme], .article-avatar[data-astro-cid-lcdefpme] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eee;
  color: #999;
}

.teaser-meta-author[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme], .article-meta-author[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  color: #666;
  text-decoration: none;
}

.teaser-meta-replies[data-astro-cid-lcdefpme], .article-meta-replies[data-astro-cid-lcdefpme], .teaser-meta-share[data-astro-cid-lcdefpme], .article-meta-share[data-astro-cid-lcdefpme] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #bbb;
}

.teaser-card-more[data-astro-cid-lcdefpme], .article-card-more[data-astro-cid-lcdefpme] {
  color: var(--wd-primary-color);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

@media (width <= 992px) {
  .hero-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }
}

.universities-carousel[data-astro-cid-lcdefpme] {
  position: relative;
}

.carousel-arrow[data-astro-cid-lcdefpme] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  padding: 0;
  color: #999;
  cursor: pointer;
}

.carousel-arrow[data-astro-cid-lcdefpme]:hover {
  color: #333;
}

.carousel-arrow-prev[data-astro-cid-lcdefpme] {
  left: -8px;
}

.carousel-arrow-next[data-astro-cid-lcdefpme] {
  right: -8px;
}

@media (width <= 640px) {
  .carousel-arrow[data-astro-cid-lcdefpme] {
    display: none;
  }
}

.university-slide[data-astro-cid-lcdefpme] {
  flex: 0 0 16.6667%;
  min-width: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.university-item[data-astro-cid-lcdefpme] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.university-item-logo[data-astro-cid-lcdefpme] {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.university-item-logo[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.university-item-placeholder[data-astro-cid-lcdefpme] {
  font-size: 28px;
  font-weight: 700;
  color: #a5a5a5;
}

.university-item-name[data-astro-cid-lcdefpme] {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

@media (width <= 992px) {
  .university-slide[data-astro-cid-lcdefpme] {
    flex: 0 0 33.333%;
  }
}

@media (width <= 576px) {
  .university-slide[data-astro-cid-lcdefpme] {
    flex: 0 0 50%;
  }
}

.courses-grid[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (width <= 992px) {
  .courses-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 576px) {
  .courses-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }
}

.home-articles[data-astro-cid-lcdefpme] {
  background: #f7f6f3;
}

.section-heading-row[data-astro-cid-lcdefpme] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading-row[data-astro-cid-lcdefpme] .home-section-title[data-astro-cid-lcdefpme] {
  margin-bottom: 0;
  text-align: left;
}

.visit-blog-btn[data-astro-cid-lcdefpme] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #00000026;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.articles-grid[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card[data-astro-cid-lcdefpme] {
  background: #fff;
  border-radius: 8px;
  padding: 26px;
  text-align: center;
}

.article-card-cat[data-astro-cid-lcdefpme] {
  display: inline-block;
  background: var(--wd-primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 30px;
  text-decoration: none;
  margin-bottom: 18px;
}

.article-card-title[data-astro-cid-lcdefpme] {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}

.article-card-title[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  color: inherit;
  text-decoration: none;
}

.article-card-meta[data-astro-cid-lcdefpme] {
  justify-content: center;
  margin-bottom: 16px;
}

@media (width <= 992px) {
  .articles-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 576px) {
  .section-heading-row[data-astro-cid-lcdefpme] {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .articles-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }
}

.home-about[data-astro-cid-lcdefpme] {
  background-color: #f2f1ec;
  background-image: radial-gradient(#0000000f 1px, #0000 1px);
  background-size: 14px 14px;
}

.about-cuet-content[data-astro-cid-lcdefpme] {
  max-width: 900px;
}

.about-cuet-content[data-astro-cid-lcdefpme] h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 16px;
}

.about-cuet-content[data-astro-cid-lcdefpme] p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 24px;
}

.know-more-btn[data-astro-cid-lcdefpme] {
  background: none;
  border: none;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-decoration: underline;
  cursor: pointer;
}
