/* Архив на новини – нормален цвят */
.post-type-archive-novini a.ekit-menu-nav-link,
.single-novini a.ekit-menu-nav-link {
    color: #1a1a1a !important;
}

/* Hover */
.post-type-archive-novini a.ekit-menu-nav-link:hover,
.single-novini a.ekit-menu-nav-link:hover {
    color: #444444 !important;
}

/* Active (текуща страница) */
.post-type-archive-novini li.current-menu-item > a.ekit-menu-nav-link,
.single-novini li.current-menu-item > a.ekit-menu-nav-link {
    color: #000000 !important;
    font-weight: 600;
}


/* === ГЛОБАЛЕН GRID ЗА ВСИЧКИ latest-news-card === */

.latest-news-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.latest-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

/* СНИМКИ */
.latest-news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ВЪТРЕШНО СЪДЪРЖАНИЕ */
.latest-news-content {
    padding: 14px 16px 16px;
}

/* ЗАГЛАВИЕ */
.latest-news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* ДАТА */
.latest-news-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

/* ОТКЪС */
.latest-news-excerpt {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* БУТОН */
.latest-news-readmore a {
    display: inline-block;
    padding: 6px 14px;
    background: #005bbb;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.latest-news-readmore a:hover {
    background: #004999;
}

/* === ПОДРЕЖДАНЕ НА ВСИЧКИ latest-news-card В GRID === */

.latest-news-card {
    width: 100%;
}

.latest-news-card:nth-child(1),
.latest-news-card:nth-child(2) {
    display: inline-block;
}

.latest-news-card:nth-child(1),
.latest-news-card:nth-child(2) {
    width: calc(50% - 12px);
    margin-right: 12px;
}

.latest-news-card:nth-child(2) {
    margin-right: 0;
}

/* MOBILE */
@media (max-width: 768px) {
    .latest-news-card {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* Центриране на двете новини на началната страница */
.elementor-widget-container {
    display: flex !important;
    justify-content: center !important;
    gap: 24px !important;
    flex-wrap: wrap;
}

.elementor-widget-container .latest-news-card {
    width: 360px; /* същата ширина като в /novini */
}
/* Центриране на latest-news-card независимо от Elementor wrapper */
.latest-news-card {
    width: 360px;
}

/* Родителят на картите – какъвто и да е той */
.latest-news-card:first-child {
    display: flex;
}

.latest-news-card:first-child {
    display: none;
}

/* Истинското центриране */
.latest-news-card {
    display: inline-block;
    vertical-align: top;
}

.latest-news-card:nth-child(1),
.latest-news-card:nth-child(2) {
    margin: 0 12px;
}

/* Контейнерът, който държи картите */
.latest-news-card:nth-child(1)::before {
    content: "";
    display: block;
    width: 100%;
    text-align: center;
}

.latest-news-card {
    text-align: left;
}

/* Центриране чрез text-align на родителя */
.latest-news-card {
    text-align: left;
}

.latest-news-card:first-child {
    text-align: center;
}

.latest-news-card:first-child {
    display: inline-block;
}

.post-type-archive-novini {
    margin-top: 200px !important;
}
.single-novini {
    margin-top: 200px !important;
}



