/* ====================================================
 * HOMEPAGE — bukrek.net
 * Блок новин: style21, columns=2, size=4
 * Файл: /css/homepage.css
 * ==================================================== */

/* ===== НОВИНИ ===== */

/* Прибрати червону мітку «НОВИНИ» */
body.home .postgrid.style21 .post-category,
body.home .postgrid.style21 .post-categories,
body.home .postgrid.style21 .post-grid-item .post-category a {
    display: none !important;
}

/* Зменшити мініатюру */
body.home .postgrid.style21 .post-grid-item .post-gallery,
body.home .postgrid.style21 .post-grid-item .post-gallery a {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    flex-shrink: 0 !important;
}

body.home .postgrid.style21 .post-grid-item .post-gallery img {
    width: 160px !important;
    height: 110px !important;
    object-fit: cover !important;
}

/* Заголовок новини */
body.home .postgrid.style21 .post-grid-item .post-title,
body.home .postgrid.style21 .post-grid-item .post-title a {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #2C2C2C !important;
}

/* Дата — під заголовком, сіра */
body.home .postgrid.style21 .post-grid-item .post-date,
body.home .postgrid.style21 .post-grid-item time {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 6px !important;
    display: block !important;
}

/* Картка новини — відступи */
body.home .postgrid.style21 .post-grid-item .post-content-container {
    padding: 0 0 0 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Фон картки — білий з рамкою */
body.home .postgrid.style21 .post-grid-item article {
    background: #fff !important;
    border: 1px solid #ECECEC !important;
    border-radius: 8px !important;
    padding: 14px !important;
    margin-bottom: 0 !important;
    transition: box-shadow 0.2s !important;
}

body.home .postgrid.style21 .post-grid-item article:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.07) !important;
}

/* Відступ між рядками новин */
body.home .postgrid.style21 .post-grid-item {
    margin-bottom: 16px !important;
}

/* ===== МАГАЗИН — підкреслення заголовку синє ===== */
body.home .thb-heading-icon.style6 .thb-line,
body.home .thb-heading-icon.style6:after {
    background: #2f82c5 !important;
}

.bk-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2f82c5;
}
.bk-section-header__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.bk-section-header__link {
    font-size: 13px;
    color: #C41E24;
    text-decoration: none;
    font-weight: 500;
}
.bk-section-header__link:hover {
    text-decoration: underline;
}