/* Shouts: carousels of square cards. Early Twitter, modernised. */
.shout-archive, .shout-single { max-width: 512px; margin: 0 auto; padding: 24px 16px 64px; box-sizing: border-box; }
.shout-archive-head h1 { margin: 0 0 4px; }
.shout-archive-head p { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.shout-archive-head p span { opacity: .75; }
.shout-rss { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1.5px solid currentColor; border-radius: 9999px; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; }
.shout-rss:hover, .shout-rss:focus-visible { opacity: .75; }
.shout-stream { display: grid; gap: 0; border: 1px solid rgba(0,0,0,.12); border-radius: 16px; background: #fff; overflow: hidden; }
.shout-item { margin: 0; padding: 20px; border-top: 1px solid rgba(0,0,0,.12); }
.shout-item:first-child { border-top: 0; }
.shout-date { display: inline-block; margin-top: 8px; font-size: 14px; opacity: .7; text-decoration: none; }
.shout-carousel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; border-radius: 16px; outline-offset: 4px;
}
.shout-card { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.shout-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 16px; }
.shout-count { margin: 6px 0 0; font-size: 13px; opacity: .6; }
.shout-text { margin-top: 24px; font-size: 1.15em; line-height: 1.6; }
.shout-meta { margin-top: 16px; font-size: 14px; opacity: .7; }
.shout-more { margin-top: 32px; text-align: center; }
.shout-more.is-hidden { display: none; }
@media (prefers-reduced-motion: no-preference) { .shout-carousel { scroll-behavior: smooth; } }

/* Carousel arrows: shown on hover/focus on devices with a mouse; touch devices swipe. */
.shout-carousel-wrap { position: relative; }
.shout-nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 9999px; padding: 0 0 4px;
  background: rgba(255,255,255,.92); color: #111; font-size: 30px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.25); opacity: 0; transition: opacity .15s;
}
.shout-prev { left: 12px; } .shout-next { right: 12px; }
.shout-carousel-wrap:hover .shout-nav:not(:disabled), .shout-nav:focus-visible { opacity: 1; }
.shout-nav:disabled { cursor: default; }
@media (hover: none) { .shout-nav { display: none; } }
