.batch-page { padding-top: 112px; }

.batch-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--bg-dark);
}

.batch-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 8s ease;
}
.batch-hero:hover .batch-hero-img { transform: scale(1.03); }

.batch-hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0a0f1e 0%, #0f1628 50%, #1a0a00 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  position: relative;
}
.batch-hero-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(59,130,246,.15), transparent),
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(249,115,22,.13), transparent);
}

.batch-hero-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.batch-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,15,30,.82) 0%,
    rgba(10,15,30,.55) 50%,
    rgba(10,15,30,.2) 100%
  );
}

.batch-hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  z-index: 2;
}
.batch-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.batch-hero-left {}
.batch-hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.4);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--indigo);
  margin-bottom: 16px;
}
.batch-hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo); animation: blink 1.5s infinite;
}
.batch-hero-h {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -.025em; color: #fff;
  margin-bottom: 12px;
}
.batch-hero-h strong { font-weight: 700; display: block; }
.batch-hero-h em {
  font-style: italic;
  background: linear-gradient(120deg, #93c5fd, #fb923c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.batch-hero-sub {
  font-size: .92rem; color: rgba(255,255,255,.65);
  line-height: 1.7; max-width: 480px;
}

.batch-hero-stats {
  display: flex; flex-direction: column; gap: 12px;
  flex-shrink: 0;
}
.bhs-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  min-width: 200px;
  transition: background .25s;
}
.bhs-pill:hover { background: rgba(255,255,255,.13); }
.bhs-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.bhs-i1 { background: rgba(59,130,246,.25); }
.bhs-i2 { background: rgba(249,115,22,.25); }
.bhs-i3 { background: rgba(5,150,105,.25); }
.bhs-txt {}
.bhs-n {
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.bhs-l {
  font-size: .65rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}

.batch-hero-size-note {
  position: absolute; bottom: 10px; right: 14px; z-index: 3;
  font-size: .62rem; color: rgba(255,255,255,.35);
  font-style: italic;
  background: rgba(0,0,0,.3); padding: 3px 8px; border-radius: 4px;
}

.batch-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 72px; z-index: 80;
  box-shadow: 0 2px 16px rgba(10,15,30,.05);
}
.batch-filter-inner {
  display: flex; align-items: center;
  gap: 12px; padding: 14px 0;
  flex-wrap: wrap;
}
.batch-filter-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-4);
  flex-shrink: 0;
}
.batch-filter-tabs {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; flex: 1;
}
.bft {
  padding: 6px 14px; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-family: var(--font-b); font-size: .76rem; font-weight: 600;
  color: var(--text-3); cursor: pointer;
  transition: all .22s var(--ease); white-space: nowrap;
}
.bft:hover { border-color: var(--indigo); color: var(--indigo-deep); background: var(--indigo-pale); }
.bft.active {
  background: var(--indigo-deep); color: #fff;
  border-color: var(--indigo-deep);
  box-shadow: 0 4px 12px rgba(234,88,12,.3);
}

.batch-search {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--bg);
  transition: all .25s var(--ease); flex-shrink: 0;
}
.batch-search:focus-within {
  border-color: var(--indigo); background: #fff;
  box-shadow: 0 0 0 3px var(--indigo-dim);
}
.batch-search input {
  border: none; background: transparent; outline: none;
  font-family: var(--font-b); font-size: .78rem; color: var(--text);
  width: 160px;
}
.batch-search input::placeholder { color: var(--text-4); }

