
:root {
    --bg-main: #353535;
    --bg-card: #121216;
    --bg-header: #353535;
    --accent: #ff003c;
    --accent-glow: rgba(255, 0, 60, 0.35);
    --tg-color: #0088cc; 
    --text-main: #e2e8f0;
    --text-muted: #8a8d98;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Geist Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;


    -webkit-user-select: none; 
    -ms-user-select: none;     
    user-select: none;         
    -webkit-user-drag: none;  
}

ul {
    list-style-position: inside;
}

body {
    background: url('./pattern.jpg');
    background-color: #353535;
    background-repeat: repeat;
    background-size: auto;
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}


.logo-img {
    height: 25px;
    display: block;
    width: auto;
}

/* Хедер */
.site-header {
    background-color: var(--bg-header);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;          
    width: 0;         
    height: 2px;     
    background-color: #ff003c;
    box-shadow: 0 0 8px rgba(255, 0, 60, 0.701); 
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}


.nav-link:hover, .nav-link.active {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
}


.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 24px);
}


.nav-link.tg-accent {
    border: 2px solid var(--tg-color);
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), transparent);
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    padding: 8px 20px;
}

.nav-link.tg-accent::after {
    display: none;
}

.nav-link.tg-accent:hover {
    background: var(--tg-color);
    color: #fff;
    box-shadow: 0 0 15px var(--tg-color);
}


.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: #1c1c24;
    border: 1px solid #2d2d38;
    color: var(--text-main);
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 700;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
    transition: all 0.2s;
}

.lang-btn.active, .lang-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    color: #fff;
}


.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 5px;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: var(--accent);
}
.burger-menu.open span:nth-child(2) {
    opacity: 0;
}
.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
    background-color: var(--accent);
}


.main-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    border-radius: 5px;
}

/* СТИЛЬ КАРТОК */
.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.tg-mini-icon {
    height: 20px;      
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.main-news-card {
    position: relative;

    border: 1px solid #454545;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    overflow: hidden;
}

.main-news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 12, 1) 0%, rgba(10, 10, 12, 0.7) 40%, transparent 100%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h1 {
    font-size: 36px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.read-more-btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.read-more-btn:hover {
    background-color: #fff;
    color: var(--bg-main);
    box-shadow: 0 4px 25px rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.side-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sub-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid #454545;

    height: 235px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.sub-card-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.sub-card:hover .sub-card-img {
    transform: scale(1.1);
}

.sub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(2, 2, 3, 0.95) 0%, rgba(2, 2, 3, 0.4) 100%);
    z-index: 1;
}

.sub-card-content {
    position: relative;
    z-index: 2;
}

.sub-card-content h3 {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
}

.sub-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}


.article-page {
    background-color: #353535;
    border: none;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.category-badge {
    background-color: var(--accent);
    color: #fff;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.article-meta {
    color: var(--text-muted);
    font-size: 14px;
    border-bottom: 1px solid #22222a;
    padding-bottom: 20px;
    margin-bottom: 30px;
}


.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto 40px auto;
    border: none;
    padding: 6px;
    background-color: #272727;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    position: relative;
}

.carousel-slide.active {
    display: block;
    animation: fadeEffect 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.image-caption {
    background-color: #272727;
    color: var(--text-muted);
    padding: 12px 15px;
    padding-bottom: 5px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
    border-top: 2px solid var(--accent);
    font-style: italic;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: calc(50% - 25px);
    background-color: rgba(46, 46, 46, 0.75);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.2s;
    z-index: 10;
}

.carousel-prev { left: 15px; }
.carousel-next { right: 15px; }

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #cbd5e1;
}

