﻿.list-content {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.list-container {
    margin-bottom: 40px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px dashed #ddd;
    transition: background-color 0.3s ease;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 4px;
}

.item-title {
    flex: 1;
    margin-right: 20px;
}

.item-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.item-title a:hover {
    color: var(--mainColor, #007bff);
}

.item-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

.pagination-container {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

#pagination {
    display: flex;
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.image-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.image-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-title {
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}