/* Launch Email Notifications TIL page (works with global.css) */

.launch-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  line-height: 1.65;
}

.launch-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.launch-header h1 {
  margin-bottom: 0.5rem;
}

.launch-date {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  opacity: 0.75;
  color: var(--subheader-color);
}

.launch-copy p {
  margin: 0;
}

.launch-copy p + p {
  margin-top: 1.75rem;
}

.launch-copy a {
  color: var(--subheader-color);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.launch-copy a:hover,
.launch-copy a:focus {
  color: var(--accent-color);
}

.launch-copy code {
  font-family: monospace;
  font-size: 0.9em;
  color: var(--subheader-color);
}

.launch-script-heading {
  margin: 2rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--subheader-color);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: system-ui, sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0.75rem 0 2rem;
}

.copy-btn:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.launch-slideshow {
  margin: 2rem auto 0;
  max-width: 640px;
}

.launch-slideshow .slideshow-frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.launch-slideshow .slideshow-images {
  position: relative;
  min-height: 280px;
  text-align: center;
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgb(0 0 0 / 25%);
  overflow: hidden;
}

.launch-slideshow .slideshow-image {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  display: none;
  margin: 0 auto;
  padding: 0.5rem;
}

.launch-slideshow .slideshow-image.is-active {
  display: block;
}

.launch-slideshow .slideshow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  font-family: system-ui, sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.launch-slideshow .slideshow-btn:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.launch-slideshow .slideshow-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.launch-slideshow .slideshow-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-color);
  opacity: 0.95;
  line-height: 1.5;
}

.launch-slideshow .slideshow-counter {
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
  color: var(--text-color);
  opacity: 0.75;
}

@media (width >= 769px) {
  .launch-slideshow .slideshow-images {
    min-height: 360px;
  }
}