/* News section: index grid + article pages (HUD theme) */
#wrapper.news-page { max-width: 1200px; margin: 0 auto; padding: 1rem 1rem 3rem; }

.news-page time { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hud-cyan); }
.news-tag { display: inline-block; align-self: flex-start; font-family: "Orbitron", sans-serif; font-size: .7rem; letter-spacing: .15em; color: #0a0a0c; background: var(--hud-orange); padding: .15rem .6rem; margin-bottom: .6rem; }
.news-more { color: var(--hud-cyan); font-size: .85rem; }

/* chamfered HUD panel shared by cards */
.news-feature, .news-card, .news-article {
    background: var(--hud-panel);
    border: 1px solid var(--hud-border);
    border-top: 3px solid var(--hud-orange);
    box-shadow: 0 0 10px rgba(255, 113, 0, .12);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    color: var(--hud-text);
    text-decoration: none;
    overflow: hidden;
}
.news-feature:hover, .news-card:hover { color: var(--hud-text); border-color: var(--hud-orange); box-shadow: 0 0 18px rgba(255, 113, 0, .3); }
.news-feature:hover img, .news-card:hover img { transform: scale(1.04); }

.news-feature { display: grid; grid-template-columns: 3fr 2fr; margin-bottom: 1.5rem; }
.news-feature-media, .news-card-media, .news-article-hero { position: relative; background: #0a0a0c; overflow: hidden; }
.news-feature-media { min-height: 320px; }
.news-feature-media img, .news-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-feature-body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.news-feature-body h2 { color: var(--hud-orange); font-size: 1.6rem; margin: 0 0 .25rem; }
.news-feature-body p { margin: .75rem 0; line-height: 1.5; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.news-card { display: flex; flex-direction: column; }
.news-card-media { aspect-ratio: 16 / 9; }
.news-card-body { padding: 1rem 1.1rem 1.25rem; }
.news-card-body h3 { color: var(--hud-orange); font-size: 1.05rem; margin: 0 0 .25rem; line-height: 1.3; }
.news-card-body p { font-size: .9rem; line-height: 1.45; color: var(--hud-muted); margin: .6rem 0 0; }

.is-placeholder img { object-fit: contain !important; padding: 12%; opacity: .5; transform: none !important; }

/* article */
.news-article { padding: 0 0 2rem; }
.news-crumb { padding: .9rem 1.5rem 0; margin: 0; font-size: .85rem; }
.news-crumb a { color: var(--hud-cyan); text-decoration: none; }
.news-article-hero { max-height: 460px; margin-top: .9rem; }
.news-article-hero img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.news-article-hero.is-placeholder { height: 180px; }
.news-article-hero.is-placeholder img { height: 100%; object-fit: contain; padding: 2rem; opacity: .5; }
.news-article header { padding: 1.5rem 1.5rem .5rem; border-bottom: 1px solid rgba(255, 113, 0, .35); margin: 0 1.5rem; padding-left: 0; padding-right: 0; }
.news-article header h1 { color: var(--hud-orange); font-size: 1.9rem; margin: 0 0 .35rem; }
.news-article-body { padding: 1.25rem 1.5rem 0; max-width: 820px; line-height: 1.65; }
.news-article-body h5, .news-article-body h4, .news-article-body h3 { color: var(--hud-orange); margin-top: 1.75rem; }
.news-article-body a { color: var(--hud-cyan); overflow-wrap: anywhere; }
.news-article-body img { max-width: 100%; height: auto; }
.news-pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 1.5rem 0; padding-top: 1rem; border-top: 1px solid rgba(255, 113, 0, .35); font-size: .9rem; }
.news-pager a { color: var(--hud-cyan); text-decoration: none; max-width: 48%; }

@media (max-width: 767px) {
    .news-feature { grid-template-columns: 1fr; }
    .news-feature-media { min-height: 200px; aspect-ratio: 16 / 9; }
    .news-article header h1 { font-size: 1.4rem; }
}
