/* Reader controls use the same type and blue ink as the newspaper navigation. */
.community-link-menu { background:transparent; color:inherit; border:0; border-bottom:1px solid currentColor; min-height:30px; padding:3px 0; font:650 13px/1.2 system-ui,sans-serif; letter-spacing:0; cursor:pointer; white-space:nowrap; }
.community-bar { grid-column:1/-1; display:flex; flex-flow:row nowrap; align-items:center; gap:3px; min-width:0; margin-top:12px; padding:7px 0 0; border-top:1px solid #52677e; color:inherit; font:600 13px/1.3 system-ui,sans-serif; }
.community-bar button.community-action,.community-share-link,.community-close { display:inline-flex; align-items:center; justify-content:center; gap:5px; margin:0; padding:6px 5px; min-height:36px; font:inherit; line-height:1.3; text-transform:none; letter-spacing:normal; border:1px solid transparent; border-radius:5px; background:transparent; cursor:pointer; color:inherit; }
.community-action svg,.community-share-link svg,.community-close svg,.community-picker-item svg,.community-major svg { width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.community-bar button.community-action:hover,.community-share-link:hover,.community-close:hover { background:#274654; color:#edffff; }
.community-bar button.community-action[aria-pressed=true] { color:#a1f7e9; background:#1c4751; border-color:#6cb8bb; }
.community-bar button.community-action[aria-pressed=true] svg { fill:currentColor; }
.community-count { font-variant-numeric:tabular-nums; font-size:.85em; opacity:.84; }
.community-count:empty { display:none; }
.community-action:focus-visible,.community-share-link:focus-visible,.community-link-menu:focus-visible,.community-dialog :focus-visible,.community-hover-share:focus-visible { outline:2px solid #2584b4; outline-offset:2px; }
.community-action:disabled { opacity:.65; }
.news-card>.community-bar,.short-card>.community-bar,.live-card>.community-bar,.incredible-card>.community-bar,.archive-entry>.community-bar { align-self:end; width:100%; }
.short-card>.community-bar,.live-card>.community-bar,.incredible-card>.community-bar { padding:7px 10px; margin:0; }
.breaking-news>.community-bar { color:#edf8ff; background:#112b40; border-radius:4px; margin:0; padding:4px 12px; }
.community-bar .community-action { white-space:nowrap; }
button.community-share-link { vertical-align:middle; width:30px; min-height:30px; padding:5px; margin-inline:2px 4px; color:#a9d9ec; }
.community-link-pair { display:inline-flex; align-items:center; gap:2px; max-width:100%; vertical-align:middle; }
.community-link-pair>a { min-width:0; overflow-wrap:anywhere; }
.community-link-pair>button { flex:none; }
.short-links .community-link-pair>a { flex:1; }
.live-card-links .community-link-pair>a { color:#b7e8e4; font-size:12px; font-weight:600; }
.live-card-links .community-link-pair>a.live-playlist { color:#dbcca8; }
.community-close:hover { color:#17364a; background:#e7f0f4; }
.community-share-link svg { width:14px;height:14px; }
.breaking-bottom>.community-share-link,.breaking-figure .community-share-link { color:inherit; }
.community-ticker-entry { flex:none; padding-right:28px; }
.community-ticker-entry .research-item { padding-right:0; }
.research-ticker:has(.community-ticker-entry) { height:auto; min-height:72px; }
.community-ticker-entry .community-bar { color:#e5eff9; gap:4px; margin:0; padding:0; border:0; }
.community-ticker-entry .community-bar .community-action { padding:3px 5px; min-height:28px; flex:none; font-size:11px; }
.community-ticker-entry .community-action svg { width:13px; height:13px; }
.community-ticker-entry .community-bar button.community-action:hover { background:#304e68; color:white; }
.community-dialog { color:#172c3d; background:#fff; border:1px solid #bdcbd5; border-radius:12px; padding:0; width:min(94vw,32rem); max-width:94vw; max-height:86dvh; box-shadow:0 18px 65px #101e3d55; font: 15px/1.52 system-ui,sans-serif; }
.community-dialog::backdrop { background:rgba(9,21,34,.58); }
.community-dialog-head { position:sticky; z-index:1; inset-block-start:0; display:flex; align-items:center; justify-content:space-between; gap:10px; background:white; padding:14px 20px 10px; border-bottom:1px solid #dce3e8; }
.community-dialog-head h2 { margin:0; color:#142f46; font:700 25px/1.15 Georgia,serif; }
.community-close { width:40px; min-height:40px; }
.community-panel { padding:16px 20px 3px; }
.community-subtitle { margin:0 0 14px; font-weight:650; line-height:1.35; overflow-wrap:anywhere; }
.community-input { box-sizing:border-box; display:block; width:100%; min-height:42px; margin:0; border:1px solid #a9bac6; border-radius:5px; padding:8px 10px; color:#192f3f; background:white; font:400 16px/1.45 system-ui,sans-serif; }
.community-major,.community-more,.community-service { display:inline-flex; gap:7px; align-items:center; justify-content:center; min-height:42px; width:fit-content; border:1px solid #24445e; border-radius:5px; padding:7px 13px; font:650 14px/1.3 system-ui,sans-serif; cursor:pointer; }
.community-major { color:white; background:#183950; }
.community-more,.community-service { color:#204660; background:#fff; }
.community-more[hidden],.community-message[hidden] { display:none; }
.community-share-options { display:flex; flex-wrap:wrap; gap:9px; margin:12px 0 4px; }
.community-picker { display:grid; gap:1px; margin-top:12px; }
.community-picker-item { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:10px 3px; margin:0; text-align:start; background:white; color:#20445d; font:inherit; border:0; border-bottom:1px solid #dce3e8; cursor:pointer; }
.community-picker-item>span { min-width:0; }
.community-picker-item b,.community-picker-item small { display:block; overflow-wrap:anywhere; }
.community-picker-item small { color:#50687a; font-size:12px; }
.community-status { margin:5px 20px 14px; font-size:14px; }
.community-message { position:fixed; inset:auto 1rem 1rem auto; max-width:calc(100vw - 2rem); z-index:101; padding:10px 16px; border-radius:6px; color:white; background:#17364a; font:600 14px/1.4 system-ui,sans-serif; }
.community-hover-share { position:fixed; z-index:98; align-items:center; gap:4px; padding:5px 8px; border:1px solid #9eb6c6; border-radius:5px; color:#204660; background:white; box-shadow:0 2px 9px #1233; cursor:pointer; font:600 12px/1.3 system-ui,sans-serif; }
.community-hover-share:not([hidden]) { display:inline-flex; }
.community-hover-share svg { width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
@media(max-width:760px) {
  .top-inner .community-link-menu { font-size:11px; }
  .top-inner { gap:8px; }
  .community-bar { gap:2px 5px; font-size:12px; }
  .community-bar button.community-action { min-height:40px; padding-inline:5px; }
  .community-ticker-entry .community-bar button.community-action { min-height:28px; }
  .community-panel { padding-inline:15px; }
}
@media(max-width:480px) {
  .top-inner>span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .top-inner>a { flex-shrink:0; }
}

.ticker:has(.community-ticker-entry) { height:auto; min-height:62px; }
.ticker-track .community-ticker-entry { white-space:nowrap; }
.ticker-track .community-ticker-entry>a { display:block; }
.ticker-track .community-action>span { font-size:inherit; margin:0; color:inherit; }
.ticker-track .community-action .community-count { font-size:.85em; }
.ticker-track .community-bar button.community-action { color:#e5eff9; width:auto; height:auto; min-height:26px; }
.ticker-track .community-bar button.community-action:hover,.ticker-track .community-bar button.community-action[aria-pressed=true] { background:#304e68; }
.ticker:has(.community-action:hover) .ticker-track,.research-ticker:has(.community-action:hover) .research-track { animation-play-state:paused; }

/* The public discussion follows the action row in every news layout. */
.community-thread { grid-column:1/-1; width:100%; min-width:0; padding:10px 12px; text-align:start; color:#e6effa; background:#102337; border-top:1px solid #415970; font:400 14px/1.45 system-ui,sans-serif; white-space:normal; }
.community-thread[hidden],.community-thread [hidden],.community-ticker-discussions:not(:has(.community-thread:not([hidden]))) { display:none !important; }
.community-thread .community-comments { list-style:none; margin:0; padding:0; }
.community-thread .community-comments li { list-style:none; padding:9px 0; border:0; border-bottom:1px solid #395166; }
.community-thread .community-comments li:last-child { border-bottom:0; }
.community-thread .community-comments p { color:inherit; font:inherit; white-space:pre-wrap; margin:3px 0 0; overflow-wrap:anywhere; }
.community-thread .community-author { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; font-size:14px; overflow-wrap:anywhere; }
.community-thread .community-author b { color:#f4f9ff; }
.community-thread .community-author time { color:#b9cadd; font-size:12px; }
.community-thread .community-form { display:grid; grid-template-columns:minmax(0,1fr); gap:9px; margin:0 0 7px; max-width:42rem; }
.community-thread .community-form label { display:grid; gap:4px; color:inherit; font:600 13px/1.4 system-ui,sans-serif; }
.community-thread .community-input { min-width:0; border-color:#667f96; color:#edf6ff; background:#0a1929; font:400 16px/1.45 system-ui,sans-serif; }
.community-thread .community-input::placeholder { color:#abbdd1; }
.community-thread .community-form-actions { display:flex; flex-wrap:wrap; align-items:center; gap:9px; }
.community-thread .community-major,.community-thread .community-more,.community-thread .community-cancel { border:1px solid #66859a; border-radius:5px; padding:7px 12px; min-height:40px; font:650 13px/1.35 system-ui,sans-serif; cursor:pointer; }
.community-thread .community-major { color:#102a37; background:#9ce2d9; border-color:#9ce2d9; }
.community-thread .community-more,.community-thread .community-cancel { color:#e6effa; background:transparent; }
.community-thread .community-more { margin-top:6px; }
.community-thread .community-thread-status { margin:4px 0 0; color:#bcdfdf; font:400 13px/1.4 system-ui,sans-serif; }
.community-thread .community-thread-status:empty { display:none; }
.community-thread :focus-visible { outline:2px solid #99e6e1; outline-offset:2px; }
.community-thread .community-thread-title { margin:0 0 7px; color:#e8f5ff; font:650 15px/1.3 system-ui,sans-serif; }
.community-ticker-discussions { margin-bottom:14px; min-width:0; }
.community-ticker-discussions .community-thread { height:auto; border-radius:5px; }

/* Shrink decoration before text. Both thumb icons and both labels stay on one line. */
.community-bar { container:azioni / inline-size; flex-flow:row nowrap; width:100%; max-width:100%; gap:3px; overflow-x:auto; scrollbar-width:thin; }
.community-bar button.community-action { flex:0 0 auto; width:auto; white-space:nowrap; }
.community-bar button[data-action="like"],.community-bar button[data-action="dislike"] { min-width:36px; }
.community-bar button[data-action="like"] svg,.community-bar button[data-action="dislike"] svg { width:19px; height:19px; }
.community-bar .community-count { white-space:nowrap; }
.community-bar button.community-action:focus-visible { outline-offset:-2px; }
@container azioni (max-width:320px) {
  .community-bar button.community-action { padding-inline:3px; gap:3px; font-size:12px; }
  .community-bar button[data-action="comment"] svg,.community-bar button[data-action="share"] svg { display:none; }
}
@container azioni (max-width:230px) {
  .community-bar button.community-action { min-width:0; padding-inline:1px; font-size:11.5px; }
  .community-bar button[data-action="like"],.community-bar button[data-action="dislike"] { min-width:26px; }
  .community-bar .community-count { display:none; }
}
@media(max-width:480px) {
  .short-grid,.short-preview-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,198px),1fr)); }
}

/* Let a photo credit use the whole line, including when its share button is present. */
#site-content figure > figcaption,
figcaption .community-link-pair > a {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
figcaption .community-link-pair,
figcaption .community-link-pair > a { display: inline; }
figcaption .community-link-pair > .community-share-link { margin-inline: 0.25em 0; }