.batch-mode-filter {
  display: flex; gap: 6px; flex-shrink: 0;
}
.bmf {
  padding: 6px 12px; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-family: var(--font-b); font-size: .72rem; font-weight: 600;
  color: var(--text-3); cursor: pointer;
  transition: all .22s var(--ease);
}
.bmf:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-pale); }
.bmf.active { background: var(--teal); color: #fff; border-color: var(--teal); }

.batch-main {
  background: var(--bg);
  padding: 48px 0 100px;
}
.batch-main .batch-cta-banner {
  margin-top: 48px;
}
.batch-section-head {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; margin-bottom: 28px;
  flex-wrap: wrap;
}
.batch-section-title {
  display: flex; align-items: center; gap: 12px;
}
.batch-section-title h2 {
  font-family: var(--font-h);
  font-size: 1.5rem; font-weight: 600; color: var(--text);
}
.batch-count-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 100px;
  background: var(--indigo-dim); color: var(--indigo-deep);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
}
.batch-count-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo); animation: blink 1.4s infinite;
}
.batch-section-actions {
  display: flex; gap: 10px; align-items: center;
}
.batch-view-toggle {
  display: flex; border: 1.5px solid var(--border);
  border-radius: 8px; overflow: hidden; background: #fff;
}
.bvt {
  padding: 7px 12px; border: none; background: transparent;
  font-size: .8rem; cursor: pointer; color: var(--text-3);
  transition: all .2s; font-family: var(--font-b);
}
.bvt.active { background: var(--indigo-deep); color: #fff; }

.batch-table-wrap {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  overflow-x: auto; /* horizontal scroll on mobile */
}

.batch-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px; /* ensures fields stay readable */
}

.batch-table thead tr {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
}
.batch-table th {
  padding: 14px 18px;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); text-align: left;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: color .2s;
}
.batch-table th:hover { color: var(--indigo-deep); }
.batch-table th.sortable::after {
  content: ' ↕';
  font-size: .6rem; opacity: .4;
}
.batch-table th.sorted-asc::after  { content: ' ↑'; opacity: 1; color: var(--indigo-deep); }
.batch-table th.sorted-desc::after { content: ' ↓'; opacity: 1; color: var(--indigo-deep); }

.col-course   { min-width: 200px; width: 22%; }
.col-batch    { min-width: 120px; width: 11%; }
.col-start    { min-width: 120px; width: 12%; }
.col-time     { min-width: 110px; width: 10%; }
.col-duration { min-width: 100px; width: 10%; }
.col-mode     { min-width: 110px; width: 10%; }
.col-seats    { min-width: 100px; width: 10%; }
.col-action   { min-width: 120px; width: 12%; text-align: center; }

