/* Curriculum, Public Disclosure, Gallery — LeadManch */

.lm-gallery-section {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
}

.lm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.lm-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f4;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 21, 87, 0.08);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.lm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.lm-gallery-item:hover img {
  transform: scale(1.04);
}

.lm-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(21, 21, 87, 0.85));
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.lm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 18, 72, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lm-lightbox.is-open {
  display: flex;
}

.lm-lightbox-inner {
  position: relative;
  max-width: 920px;
  width: 100%;
}

.lm-lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.lm-lightbox-close,
.lm-lightbox-prev,
.lm-lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s ease;
}

.lm-lightbox-close:hover,
.lm-lightbox-prev:hover,
.lm-lightbox-next:hover {
  background: rgba(64, 156, 255, 0.5);
}

.lm-lightbox-close {
  top: -52px;
  right: 0;
}

.lm-lightbox-prev {
  left: -56px;
  top: 50%;
  transform: translateY(-50%);
}

.lm-lightbox-next {
  right: -56px;
  top: 50%;
  transform: translateY(-50%);
}

.lm-docs-section {
  padding: 48px 0 80px;
}

.lm-policy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.lm-policy-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(21, 21, 87, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lm-policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(21, 21, 87, 0.1);
}

.lm-policy-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f0ff 0%, #dae5ff 100%);
  color: #2e3788;
  font-size: 1.25rem;
}

.lm-policy-card h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  color: #151557;
}

.lm-policy-card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #5a6478;
}

.lm-policy-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.lm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.lm-btn-primary {
  background: linear-gradient(135deg, #409cff 0%, #2e6fd4 100%);
  color: #fff;
}

.lm-btn-primary:hover {
  color: #fff;
}

.lm-btn-outline {
  background: #f4f7fc;
  color: #2e3788;
  border: 1px solid #d6deec;
}

.lm-btn-outline:hover {
  border-color: #409cff;
  color: #151557;
}

.lm-pdf-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
}

.lm-pdf-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f4;
  box-shadow: 0 8px 24px rgba(21, 21, 87, 0.06);
}

.lm-pdf-table thead {
  background: linear-gradient(135deg, #151557 0%, #2e3788 100%);
  color: #fff;
}

.lm-pdf-table th,
.lm-pdf-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e8edf5;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.92rem;
}

.lm-pdf-table tbody tr:hover {
  background: #f8faff;
}

.lm-pdf-table .no-data {
  text-align: center;
  color: #5a6478;
  padding: 28px;
}

.lm-curriculum-block {
  margin-bottom: 48px;
}

.lm-curriculum-block .subsection-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  color: #151557;
  margin: 24px 0 16px;
}

.lm-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.lm-phase-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(21, 21, 87, 0.05);
}

.lm-phase-card .phase-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #409cff;
  margin-bottom: 8px;
}

.lm-phase-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #151557;
}

.lm-phase-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5a6478;
}

.lm-phase-card i {
  font-size: 1.5rem;
  color: #409cff;
  margin-bottom: 12px;
}

.lm-highlight-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.lm-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a5568;
}

.lm-highlight-list i {
  color: #409cff;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .lm-lightbox-prev {
    left: 8px;
  }

  .lm-lightbox-next {
    right: 8px;
  }

  .lm-lightbox-close {
    top: 8px;
    right: 8px;
  }
}
