/* NEWS AMBER SINGULARITY v19.0 
   Strictly following rules 1-5.
   Concept: Kinetic Bento, Obsidian Depth, & Neural Fluidity.
*/

:root {
    --fluid-gap: clamp(12px, 2vw, 32px);
    --singularity-blur: blur(80px) saturate(210%);
    --edge-light: linear-gradient(120deg, rgba(255,255,255,0.1), transparent 40%);
    --physics-organic: cubic-bezier(0.2, 1, 0.2, 1);
    /* Добавляем недостающие переменные из основного стиля для совместимости */
    --aura-orange: #ff5e00;
    --text-pure: #ffffff;
}

.news-container {
    max-width: 1800px;
    margin: clamp(-120px, -15vw, -220px) auto 120px; /* Адаптивный верхний отступ */
    padding: 0 var(--fluid-gap);
    perspective: 3000px; /* Enhanced 3D Space */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(140px, auto);
    gap: var(--fluid-gap);
}

/* THE SINGULARITY CARD */
.news-card {
    position: relative;
    background: rgba(4, 4, 4, 0.3);
    backdrop-filter: var(--singularity-blur);
    -webkit-backdrop-filter: var(--singularity-blur);
    border: 1px solid rgba(255, 98, 0, 0.08);
    border-radius: clamp(32px, 5vw, 80px); /* Liquid Radii */
    padding: clamp(24px, 4vw, 65px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 1s var(--physics-organic);
    overflow: hidden;
    grid-column: span 4;
    grid-row: span 3;
}

/* HYPER-BENTO WEIGHTS (Desktop Default) */
.news-card.featured {
    grid-column: span 8;
    grid-row: span 4;
    background: radial-gradient(circle at 0% 0%, rgba(255, 98, 0, 0.12), transparent 50%),
                rgba(6, 6, 6, 0.4);
    border: 1px solid rgba(255, 98, 0, 0.3);
}

.news-card.wide {
    grid-column: span 6;
    grid-row: span 2;
}

.news-card.tall {
    grid-column: span 4;
    grid-row: span 5;
}

/* NEURAL TYPOGRAPHY */
.news-badge {
    position: absolute;
    top: clamp(20px, 4vw, 50px);
    left: clamp(20px, 4vw, 50px);
    background: var(--text-pure);
    color: #000;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    mix-blend-mode: screen; 
}

.news-date {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--aura-orange);
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.news-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 4vw, 4.5rem);
    font-weight: 800;
    line-height: 0.88;
    margin-bottom: 25px;
    letter-spacing: -2px;
    color: var(--text-pure);
}

.news-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: clamp(0.9rem, 1.2vw, 1.3rem);
    line-height: 1.4;
    font-weight: 300;
    max-width: 90%;
}

/* THE LIQUID ACTION */
.read-more {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-pure);
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 3px;
}

.read-more i {
    width: clamp(45px, 5vw, 60px);
    height: clamp(45px, 5vw, 60px);
    border-radius: 50%;
    border: 1px solid rgba(255, 98, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s var(--physics-organic);
}

/* KINETIC PHYSICS ON HOVER */
@media (hover: hover) {
    .news-card:hover {
        transform: translateY(-15px) scale(1.01) rotateY(1deg);
        border-color: var(--aura-orange);
        background: rgba(15, 15, 15, 0.5);
        box-shadow: 0 80px 150px -40px rgba(0, 0, 0, 0.9),
                    0 0 40px rgba(255, 98, 0, 0.1);
    }

    .news-card:hover .read-more i {
        background: var(--aura-orange);
        border-color: var(--aura-orange);
        color: #000;
        transform: rotate(45deg) scale(1.1);
    }
}

/* --- MASTER ADAPTIVITY --- */

/* Laptops & Tablets (Landscape) */
@media (max-width: 1400px) {
    .news-container { margin-top: -100px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .news-card, .news-card.featured, .news-card.wide, .news-card.tall { 
        grid-column: span 1; 
        grid-row: auto;
        min-height: 480px;
    }
}

/* Tablets (Portrait) */
@media (max-width: 992px) {
    .news-grid { gap: 16px; }
    .news-card h3 { font-size: 2.2rem; letter-spacing: -1px; }
}

/* Mobiles (Portrait) */
@media (max-width: 768px) {
    .news-container { margin-top: 20px; } /* Убираем отрицательный отступ */
    .news-grid { grid-template-columns: 1fr; }
    .news-card { 
        padding: 35px 25px; 
        border-radius: 40px; 
        min-height: 400px; 
        grid-column: span 1 !important;
    }
    .news-card h3 { font-size: 1.8rem; }
    .news-badge { top: 25px; left: 25px; padding: 8px 16px; }
    .news-card p { max-width: 100%; }
}

/* Small Mobiles */
@media (max-width: 480px) {
    .news-card { min-height: 350px; padding: 25px 20px; }
    .news-card h3 { font-size: 1.6rem; }
    .news-date { letter-spacing: 3px; }
}

/* Scrollbar Hidden as requested */
::-webkit-scrollbar { display: none; }