/*
Theme Name: Romania Inform
Template: astra
Version: 1.3.0
*/

/* --- 1. КАТЕГОРІЇ (Badge Style) --- */
/* Astra не вміє робити категорії плашками, тому цей код залишаємо */
.ast-taxonomy-container a {
    background-color: #c0392b !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    text-transform: uppercase;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 2px;
    display: inline-block;
    text-decoration: none !important;
}

/* --- 2. ЕФЕКТИ ДЛЯ КАРТОК --- */
/* Додаємо тінь та підйом картки при наведенні (цього нема в базовій Астрі) */
.ast-article-post {
    transition: all 0.3s ease !important;
}
.ast-article-post:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* --- 3. ТЕКСТ СТАТТІ --- */
/* Акцент на першому абзаці */
body.single-post .entry-content p:first-of-type {
    font-size: 22px !important;
    color: #000 !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}

.ticker-wrapper {
    display: flex;
    background: #111;
    color: #fff;
    height: 45px;
    align-items: center;
    margin: 0;
    overflow: hidden;
}
.ticker-label {
    background: #c0392b;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 13px;
    z-index: 10;
    white-space: nowrap;
}
.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}
.ticker-items {
    display: flex;
    white-space: nowrap;
    animation: ticker-animation 40s linear infinite;
}
.ticker-item {
    padding: 0 50px;
    font-size: 15px;
}
.ticker-item a { color: #fff; text-decoration: none; font-weight: 500; }
.ticker-item a:hover { color: #c0392b; }

@keyframes ticker-animation {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
