/* ============================================================
   news-editorial — блок «Новости» на главной
   Editorial split: 1 hero (image+content) + 4 stream rows
   ============================================================ */

.dd-news {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px;
    box-sizing: border-box;
}
.dd-news *,
.dd-news *::before,
.dd-news *::after { box-sizing: border-box; }

.dd-news__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    gap: 32px;
}
.dd-news__head-text { max-width: 720px; }
.dd-news__overline {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D85F05;
    margin-bottom: 14px;
}
.dd-news__title {
    font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #0F2F44;
    margin: 0 0 14px;
}
.dd-news__lead {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: #4A5462;
    margin: 0;
    max-width: 620px;
}
.dd-news__more {
    flex-shrink: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #D85F05;
    text-decoration: none;
    padding: 10px 18px;
    border: 1.5px solid #FFD199;
    border-radius: 999px;
    background: #FFF6EC;
    transition: all 220ms cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}
.dd-news__more:hover {
    background: #F57C18;
    color: #fff;
    border-color: #F57C18;
}
.dd-news__more::after { content: ' →'; }

/* === Hero === */
.dd-news-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    background: #EFF8FD;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: #0A0D12;
    box-shadow: 0 4px 18px rgba(15, 47, 68, 0.06);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms;
}
.dd-news-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 47, 68, 0.14);
}
.dd-news-hero__media {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: #DDF0FA;
}
.dd-news-hero__img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dd-news-hero:hover .dd-news-hero__img { transform: scale(1.05); }
.dd-news-hero__media--placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #DDF0FA 0%, #88CBE8 100%);
    color: rgba(15, 47, 68, 0.32);
}
.dd-news-hero__badge {
    position: absolute;
    top: 24px; left: 24px;
    background: #F57C18;
    color: #fff;
    padding: 7px 14px;
    border-radius: 999px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 2px 12px rgba(245, 124, 24, 0.42);
    z-index: 2;
}
.dd-news-hero__content {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dd-news-hero__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.dd-news-hero__date {
    font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
    font-size: 13px;
    color: #4A5462;
    letter-spacing: 0.04em;
}
.dd-news-hero__name {
    font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0F2F44;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dd-news-hero__lead {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333B47;
    margin: 0 0 28px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dd-news-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #D85F05;
    transition: gap 220ms;
}
.dd-news-hero:hover .dd-news-hero__cta { gap: 14px; }
.dd-news-hero__cta::after { content: '→'; }

/* === Stream === */
.dd-news-stream {
    margin-top: 28px;
}
.dd-news-row {
    display: grid;
    grid-template-columns: 140px 1fr 32px;
    gap: 24px;
    align-items: center;
    padding: 20px 4px;
    border-top: 1px solid #ECEFF3;
    text-decoration: none;
    color: #0A0D12;
    transition: padding 220ms, background 220ms, border-color 220ms;
    position: relative;
}
.dd-news-row:last-child { border-bottom: 1px solid #ECEFF3; }
.dd-news-row:hover {
    background: #EFF8FD;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 14px;
    border-top-color: transparent;
}
.dd-news-row:hover + .dd-news-row { border-top-color: transparent; }
.dd-news-row__date {
    font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
    font-size: 13px;
    color: #4A5462;
    letter-spacing: 0.02em;
}
.dd-news-row__name {
    font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -0.015em;
    color: #0F2F44;
    margin: 0;
    transition: color 220ms;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dd-news-row:hover .dd-news-row__name { color: #B44802; }
.dd-news-row__arrow {
    color: #9AA5B3;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 18px;
    transition: transform 220ms, color 220ms;
    text-align: right;
    line-height: 1;
}
.dd-news-row:hover .dd-news-row__arrow {
    color: #D85F05;
    transform: translateX(4px);
}

/* === Mobile === */
@media (max-width: 980px) {
    .dd-news-hero {
        grid-template-columns: 1fr;
    }
    .dd-news-hero__media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .dd-news-hero__content { padding: 32px 28px 36px; }
}
@media (max-width: 640px) {
    .dd-news { padding: 40px 20px; }
    .dd-news__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .dd-news-hero__name { font-size: 22px; }
    .dd-news-hero__lead { font-size: 15px; -webkit-line-clamp: 4; }
    .dd-news-row {
        grid-template-columns: 1fr 24px;
        gap: 8px;
        padding: 16px 4px;
    }
    .dd-news-row__date {
        grid-row: 1;
        grid-column: 1;
        font-size: 12px;
        margin: 0;
    }
    .dd-news-row__name {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 15px;
    }
    .dd-news-row__arrow {
        grid-row: 1;
        grid-column: 2;
        align-self: start;
    }
    .dd-news-row:hover {
        padding-left: 8px;
        padding-right: 8px;
    }
}
