/* The Monrovia Times — mechanics only: Big Story slideshow + scrolling
   Developing ticker. The design stylesheet (style.css) is the sample's,
   byte-for-byte; this file adds no new design language, only the moving
   parts, using the design's own tokens and fonts. */

/* ---------- Big Story slideshow ---------- */
.bigstory-slides { display: grid; }
.bigstory-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.bigstory-slide.is-active {
  opacity: 1; visibility: visible; z-index: 1;
  transition: opacity .6s ease;
}
.bigstory-slide .slide-link { display: block; color: inherit; text-decoration: none; }
.bigstory-slide .slide-link:hover h1, .bigstory-slide .slide-link:hover h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.bigstory-slide h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.04; font-weight: 800; letter-spacing: -.01em;
  margin: 0 0 12px;
}
.bigstory-controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.bs-btn {
  font-family: "Libre Franklin", sans-serif;
  width: 38px; height: 38px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule-dark); cursor: pointer;
}
.bs-btn:hover { border-color: var(--accent); color: var(--accent); }
.bs-btn svg { width: 16px; height: 16px; }
.bs-dots { display: inline-flex; align-items: center; gap: 8px; }
.bs-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  background: transparent; border: 1px solid var(--ink-3); cursor: pointer;
}
.bs-dot.is-active { background: var(--accent); border-color: var(--accent); }
.bs-count {
  font-family: "Libre Franklin", sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; color: var(--ink-3);
}

/* ---------- Developing ticker: seamless scrolling loop ---------- */
.ticker-track {
  display: flex; white-space: nowrap; will-change: transform;
  animation: mt-ticker-scroll 40s linear infinite;
}
.ticker-seq { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes mt-ticker-scroll { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  /* mechanics only: the sample's static-ticker rule hides items 2+ on
     small screens; a scrolling ticker needs them all in the track. */
  .ticker .items { white-space: nowrap; }
  .ticker .items .ticker-seq span:nth-child(n+2) { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .bigstory-slide { transition: none; }
}

/* The Latest thumbnails + In Focus placeholder (Orion, Nov 15, 2026) */
.latest-list li { grid-template-columns: 74px 72px 1fr; }
.latest-list .latest-thumb {
  width: 72px; height: 72px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--rule); display: block;
}
.focus-empty {
  font-family: "Newsreader", Georgia, serif; font-style: italic;
  font-size: 17px; color: var(--ink-2); margin: 6px 0 2px;
}
@media (max-width: 640px) {
  .latest-list li { grid-template-columns: 58px 56px 1fr; gap: 10px; }
  .latest-list .latest-thumb { width: 56px; height: 56px; }
}
