/* Классический список новостей на главной странице. Все правила ограничены #news. */

#news .panel-heading {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid #dedbd5;
    background: #fff;
    box-shadow: none;
}

#news .panel-heading::before,
#news .panel-heading::after {
    content: none;
}

#news .panel-heading h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #292b2e;
    font: 400 16px/1.3 Georgia, "Times New Roman", serif;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: none;
}

#news .bn-home-news {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 0;
    padding: 15px 16px 16px;
    border: 0;
    border-bottom: 1px solid #dedbd5;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

#news .bn-home-news::before,
#news .bn-home-news::after {
    content: none;
}

#news .bn-home-news__media {
    flex: 0 0 114px;
    display: block;
    width: 114px;
    height: 114px;
    padding: 2px;
    overflow: hidden;
    border: 1px solid #b9a98e;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

#news .bn-home-news__media::before,
#news .bn-home-news__media::after {
    content: none;
}

#news .bn-home-news__media img {
    display: block;
    width: 108px;
    height: 108px;
    max-width: none;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    filter: none;
}

#news .bn-home-news__content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    background: none;
}

#news .bn-home-news__title {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    font: 700 19px/1.22 Georgia, "Times New Roman", serif;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: none;
}

#news .bn-home-news__title a {
    color: #292d35;
    text-decoration: none;
}

#news .bn-home-news__title a:hover,
#news .bn-home-news__more:hover {
    text-decoration: underline;
}

#news .bn-home-news__date,
#news .bn-home-news__byline {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #767676;
    font: 400 12px/17px Arial, sans-serif;
}

#news .bn-home-news__byline a {
    color: inherit;
    text-decoration: none;
}

#news .bn-home-news__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    margin: 10px 0 0;
    color: #323238;
    font: 400 14px/20px Arial, sans-serif;
}

#news .bn-home-news__excerpt p { margin: 0; }

#news .bn-home-news__excerpt img,
#news .bn-home-news__excerpt iframe,
#news .bn-home-news__excerpt video,
#news .bn-home-news__excerpt table { display: none; }

#news .bn-home-news__bottom {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

#news .bn-home-news__bottom > a:first-child,
#news .bn-home-news__bottom > a:first-child .bn-home-news__comments,
#news .bn-home-news__comments {
    color: #777;
    font: 400 12px/18px Arial, sans-serif;
    text-decoration: none;
}

#news .bn-home-news__more {
    flex: 0 0 auto;
    display: inline;
    width: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #69402d;
    font: 400 12px/18px Arial, sans-serif;
    text-decoration: none;
    text-shadow: none;
    transform: none;
    filter: none;
}

@media (max-width: 600px) {
    #news .bn-home-news { gap: 12px; padding: 14px 12px; }
    #news .bn-home-news__media { flex-basis: 84px; width: 84px; height: 84px; }
    #news .bn-home-news__media img { width: 78px; height: 78px; }
    #news .bn-home-news__title { font-size: 17px; }
}

@media (max-width: 400px) {
    #news .bn-home-news { flex-wrap: wrap; }
    #news .bn-home-news__content { flex-basis: calc(100% - 100px); }
    #news .bn-home-news__bottom { flex-wrap: wrap; }
}
