.kng-burger { position: relative; }

.service-news-burger-signal {
    position: absolute;
    z-index: 3;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    border: 2px solid #101a2c;
    border-radius: 50%;
    background: #ff5f73;
    box-shadow: 0 0 0 4px rgba(255,95,115,.12), 0 0 16px rgba(255,95,115,.82);
}

.service-news-nav-link { position: relative; }

.service-news-nav-count {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    margin-left: 2px;
    padding: 0 5px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: linear-gradient(145deg, #ff6478, #d92748);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(222,38,73,.32);
}

.service-news-modal[hidden] { display: none !important; }

.service-news-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}

.service-news-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(2,7,17,.76);
    backdrop-filter: blur(14px);
    cursor: default;
}

.service-news-modal__panel {
    position: relative;
    overflow: hidden;
    width: min(620px, 100%);
    padding: clamp(25px, 5vw, 43px);
    border: 1px solid rgba(105,239,255,.24);
    border-radius: 30px;
    background: radial-gradient(circle at 100% 0, rgba(105,239,255,.13), transparent 22rem), linear-gradient(145deg, rgba(28,46,70,.99), rgba(9,19,36,.99));
    box-shadow: 0 45px 140px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.07);
    animation: serviceNewsModalIn .28s ease-out both;
}

.service-news-modal--critical .service-news-modal__panel,
.service-news-modal--warning .service-news-modal__panel {
    border-color: rgba(255,95,115,.35);
    background: radial-gradient(circle at 100% 0, rgba(255,95,115,.2), transparent 23rem), linear-gradient(145deg, rgba(55,35,55,.99), rgba(10,19,35,.99));
}

.service-news-modal__glow {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(105,239,255,.16);
    filter: blur(55px);
}

.service-news-modal--critical .service-news-modal__glow,
.service-news-modal--warning .service-news-modal__glow { background: rgba(255,95,115,.2); }

.service-news-modal__topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.service-news-modal__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(229,241,255,.72);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-news-modal__category b {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(105,239,255,.2);
    border-radius: 9px;
    color: #aaf7ff;
    font-size: 9px;
}

.service-news-modal__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 13px;
    background: rgba(255,255,255,.05);
    color: #e9f4ff;
    font-size: 25px;
    cursor: pointer;
}

.service-news-modal__signal {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-top: 33px;
    border: 1px solid rgba(105,239,255,.26);
    border-radius: 19px;
    background: rgba(105,239,255,.09);
}

.service-news-modal--critical .service-news-modal__signal,
.service-news-modal--warning .service-news-modal__signal {
    border-color: rgba(255,95,115,.32);
    background: rgba(255,95,115,.1);
}

.service-news-modal__signal span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #69efff;
    box-shadow: 0 0 0 8px rgba(105,239,255,.08), 0 0 24px rgba(105,239,255,.65);
}

.service-news-modal--critical .service-news-modal__signal span,
.service-news-modal--warning .service-news-modal__signal span {
    background: #ff5f73;
    box-shadow: 0 0 0 8px rgba(255,95,115,.08), 0 0 24px rgba(255,95,115,.7);
}

.service-news-modal__eyebrow {
    margin: 21px 0 8px;
    color: #69efff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-news-modal--critical .service-news-modal__eyebrow,
.service-news-modal--warning .service-news-modal__eyebrow { color: #ff96a4; }

.service-news-modal h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #f8fbff;
    font-size: clamp(29px, 5vw, 43px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.service-news-modal__summary {
    position: relative;
    z-index: 1;
    margin: 17px 0 0;
    color: rgba(226,239,255,.71);
    font-size: 15px;
    line-height: 1.65;
}

.service-news-modal__date {
    margin: 14px 0 0;
    color: rgba(220,233,249,.42);
    font-size: 11px;
}

.service-news-modal__actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 28px;
}

.service-news-modal__primary,
.service-news-modal__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 15px;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.service-news-modal__primary {
    border: 1px solid rgba(105,239,255,.35);
    background: linear-gradient(145deg, #55dce9, #57b9ee);
    color: #061520;
    box-shadow: 0 14px 35px rgba(65,197,222,.2);
}

.service-news-modal--critical .service-news-modal__primary,
.service-news-modal--warning .service-news-modal__primary {
    border-color: rgba(255,137,152,.4);
    background: linear-gradient(145deg, #ff788b, #ef4f68);
    color: #fff;
    box-shadow: 0 14px 35px rgba(218,52,78,.22);
}

.service-news-modal__secondary {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    color: #eaf4ff;
}

body.service-news-modal-open { overflow: hidden; }

@keyframes serviceNewsModalIn {
    from { opacity: 0; transform: translateY(18px) scale(.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

html[data-public-theme="light"] .service-news-burger-signal { border-color: #fff; }

@media (max-width: 680px) {
    .service-news-modal { align-items: end; padding: 10px; }
    .service-news-modal__panel { max-height: calc(100vh - 20px); overflow-y: auto; border-radius: 25px; }
    .service-news-modal__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .service-news-modal__panel { animation: none; }
}
