/* theme.css - Alliance site styles */

/* Color scheme preference */
:root {
  color-scheme: light dark;
}

/* Base reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background: #0b0b0b;
  color: #f4f4f4;
}

a {
  color: #9bd1ff;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

header nav a {
  margin-right: 14px;
  text-decoration: none;
  opacity: 0.9;
}

h1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
  margin: 0 0 8px;
}

.lead {
  color: #cfcfcf;
  margin: 0 0 18px;
}

.card {
  background: #121212;
  border: 1px solid #1f1f1f;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

ul {
  padding-left: 1.2rem;
}

li {
  margin: 4px 0;
}

hr {
  border: 0;
  border-top: 1px solid #222;
  margin: 24px 0;
}

.site-header .nav .nav-link {
  margin-right: 14px;
  text-decoration: none;
  opacity: 0.9;
}

.site-footer {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #b5b5b5;
}

/* Poster image */
.poster img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

/* Details/summary with smooth expand */
details {
  margin-bottom: 12px;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 12px 16px;
  background: #1a1a1a;
  font-weight: bold;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none; /* hide the default arrow */
}

details[open] summary {
  background: #222;
}

details .content {
  padding: 12px 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

details[open] .content {
  max-height: 1000px; /* enough space for story text */
}


/* Video player wrapper */
/* Full-bleed video player */
.player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 0;    /* remove rounding for full width */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: #000;
  margin: 0 0 24px 0;
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* Small text below video */
.video-help {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #b5b5b5;
}