.batch-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .2s var(--ease);
}
.batch-table tbody tr:last-child { border-bottom: none; }
.batch-table tbody tr:hover { background: var(--indigo-pale); }
.batch-table tbody tr.featured-row { background: var(--teal-pale); }
.batch-table tbody tr.featured-row:hover { background: #dbeafe; }

.batch-table td {
  padding: 16px 18px;
  font-size: .84rem; color: var(--text-2);
  vertical-align: middle;
}

.td-course { display: flex; align-items: center; gap: 12px; }
.td-course-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.td-course-name {
  font-weight: 700; color: var(--text); font-size: .88rem;
  line-height: 1.3; margin-bottom: 2px;
}
.td-course-sub {
  font-size: .7rem; color: var(--text-4); font-weight: 500;
}

.td-batch {
  font-weight: 700; color: var(--teal-deep);
  font-size: .82rem;
}
.td-batch-new {
  display: inline-block; margin-left: 4px;
  background: var(--indigo-dim); color: var(--indigo-deep);
  padding: 1px 6px; border-radius: 4px;
  font-size: .58rem; font-weight: 800; letter-spacing: .06em;
  vertical-align: middle;
}

.td-date {
  font-weight: 600; color: var(--text); font-size: .84rem;
}
.td-date-day {
  font-size: .7rem; color: var(--text-4); margin-top: 1px;
}

.td-time {
  font-weight: 600; font-size: .84rem; color: var(--text);
}
.td-time-tz {
  font-size: .68rem; color: var(--text-4);
}

.td-duration {
  font-weight: 600; color: var(--text); font-size: .84rem;
}
.td-duration sub {
  font-size: .68rem; color: var(--text-4); font-weight: 400;
}

.td-mode {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px;
  font-size: .7rem; font-weight: 700;
  white-space: nowrap;
}
.mode-online   { background: var(--teal-dim);            color: var(--teal-deep); }
.mode-offline  { background: var(--indigo-dim);          color: var(--indigo-deep); }
.mode-hybrid   { background: rgba(5,150,105,.12);        color: #065f46; }
.mode-weekend  { background: rgba(245,158,11,.12);       color: #92400e; }

.td-seats {}
.seats-bar-wrap {
  height: 5px; background: var(--bg-2);
  border-radius: 100px; overflow: hidden;
  margin-top: 5px; width: 80px;
}
.seats-bar {
  height: 100%; border-radius: 100px;
  transition: width .4s var(--ease);
}
.seats-high   { background: #22c55e; }
.seats-mid    { background: #f59e0b; }
.seats-low    { background: #ef4444; }
.seats-full   { background: #9ca3af; }
.td-seats-txt {
  font-size: .78rem; font-weight: 600; color: var(--text);
}
.td-seats-sub {
  font-size: .67rem; color: var(--text-4);
}

.td-action { text-align: center; }
.btn-enroll {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: 100px;
  background: linear-gradient(135deg, var(--indigo-deep), var(--indigo));
  color: #fff; border: none; cursor: pointer;
  font-family: var(--font-b); font-size: .75rem; font-weight: 700;
  transition: all .25s var(--ease);
  box-shadow: 0 3px 10px rgba(234,88,12,.3);
}
.btn-enroll:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(234,88,12,.4); }
.btn-full {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: 100px;
  background: var(--bg); color: var(--text-4);
  border: 1.5px solid var(--border); cursor: not-allowed;
  font-family: var(--font-b); font-size: .75rem; font-weight: 600;
}
.btn-notify {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: 100px;
  background: var(--teal-pale); color: var(--teal-deep);
  border: 1.5px solid var(--border-teal); cursor: pointer;
  font-family: var(--font-b); font-size: .75rem; font-weight: 700;
  transition: all .25s var(--ease);
}
.btn-notify:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.batch-empty {
  text-align: center; padding: 72px 24px;
  display: none;
}
.batch-empty.show { display: block; }
.batch-empty-icon { font-size: 3.5rem; margin-bottom: 16px; display: block; }
.batch-empty h3 {
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.batch-empty p { font-size: .87rem; color: var(--text-3); }

.batch-table-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  flex-wrap: wrap; gap: 12px;
}
.btf-info {
  font-size: .76rem; color: var(--text-3); font-weight: 500;
}
.btf-info strong { color: var(--text); }
.btf-pagination {
  display: flex; align-items: center; gap: 4px;
}
.btf-page {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-b); font-size: .78rem; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff; color: var(--text-2);
  cursor: pointer; transition: all .2s;
}
.btf-page:hover  { border-color: var(--indigo); color: var(--indigo-deep); }
.btf-page.active { background: var(--indigo-deep); color: #fff; border-color: var(--indigo-deep); }
.btf-page.arrow  { font-size: .7rem; }

.batch-cards-grid {
  display: none; /* shown when card view toggled */
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.batch-cards-grid.active { display: grid; }
.batch-table-wrap.hidden { display: none; }

.batch-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all .35s var(--ease);
  display: flex; flex-direction: column;
}
.batch-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--indigo);
}
.bc-card-top {
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-deep), var(--indigo));
}
.bc-card-body { padding: 22px 22px 18px; flex: 1; }
.bc-card-cat {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  background: var(--indigo-dim); color: var(--indigo-deep);
  font-size: .62rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 12px;
}
.bc-card-title {
  font-family: var(--font-h); font-size: 1rem; font-weight: 600;
  color: var(--text); line-height: 1.3; margin-bottom: 16px;
}
.bc-card-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.bc-field {}
.bc-field-label {
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-4); margin-bottom: 3px;
}
.bc-field-val {
  font-size: .82rem; font-weight: 600; color: var(--text);
}
.bc-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.bc-seats-wrap { display: flex; align-items: center; gap: 8px; }
.bc-seats-txt  { font-size: .76rem; color: var(--text-3); font-weight: 500; }

.batch-info-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; margin-bottom: 40px;
}
.bi-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
  box-shadow: var(--shadow); display: flex; gap: 14px;
  align-items: flex-start; transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.bi-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.bi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bi-card:hover::after { transform: scaleX(1); }
