/* News reading and artwork: keep the portal palette, with quieter text. */
.news-popup .articlebox,.news-portal .news-popup .articlebox,body.omega-inner .news-popup .articlebox{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important;margin:0!important;max-width:100%;box-sizing:border-box}
.news-popup{width:min(900px,calc(100vw - 28px));max-height:88dvh;border-radius:14px}
.news-popup .news-popup-content{padding:26px 32px 30px;scrollbar-color:#8971df #08121b}
.news-popup .news-popup-content::-webkit-scrollbar-thumb{background:linear-gradient(#7b83ef,#8748bb);border-color:#08121b}
.news-article-header{padding:0 0 20px;margin:0 0 22px;border-bottom:1px solid #c9ae6a25}
.news-article-header h1{margin:10px 0 16px!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.3!important}
.news-meta{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center;color:#94aabd;font-size:12px}
.news-meta .news-author{font-size:12px!important;margin:0!important}
.news-popup .news-cover,.news-portal .articlebox>.news-cover{display:block;width:auto;max-width:100%;height:auto;max-height:68dvh;object-fit:contain;margin:0 auto 26px;border-radius:8px}
.news-popup .news-image-only .news-cover,.news-portal .news-image-only>.news-cover{max-height:none;width:auto;max-width:min(100%,620px)}
.news-popup .news-image-only .news-article-header h1{font-size:22px!important}
.article-formatted .news-line{margin:0 0 11px!important;padding:0!important;border:0!important;background:none!important;color:#c5d1dc;line-height:1.85;font-size:15px}
.article-formatted .news-line::before,.article-formatted .news-item::before{content:none!important;display:none!important}
.article-formatted .news-heading{font:600 19px/1.5 Cinzel,Georgia,serif!important;color:#e9d29c;margin:26px 0 12px!important;padding:0!important;border:0!important;background:none!important;letter-spacing:0}
.article-formatted .news-spacer{height:8px}.article-formatted .news-spacer+.news-spacer{display:none}
.article-formatted strong{color:#eee3cb}.article-formatted .news-bullet{display:none}
.discord-emoji{display:inline-block;width:1.35em;height:1.35em;object-fit:contain;vertical-align:-.3em}
.news-popup .discord-emoji,.article-formatted .discord-emoji,.news-article-header .discord-emoji{width:1.6em!important;height:1.6em!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;vertical-align:-.38em;margin:0 .14em;filter:none}
.news-article-header h1 .discord-emoji{width:1.1em!important;height:1.1em!important;vertical-align:-.15em}
.news-image-title{font-size:15px!important;line-height:1.5!important;margin-top:8px!important;margin-bottom:8px!important}
.news-portal .news-archive-card.news-image-only{padding:0 0 18px!important;min-height:0;border-radius:12px}
.news-portal .news-archive-card.news-image-only>:not(img){margin-left:20px;margin-right:20px}
.news-portal .news-archive-card.news-image-only .news-author{display:none}
.news-portal .news-archive-card.news-image-only .news-card-cover{margin:0 0 16px!important;width:100%!important;height:390px!important;aspect-ratio:auto;object-fit:contain!important;background:#040c12}
.news-portal .news-archive-card.news-image-only .card-more{padding-top:10px;margin-top:10px}
.news-card-cover[data-cover-fit=contain],.news-card-cover[data-cover-auto=contain]{object-fit:contain!important;background:#040c12}
.news-card-cover[data-cover-fit=cover],.news-card-cover[data-cover-auto=cover]{object-fit:cover!important}
.news-card-cover[data-cover-focus=top]{object-position:center top!important}
.news-card-cover[data-cover-focus=center]{object-position:center!important}
.news-card-cover[data-cover-focus=bottom]{object-position:center bottom!important}
/* Home keeps its original compact two-feature / three-notice composition. */
body.omega-redesign #novidades .newsgrid .card{overflow:hidden;min-width:0;min-height:0!important;box-sizing:border-box}
body.omega-redesign #novidades .newsgrid .card:nth-child(-n+2) .news-card-cover{height:160px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important}
body.omega-redesign #novidades .newsgrid .card:nth-child(n+3) .news-card-cover{display:none!important}
body.omega-redesign #novidades .newsgrid .card:nth-child(n+3) .card-more{display:none}
body.omega-redesign #novidades .newsgrid .card:nth-child(n+3) p{-webkit-line-clamp:2!important}
body.omega-redesign #novidades .newsgrid .card.news-image-only{position:relative;padding:0!important}
body.omega-redesign #novidades .newsgrid .card.news-image-only .news-card-cover{position:absolute;inset:0;height:100%!important;width:100%;margin:0!important;object-fit:cover!important}
body.omega-redesign #novidades .newsgrid .card.news-image-only .card-more{position:absolute;right:14px;bottom:12px;margin:0!important;padding:6px 10px;background:#06111cbd;border-radius:5px;z-index:1}
body.omega-redesign #novidades .newsgrid .card .news-card-cover[data-cover-focus=top]{object-position:center top!important}
body.omega-redesign #novidades .newsgrid .card .news-card-cover[data-cover-focus=bottom]{object-position:center bottom!important}
@media(min-width:801px){body.omega-redesign #novidades .newsgrid{grid-template-rows:repeat(3,104px)!important;gap:14px!important}}
@media(max-width:800px){body.omega-redesign #novidades .newsgrid .card:nth-child(-n+2){height:340px!important}body.omega-redesign #novidades .newsgrid .card:nth-child(n+3){display:flex!important;min-height:95px!important}}
@media(max-width:600px){.news-popup .news-popup-content{padding:20px 18px}.news-portal .news-archive-card.news-image-only .news-card-cover{height:370px!important}.article-formatted .news-line{font-size:14px}.news-article-header{margin-bottom:18px}}

.news-gallery{margin:0 0 26px;min-width:0}
.news-gallery .news-cover{display:block;width:auto;max-width:100%;height:auto;max-height:62dvh;object-fit:contain;margin:0 auto!important;border-radius:8px}
.news-gallery .news-cover[hidden]{display:none!important}
.news-gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px;color:#b5c4d3;font-size:12px}
.news-gallery-controls button{width:38px;height:34px;border:1px solid #c9ae6a66;border-radius:7px;background:#12202e;color:#efd086;cursor:pointer}
.news-gallery-controls button:hover,.news-gallery-controls button:focus-visible{background:#6744bd;outline:2px solid #a899ed;outline-offset:2px}

.news-popup .news-gallery .news-cover,.news-portal .news-gallery .news-cover{max-height:62dvh!important;width:auto;max-width:100%}
