/* Colori delle superfici pubbliche e impaginazione dei contenuti editoriali. */
@media screen {
  html:root body #main .media-tile .video-placeholder,
  html:root body #main .media-tile .video-placeholder small {
    color: white !important;
    -webkit-text-fill-color: currentColor !important;
  }
  html:root body .podcast-share svg path {
    fill: currentColor;
  }
  html:root body #main .registration-page label > span[aria-hidden="true"] {
    color: var(--ui-primary, #286776) !important;
  }
  html:root body #main .registration-page p.footer {
    color: var(--ui-muted, #475f66) !important;
  }
  html:root[data-theme="light"] body #main .avvisi-web-cover .avvisi-web-bulletin-subtitle {
    color: #24489c !important;
    -webkit-text-fill-color: currentColor !important;
  }
  #main :is(.article-heading, .prc-document, .agenda-page, .avvisi-web-identity-copy,
            .avvisi-web-index, .avvisi-web-days, .avvisi-period-card, .avvisi-web-date-copy) {
    min-inline-size: 0;
    overflow-wrap: anywhere;
  }
  #main .avvisi-web-events li > :is(span, strong),
  #main .avvisi-web-identity-copy > p,
  #main .avvisi-period-date > *,
  #main .avvisi-web-index .avvisi-web-kicker {
    min-inline-size: 0;
    overflow-wrap: anywhere;
  }
}
@media screen {
  #main .avvisi-web-shell :is(.avvisi-web-cover, .avvisi-web-content, .avvisi-web-liturgical-header, .avvisi-web-identity) {
    min-inline-size: 0;
    max-inline-size: 100%;
    box-sizing: border-box;
  }
  #main .avvisi-web-liturgical-header :is(h2, p),
  #main .avvisi-web-index :is(span, a) {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}
@media screen and (max-width: 420px) {
  #main .avvisi-web-shell { grid-template-columns: minmax(0, 1fr); }
  #main .avvisi-web-index { min-inline-size: 0; max-inline-size: 100%; box-sizing: border-box; }
  #main .avvisi-web-cover .avvisi-web-identity { flex-wrap: wrap; }
}