.bi-1::after { background: var(--teal); }
.bi-2::after { background: var(--indigo); }
.bi-3::after { background: #059669; }
.bi-4::after { background: var(--rose); }
.bi-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.bii-1 { background: var(--teal-dim); }
.bii-2 { background: var(--indigo-dim); }
.bii-3 { background: rgba(5,150,105,.1); }
.bii-4 { background: var(--rose-dim); }
.bi-txt {}
.bi-n {
  font-family: var(--font-h); font-size: 1.7rem; font-weight: 700;
  color: var(--text); line-height: 1; letter-spacing: -.03em;
  margin-bottom: 3px;
}
.bi-l { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); }

.batch-cta-banner {
  position: relative;
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(125deg,
    #fff8f0 0%,
    #fff1e0 20%,
    #e8f0ff 60%,
    #dceaff 100%
  );
  border: 1.5px solid rgba(249,115,22,.18);
  box-shadow:
    0 0 0 1px rgba(59,130,246,.08),
    0 8px 40px rgba(249,115,22,.12),
    0 2px 12px rgba(59,130,246,.08);
}
.batch-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 120% at 0% 50%, rgba(249,115,22,.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 110% at 100% 40%, rgba(59,130,246,.12) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 50% 100%, rgba(249,115,22,.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.batch-cta-banner::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.10) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.batch-cta-banner-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.batch-cta-banner-overlay { display: none; }
.batch-cta-banner-img     { display: none; }
.batch-cta-content {
  position: relative; z-index: 2;
  padding: 48px 52px;
}
.batch-cta-left {}
.batch-cta-tag {
  display: inline-flex;   /* was flex — that's what caused full-width stretch */
  width: fit-content;     /* hug content width */
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(249,115,22,.12);
  border: 1.5px solid rgba(249,115,22,.28);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #b94508;
  margin-bottom: 16px;
}
.batch-cta-h {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 12px;
  background: linear-gradient(125deg, #c2440a 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.batch-cta-p { color: #475569; }
.batch-cta-actions {
  display: flex; gap: 12px; flex-direction: column; flex-shrink: 0;
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  box-shadow: 0 4px 16px rgba(234,88,12,.35);
  transition: transform .22s ease, box-shadow .22s ease;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234,88,12,.42);
}
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  border: 2px solid rgba(59,130,246,.4);
  cursor: pointer;
  font-family: var(--font-b);
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(59,130,246,.08);
  color: #1d4ed8;
  transition: all .22s ease;
}
.btn-cta-outline:hover {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,.3);
}

.batch-cta-size-note {
  position: absolute; bottom: 8px; right: 12px; z-index: 3;
  font-size: .6rem; color: rgba(255,255,255,.4);
  background: rgba(0,0,0,.2); padding: 2px 8px; border-radius: 4px;
}

.rv  { opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease),transform .7s var(--ease); }
.rv.in { opacity:1; transform:none; }
.d1{transition-delay:.06s}.d2{transition-delay:.12s}.d3{transition-delay:.18s}
.d4{transition-delay:.24s}.d5{transition-delay:.30s}

@media(max-width:1200px){
  .batch-info-strip  { grid-template-columns:1fr 1fr; }
  .batch-cards-grid  { grid-template-columns:1fr 1fr; }
}
@media(max-width:1024px){
  .batch-hero-inner  { grid-template-columns:1fr; }
  .batch-hero-stats  { flex-direction:row; flex-wrap:wrap; }
  .bhs-pill          { min-width:160px; }
  .batch-cta-content { flex-direction:column; text-align:center; gap:24px; }
  .batch-cta-actions { flex-direction:row; justify-content:center; }
  .batch-cta-h       { font-size:1.8rem; }
  .batch-cta-banner  { height:auto; padding:40px 28px; }
  .batch-cta-content { position:static; padding:40px 28px; }
  .batch-cta-banner-img { display:none; }
}
@media(max-width:768px){
  .batch-page        { padding-top:72px; }
  .batch-hero        { height:320px; }
  .batch-hero-h      { font-size:1.8rem; }
  .batch-filter-inner{ gap:8px; }
  .batch-search input{ width:120px; }
  .batch-info-strip  { grid-template-columns:1fr 1fr; gap:14px; }
  .batch-cards-grid  { grid-template-columns:1fr; }
  .batch-section-head{ flex-direction:column; align-items:flex-start; }
  .batch-mode-filter { display:none; }
  .btf-pagination    { display:none; }
  .batch-cta-banner  { border-radius:var(--radius-lg); }
  .batch-hero-stats  { display:none; }
}
@media(max-width:480px){
  .batch-info-strip  { grid-template-columns:1fr; }
  .batch-filter-tabs { gap:4px; }
  .bft               { padding:5px 10px; font-size:.7rem; }
}

