/* Mockup additions: watch section + state map section. Home page only. */

/* ---------- Watch / video section ---------- */
.watch-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.watch-media { position: relative; }
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--ink);
}
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  display: block;
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,32,59,0.15), rgba(19,32,59,0.55));
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.15s ease;
}
.video-frame:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
.play-btn svg { margin-left: 4px; }
.video-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-copy .lede { max-width: 480px; }
.watch-copy .btn { align-self: flex-start; margin-top: 4px; }

.watch { background: var(--green); color: var(--white); }
.watch .eyebrow { color: var(--marigold); }
.watch-copy .lede { color: rgba(255, 255, 255, 0.82); }

@media (max-width: 860px) {
  .watch-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- State map section ---------- */
.states-head { max-width: 680px; margin-bottom: 28px; }
.states .eyebrow { color: var(--blue); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.legend-chip strong { color: var(--ink); font-weight: 800; }
.legend-chip .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legend-chip[aria-pressed="true"] { border-color: var(--ink); }
.legend-in .dot { background: var(--green); }
.legend-veto .dot { background: var(--marigold); }
.legend-declined .dot { background: var(--coral); }
.legend-pending .dot { background: var(--ink-3); opacity: 0.35; }

.map-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}

.map-wrap {
  position: relative;
  padding: 0;
}
.us-map { width: 100%; height: auto; display: block; }
.us-map svg { width: 100%; height: auto; overflow: visible; }
.us-map path {
  stroke: var(--paper);
  stroke-width: 1.25;
  cursor: pointer;
  transition: opacity 0.1s ease, filter 0.15s ease, stroke 0.15s ease, stroke-width 0.15s ease;
}
.us-map path.is-dim { opacity: 0.35; }
.us-map path.status-in { fill: var(--green); }
.us-map path.status-veto { fill: var(--marigold); }
.us-map path.status-declined { fill: var(--coral); }
.us-map path.status-pending { fill: var(--field); }
.us-map path.is-selected {
  stroke: var(--ink);
  stroke-width: 2;
  filter: drop-shadow(0 0 7px rgba(19, 32, 59, 0.55));
}

/* ---------- Coverage panel ---------- */
.coverage-panel {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(19, 32, 59, 0.05), 0 8px 24px rgba(19, 32, 59, 0.06);
  padding: 20px 20px 8px;
  max-height: 560px;
  display: flex;
  flex-direction: column;
}
.coverage-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 4px;
}
.coverage-head h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.coverage-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  cursor: pointer;
}
.coverage-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.coverage-empty {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  padding: 12px 0;
}
.coverage-card {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}
.coverage-list .coverage-card:last-child { border-bottom: 0; }
.coverage-card:hover { opacity: 0.72; }
.coverage-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--field);
}
.coverage-card-thumb-empty { background: var(--field); }
.coverage-card-body { min-width: 0; flex: 1; }
.coverage-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.coverage-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 176, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}
.coverage-card h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 6px;
}
.coverage-card-date {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.coverage-card-arrow {
  flex-shrink: 0;
  color: var(--ink-3);
  display: flex;
  align-items: center;
}

.coverage-status-row { margin-bottom: 2px; }
.coverage-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.coverage-status-badge.status-in { background: rgba(9, 85, 53, 0.12); color: var(--green); }
.coverage-status-badge.status-veto { background: rgba(246, 194, 62, 0.22); color: #8a6a0a; }
.coverage-status-badge.status-declined { background: rgba(255, 107, 61, 0.14); color: var(--coral); }
.coverage-status-badge.status-pending { background: var(--field); color: var(--ink-3); }
.coverage-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 2px 0 0;
  line-height: 1.5;
}
.coverage-credit {
  font-size: 11px;
  color: var(--ink-3);
  margin: 4px 0 0;
  line-height: 1.5;
}
.coverage-credit a { color: inherit; }

@media (max-width: 860px) {
  .map-grid { grid-template-columns: 1fr; }
  .coverage-panel { max-height: 360px; }
}

.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transform: translate(-50%, -115%);
  white-space: nowrap;
  z-index: 5;
}
.map-tooltip .mt-status { display: block; font-weight: 500; opacity: 0.8; font-size: 12px; margin-top: 2px; }

.map-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 640px) {
  .map-wrap { padding: 16px; }
  .legend-chip { font-size: 13px; padding: 8px 12px; }
}
