/* =========================================================
   TEACHING & LEARNING PAGE STYLESHEET — GNIPST
   Innovations by the Faculty in Teaching and Learning
   ========================================================= */
/* ---- Section Scaffolding ---- */
.tl-section {
  padding: 64px 0 80px;
}
.tl-section--tint {
  background: var(--cream, #fbfbf9);
}
.tl-section--dark {
  background: var(--green-950, #041d11);
  color: #fff;
}
.tl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700, #145a3a);
  margin-bottom: 12px;
}
.tl-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500, #f0a800);
}
.tl-section--dark .tl-kicker {
  color: var(--gold-400, #fbbf24);
}
.tl-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 16px;
  line-height: 1.25;
}
.tl-section--dark .tl-heading {
  color: #fff;
}
.tl-lede {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink-soft, #555);
  max-width: 840px;
  margin: 0 0 40px;
}
.tl-section--dark .tl-lede {
  color: rgba(255,255,255,.8);
}
/* ---- Sticky Jump Navigation ---- */
.tl-jump-bar {
  position: sticky;
  top: 72px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line, #e2e8f0);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  padding: 12px 0;
}
.tl-jump-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}
.tl-jump-wrap::-webkit-scrollbar {
  display: none;
}
.tl-jump-pill {
  flex-shrink: 0;
  font-size: .84rem;
  font-weight: 600;
  color: var(--green-900, #0a3d26);
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  padding: 7px 16px;
  text-decoration: none;
  transition: all .15s ease;
  white-space: nowrap;
}
.tl-jump-pill:hover,
.tl-jump-pill.is-active {
  background: var(--green-900, #0a3d26);
  color: var(--gold-400, #fbbf24);
  border-color: var(--green-900, #0a3d26);
}
/* ---- Core Pillars (Curriculum, Flexibility, Enrichment, Feedback) ---- */
.tl-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .tl-pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tl-pillar-grid { grid-template-columns: 1fr; }
}
.tl-pillar-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 26px 22px;
  box-shadow: var(--shadow-card, 0 4px 14px rgba(0,0,0,0.04));
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tl-pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-700, #145a3a);
  box-shadow: 0 18px 36px -16px rgba(10,61,38,.2);
}
.tl-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100, #dcfce7);
  color: var(--green-900, #0a3d26);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.tl-pillar-icon svg {
  width: 24px;
  height: 24px;
}
.tl-pillar-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 10px;
}
.tl-pillar-text {
  font-size: .91rem;
  line-height: 1.65;
  color: var(--ink-soft, #555);
  margin: 0;
  flex: 1;
}
/* Bullet list inside cards */
.tl-check-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink, #1e293b);
}
.tl-check-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--gold-500, #f0a800);
  margin-top: 2px;
}
/* ---- Method Cards (Table 5.5.1) ---- */
.tl-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) {
  .tl-method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tl-method-grid { grid-template-columns: 1fr; }
}
.tl-method-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 4px 14px rgba(0,0,0,0.04));
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tl-method-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-700, #145a3a);
  box-shadow: 0 20px 40px -18px rgba(10,61,38,.25);
}
.tl-method-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
}
.tl-method-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform .3s ease;
}
.tl-method-card:hover .tl-method-thumb img {
  transform: scale(1.04);
}
.tl-method-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(10, 61, 38, 0.9);
  color: var(--gold-400, #fbbf24);
  font-weight: 800;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.tl-method-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tl-method-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 10px;
}
.tl-method-desc {
  font-size: .89rem;
  line-height: 1.65;
  color: var(--ink-soft, #555);
  margin: 0;
  flex: 1;
}
/* Modalities Grid (Sub-items of method 12) */
.tl-modalities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .tl-modalities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .tl-modalities-grid { grid-template-columns: 1fr; }
}
.tl-modality-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(0,0,0,0.04));
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.tl-modality-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500, #f0a800);
}
.tl-modality-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
}
.tl-modality-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.tl-modality-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tl-modality-title {
  font-size: .96rem;
  font-weight: 700;
  color: var(--green-900, #0a3d26);
  margin: 0 0 6px;
}
.tl-modality-desc {
  font-size: .83rem;
  line-height: 1.55;
  color: var(--ink-soft, #555);
  margin: 0;
  flex: 1;
}
/* ---- ICT in Assessment (12 Points) ---- */
.tl-assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) {
  .tl-assessment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .tl-assessment-grid { grid-template-columns: 1fr; }
}
.tl-assessment-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(0,0,0,0.04));
  transition: all .2s ease;
}
.tl-assessment-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-700, #145a3a);
  box-shadow: 0 14px 28px -14px rgba(10,61,38,.2);
}
.tl-assessment-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-900, #0a3d26);
  color: var(--gold-400, #fbbf24);
  font-size: .92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-assessment-content h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 6px;
}
.tl-assessment-content p {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ink-soft, #555);
  margin: 0;
}
/* ---- Modern Tools (Table 5.5.2) ---- */
.tl-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .tl-tools-grid { grid-template-columns: 1fr; }
}
.tl-tool-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 4px 14px rgba(0,0,0,0.04));
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tl-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -18px rgba(10,61,38,.25);
  border-color: var(--green-700, #145a3a);
}
.tl-tool-screens {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line, #e2e8f0);
  overflow: hidden;
  display: flex;
}
.tl-tool-screens a.gal-item,
.tl-tool-screens a {
  display: block;
  width: 100%;
  height: 100%;
  flex: 1 1 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.tl-tool-screens img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  cursor: zoom-in;
  transition: transform .3s ease;
}
.tl-tool-card:hover .tl-tool-screens img {
  transform: scale(1.03);
}
.tl-tool-screens.multi-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #e2e8f0;
}
.tl-tool-screens.multi-screens a.gal-item,
.tl-tool-screens.multi-screens a {
  width: 100%;
  height: 100%;
  flex: none;
}
.tl-tool-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tl-tool-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 10px;
}
.tl-tool-desc {
  font-size: .91rem;
  line-height: 1.65;
  color: var(--ink-soft, #555);
  margin: 0;
  flex: 1;
}
/* ---- Faculty Adoption Table ---- */
.tl-table-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 30px;
  box-shadow: var(--shadow-card, 0 4px 16px rgba(0,0,0,0.04));
}
.tl-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line, #e2e8f0);
}
.tl-table-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0;
}
.tl-search-box {
  position: relative;
  min-width: 260px;
}
.tl-search-box input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--ink, #1e293b);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tl-search-box input:focus {
  border-color: var(--green-700, #145a3a);
  box-shadow: 0 0 0 3px rgba(10, 61, 38, 0.1);
}
.tl-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-soft, #94a3b8);
  pointer-events: none;
}
.tl-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  text-align: left;
}
.tl-table th {
  background: var(--green-900, #0a3d26);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  white-space: nowrap;
}
.tl-table th:first-child {
  border-top-left-radius: 8px;
}
.tl-table th:last-child {
  border-top-right-radius: 8px;
}
.tl-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line, #e2e8f0);
  color: var(--ink, #1e293b);
}
.tl-table tr:hover td {
  background: #f8fafc;
}
.tl-badge-yes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .74rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 3px 10px;
}
.tl-badge-yes svg {
  width: 12px;
  height: 12px;
}
/* Peer Review & Flipped Learning Callouts */
.tl-callout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .tl-callout-grid { grid-template-columns: 1fr; }
}
.tl-callout-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-left: 4px solid var(--gold-500, #f0a800);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 26px;
  box-shadow: var(--shadow-card, 0 4px 14px rgba(0,0,0,0.04));
}
.tl-callout-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 12px;
}
.tl-callout-card p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-soft, #555);
  margin: 0;
}