.article-body p { margin-bottom: 25px; }
.article-body p.lead { font-size: 22px; color: #fff; font-weight: 500; line-height: 1.6; }
.article-body h2 { color: #fff; font-size: 26px; border-left: 4px solid var(--accent); padding-left: 15px; margin: 45px 0 20px 0; text-transform: uppercase; }

blockquote {
    background-color: #2a2a2a;
    border-right: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
    padding: 25px;
    margin: 40px 0;
    font-style: italic;
    color: #94a3b8;
}

/* ФУТЕР */
.site-footer { background-color: var(--bg-header); border-top: 3px solid #ff003c; padding: 60px 0 30px 0; margin-top: 80px; }
.footer-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.footer-column h4 { color: #fff; font-size: 16px; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; position: relative; }
.footer-column h4::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 35px; height: 2px; background-color: var(--accent); }
.footer-column p, .footer-column a { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.footer-column a:hover { color: var(--accent); }
.social-links .icons { 
    display: flex; 
    gap: 10px; 
    margin-top: 15px; 
}

.social-links .icons a { 
    display: inline-flex;       
    align-items: center; 
    justify-content: center; 
    background-color: #1c1c24; 
    border: 1px solid #22222a; 
    color: #fff; 
    width: 45px; 
    height: 45px; 
    transition: all 0.3s ease;  
}


.social-links .icons a img {
    height: 20px;             
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links .icons a:hover { 
    background-color: var(--accent); 
    border-color: var(--accent); 
    box-shadow: 0 0 15px var(--accent); 
}

.social-links .icons a:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1); 
}
.footer-bottom { text-align: center; border-top: 1px solid #ff003c; margin-top: 50px; padding-top: 30px; color: #ffffff; font-size: 13px; letter-spacing: 1px; }

.news-list-container {
    background-color: #353535;
    border: none;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border-bottom: 2px solid #272727;
    padding-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.2);
}

.news-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-list-item {
    display: flex;
    gap: 25px;
    background-color: #272727;
    border: 1px solid #1e1e24;
    padding: 20px;
    transition: all 0.3s ease;
}

.news-list-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateX(5px);
}

.news-item-img {
    width: 260px;
    height: 160px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid #22222a;
}

.news-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.news-item-content h2 {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-item-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more-btn.small-btn {
    padding: 8px 20px;
    font-size: 12px;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
        gap: 15px;
    }
    .news-item-img {
        width: 100%;
        height: 200px;
    }
    .news-list-container {
        padding: 20px;
    }
}


.tg-huge-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0 30px 0;
    width: 100%;
}

.tg-cyber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 580px;
    height: 70px;
    background: linear-gradient(180deg, rgba(3, 21, 37, 0.85) 0%, rgba(1, 9, 18, 0.95) 100%);
    color: #00d2ff !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    border: 1px solid rgba(0, 210, 255, 0.5);
    outline: 1px solid rgba(0, 210, 255, 0.2);
    outline-offset: -5px;
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    box-shadow: inset 0 0 15px rgba(0, 210, 255, 0.15), 
                0 0 20px rgba(0, 210, 255, 0.1);
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.tg-icon {
    width: 26px;
    height: 26px;
    fill: #00d2ff;
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.8));
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.tg-cyber-btn:hover .tg-icon {
    fill: #ffffff;
    filter: drop-shadow(0 0 8px #ffffff);
    transform: scale(1.1) rotate(-5deg);
}

.tg-cyber-btn span {
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

.tg-cyber-btn::before, .tg-cyber-btn::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background-color: #00d2ff;
    box-shadow: 0 0 8px #00d2ff;
    transition: all 0.3s ease;
}
.tg-cyber-btn::before { top: 0; left: 25px; }
.tg-cyber-btn::after { bottom: 0; right: 25px; }

.tg-cyber-btn:hover {
    background: linear-gradient(180deg, rgba(5, 34, 59, 0.9) 0%, rgba(2, 16, 31, 0.98) 100%);
    color: #fff !important;
    border-color: #fff;
    outline-color: rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.4), 
                0 0 30px rgba(0, 210, 255, 0.3);
    transform: translateY(-2px);
}


.countdown-banner {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-bottom: 2px solid #ff003c;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(59, 59, 59, 0.95) 0%, rgba(72, 72, 72, 0.4) 50%, rgba(62, 62, 62, 0.95) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 15px 40px;
    background: rgba(52, 52, 52, 0.6);
    border: 1px solid rgba(255, 0, 60, 0.3);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 0, 60, 0.1);
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
}


.cookie-banner {
    position: fixed;
    bottom: -1000px; 
    left: 0;
    width: 100%;    
    z-index: 9999;
    background-color: #353535; 
    border-top: 1px solid #2d2d3a;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    transition: bottom 0.4s ease;
    padding: 15px 40px;
}


.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    white-space: nowrap;
}


.cookie-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: none;
    transition: all 0.2s ease;
}

.cookie-btn.accept {
    background-color: var(--accent);
    color: #fff;
    border: none;
}

.cookie-btn.accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}


.cookie-btn.decline {
    background-color: transparent;
    color: #a0aec0;
    border: 1px solid #4a5568;
}

.cookie-btn.decline:hover {
    color: #fff;
    border-color: #718096;
    background-color: rgba(255, 255, 255, 0.05);
}


@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .cookie-buttons {
        width: 100%;
        flex-direction: column-reverse; 
        gap: 10px;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}




.countdown-days {
    font-size: 64px;
    font-weight: 800;
    color: #ff003c;
    text-shadow: 0 0 15px rgba(255, 0, 60, 0.7), 0 0 30px rgba(255, 0, 60, 0.4);
    line-height: 1;
}

