/* =========================================================
   V76.31 - LOKASI DAN GRID ADAPTIF JADWAL KATALOG
   ========================================================= */

.v7629-period-banner{
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.11);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  font-size:13px;
}

.v7629-period-banner svg{
  width:17px;
  height:17px;
}

.v7629-period-banner span{
  opacity:.84;
}

.v7631-schedule-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
}

.v7631-schedule-heading .catalog-section-title-v21{
  margin-bottom:4px;
}

.v7631-schedule-heading p{
  margin:0;
  color:#64748b;
  font-size:13px;
}

.v7631-active-period-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:7px 11px;
  border-radius:999px;
  color:#047857;
  background:#d1fae5;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}

/* Grid selalu mengisi lebar area katalog. */
.v7631-general-schedule-grid{
  display:grid;
  gap:14px;
  width:100%;
  align-items:stretch;
}

/* Satu jadwal memenuhi seluruh lebar. */
.v7631-general-schedule-grid.v7631-count-1{
  grid-template-columns:minmax(0,1fr);
}

/* Dua jadwal masing-masing mengisi setengah lebar. */
.v7631-general-schedule-grid.v7631-count-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

/* Tiga jadwal masing-masing mengisi sepertiga lebar. */
.v7631-general-schedule-grid.v7631-count-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

/* Empat atau lebih memakai dua kolom agar empat jadwal menjadi 2 x 2. */
.v7631-general-schedule-grid.v7631-count-4plus{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

/*
 * Jika jumlah kartu pada layout dua kolom ganjil, kartu terakhir melebar
 * penuh sehingga tidak menyisakan ruang kosong.
 */
.v7631-general-schedule-grid.v7631-count-4plus
  > .v7631-general-schedule-card:nth-child(odd):last-child{
  grid-column:1 / -1;
}

.v7631-general-schedule-card{
  min-width:0;
  height:100%;
  padding:17px;
  border:1px solid rgba(37,99,235,.15);
  border-radius:17px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(37,99,235,.07),
      transparent 38%
    ),
    #fff;
  box-shadow:0 10px 28px rgba(15,45,90,.06);
}

.v7631-card-title{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding-bottom:13px;
  border-bottom:1px solid rgba(37,99,235,.1);
}

.v7631-class-icon{
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 46px;
  border-radius:14px;
  color:#2563eb;
  background:#eef5ff;
}

.v7631-class-icon svg{
  width:24px;
  height:24px;
}

.v7631-card-title > div{
  min-width:0;
}

.v7631-card-title h3{
  margin:0;
  color:#0b2f6f;
  font-size:16px;
  font-weight:600;
  line-height:1.3;
}

.v7631-card-title p{
  margin:4px 0 0;
  color:#64748b;
  font-size:12px;
}

.v7631-time-list{
  display:grid;
  gap:9px;
  margin-top:13px;
}

.v7631-time-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
  padding:12px;
  border-radius:12px;
  background:#f8fbff;
}

.v7631-time-icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  border-radius:10px;
  color:#2563eb;
  background:#fff;
}

.v7631-time-icon svg{
  width:17px;
  height:17px;
}

.v7631-time-content{
  min-width:0;
  flex:1 1 auto;
}

.v7631-time-content > b,
.v7631-clock{
  display:block;
}

.v7631-time-content > b{
  color:#0b2f6f;
  font-size:13px;
  font-weight:600;
}

.v7631-clock{
  margin-top:2px;
  color:#475569;
  font-size:13px;
}

.v7631-location{
  display:flex;
  align-items:flex-start;
  gap:6px;
  min-width:0;
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid rgba(37,99,235,.1);
  color:#64748b;
  font-size:12px;
  line-height:1.45;
}

.v7631-location > svg{
  width:15px;
  height:15px;
  margin-top:1px;
  flex:0 0 15px;
  color:#2563eb;
}

.v7631-location > span{
  min-width:0;
  overflow-wrap:anywhere;
}

.v7631-schedule-empty{
  grid-column:1 / -1;
  width:100%;
}

.v7631-schedule-note{
  line-height:1.55;
}

/* Tablet besar: tiga kartu menjadi 2 + 1 penuh. */
@media(max-width:1050px){
  .v7631-general-schedule-grid.v7631-count-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .v7631-general-schedule-grid.v7631-count-3
    > .v7631-general-schedule-card:last-child{
    grid-column:1 / -1;
  }
}

/* Tablet kecil dan HP: seluruh jadwal satu kolom penuh. */
@media(max-width:760px){
  .v7629-period-banner{
    width:100%;
    border-radius:14px;
    flex-wrap:wrap;
  }

  .v7631-schedule-heading{
    align-items:flex-start;
    flex-direction:column;
    margin-bottom:13px;
  }

  .v7631-general-schedule-grid.v7631-count-1,
  .v7631-general-schedule-grid.v7631-count-2,
  .v7631-general-schedule-grid.v7631-count-3,
  .v7631-general-schedule-grid.v7631-count-4plus{
    grid-template-columns:minmax(0,1fr);
  }

  .v7631-general-schedule-grid
    > .v7631-general-schedule-card{
    grid-column:auto !important;
  }
}

@media(max-width:420px){
  .v7631-general-schedule-card{
    padding:14px;
  }

  .v7631-class-icon{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .v7631-time-row{
    padding:10px;
  }
}


/* =========================================================
   V76.32 - ICON LOKASI MAP PIN
   ========================================================= */

.v7631-location > .v7632-location-pin{
  width:16px;
  height:16px;
  margin-top:0;
  flex:0 0 16px;
  color:#2563eb;
  stroke:currentColor;
  fill:none;
}

@media(max-width:420px){
  .v7631-location > .v7632-location-pin{
    width:15px;
    height:15px;
    flex-basis:15px;
  }
}
