/* Blog Archive Page Styles */
.blog-archive-section {
    padding: 100px 0;
    background: #fff;
}

.blog-archive-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* Blog Grid - 2 Column */
.blog-archive-main .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--logisko-dark);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--logisko-red);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--logisko-red);
}

.search-form button {
    background: var(--logisko-red);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: var(--logisko-blue);
}

/* Widget List */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: 12px;
}

.widget-list a {
    color: var(--logisko-text);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.widget-list a:hover {
    color: var(--logisko-red);
    padding-left: 10px;
}

.widget-list a i {
    font-size: 10px;
    color: var(--logisko-red);
    margin-right: 10px;
}

.widget-list .count {
    color: var(--logisko-text);
    font-size: 12px;
    opacity: 0.7;
}

/* Recent Posts Widget */
.widget-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.widget-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-post-thumb:hover img {
    transform: scale(1.1);
}

.widget-post-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.widget-post-content h4 a {
    color: var(--logisko-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget-post-content h4 a:hover {
    color: var(--logisko-red);
}

.widget-post-date {
    font-size: 12px;
    color: var(--logisko-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.widget-post-date i {
    color: var(--logisko-red);
}

/* Tags Widget */
.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background: #f5f5f5;
    color: var(--logisko-text);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--logisko-red);
    color: #fff;
}

/* Pagination */
.blog-pagination {
    margin-top: 50px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 4px;
    color: var(--logisko-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--logisko-red);
    border-color: var(--logisko-red);
    color: #fff;
}

.blog-pagination .prev,
.blog-pagination .next {
    background: var(--logisko-blue);
    border-color: var(--logisko-blue);
    color: #fff;
}

.blog-pagination .prev:hover,
.blog-pagination .next:hover {
    background: var(--logisko-red);
    border-color: var(--logisko-red);
}

/* Responsive */
@media (max-width: 992px) {
    .blog-archive-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-archive-main .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-archive-section {
        padding: 60px 0;
    }

    .sidebar-widget {
        padding: 20px;
    }
}