/* =========================================================
   FLAX NEWSROOM — announcements list and article
   ========================================================= */

.fh-newsroom,
.fh-news-article {
    --news-cyan: #67d4ff;
    --news-blue: #347fff;
    --news-panel: #09172f;
    --news-panel-deep: #050e20;
    --news-line: rgba(112, 177, 255, .17);
    --news-muted: #8399b9;
    color: var(--news-muted);
    padding: 12px 0 35px;
}

.fh-newsroom-intro {
    align-items: end;
    background:
        radial-gradient(circle at 90% 0, rgba(69, 137, 255, .2), transparent 24rem),
        linear-gradient(145deg, #0c2145, #061126 70%);
    border: 1px solid var(--news-line);
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 20px;
    min-height: 265px;
    overflow: hidden;
    padding: 42px;
    position: relative;
}

.fh-newsroom-intro:after {
    border: 1px solid rgba(103, 212, 255, .15);
    border-radius: 50%;
    content: '';
    height: 340px;
    pointer-events: none;
    position: absolute;
    right: -150px;
    top: -205px;
    width: 340px;
}

.fh-news-kicker {
    color: var(--news-cyan);
    display: block;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 15px;
}

.fh-newsroom-intro h2,
.fh-news-article-header h2 {
    color: #f5f9ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.65rem);
    letter-spacing: -.06em;
    line-height: .95;
    margin: 0;
}

.fh-newsroom-intro h2 em { color: var(--news-cyan); font-style: normal; }
.fh-newsroom-intro p { color: #91a6c5; line-height: 1.75; margin: 20px 0 0; max-width: 690px; }

.fh-newsroom-status {
    align-items: center;
    background: rgba(4, 13, 29, .68);
    border: 1px solid rgba(103, 212, 255, .18);
    border-radius: 16px;
    display: flex;
    gap: 12px;
    min-width: 155px;
    padding: 13px 15px;
    position: relative;
    z-index: 1;
}

.fh-newsroom-status-dot {
    background: var(--news-cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(103, 212, 255, .08), 0 0 24px rgba(103, 212, 255, .55);
    height: 8px;
    width: 8px;
}

.fh-newsroom-status small { color: #5f779b; display: block; font-size: .54rem; font-weight: 800; letter-spacing: .12em; }
.fh-newsroom-status strong { color: #e9f6ff; display: block; font-size: .82rem; margin-top: 2px; }

.fh-news-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fh-news-card {
    background:
        radial-gradient(circle at 100% 0, rgba(52, 127, 255, .12), transparent 18rem),
        linear-gradient(150deg, rgba(10, 27, 55, .98), rgba(5, 14, 31, .99));
    border: 1px solid var(--news-line);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    overflow: hidden;
    padding: 25px;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fh-news-card:hover {
    border-color: rgba(103, 212, 255, .45);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .3);
    transform: translateY(-5px);
}

.fh-news-card-featured {
    background:
        radial-gradient(circle at 88% 0, rgba(103, 212, 255, .17), transparent 26rem),
        linear-gradient(135deg, #102d60, #091a38 58%, #061126);
    grid-column: 1 / -1;
    min-height: 365px;
    padding: 34px;
}

.fh-news-card-hit { inset: 0; position: absolute; z-index: 1; }

.fh-news-card-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.fh-news-index { color: #60799e; font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.fh-news-card-top time { color: #7188a9; font-size: .69rem; font-weight: 700; }
.fh-news-card-top time i { color: var(--news-cyan); margin-right: 5px; }

.fh-news-card-body { margin: auto 0; max-width: 720px; position: relative; z-index: 2; }
.fh-news-latest { color: var(--news-cyan); display: block; font-size: .58rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 12px; }

.fh-news-card h3 {
    color: #f2f8ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    letter-spacing: -.04em;
    line-height: 1.08;
    margin: 0 0 14px;
}

.fh-news-card-featured h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.fh-news-card p { color: #849aba; line-height: 1.7; margin: 0; }
.fh-news-card-featured p { color: #a2b6d2; max-width: 690px; }

.fh-news-card-action {
    align-items: center;
    border-top: 1px solid rgba(112, 177, 255, .12);
    color: #91a9c9;
    display: flex;
    font-size: .7rem;
    font-weight: 800;
    justify-content: space-between;
    padding-top: 17px;
    position: relative;
    z-index: 2;
}

.fh-news-card:hover .fh-news-card-action { color: #eff9ff; }
.fh-news-card:hover .fh-news-card-action i { color: var(--news-cyan); transform: translateX(4px); }
.fh-news-card-action i { transition: transform .2s ease; }

.fh-news-edit {
    align-items: center;
    background: #091831;
    border: 1px solid var(--news-line);
    border-radius: 9px;
    color: var(--news-cyan) !important;
    display: flex;
    height: 32px;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 54px;
    width: 32px;
    z-index: 3;
}

.fh-news-empty {
    background: linear-gradient(145deg, #0a1b37, #061126);
    border: 1px solid var(--news-line);
    border-radius: 22px;
    grid-column: 1 / -1;
    padding: 70px 25px;
    text-align: center;
}

.fh-news-empty i { color: var(--news-cyan); font-size: 2rem; }
.fh-news-empty h3 { color: #eff8ff !important; margin: 18px 0 8px; }
.fh-news-empty p { margin: 0; }

.fh-news-pagination { display: flex; justify-content: center; margin-top: 28px; }
.fh-news-pagination .pagination { gap: 7px; }
.fh-news-pagination .page-link {
    background: #091831 !important;
    border: 1px solid var(--news-line) !important;
    border-radius: 10px !important;
    color: #91a7c7 !important;
    min-width: 42px;
    text-align: center;
}
.fh-news-pagination .active .page-link { background: var(--news-blue) !important; color: white !important; }

/* Single announcement */
.fh-news-article-header {
    background:
        radial-gradient(circle at 90% 0, rgba(69, 137, 255, .2), transparent 26rem),
        linear-gradient(145deg, #0d2349, #061126 72%);
    border: 1px solid var(--news-line);
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    padding: 42px 46px 46px;
    position: relative;
}

.fh-news-back-top {
    color: #8fa6c6 !important;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 45px;
}
.fh-news-back-top:hover { color: white !important; }

.fh-news-article-header h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); max-width: 890px; }

.fh-news-article-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.fh-news-article-meta > span {
    align-items: center;
    background: rgba(4, 13, 29, .58);
    border: 1px solid rgba(112, 177, 255, .16);
    border-radius: 999px;
    color: #8ca2c1;
    display: inline-flex;
    font-size: .68rem;
    font-weight: 700;
    gap: 7px;
    padding: 8px 11px;
}
.fh-news-article-meta i { color: var(--news-cyan); }
.fh-news-article-status i { background: var(--news-cyan); border-radius: 50%; height: 6px; width: 6px; }
.fh-news-share { position: absolute; right: 42px; top: 42px; }

.fh-news-article-shell {
    background: linear-gradient(145deg, #091831, #050e20);
    border: 1px solid var(--news-line);
    border-top: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
}

.fh-news-article-rail {
    align-items: center;
    border-right: 1px solid var(--news-line);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 42px 20px;
}
.fh-news-rail-label { color: #546f95; font-size: .53rem; font-weight: 800; letter-spacing: .14em; writing-mode: vertical-rl; }
.fh-news-rail-line { background: linear-gradient(var(--news-cyan), transparent); flex: 1; min-height: 90px; opacity: .35; width: 1px; }
.fh-news-article-rail i { color: var(--news-cyan); font-size: 1rem; }

.fh-news-article-content {
    color: #a3b3ca;
    font-size: 1rem;
    line-height: 1.9;
    min-height: 360px;
    padding: 48px clamp(30px, 7vw, 90px) 65px;
}
.fh-news-article-content > * { max-width: 820px; }
.fh-news-article-content h1,
.fh-news-article-content h2,
.fh-news-article-content h3,
.fh-news-article-content h4 { color: #eff7ff !important; line-height: 1.2; margin: 1.7em 0 .7em; }
.fh-news-article-content p { margin-bottom: 1.35em; }
.fh-news-article-content a { color: var(--news-cyan); text-decoration: underline; text-decoration-color: rgba(103, 212, 255, .35); text-underline-offset: 3px; }
.fh-news-article-content img { border-radius: 16px; height: auto; max-width: 100%; }
.fh-news-article-content blockquote { border-left: 3px solid var(--news-cyan); color: #c3d3e8; margin: 2rem 0; padding: 12px 20px; }
.fh-news-article-content ul,
.fh-news-article-content ol { padding-left: 1.3rem; }

.fh-news-article-footer {
    align-items: center;
    background: #061126;
    border: 1px solid var(--news-line);
    border-radius: 0 0 28px 28px;
    border-top: 0;
    display: flex;
    justify-content: space-between;
    padding: 23px 30px;
}

.fh-news-back-button,
.fh-news-edit-button {
    align-items: center;
    border: 1px solid rgba(112, 177, 255, .2);
    border-radius: 11px;
    color: #a2b6d1 !important;
    display: inline-flex;
    font-size: .73rem;
    font-weight: 800;
    gap: 9px;
    padding: 11px 14px;
}
.fh-news-back-button:hover,
.fh-news-edit-button:hover { background: rgba(52, 127, 255, .12); color: white !important; }

.fh-news-comments {
    background: #091831;
    border: 1px solid var(--news-line);
    border-radius: 20px;
    margin-top: 18px;
    padding: 30px;
}

@media (max-width: 767.98px) {
    .fh-newsroom-intro { align-items: start; grid-template-columns: 1fr; min-height: 0; padding: 30px 25px; }
    .fh-newsroom-status { width: fit-content; }
    .fh-news-grid { grid-template-columns: 1fr; }
    .fh-news-card-featured { grid-column: auto; min-height: 355px; padding: 25px; }
    .fh-news-card { min-height: 315px; }
    .fh-news-article-header { padding: 30px 25px 35px; }
    .fh-news-share { margin-top: 20px; position: static; }
    .fh-news-article-shell { grid-template-columns: 1fr; }
    .fh-news-article-rail { border-bottom: 1px solid var(--news-line); border-right: 0; flex-direction: row; padding: 16px 25px; }
    .fh-news-rail-label { writing-mode: initial; }
    .fh-news-rail-line { background: linear-gradient(90deg, var(--news-cyan), transparent); min-height: 1px; width: auto; }
    .fh-news-article-content { padding: 32px 25px 45px; }
    .fh-news-article-footer { align-items: stretch; flex-direction: column; gap: 9px; padding: 20px; }
    .fh-news-back-button,
    .fh-news-edit-button { justify-content: center; }
}
