@charset "UTF-8";
/* ============================================================
   POST CARD — универсальная карточка поста
   Используется: архив блога, карусель на главной, страницы услуг
   ============================================================ */


/* Линии только на главной */
.blog .header-subnav ul::before,
.blog .header-subnav ul::after {
    display: none !important;
  
}


.blog .header-mobile__top::before,
.blog .header-mobile__top::after {
    display: none !important;
}


/* ============================================================
   BLOG ARCHIVE — страница архива
   ============================================================ */

.blog-archive {
    padding: 90px 0 80px;

    background: url('/wp-content/uploads/2026/05/bg-blog.png') center / cover no-repeat;



}

.blog-archive__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Хлебные крошки */
.breadcrumbs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs__item {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    text-decoration: none;
    transition: background .2s;
}

.breadcrumbs__item:hover:not(.breadcrumbs__item--current) {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.breadcrumbs__item--current {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.breadcrumbs__sep {
    color: rgba(255,255,255,.3);
    -webkit-text-fill-color: rgba(255,255,255,.3);
    font-size: 15px;
}

/* Заголовок */
.blog-archive__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 50px;
    line-height: 54px;
    font-weight: 700;
    margin: 0;
}

/* Навигация по категориям */
.blog-archive__cats {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.blog-archive__cat-btn {
    display: inline-flex;
    align-items: center;
    padding: 19px 22px;
    border-radius: 10px;
    border: 1px solid var(--linii);
    background: transparent;
    font-family: var(--font-myriad);
    font-size: 19px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    color: rgba(232,232,232,.7);
    -webkit-text-fill-color: rgba(232,232,232,.7);
    transition: border-color .2s, background .2s, color .2s;
    white-space: nowrap;
}

.blog-archive__cat-btn:hover {
    background: linear-gradient(180deg, #C7A21B 0%, #FFDB73 100%);
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    border-color: transparent;
    border-radius: 6px;
}

.blog-archive__cat-btn.is-active {
    background: var(--gradient-zheltyj);
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    border-color: transparent;
    border-radius: 6px;
}

/* Сетка 4×2 */
.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.post-grid .post-card__inner {
    margin: -1px 0 0 -1px; /* схлопываем бордеры */
}

/* Пустое состояние */
.blog-archive__empty {
    grid-column: 1 / -1;
    color: rgba(232,232,232,.5);
    -webkit-text-fill-color: rgba(232,232,232,.5);
    font-family: var(--font-myriad);
    font-size: 18px;
    padding: 40px 0;
    text-align: center;
}

/* Кнопка Загрузить ещё */
.blog-archive__more-wrap {
    display: flex;
    justify-content: center;
}

.blog-archive__more-btn {
    width: 100%;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px;
    border: 1px solid rgba(255,219,115,.7);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: rgba(255,219,115,.7);
    -webkit-text-fill-color: rgba(255,219,115,.7);
    transition: border-color .2s, color .2s;
}

.blog-archive__more-btn svg {
    color: rgba(255,219,115,.7);
    transition: transform .3s;
}

.blog-archive__more-btn:hover {
    background: var(--gradient-zheltyj);
    border-color: rgba(255,219,115,.4);
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
}

.blog-archive__more-btn:hover svg {
    color: var(--color-black);
}

.blog-archive__more-btn:disabled {
    opacity: .4;
    cursor: default;
}

/* ── Адаптив ── */
@media (max-width: 1200px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
    .blog-archive__title {
        font-size: clamp(28px, 5vw, 50px);
    }



    .blog-archive {
        padding: 20px 0 80px;
    
    }


    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .blog-archive__more-btn {
        max-width: 100%;
    }

    .blog-archive {
        padding: 20px 0 80px;
    
    }

    .blog-archive__inner {
      
        gap: 32px;
    }



    .blog-archive__cat-btn {
        padding: 13px 12px;
        font-size: 16px;
    }

}