/* ==========================================================================
   ALUR AKSES DATABASE JURNAL PROQUEST - MODERN HORIZONTAL PROCESS FLOW
   Institut Kesehatan Karsa Husada Garut
   Desain Modern & Profesional Institusi Akademik
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Quick Stats Strip (Di Bawah Hero Banner)
   -------------------------------------------------------------------------- */
.apq-stats-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  position: relative;
  z-index: 10;
}

.apq-stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0.5rem;
  gap: 1rem;
}

.apq-stat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.apq-stat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(9, 168, 158, 0.1);
  color: #09a89e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apq-stat-item:hover .apq-stat-icon-circle {
  background: #09a89e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(9, 168, 158, 0.3);
}

.apq-stat-text {
  display: flex;
  flex-direction: column;
}

.apq-stat-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.apq-stat-sub {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

.apq-stat-divider {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   2. Main Section Wrapper
   -------------------------------------------------------------------------- */
.apq-main-section {
  padding: 4.5rem 0 6rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

/* Institutional Intro Header */
.apq-intro-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3.5rem;
  position: relative;
}

.apq-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(9, 168, 158, 0.1);
  border: 1px solid rgba(9, 168, 158, 0.25);
  border-radius: 9999px;
  color: #09a89e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.apq-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #09a89e;
  box-shadow: 0 0 0 0 rgba(9, 168, 158, 0.7);
  animation: apqPulse 2s infinite;
}

@keyframes apqPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(9, 168, 158, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(9, 168, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(9, 168, 158, 0);
  }
}

.apq-intro-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.apq-intro-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.apq-header-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #09a89e;
  border-radius: 12px;
  padding: 1.15rem 1.4rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.apq-notice-icon {
  color: #09a89e;
  flex-shrink: 0;
  margin-top: 2px;
}

.apq-notice-text {
  font-size: 0.885rem;
  color: #334155;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. Horizontal Process Flow Container & Roadmap
   -------------------------------------------------------------------------- */
.apq-process-wrapper {
  margin-bottom: 4.5rem;
  position: relative;
}

/* Top Roadmap Track */
.apq-roadmap-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}

.apq-roadmap-line {
  position: absolute;
  top: 18px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: #cbd5e1;
  z-index: 1;
}

.apq-roadmap-points {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.apq-roadmap-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.apq-point-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #09a89e;
  color: #09a89e;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(9, 168, 158, 0.2);
  transition: all 0.25s ease;
}

.apq-roadmap-point:hover .apq-point-circle,
.apq-roadmap-point.is-active .apq-point-circle {
  background: #09a89e;
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(9, 168, 158, 0.4);
}

.apq-point-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.apq-roadmap-point:hover .apq-point-label,
.apq-roadmap-point.is-active .apq-point-label {
  color: #0f172a;
}

/* Horizontal 3-Column Cards Grid */
.apq-horizontal-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* Individual Process Flow Card */
.apq-col-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.apq-col-card:hover {
  transform: translateY(-6px);
  border-color: rgba(9, 168, 158, 0.4);
  box-shadow: 0 20px 32px -8px rgba(15, 23, 42, 0.12);
}

/* Card Media: Dual Sub-Screenshots Grid */
.apq-card-media-multi {
  position: relative;
  background: #0f172a;
  padding: 8px;
  display: grid;
  gap: 6px;
}

.apq-media-grid-dual {
  grid-template-columns: 1fr 1fr;
}

.apq-sub-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 180px;
  cursor: pointer;
  background: #1e293b;
}

.apq-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.apq-sub-media:hover .apq-sub-img {
  transform: scale(1.06);
}

.apq-sub-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.apq-sub-media:hover .apq-sub-overlay {
  opacity: 1;
}

.apq-sub-zoom-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.85);
  color: #2dd4bf;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.apq-sub-caption-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Single Media Frame Fallback */
.apq-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}

.apq-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.apq-card-media:hover .apq-card-img {
  transform: scale(1.06);
}

.apq-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.apq-card-media:hover .apq-card-overlay {
  opacity: 1;
}

.apq-zoom-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.85);
  color: #2dd4bf;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* Badges on Media */
.apq-card-step-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #09a89e;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(9, 168, 158, 0.35);
  z-index: 5;
}

.apq-card-step-badge strong {
  font-size: 0.95rem;
}

.apq-media-count-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
}

