/* NEET 2026 results page — hero cards + AIR table
   Note: critical table colors also inlined in results-2026.blade.php (cache-safe). */

/* Hero cards: top-align text with image */
/* Featured YouTube embed under USA toppers */
#tpk-neet26-usa-video .tpk-neet26-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
#tpk-neet26-usa-video .tpk-neet26-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#tpk-neet26-hero .rbt-card.card-list-2,
#tpk-neet26-card2 .rbt-card.card-list-2 {
  align-items: flex-start;
}

#tpk-neet26-hero .rbt-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0.35rem;
}

#tpk-neet26-hero .rbt-card-title {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

#tpk-neet26-hero .rbt-card-text {
  margin-bottom: 0.85rem;
}

#tpk-neet26-hero .plan-offer-list {
  margin: 0;
}

#tpk-neet26-hero .plan-offer-list li {
  white-space: nowrap;
}

#tpk-neet26-hero .tpk-neet26-lightbox,
#tpk-neet26-card2 .tpk-neet26-lightbox {
  display: block;
  cursor: zoom-in;
}

#tpk-neet26-hero .tpk-neet26-lightbox img,
#tpk-neet26-card2 .tpk-neet26-lightbox img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section 2: dual image banners (left + right) */
#tpk-neet26-card2 .tpk-neet26-card--dual {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: stretch;
}

#tpk-neet26-card2 .tpk-neet26-card--dual .rbt-card-img {
  flex: 1 1 50%;
  min-width: 0;
  margin: 0;
}

#tpk-neet26-card2 .tpk-neet26-card--dual.elegant-course .rbt-card-img a img {
  border-radius: 6px !important;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  #tpk-neet26-card2 .tpk-neet26-card--dual {
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  #tpk-neet26-hero .plan-offer-list li {
    white-space: normal;
  }
}

/* AIR table layout helpers (colors enforced inline in blade) */
#tpk-neet26-rt .container-fluid {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

#tpk-neet26-rt .tpk-neet26-rt__wrap {
  max-width: none;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#tpk-neet26-rt .tpk-neet26-rt__table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #1f2937;
}

#tpk-neet26-rt .tpk-neet26-rt__table thead th {
  background-color: #1e3a5f !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  text-align: center;
  vertical-align: middle;
  padding: 16px 14px;
  border: 1px solid #94a3b8 !important;
}

#tpk-neet26-rt .tpk-neet26-rt__table tbody td {
  font-size: 18px !important;
  padding: 14px;
  border: 1px solid #cbd5e1 !important;
  vertical-align: middle;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

#tpk-neet26-rt .tpk-neet26-rt__table tbody td:first-child {
  text-align: left;
  white-space: nowrap;
  word-break: normal;
  font-variant-numeric: normal;
}

#tpk-neet26-rt .tpk-neet26-rt__table tbody tr:nth-child(odd) td:nth-child(-n+2) {
  background-color: #ffffff !important;
}

#tpk-neet26-rt .tpk-neet26-rt__table tbody tr:nth-child(even) td:nth-child(-n+2) {
  background-color: #f3f4f6 !important;
}

#tpk-neet26-rt .tpk-neet26-rt__row--excellent td:nth-child(n+3) {
  background-color: #d9f2d0 !important;
}

#tpk-neet26-rt .tpk-neet26-rt__row--very-good td:nth-child(n+3) {
  background-color: #fff2cc !important;
}

#tpk-neet26-rt .tpk-neet26-rt__row--good td:nth-child(n+3) {
  background-color: #f8d7da !important;
}

@media (max-width: 767.98px) {
  #tpk-neet26-rt .tpk-neet26-rt__table {
    table-layout: auto;
    min-width: 640px;
    font-size: 16px;
  }

  #tpk-neet26-rt .tpk-neet26-rt__table thead th,
  #tpk-neet26-rt .tpk-neet26-rt__table tbody td {
    font-size: 16px !important;
  }

  #tpk-neet26-rt .tpk-neet26-rt__table tbody td:first-child {
    white-space: normal;
  }
}
