/* ==================================================
   Novinky stránka
================================================== */

.news-block h3 {
    margin-bottom: 18px;
    font-size: 1.45rem;
    color: var(--text-color);
}

.news-list-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #e6edf7;
}

.news-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.news-content h4 {
    margin-bottom: 6px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.news-content p {
    color: #5f6b7a;
    line-height: 1.6;
}

.news-empty {
    padding: 16px 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.news-archive-list {
    margin-top: 16px;
}

.toggle-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #f4f8fd;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.toggle-btn:hover {
    background: #eaf2fb;
    transform: translateY(-1px);
}

/* ==================================================
   Responsive
================================================== */

@media (max-width: 900px) {
    .news-block h3 {
        font-size: 1.3rem;
    }

    .news-item {
        grid-template-columns: 105px 1fr;
        gap: 16px;
    }

    .news-content h4 {
        font-size: 1rem;
    }

    .news-empty {
        font-size: 0.93rem;
        line-height: 1.55;
    }

    .toggle-btn {
        margin-top: 14px;
    }

    .news-archive-list {
        margin-top: 14px;
    }
}

@media (max-width: 600px) {
    .news-block h3 {
        margin-bottom: 14px;
        font-size: 1.15rem;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 0;
    }

    .news-date {
        font-size: 0.82rem;
    }

    .news-content h4 {
        font-size: 0.98rem;
    }

    .news-content p,
    .news-empty {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .news-archive-list {
        margin-top: 12px;
    }

    .toggle-btn {
        width: 100%;
        margin-top: 12px;
        text-align: center;
        font-size: 0.88rem;
    }
}