/* Модуль одной IT-новости на главной + страница /it-novosti/ */
#it-news-section {
    background: #f7f7f8;
    padding-top: 70px;
    padding-bottom: 30px;
}

#it-news-section .heading-default {
    margin-bottom: 36px;
}

a.it-news-card {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid #d61523;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    max-width: 1100px;
    margin: 0 auto;
}

a.it-news-card:hover,
a.it-news-card:focus {
    box-shadow: 0 16px 36px 0 rgba(214, 21, 35, 0.12);
    transform: translateY(-2px);
    color: inherit;
}

.it-news-card__media {
    flex: 0 0 42%;
    max-width: 42%;
    min-height: 220px;
    background: #1a1a1a;
}

.it-news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.it-news-card__body {
    flex: 1 1 auto;
    padding: 28px 32px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.it-news-card__meta {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #d61523;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.it-news-card__title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #222;
    font-weight: 700;
}

.it-news-card__lead {
    margin: 0 0 18px;
    color: #555;
    font-size: 16px;
    line-height: 1.55;
}

.it-news-card__more {
    color: #d61523;
    font-weight: 600;
    font-size: 15px;
}

.it-news-card__more i {
    margin-left: 6px;
}

.it-news-article {
    max-width: 820px;
    margin: 0 auto;
}

.it-news-article .it-news-hero {
    margin: 0 0 1.5em;
}

.it-news-article .it-news-hero img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.it-news-article figcaption {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
    line-height: 1.45;
}

.it-news-article .it-news-source {
    background: #f7f7f8;
    border-left: 3px solid #d61523;
    padding: 14px 18px;
    margin: 1.75em 0;
    font-size: 15px;
    color: #444;
}

.it-news-article .it-news-meta {
    color: #777;
    font-size: 14px;
    margin: 0 0 1.25em;
}

.it-news-article h1 {
    text-align: left !important;
    margin-bottom: 0.4em;
}

.it-news-article ul {
    margin: 0 0 1.25em 1.2em;
}

.it-news-article li {
    margin-bottom: 0.45em;
}

@media (max-width: 767px) {
    a.it-news-card {
        flex-direction: column;
    }
    .it-news-card__media,
    .it-news-card__media img {
        max-width: 100%;
        flex-basis: auto;
        height: 200px;
        min-height: 0;
    }
    .it-news-card__body {
        padding: 20px 18px 22px;
    }
    .it-news-card__title {
        font-size: 20px;
    }
    #it-news-section {
        padding-top: 40px;
    }
}
