/* Aktuality - Minimalistický vertikální design */

/* Wrapper pro aktuality s podporou sidebaru */
.aktuality-wrap {
    width: 100%;
}

/* Pokud je aktuality-wrap uvnitř with-sidebar layoutu, omezte max-width */
.obsah-gen.with-sidebar .aktuality-wrap .clanky-seznam-wrapper {
    max-width: none;
    margin: 0;
    padding: 20px;
}

.clanky-seznam-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Filtr kategorií */
.kategorie-filter {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-tlacitka {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--sediva_pozadi);
    color: var(--sediva_hlavni);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--sediva_ramecek);
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: var(--sediva_ramecek);
    border-color: var(--modra_ramecek);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-btn.active {
    background: var(--kategorie-color, var(--modra_hlavni));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(23, 94, 230, 0.3);
}

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 94, 230, 0.4);
}

/* Prázdný stav */
.prazdny-stav {
    text-align: center;
    padding: 80px 20px;
}

.prazdny-stav-obsah i {
    font-size: 4rem;
    color: #e9ecef;
    margin-bottom: 24px;
}

.prazdny-stav-obsah h3 {
    margin-bottom: 12px;
    color: #6c757d;
    font-weight: 600;
}

.prazdny-stav-obsah p {
    color: #adb5bd;
    margin-bottom: 32px;
}

/* Vertikální seznam článků */
.clanky-seznam {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.clanek-item {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 180px;
    position: relative;
}

.clanek-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.clanek-obrazek {
    position: relative;
    width: 280px;
    min-width: 280px;
    min-height: 180px;
    overflow: hidden;
    background: #f8f9fa;
    align-self: stretch;
}

.clanek-obrazek img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.clanek-item:hover .clanek-obrazek img {
    transform: scale(1.05);
}

.kategorie-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--modra_hlavni);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.clanek-obsah {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clanek-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #6c757d;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.meta-item i {
    color: #adb5bd;
    font-size: 0.9rem;
}

.clanek-nadpis {
    margin: 0 0 16px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.clanek-popis {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    font-size: 1rem;
}

.clanek-akce {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #667eea;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: auto;
    margin-bottom: 20px;
    gap: 8px;
}

.clanek-akce i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.clanek-item:hover .clanek-akce i {
    transform: translateX(4px);
}

/* Stránkování */
.strankovani {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 60px;
}

.strankovani-info {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.strankovani-tlacitka {
    display: flex;
    align-items: center;
    gap: 8px;
}

.strankovani-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.strankovani-btn:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.strankovani-btn.aktivni {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.strankovani-btn.disabled {
    background: transparent;
    border: none;
    color: #dee2e6;
    cursor: default;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clanky-seznam-wrapper {
        padding: 24px 16px;
    }
    
    .clanek-item {
        flex-direction: column;
        height: auto;
    }
    
    .clanek-obrazek {
        width: 100%;
        height: 200px;
    }
    
    .clanek-meta {
        gap: 16px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .clanek-nadpis {
        font-size: 1.2rem;
    }
    
    .filter-tlacitka {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .strankovani-tlacitka {
        gap: 4px;
    }
    
    .strankovani-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .strankovani {
        margin-top: 40px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .clanek-obrazek {
        height: 160px;
    }
    
    .clanek-obsah {
        padding: 24px;
    }
    
    .clanek-nadpis {
        font-size: 1.1rem;
    }
    
    .filter-tlacitka {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}