/* 1. Убираем блокировку кликов с общего контейнера */
.wp-site-blocks, .wp-block-group, .wp-block-columns {
    pointer-events: auto !important;
}

/* 2. Принудительно делаем область постов "пробиваемой" для клика */
.wp-block-query, .wp-block-post-template {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* 3. Самое важное: делаем ссылку на весь блок поста */
.wp-block-post-template li a {
    pointer-events: auto !important;
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

/* 4. Если на ссылки наложен фильтр или прозрачный блок - игнорируем его */
.wp-block-post-featured-image {
    pointer-events: none !important; /* картинка не должна ловить клик сама по себе */
}
.wp-block-post-featured-image a {
    pointer-events: auto !important; /* только ссылка внутри неё */
}
/* Отключаем принудительные заглавные буквы для всего сайта */
* {
    text-transform: none !important;
}

/* На всякий случай точечно для постов */
.wp-block-post-title, .entry-content p, .entry-content li, .wp-block-post-excerpt {
    text-transform: none !important;
}
/* Настройка размеров заголовков */
.entry-content h2, h2.wp-block-post-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.5em !important;
}

.entry-content h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-top: 1.2em !important;
    margin-bottom: 0.4em !important;
}

/* Опционально: размер для основного текста, если он кажется мелким */
.entry-content p {
    font-size: 18px;
    line-height: 1.6;
}
/* Делаем всю карточку поста кликабельной */
.wp-block-post {
    position: relative; /* Создаем контекст для абсолютного позиционирования */
    transition: transform 0.2s ease-in-out; /* Добавим легкий эффект при наведении */
}

.wp-block-post:hover {
    transform: translateY(-5px); /* Карточка будет слегка приподниматься */
    cursor: pointer;
}

/* Растягиваем ссылку заголовка на всю площадь карточки */
.wp-block-post-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10; /* Ссылка перекрывает всё содержимое карточки */
}

/* Гарантируем, что другие элементы не блокируют клик */
.wp-block-post-excerpt, .wp-block-post-date, .wp-block-post-featured-image {
    position: relative;
    z-index: 1; 
}