/* ============================================================
   News & Events – glassomorphic newsroom
   Prefix: .v16-ne-
   ============================================================ */

/* ---- Hero ---- */
.v16-ne-hero {
    background: linear-gradient(
        135deg,
        rgba(10, 54, 82, 0.97) 0%,
        rgba(0, 88, 128, 0.92) 38%,
        rgba(14, 62, 96, 0.94) 62%,
        rgba(10, 54, 82, 0.98) 100%
    );
}

.v16-ne-hero::before {
    background:
        radial-gradient(circle at 12% 28%, rgba(102, 214, 231, 0.16) 0%, transparent 36%),
        radial-gradient(circle at 88% 58%, rgba(216, 180, 106, 0.11) 0%, transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(91, 163, 245, 0.09) 0%, transparent 44%),
        linear-gradient(118deg, rgba(0, 104, 142, 0.24) 0%, transparent 58%);
}

.v16-ne-hero__glass-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(160px, 22vw, 220px);
}

.v16-ne-hero__svg {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 220px;
    display: block;
    margin: 0 auto;
}

.v16-ne-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 16px);
    margin: clamp(20px, 3vw, 28px) 0 0;
    padding: 0;
}

.v16-ne-hero__stats > div {
    padding: clamp(12px, 2vw, 16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.v16-ne-hero__stats dt {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.v16-ne-hero__stats dd {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

/* ---- Page atmosphere ---- */
.v16-ne-page {
    position: relative;
    padding-bottom: clamp(52px, 8vw, 96px);
    background:
        radial-gradient(ellipse 88% 52% at 6% 0%, rgba(102, 214, 231, 0.12), transparent 54%),
        radial-gradient(ellipse 72% 44% at 94% 2%, rgba(216, 180, 106, 0.08), transparent 48%),
        linear-gradient(180deg, #e4f0f7 0%, #f0f7fb 42%, #ffffff 100%);
}

.v16-ne-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 104, 142, 0.035) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    opacity: 0.55;
}

.v16-ne-page > .container {
    position: relative;
    z-index: 1;
}

.v16-ne-page .v16-inner-layout {
    padding-top: clamp(20px, 3.5vw, 36px);
}

.v16-ne-shell {
    display: grid;
    gap: clamp(20px, 3vw, 32px);
    min-width: 0;
}

/* ---- Toolbar ---- */
.v16-ne-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: clamp(14px, 2vw, 18px);
    border-radius: var(--tma-radius-md, 18px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    box-shadow:
        0 12px 40px rgba(10, 54, 82, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.v16-ne-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v16-ne-filters__pill {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 104, 142, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--tma-dark, #0a3652);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.v16-ne-filters__pill:hover,
.v16-ne-filters__pill:focus-visible {
    background: rgba(232, 246, 252, 0.95);
    border-color: rgba(0, 104, 142, 0.28);
    color: var(--tma-teal, #00668e);
    outline: none;
}

.v16-ne-filters__pill.is-active {
    border-color: rgba(0, 104, 142, 0.35);
    background: linear-gradient(135deg, rgba(0, 104, 142, 0.94), rgba(10, 54, 82, 0.92));
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 104, 142, 0.22);
}

.v16-ne-search {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex: 1 1 260px;
    max-width: 420px;
}

.v16-ne-search__field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 104, 142, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: rgba(10, 54, 82, 0.55);
}

.v16-ne-search__field input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 12px 0;
    font: inherit;
    font-size: 0.9rem;
    color: var(--tma-dark, #0a3652);
    outline: none;
}

.v16-ne-search__field input::placeholder {
    color: rgba(10, 54, 82, 0.42);
}

.v16-ne-search__btn {
    flex-shrink: 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 104, 142, 0.96), rgba(10, 54, 82, 0.94));
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 8px 22px rgba(0, 104, 142, 0.22);
}

.v16-ne-search__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 104, 142, 0.28);
}

.v16-ne-results {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(10, 54, 82, 0.72);
}

.v16-ne-results strong {
    color: var(--tma-teal, #00668e);
}

/* ---- Badges ---- */
.v16-ne-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v16-ne-badge.is-news {
    background: rgba(0, 104, 142, 0.12);
    color: var(--tma-teal, #00668e);
}

.v16-ne-badge.is-announcement {
    background: rgba(216, 180, 106, 0.18);
    color: #8a6520;
}

.v16-ne-badge.is-event {
    background: rgba(91, 163, 245, 0.16);
    color: #1a5a8a;
}

/* ---- Editorial stream ---- */
.v16-ne-stream {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(24px) saturate(158%);
    -webkit-backdrop-filter: blur(24px) saturate(158%);
    box-shadow:
        0 28px 72px rgba(10, 54, 82, 0.09),
        0 6px 20px rgba(10, 54, 82, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.v16-ne-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--tma-teal, #00668e) 0%,
        rgba(102, 214, 231, 0.75) 52%,
        rgba(216, 180, 106, 0.55) 100%
    );
    border-radius: 22px 22px 0 0;
    z-index: 1;
}

.v16-ne-entry {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 24px);
    padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 32px);
    border-bottom: 1px solid rgba(10, 54, 82, 0.054);
    transition: background 220ms ease;
}

.v16-ne-entry:last-child {
    border-bottom: 0;
}

.v16-ne-entry__accent {
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(
        180deg,
        var(--tma-teal, #00668e) 0%,
        rgba(102, 214, 231, 0.55) 100%
    );
    opacity: 0;
    transform: scaleY(0.5);
    transform-origin: center;
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

.v16-ne-entry:hover {
    background: rgba(232, 246, 252, 0.52);
}

.v16-ne-entry:hover .v16-ne-entry__accent {
    opacity: 1;
    transform: scaleY(1);
}

.v16-ne-entry__index {
    flex-shrink: 0;
    width: 40px;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 104, 142, 0.10);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    text-align: center;
    transition: color 220ms ease;
    user-select: none;
}

.v16-ne-entry:hover .v16-ne-entry__index {
    color: rgba(0, 104, 142, 0.22);
}

.v16-ne-entry__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.v16-ne-entry__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.v16-ne-entry__meta time {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(10, 54, 82, 0.48);
    letter-spacing: 0.01em;
}

.v16-ne-entry__title {
    margin: 0;
    font-size: clamp(0.97rem, 1.5vw, 1.11rem);
    font-weight: 700;
    line-height: 1.36;
    color: var(--tma-dark, #0a3652);
}

.v16-ne-entry__title a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

.v16-ne-entry__title a:hover,
.v16-ne-entry:hover .v16-ne-entry__title a {
    color: var(--tma-teal, #00668e);
}

.v16-ne-entry__excerpt {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.62;
    color: rgba(10, 54, 82, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v16-ne-entry__thumb {
    display: block;
    flex-shrink: 0;
    width: clamp(76px, 9vw, 116px);
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(10, 54, 82, 0.10);
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.v16-ne-entry__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 380ms ease;
}

.v16-ne-entry:hover .v16-ne-entry__thumb {
    box-shadow: 0 12px 32px rgba(10, 54, 82, 0.16);
    transform: scale(1.025);
}

.v16-ne-entry:hover .v16-ne-entry__thumb img {
    transform: scale(1.06);
}

.v16-ne-entry__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 104, 142, 0.14);
    background: rgba(255, 255, 255, 0.7);
    color: var(--tma-teal, #00668e);
    text-decoration: none;
    transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.v16-ne-entry__cta:hover,
.v16-ne-entry:hover .v16-ne-entry__cta {
    background: rgba(0, 104, 142, 0.09);
    border-color: rgba(0, 104, 142, 0.28);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 104, 142, 0.12);
}

/* ---- Empty state ---- */
.v16-ne-empty {
    text-align: center;
    padding: clamp(40px, 8vw, 72px) clamp(20px, 4vw, 40px);
    border-radius: var(--tma-radius-md, 18px);
    border: 1px dashed rgba(0, 104, 142, 0.22);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.v16-ne-empty__icon {
    display: inline-flex;
    margin-bottom: 16px;
    color: rgba(0, 104, 142, 0.45);
}

.v16-ne-empty h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--tma-dark, #0a3652);
}

.v16-ne-empty p {
    margin: 0 0 20px;
    color: rgba(10, 54, 82, 0.62);
}

.v16-ne-empty__link {
    display: inline-flex;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 104, 142, 0.96), rgba(10, 54, 82, 0.94));
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

/* ---- Pagination ---- */
.v16-ne-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(16px, 2.4vw, 22px);
    border-radius: var(--tma-radius-md, 18px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 10px 32px rgba(10, 54, 82, 0.06);
}

.v16-ne-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 104, 142, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: var(--tma-dark, #0a3652);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.v16-ne-pagination__btn:hover {
    background: rgba(232, 246, 252, 0.98);
    border-color: rgba(0, 104, 142, 0.28);
    color: var(--tma-teal, #00668e);
}

.v16-ne-pagination__btn.is-active {
    border-color: rgba(0, 104, 142, 0.35);
    background: linear-gradient(135deg, rgba(0, 104, 142, 0.94), rgba(10, 54, 82, 0.92));
    color: #fff;
    pointer-events: none;
}

.v16-ne-pagination__btn--nav {
    min-width: 42px;
    padding: 0;
}

.v16-ne-pagination__ellipsis {
    padding: 0 4px;
    color: rgba(10, 54, 82, 0.45);
    font-weight: 700;
}

.v16-ne-pagination__info {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(10, 54, 82, 0.55);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .v16-ne-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .v16-ne-search {
        max-width: none;
    }

    .v16-ne-hero__stats {
        grid-template-columns: 1fr;
    }

    .v16-ne-entry {
        padding: clamp(16px, 3vw, 20px) clamp(16px, 4vw, 24px);
    }

    .v16-ne-entry__thumb {
        width: clamp(64px, 14vw, 88px);
    }
}

@media (max-width: 480px) {
    .v16-ne-filters {
        width: 100%;
    }

    .v16-ne-filters__pill {
        flex: 1 1 auto;
        text-align: center;
        padding-inline: 12px;
    }

    .v16-ne-search {
        flex-direction: column;
    }

    .v16-ne-search__btn {
        width: 100%;
    }

    .v16-ne-entry__index {
        display: none;
    }

    .v16-ne-entry__cta {
        display: none;
    }

    .v16-ne-entry__thumb {
        width: clamp(54px, 18vw, 70px);
    }
}