/* Card Body */
.apq-col-body {
  padding: 1.75rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.apq-step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.apq-step-badge-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #09a89e;
  background: rgba(9, 168, 158, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.apq-step-icon-round {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #09a89e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apq-step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.apq-step-desc {
  font-size: 0.885rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Subpoints Ordered List */
.apq-step-subpoints {
  margin: 0 0 1.5rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.apq-step-subpoints li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.55;
}

.apq-step-subpoints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #09a89e;
}

/* Card Notes Box */
.apq-card-notes {
  margin-top: auto;
  margin-bottom: 1.35rem;
  background: #f8fafc;
  border-left: 3px solid #09a89e;
  padding: 0.75rem 0.95rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
}

.apq-card-notes strong {
  color: #0f172a;
}

/* Card Action Button */
.apq-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #09a89e;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(9, 168, 158, 0.25);
  margin-top: auto;
}

.apq-btn-action:hover {
  background: #078a82;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(9, 168, 158, 0.35);
}

/* --------------------------------------------------------------------------
   4. Database Directory Grid
   -------------------------------------------------------------------------- */
.apq-db-directory {
  margin-bottom: 4.5rem;
}

.apq-db-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.apq-db-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.apq-db-card:hover {
  transform: translateY(-3px);
  border-color: #09a89e;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.apq-db-card-top {
  margin-bottom: 0.75rem;
}

.apq-db-tag-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.apq-db-tag-pill.kesehatan {
  background: #e0f2fe;
  color: #0369a1;
}

.apq-db-tag-pill.farmasi {
  background: #f0fdf4;
  color: #15803d;
}

.apq-db-tag-pill.keperawatan {
  background: #fef3c7;
  color: #b45309;
}

.apq-db-tag-pill.multidisiplin {
  background: #ede9fe;
  color: #6d28d9;
}

.apq-db-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.apq-db-card-desc {
  font-size: 0.81rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.apq-db-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: #09a89e;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.65rem;
}

/* --------------------------------------------------------------------------
   5. Official Infographic Poster Banner
   -------------------------------------------------------------------------- */
.apq-poster-wrap {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 3rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
  margin-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.apq-poster-wrap::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 168, 158, 0.25) 0%, rgba(9, 168, 158, 0) 70%);
  pointer-events: none;
}

.apq-poster-text {
  position: relative;
  z-index: 2;
}

.apq-poster-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(9, 168, 158, 0.2);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.apq-poster-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.apq-poster-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.apq-poster-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.apq-btn-poster-download {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #09a89e;
  color: #ffffff;
  padding: 0.85rem 1.65rem;
  border-radius: 12px;
  font-size: 0.885rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(9, 168, 158, 0.35);
}

.apq-btn-poster-download:hover {
  background: #078a82;
  color: #ffffff;
  transform: translateY(-2px);
}

.apq-btn-poster-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 1.45rem;
  border-radius: 12px;
  font-size: 0.885rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.apq-btn-poster-preview:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.apq-poster-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.apq-poster-preview-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  max-width: 300px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease;
}

.apq-poster-preview-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.apq-poster-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

.apq-poster-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.apq-poster-preview-card:hover .apq-poster-preview-overlay {
  opacity: 1;
}

.apq-poster-preview-overlay span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.85);
  color: #2dd4bf;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   6. Quick Helpdesk & Related Guides
   -------------------------------------------------------------------------- */
.apq-qa-wrap {
  margin-top: 2rem;
}

.apq-qa-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.35rem;
}

.apq-qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.apq-qa-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.apq-qa-card:hover {
  transform: translateY(-3px);
  border-color: #09a89e;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.apq-qa-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apq-qa-content {
  display: flex;
  flex-direction: column;
}

.apq-qa-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.apq-qa-card-desc {
  font-size: 0.81rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.apq-qa-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #09a89e;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   7. Lightbox Modal Dialog (Multi-Image Slider)
   -------------------------------------------------------------------------- */
.apq-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.apq-lightbox-overlay.is-open {
  display: flex;
  opacity: 1;
}

.apq-lightbox-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  animation: apqZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes apqZoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.apq-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.apq-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.85);
  transform: scale(1.1);
}

.apq-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.apq-lightbox-nav:hover {
  background: #09a89e;
  border-color: #09a89e;
  transform: translateY(-50%) scale(1.12);
}

.apq-lightbox-prev {
  left: 14px;
}

.apq-lightbox-next {
  right: 14px;
}

.apq-lightbox-nav.is-hidden {
  display: none !important;
}

.apq-lightbox-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #2dd4bf;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  z-index: 10;
}

.apq-lightbox-counter.is-hidden {
  display: none !important;
}

.apq-lightbox-image-wrap {
  width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
  overflow: hidden;
}

.apq-lightbox-image-wrap img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.apq-lightbox-caption {
  padding: 1.15rem 1.5rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.apq-lightbox-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.apq-lightbox-subcaption {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .apq-horizontal-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .apq-db-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .apq-stats-inner {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .apq-stat-divider {
    display: none;
  }
  .apq-stat-item {
    min-width: 45%;
  }
  .apq-roadmap-track {
    display: none;
  }
  .apq-poster-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .apq-poster-actions {
    justify-content: center;
  }
  .apq-qa-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .apq-horizontal-flow {
    grid-template-columns: 1fr;
  }
  .apq-stat-item {
    min-width: 100%;
  }
  .apq-db-grid {
    grid-template-columns: 1fr;
  }
  .apq-intro-title {
    font-size: 1.75rem;
  }
  .apq-poster-title {
    font-size: 1.5rem;
  }
  .apq-lightbox-overlay {
    padding: 0.75rem;
  }
}
