/**
 * NEET home video testimonial cards — scoped to .tpk-neet-home-videos only.
 * Loaded on /neet home page only (see neet/index.blade.php).
 */

/* Medium section rhythm: more than mt--40, less than full rbt-section-gap (120px). */
.tpk-neet-home-videos {
  margin-top: 0 !important;
  padding-top: 72px;
  padding-bottom: 72px;
}

@media only screen and (max-width: 767px) {
  .tpk-neet-home-videos {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.tpk-neet-home-videos .container {
  padding-top: 8px;
  padding-bottom: 8px;
}

.tpk-neet-home-videos .rbt-card.height-330.variation-02 .rbt-card-img {
  padding: 16px 16px 0;
}

.tpk-neet-home-videos .rbt-card.height-330.variation-02 .rbt-card-img a img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 638 / 414;
  object-fit: cover;
  border-radius: 8px;
}

.tpk-neet-home-videos .rbt-card.height-330.variation-02 .rbt-card-img .video-popup-wrapper {
  border-radius: 8px;
  overflow: hidden;
}

.tpk-neet-home-videos .rbt-card.height-330.variation-02 .rbt-card-body {
  padding-top: 16px;
  padding-bottom: 20px;
}

/* Neighbor sections in the early home stack — avoid double-huge gaps. */
.tpk-neet-home-app-wrap {
  padding-top: 56px;
  padding-bottom: 24px;
}

@media only screen and (max-width: 767px) {
  .tpk-neet-home-app-wrap {
    padding-top: 40px;
    padding-bottom: 16px;
  }
}

.tpk-neet-home-result-gallery {
  padding-bottom: 24px;
}

.tpk-neet-home-toppers {
  padding-top: 80px;
  padding-bottom: 40px;
}

@media only screen and (max-width: 767px) {
  .tpk-neet-home-toppers {
    padding-top: 56px;
    padding-bottom: 32px;
  }
}
