/* ── Show Screens Component (Component A) ────────────────────
   Photo-gallery storyboard for browser-app course landing pages.
   See: the-build/LANDING-PAGE-SHOW-SPEC.md
   ─────────────────────────────────────────────────────────── */

/* Pair these two classes the same way as show-chat:
   - .hero-with-show-screens on the hero (extra bottom padding)
   - .show-screens-section on the wrapping section (pulls the gallery up) */
.hero.hero-with-show-screens { padding-bottom: 200px; }
.show-screens-section { padding: 0 0 64px; }
.show-screens-section .container {
  max-width: 1040px;
  padding: 0 24px;
  margin-top: -140px;
}

.show-screens-gallery {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.show-screens-main {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(6, 182, 212, 0.26),
    0 30px 60px -20px rgba(15, 23, 42, 0.55);
}

.show-screens-chrome {
  background: #0F172A;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #334155;
}

.show-screens-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.show-screens-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.show-screens-dot:nth-child(1) { background: #EF4444; }
.show-screens-dot:nth-child(2) { background: #F59E0B; }
.show-screens-dot:nth-child(3) { background: #10B981; }

.show-screens-url {
  flex: 1;
  background: #1E293B;
  border-radius: 4px;
  padding: 4px 12px;
  font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  color: #94A3B8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.show-screens-main-img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.show-screens-caption {
  text-align: center;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: #475569;
  margin: 22px 16px 24px;
  line-height: 1.5;
  min-height: 1.5em;
}

.show-screens-thumbs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.show-screens-thumbs::-webkit-scrollbar { display: none; }

.show-screens-thumb {
  flex: 0 0 auto;
  width: 200px;
  background: #fff;
  border: 2px solid #CBD5E1;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.show-screens-thumb img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.show-screens-thumb:hover {
  opacity: 0.95;
  border-color: #94A3B8;
}
.show-screens-thumb-active {
  opacity: 1;
  border-color: #06B6D4;
  box-shadow: 0 8px 18px -8px rgba(6, 182, 212, 0.45);
}
.show-screens-thumb:focus-visible {
  outline: 2px solid #06B6D4;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .hero.hero-with-show-screens { padding-bottom: 130px; }
  .show-screens-section .container {
    margin-top: -70px;
    padding: 0 16px;
  }
  .show-screens-caption {
    font-size: 14px;
    margin: 16px 8px 18px;
  }
  .show-screens-thumb {
    width: 130px;
  }
  .show-screens-thumbs {
    gap: 10px;
  }
}
