/**
 * Style dla strony archiwum pokazów fajerwerków
 * Lista wąska w pionie
 */

.fw-archive {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.fw-archive__header {
    margin-bottom: 3rem;
    text-align: center;
}

.fw-archive__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.fw-archive__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.fw-archive__item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    min-height: 150px;
}

.fw-archive__item:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(255, 255, 255, 0.12),
                0 0 40px rgba(255, 140, 0, 0.15);
}

.fw-archive__item-image {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    background: #0f0f1a;
}

.fw-archive__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fw-archive__item:hover .fw-archive__item-image img {
    transform: scale(1.1);
}

.fw-archive__item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fw-archive__item-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.fw-archive__item-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fw-archive__item-title a:hover {
    color: #ffa500;
}

.fw-archive__item-description {
    color: #b8b8c8;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fw-archive__item-sidebar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-width: 180px;
}

.fw-archive__item-price {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ffd700 100%);
    color: #1a1a2e;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.fw-archive__item-price-value {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.fw-archive__item-price-currency {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
}

.fw-archive__item-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ffd700 100%);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    white-space: nowrap;
}

.fw-archive__item-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
    color: #1a1a2e;
    text-decoration: none;
}

.fw-archive__empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
    font-size: 1.1rem;
}

/* Paginacja */
.fw-archive .wp-pagenavi,
.fw-archive .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.fw-archive .wp-pagenavi a,
.fw-archive .wp-pagenavi span,
.fw-archive .pagination a,
.fw-archive .pagination span {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.fw-archive .wp-pagenavi a:hover,
.fw-archive .pagination a:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ffd700 100%);
    color: #1a1a2e;
    border-color: transparent;
}

.fw-archive .wp-pagenavi .current,
.fw-archive .pagination .current {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ffd700 100%);
    color: #1a1a2e;
    border-color: transparent;
}

/* Responsywność */
@media (max-width: 768px) {
    .fw-archive {
        padding: 1rem;
    }
    
    .fw-archive__title {
        font-size: 2rem;
    }
    
    .fw-archive__item {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        min-height: auto;
    }
    
    .fw-archive__item-image {
        width: 100%;
        height: 200px;
    }
    
    .fw-archive__item-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-width: auto;
    }
    
    .fw-archive__item-button {
        flex: 1;
    }
}
