/* 1.0.83: "Watch this PolicyBomb" sidebar block (single posts, above Recent Posts).
   Navy card, warm off-white text, blue buttons. No teal. Contrast: title #F5F1E8 on #0F1E3A 14.7:1,
   TikTok button white on #1D4ED8 6.7:1, X button #0F1E3A on #F5F1E8 14.7:1. */
.single #secondary .pb-watch,
.pb-watch {
  box-sizing: border-box;
  max-width: 100%;
  background: #0F1E3A;
  color: #F5F1E8;
  border-radius: 12px;
  padding: 1rem;
  overflow: hidden;
}
.single #secondary .pb-watch h2.pb-watch__title,
.pb-watch .pb-watch__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  color: #F5F1E8;
  border: 0;
  padding: 0;
}
.pb-watch__media {
  /* Portrait 9:16 clip: cap the height so the sidebar stays usable, keep the ratio. */
  width: min(100%, calc(min(62vh, 460px) * 9 / 16));
  margin: 0 auto 0.85rem;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.pb-watch__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: contain;
}
.pb-watch__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pb-watch a.pb-watch__btn,
.pb-watch a.pb-watch__btn:link,
.pb-watch a.pb-watch__btn:visited {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.pb-watch a.pb-watch__btn--tiktok,
.pb-watch a.pb-watch__btn--tiktok:link,
.pb-watch a.pb-watch__btn--tiktok:visited { background: #1D4ED8; color: #FFFFFF; }
.pb-watch a.pb-watch__btn--tiktok:hover,
.pb-watch a.pb-watch__btn--tiktok:focus { background: #1E40AF; color: #FFFFFF; }
.pb-watch a.pb-watch__btn--x,
.pb-watch a.pb-watch__btn--x:link,
.pb-watch a.pb-watch__btn--x:visited { background: #F5F1E8; color: #0F1E3A; }
.pb-watch a.pb-watch__btn--x:hover,
.pb-watch a.pb-watch__btn--x:focus { background: #FFFFFF; color: #0F1E3A; }
.pb-watch a.pb-watch__btn:focus-visible { outline: 3px solid #BFD6FF; outline-offset: 2px; }

/* The block makes the sidebar tall: let it scroll with the page instead of sticking. */
@media (min-width: 1024px) {
  body.pb-has-watch.single #secondary.widget-area { position: static; }
}
/* Narrow screens: the sidebar already stacks under the article; keep the card inside the gutters. */
@media (max-width: 600px) {
  .pb-watch { padding: 0.85rem; }
  .pb-watch__media { width: min(100%, 260px); }
}
