/* Shared adjustments for the prototype and the WordPress portal. */
.breaking-bar, .breaking-bar.rp-breaking { background:#f3261c; }
.breaking-bar__inner > strong { margin-left:0; background:#f3261c; }
.breaking-more { position:relative; flex:none; transform:none; animation:none; }
.category-card__image { display:block; position:relative; width:100%; height:auto; aspect-ratio:4/3; overflow:hidden; }
.category-card__image img, body.rpnews-theme .category-card__image img { position:absolute; inset:0; display:block; width:100%!important; height:100%!important; max-height:none!important; object-fit:cover; }
.category-card__image figure { width:100%; height:100%; margin:0; }
.category-card__image figcaption { display:none; }
.category-card__body { min-width:0; }
.video-poster-button { position:relative; display:block; width:100%; height:100%; min-height:0; padding:0; border:0; background:#061d33; cursor:pointer; overflow:hidden; color:white; }
.video-poster-button > img, .video-poster-button > video, .video-preview-frame { width:100%; height:100%; object-fit:cover; }
.rp-video-preview { display:block; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.video-poster-button > span { position:absolute; inset:0; display:grid; place-items:center; background:linear-gradient(transparent,rgba(0,0,0,.2)); }
.video-poster-button svg { width:64px; height:64px; filter:drop-shadow(0 2px 8px #0006); }
.article-author-byline img[src*="rpnews-logo"], .article-author-byline img[src*="rpnews-story-fallback"] { object-fit:contain; padding:8px; background:#061d33; }
.institutional-link { display:inline-flex; align-items:center; gap:8px; }
.institutional-icon { width:16px; height:16px; flex:0 0 16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.columnist-profile-layout { display:grid; grid-template-columns:minmax(240px, .7fr) minmax(0, 1.7fr); gap:20px; align-items:start; }
.columnist-profile-list > button:not(.module-link) { display:flex; align-items:center; gap:12px; width:100%; text-align:left; padding:12px; border:1px solid #dbe4ec; border-radius:8px; background:#fff; color:#061d33; margin-bottom:8px; }
.columnist-profile-list > button.is-active { background:#eff8fd; border-color:#0876ba; }
.columnist-profile-list > button img { width:46px; height:46px; object-fit:cover; border-radius:50%; }
.columnist-profile-list > button span { display:grid; gap:4px; }
.columnist-profile-list > button small { color:#5b6d7e; }
.columnist-profile-photo { display:flex; align-items:center; gap:16px; }
.columnist-profile-photo > img { width:90px; height:90px; flex:0 0 90px; border-radius:50%; object-fit:cover; }
.columnist-profile-photo > div { flex:1; min-width:0; }
@media(max-width:800px) { .columnist-profile-layout { grid-template-columns:minmax(0,1fr); } }
.most-read__grid a {
  min-width: 0;
  overflow: hidden;
  align-items: start;
}
.most-read__grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