@media (max-width: 768px) {

  .batch-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow-x: visible !important;
    border-radius: 0;
  }

  .batch-table {
    min-width: 0 !important;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;      /* gap between row-cards */
    background: transparent;
  }

  .batch-table thead {
    display: none;
  }

  .batch-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(10,15,30,.06);
    transition: box-shadow .25s ease, transform .25s ease;
    margin-bottom: 2px;
  }

  .batch-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10,15,30,.1);
    background: #fff !important;
  }

  .batch-table tbody tr.featured-row {
    border-color: #0ea5e9;
    background: #f0fdf9 !important;
  }

  .batch-table tbody tr::before {
    content: '';
    grid-column: 1 / -1;
    height: 3px;
    background: linear-gradient(90deg, var(--indigo-deep, #c2440a), var(--indigo, #f97316));
  }
  .batch-table tbody tr.featured-row::before {
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
  }

  .batch-table td {
    display: block;
    border: none;
    vertical-align: middle;
  }

  .batch-table td:nth-child(1) {
    grid-column: 1 / -1;
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--border);
  }

  .batch-table td:nth-child(2) {
    grid-column: 1;
    padding: 10px 10px 10px 14px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .batch-table td:nth-child(3) {
    grid-column: 2;
    padding: 10px 10px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .batch-table td:nth-child(4) {
    grid-column: 3;
    padding: 10px 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .batch-table td:nth-child(2)::before,
  .batch-table td:nth-child(3)::before,
  .batch-table td:nth-child(4)::before {
    display: block;
    font-size: .57rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-4, #9ca3af);
    margin-bottom: 4px;
  }
  .batch-table td:nth-child(2)::before { content: 'START DATE'; }
  .batch-table td:nth-child(3)::before { content: 'TIME'; }
  .batch-table td:nth-child(4)::before { content: 'SCHEDULE'; }

  .batch-table td:nth-child(5) {
    grid-column: 1 / -1;
    padding: 12px 14px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border: none;
  }

  .td-course-icon { width: 32px; height: 32px; font-size: .95rem; }
  .td-course-name { font-size: .86rem; }
  .td-course-sub  { font-size: .68rem; }
  .td-date        { font-size: .8rem; }
  .td-date-day    { font-size: .66rem; }
  .td-time        { font-size: .8rem; font-weight: 600; }
  .td-time-tz     { font-size: .63rem; }
  .td-mode        { font-size: .66rem; padding: 3px 7px; margin-top: 2px; }

  .btn-enroll,
  .btn-notify,
  .btn-full {
    width: auto;
    min-width: 120px;
    padding: 8px 18px;
    font-size: .76rem;
    justify-content: center;
  }

  .batch-table-foot {
    justify-content: center;
    background: transparent;
    border: none;
    padding: 6px 0 0;
  }
  .btf-pagination { display: none; }

  .batch-cta-content {
    padding: 30px 20px !important;
    flex-direction: column !important;
    text-align: center;
    gap: 20px !important;
  }
  .batch-cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn-cta-white,
  .btn-cta-outline {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 400px) {
  .batch-table td:nth-child(2),
  .batch-table td:nth-child(3),
  .batch-table td:nth-child(4) {
    padding: 8px 6px 8px 10px;
  }
  .batch-table td:nth-child(2)::before,
  .batch-table td:nth-child(3)::before,
  .batch-table td:nth-child(4)::before {
    font-size: .52rem;
  }
  .td-date, .td-time { font-size: .75rem; }
  .btn-enroll, .btn-notify { font-size: .72rem; padding: 7px 12px; min-width: 100px; }
}