/* ==============================================================================
   1. КАРТОЧКИ НОВОСТЕЙ НА ГЛАВНОЙ (ФУТБОЛ)
   ============================================================================== */
article.entry-card, 
article.entry-card .ct-media-container,
.button, .ct-header-button, .page-numbers {
    border-radius: 0px !important;
    border: 1px solid #eaeaea !important;
    transition: all 0.25s ease !important;
}

article.entry-card:hover {
    border-color: #27ae60 !important;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.1) !important;
    background-color: #fafdfb !important;
}

/* ==============================================================================
   2. ГЛУБОКАЯ СТИЛИЗАЦИЯ БЛОКОВ ВНУТРИ СТАТЬИ (ФУТБОЛ)
   ============================================================================== */

/* Пробиваем подзаголовки h2 и h3 Гутенберга */
.entry-content h2.wp-block-heading,
.entry-content h3.wp-block-heading {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 1.8em !important;
    margin-bottom: 0.8em !important;
    position: relative !important;
    padding-left: 18px !important;
}

/* Рисуем зеленый маркер разметки поля у заголовков */
.entry-content h2.wp-block-heading::before,
.entry-content h3.wp-block-heading::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 15% !important;
    height: 70% !important;
    width: 4px !important;
    background-color: #27ae60 !important;
    border-radius: 2px !important;
}

/* Уничтожаем дефолтные черные точки списков */
.entry-content ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
}

.entry-content ul li {
    position: relative !important;
    padding-left: 25px !important;
    margin-bottom: 12px !important;
    line-height: 1.6 !important;
}

.entry-content ul li::marker {
    content: "" !important;
}

/* Создаем кастомный квадратный маркер футбольного поля */
.entry-content ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 4px !important;
    top: 9px !important;
    width: 7px !important;
    height: 7px !important;
    background-color: #27ae60 !important;
    border-radius: 0px !important;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.12) !important;
}

/* Выделение жирного текста терминов */
.entry-content ul li strong {
    color: #111111 !important;
    border-bottom: 1px dashed rgba(39, 174, 96, 0.25) !important;
    padding-bottom: 1px !important;
}

/* ==============================================================================
   3. ЖУРНАЛЬНАЯ ТИПОГРАФИКА ДЛЯ ТЕКСТА
   ============================================================================== */

/* Выделяем первый лид-абзац новости */
.entry-content > p.wp-block-paragraph:first-of-type {
    font-size: 1.15rem !important;
    line-height: 1.65 !important;
    color: #222222 !important;
    font-weight: 500 !important;
}

/* Форматируем остальные обычные абзацы */
.entry-content p.wp-block-paragraph {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    margin-bottom: 1.5em !important;
}

/* Ссылки внутри текста */
.entry-content a {
    color: #27ae60 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(39, 174, 96, 0.2) !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
}

.entry-content a:hover {
    color: #219653 !important;
    border-bottom-color: #219653 !important;
    background-color: rgba(39, 174, 96, 0.05) !important;
}
/* ВРЕМЕННЫЙ ТЕСТ: Изменяем цвет первого абзаца для проверки кэша */
.entry-content > p.wp-block-paragraph:first-of-type {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    color: #1b4d3e !important; /* Глубокий темно-зеленый спортивный цвет */
    font-weight: 600 !important;
    border-left: 3px solid #27ae60 !important; /* Зеленая полоса слева от вводного текста */
    padding-left: 15px !important;
}

/* Изменяем маркер заголовков на двойную линию */
.entry-content h2.wp-block-heading::before,
.entry-content h3.wp-block-heading::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 15% !important;
    height: 70% !important;
    width: 6px !important; /* Сделали маркер чуть толще */
    background-color: #27ae60 !important;
    border-right: 2px solid #ffffff !important; /* Внутренняя белая полоса для эффекта разметки */
}

