/** PollyVox 1.3.3 — isolated fixes. No global layout or typography resets. */

/* Maintain a clear visual break between the final story widget and newsletter. */
.pv-layout__aside--global {
  gap: var(--pv-v133-sidebar-gap, 32px) !important;
}
.pv-layout__aside--global .widget_pollyvox_newsletter {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Minimal light newsletter card. */
.pv-sidebar-newsletter {
  border-color: var(--pv-v133-newsletter-border, #11141a) !important;
  background: var(--pv-v133-newsletter-bg, #fff) !important;
  color: var(--pv-v133-newsletter-text, #11141a) !important;
  box-shadow: none;
}
.pv-sidebar-newsletter::after {
  background: var(--pv-v133-newsletter-bg, #fff) !important;
}
.pv-sidebar-newsletter__eyebrow {
  color: var(--pv-v133-newsletter-label, #9b1c16) !important;
}
.pv-sidebar-newsletter h2 {
  color: var(--pv-v133-newsletter-text, #11141a) !important;
}
.pv-sidebar-newsletter input[type="email"] {
  border-color: var(--pv-v133-newsletter-border, #11141a) !important;
  background: var(--pv-v133-newsletter-input-bg, #fff) !important;
  color: var(--pv-v133-newsletter-input-text, #11141a) !important;
  box-shadow: none !important;
}
.pv-sidebar-newsletter input[type="email"]::placeholder {
  color: var(--pv-v133-newsletter-input-text, #11141a) !important;
  opacity: .72;
}
.pv-sidebar-newsletter button {
  border-color: var(--pv-v133-newsletter-button-bg, var(--pv-accent, #e8443a)) !important;
  background: var(--pv-v133-newsletter-button-bg, var(--pv-accent, #e8443a)) !important;
  color: var(--pv-v133-newsletter-button-text, #fff) !important;
}
.pv-sidebar-newsletter button:hover,
.pv-sidebar-newsletter button:focus-visible {
  filter: brightness(.92);
  color: var(--pv-v133-newsletter-button-text, #fff) !important;
}

/* Search inputs remain readable in the header and flyout. */
.pv-header input[type="search"],
.pv-search input[type="search"],
.pv-mobile-menu input[type="search"],
.pv-flyout input[type="search"] {
  color: #11141a !important;
}
.pv-header input[type="search"]::placeholder,
.pv-search input[type="search"]::placeholder,
.pv-mobile-menu input[type="search"]::placeholder,
.pv-flyout input[type="search"]::placeholder {
  color: #11141a !important;
  opacity: .68;
}

/* Footer icons: force visible monochrome glyphs on the dark footer. */
.pv-footer--modern .pv-footer-social,
.pv-footer--modern .pv-footer-social:visited {
  color: #fff !important;
}
.pv-footer--modern .pv-footer-social svg,
.pv-footer--modern .pv-footer-social svg path,
.pv-footer--modern .pv-footer-social svg circle,
.pv-footer--modern .pv-footer-social svg rect,
.pv-footer--modern .pv-footer-social .pv-light-social-svg {
  fill: currentColor !important;
  stroke: none;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Remove numerical ranks from every legacy/sidebar rendering path. */
.pv-sidebar-latest__rank,
.pv-global-story__rank,
.pv-sidebar-archive__rank {
  display: none !important;
}

/* Contrast-safe small interface labels, controlled from the dashboard. */
.pv-card__kicker,
.pv-share__label,
.pv-author-card__eyebrow,
.pv-author-box__eyebrow,
.pv-author-card dt,
.pv-widget time,
.pv-global-story time,
.pv-sidebar-latest time {
  color: var(--pv-v133-accessible-accent, #9b1c16) !important;
}

/* Images never stretch beyond their component; preserve the established layout. */
.pv-global-story__media img,
.pv-sidebar-latest__media img,
.pv-article__hero img,
.pv-article__body img {
  max-width: 100%;
}

@media (max-width: 782px) {
  .pv-layout__aside--global { gap: var(--pv-v133-sidebar-gap, 32px) !important; }
  .pv-sidebar-newsletter { padding: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-sidebar-newsletter::before { transition: none !important; }
}
