/* =====================================================
   Infinite Scroll для DLE 20.0 — стили
   Файл: templates/newsagency/css/infinitescroll.css
   ===================================================== */

/* Разделитель между новостями */
.is-separator {
    display: flex;
    align-items: center;
    margin: 30px 0 20px;
    color: #95a5a6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.is-separator::before,
.is-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}
.is-separator::before { margin-right: 12px; }
.is-separator::after  { margin-left:  12px; }

/* Анимация появления подгружаемых статей */
.is-article {
    animation: isFadeIn 0.4s ease forwards;
    opacity: 0;
}
@keyframes isFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Спиннер загрузки */
.is-spinner {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}
.is-spinner-inner {
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: isRotate 0.8s linear infinite;
}
@keyframes isRotate {
    to { transform: rotate(360deg); }
}

/* Кнопка «Читать полностью» */
.is-readmore {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    background: #3498db;
    color: #fff !important;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.is-readmore:hover {
    background: #2980b9;
}

/* Метка категории */
.is-cat {
    font-weight: 600;
    color: #3498db;
}
