.page-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 500;
    /* В макете шрифт выглядит легким */
    color: var(--color-text-head);
    margin-bottom: 40px;
    line-height: 115%;
}

/* GRID Сетка */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 колонки */
    gap: 20px;
    /* Отступ между карточками */
}

/* Адаптив сетки */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .page-title {
        font-size: 30px;
    }
}


/* --- Карточка Блога (template-part) --- */
.blog-card {
    display: flex;
    flex-direction: column;
}

/* Картинка */
.blog-card__thumb {
    display: block;
    border-radius: var(--radius-sm);
    /* 4px */
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
    /* Фиксируем пропорции как на макете */
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card__thumb:hover img {
    transform: scale(1.03);
    /* Легкий зум при наведении */
}

/* Мета (Дата и время) */
.blog-card__meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--tilda-sans);
    font-size: 16px;
    color: var(--purple_gray, #C2C0CB);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray_2);
}

/* Заголовок поста */
.blog-card__title {
    font-family: var(--involve);
    font-size: 24px;
    font-weight: 500;
    line-height: 110%;
   /* margin: 0 0 10px 0;*/
   margin: 0 0 20px 0;
    color: var(--purple_dark, #272630);
}

.blog-card__title a {
    text-decoration: none;
    color: inherit;
}

/* Текст (Excerpt) */
.blog-card__excerpt {
    font-family: var(--tilda-sans);
    /* Возможно Tilda Sans */
    font-size: 16px;
    line-height: 110%;
    color: var(--purple_dark, #272630);
    margin-bottom: 15px;
    font-weight: 400;
    /* Ограничение кол-ва строк (если текста много) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ссылка Подробнее */
.blog-card__link {
    font-family: var(--involve);
    font-size: 20px;
    font-weight: 500;
    color: var(--text, #514F5C);
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    margin-top: auto;
    /* Прижимает к низу, если карточки разной высоты */
    align-self: flex-start;
    transition: color 0.2s;
}

.blog-card__link:hover {
    color: var(---purple);
    text-decoration-color: var(--purple);
}



.wp-block-list li {
    list-style: disc;
}
.container-post {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    top: 0;
    margin-top: 20px;
    padding: 0 20px;
}

.container-post h2,
.container-post h3 {
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 20px;
}
.container-post h2 {
    font-size: 32px;
}
.container-post h3 {
    font-size: 20px;
    color: var(--text);
}
.container-post p,
.container-post li {
    font-size: 16px;
    color: var(--text, #514F5C);
    font-weight: 400;
    line-height: 110%;
    font-family: var(--tilda-sans);
    margin-bottom: 5px;
}

.container-post ul,
.container-post ol {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text, #514F5C);
    font-weight: 400;
    line-height: 110%;
    font-family: var(--tilda-sans);
    padding-left: 30px;
}
.wp-block-image {
    margin-bottom: 15px;
}
.container-post p {
    margin-bottom: 15px;
}
.wp-block-separator {
    margin-bottom: 10px !important;
    display: block !important;
}
.slider-nav {
    display: flex;
    gap: 20px;
}

.custom-prev,
.custom-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.3s;
}

.custom-prev:hover,
.custom-next:hover {
    opacity: 0.6;
}

.btn-outline-wide {
    margin: 34px auto 0 auto;
    display: block;
    max-width: 344px;
}



@media (max-width: 768px) {

}



.article-hero {
    position: relative;
    width: 100%;
    min-height: 550px;
    /* Высота блока (80% от высоты экрана) */
    display: flex;
    align-items: center;
    /* Центрируем контент по вертикали */
    color: #fff;
    overflow: hidden;
}

/* Фоновое изображение */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Затемнение (Overlay) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Полупрозрачный черный цвет (60%) */
    z-index: 2;
}

/* Контент поверх фона */
.article-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}



/* Хлебные крошки */
.hero-breadcrumbs {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    /* Полупрозрачный белый */
    margin-bottom: 25px;
    font-weight: 400;
}

.hero-breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}
.hero-content .breadcrumbs  {
    padding-bottom: 70px;
}
.hero-breadcrumbs a:hover {
    color: #fff;
}

.hero-breadcrumbs .sep {
    margin: 0 8px;
    font-size: 14px;
}

.hero-breadcrumbs .current {
    color: #fff;
}

/* Заголовок */
.hero-title {
    font-size: 48px;
    /* Крупный размер как на макете */
    font-weight: 600;
    line-height: 110%;
    margin: 0 0 30px 0;
    color: #fff;
    text-align: center;
}

/* Мета-информация */
.hero-meta {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tilda-sans);
}

.meta-divider {
    margin: 0 15px;
    height: 20px;
    width: 1px;
    background-color: #fff;
    opacity: 0.6;
    display: inline-block;
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    .article-hero {
        min-height: 60vh;
        /* Чуть меньше на мобильных */
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-breadcrumbs {
        font-size: 14px;
    }

    .hero-meta {
        font-size: 16px;
    }
        .hero-content .breadcrumbs {
        margin-bottom: 0;
        padding-bottom: 10px;
    }
}