.countdown-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    max-width: 320px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .countdown-banner { height: 140px; background-position: left center !important; 
        background-size: cover !important;}
    .countdown-container {
        gap: 15px;
        padding: 10px 20px;
        clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    }
    .countdown-days { font-size: 44px; }
    .countdown-text { font-size: 13px; letter-spacing: 1px; max-width: 200px; }
}

.tg-cyber-btn:hover::before, .tg-cyber-btn:hover::after {
    background-color: #fff;
    box-shadow: 0 0 10px #fff;
    width: 20px;
}

@media (max-width: 600px) {
    .tg-cyber-btn {
        font-size: 14px;
        letter-spacing: 1.5px;
        height: 60px;
        clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    }
    .tg-icon { width: 20px; height: 20px; }
    .tg-cyber-btn::before { left: 15px; }
    .tg-cyber-btn::after { right: 15px; }
}

@media (max-width: 1080px) {
    .news-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .burger-menu { display: flex; }
    
    .main-nav {
        position: fixed;
        top: 62px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 62px);
        background-color: #353535;
        border-left: 2px solid var(--accent);
        padding: 40px 30px;
        transition: right 0.4s ease-in-out;
        box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
    }

    .logo-img {
        height: 15px;
        display: block;
        width: auto;
    }
    
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 20px; align-items: flex-start; width: 100%; }
    .nav-link { font-size: 18px; width: 100%; display: block; }
    .nav-link.tg-accent { text-align: center; clip-path: none; margin-top: 10px; }
}

@media (max-width: 600px) {
    .side-news-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .article-page { padding: 20px; }
    .article-header h1 { font-size: 26px; }
    .carousel-prev, .carousel-next { padding: 8px 12px; font-size: 14px; }
}

@media (max-width: 480px) {
    .main-news-card {
        background-position: left center !important;
    }
}

.logo-img {
    transition: filter 0.3s ease;
}
.logo-img:hover {
    filter: drop-shadow(0 0 8px var(--accent));
}

.main-news-card {
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.main-news-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
   
    background-size: 100% 20px;
    z-index: 2;
    pointer-events: none;
    animation: cyberScan 12s linear infinite;
}

.main-news-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 60, 0.15);
}

.sub-card-img, .news-item-img {
    transition: transform 0.7s cubic-bezier(0.15, 0.85, 0.45, 1), filter 0.7s ease;
}

.sub-card:hover .sub-card-img,
.news-list-item:hover .news-item-img {
    transform: scale(1.05);
    filter: contrast(1.1) brightness(1.05);
}

.card-content, .sub-card-content, .news-item-content {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.main-news-card:hover .card-content,
.sub-card:hover .sub-card-content,
.news-list-item:hover .news-item-content {
    transform: translateY(-2px);
}

.read-more-btn {
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: skewX(-20deg);
    transition: none;
}

.read-more-btn:hover {
    background-color: #fff;
    color: var(--bg-main);
    box-shadow: 0 5px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.read-more-btn:hover::before {
    left: 150%;
    transition: left 0.6s cubic-bezier(0.3, 1, 0.2, 1);
}



@keyframes cyberScan {
    0% { transform: translateY(-30%); }
    100% { transform: translateY(30%); }
}


body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./paper_texture.jpg');
    background-repeat: repeat;
    opacity: 0.90;
    mix-blend-mode: multiply; 
    pointer-events: none;
    z-index: 9999;
}

.article-body a {
    color: var(--accent);
    font-weight: 600;
    transition: all 0.2s ease;
    word-break: break-all;
    overflow-wrap: break-word;
}

.article-body a:hover {
    color: #fff;
    background-color: var(--accent);
    border-bottom-color: transparent;
    text-shadow: none;
    padding: 0 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}


.main-news-card, .sub-card-img, .news-item-img {
    filter: contrast(1.05) brightness(0.95);
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.15, 0.85, 0.45, 1);
}

.main-news-card:hover,
.sub-card:hover .sub-card-img,
.news-list-item:hover .news-item-img {
    filter: contrast(1.1) brightness(1);
}

.important-badge {
    position: absolute;
    top: 30px;  
    right: 40px; 
    z-index: 3;
    
    display: inline-block;
    color: rgb(255, 94, 0);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}

.new-badge {
    position: absolute;
    top: 20px;  
    right: 15px; 
    z-index: 3;
    display: inline-block;
    color: rgb(253, 11, 11);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgb(255, 18, 18);
    animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 8px rgb(255, 18, 18), 0 0 15px rgb(255, 18, 18);
    }
    50% {
        opacity: 0.5;
        text-shadow: 0 0 2px rgb(255, 18, 18);
    }
}

@media (max-width: 768px) {
    .important-badge {
        top: 20px;
        right: 20px; 
        font-size: 12px;
    }

    .new-badge {
        top: 20px;
        right: 20px; 
        font-size: 12px;
    }
}