/* ===== Breadcrumb ===== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 50px 20px 0;
    font-size: 16px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-site {
    background: #60cdff;
    color: #000;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb-separator {
    color: #000;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* ===== Page Header ===== */
.page-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.page-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: #60cdff;
    z-index: -1;
}

/* ===== News List ===== */
.news-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.list-item {
    display: flex;
    gap: 20px;
    /*padding: 20px;*/
    margin-bottom: 22px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}

.list-item:hover {
    background: #fafafa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-width: 1px;
    border-style: solid;
    border-color: #60cdff;
}

.list-item-img {
    width: 280px;
    height: 157px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.list-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.list-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-item-title {
    font-size: 22px;
    /*font-weight: 600;*/
    color: #333;
    line-height: 1.5;
    margin-top: 15px;
}

.list-item-title a:hover {
    color: #0073dd;
}

.list-item-meta {
    font-size: 16px;
    color: #999;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.list-item-date {
    color: #a7a7a7;
}

.list-item-author {
    color: #a7a7a7;
}

/* ===== Pagination ===== */
.pagination {
    max-width: 1200px;
    margin: 40px auto 116px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn,
.page-num {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.page-btn:hover,
.page-num:hover {
    border-color: #60cdff;
    color: #60cdff;
}

.page-num.active {
    background: #60cdff;
    border-color: #60cdff;
    color: #fff;
    font-weight: 500;
}

.page-prev,
.page-next {
    font-weight: bold;
}

/* ===== list2 Content Layout ===== */
.content-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sidebar */
.sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 15px;
    transition: background 0.2s;
}

.sidebar-item.active,
.sidebar-item:hover {
    background: #0073dd;
    color: #fff;
}

.sidebar-arrow {
    font-size: 12px;
    color: #999;
}

.sidebar-item.active .sidebar-arrow,
.sidebar-item:hover .sidebar-arrow {
    color: #fff;
}

/* List Container */
.list-container {
    flex: 1;
}

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

.news-list2 a {
    text-decoration: none;
    color: inherit;
}

.list-item2 {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: background 0.3s, box-shadow 0.3s;
}

.list-item2:hover {
    background: #fafafa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.list-item2-img {
    width: 200px;
    height: 125px;
    flex-shrink: 0;
    overflow: hidden;
}

.list-item2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.list-item2:hover .list-item2-img img {
    transform: scale(1.05);
}

.list-item2-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.list-item2-title {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.list-item2-meta {
    font-size: 14px;
    color: #999;
    display: flex;
    gap: 15px;
}

/* Pagination2 */
.pagination2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn2,
.page-num2,
.page-ellipsis {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.page-num2.active {
    background: #60cdff;
    border-color: #60cdff;
    color: #fff;
    font-weight: 500;
}

.page-ellipsis {
    border: none;
    background: transparent;
    cursor: default;
}

.page-btn2:hover,
.page-num2:hover {
    border-color: #60cdff;
    color: #60cdff;
}

.page-prev2,
.page-next2 {
    font-weight: bold;
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 14px;
    }

    .breadcrumb-site {
        font-size: 14px;
    }

    .page-header {
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .list-item-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .list-item-title {
        font-size: 16px;
        margin-top: 10px;
    }

    .list-item-meta {
        font-size: 12px;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        margin: 25px auto 60px;
    }

    .page-btn,
    .page-num {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .content-layout {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar {
        width: 100%;
        display: flex;
        gap: 10px;
    }

    .sidebar-item {
        flex: 1;
        justify-content: center;
        gap: 8px;
        font-size: 14px;
        padding: 12px;
    }

    .list-item2 {
        flex-direction: column;
    }

    .list-item2-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .list-item2-content {
        padding: 12px;
    }

    .list-item2-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .list-item2-meta {
        font-size: 12px;
        flex-direction: column;
        gap: 4px;
    }

    .pagination2 {
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 25px;
    }

    .page-btn2,
    .page-num2 {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }

    .list-item-title {
        font-size: 15px;
    }

    .list-item {
        padding: 12px;
    }

    .list-item2-title {
        font-size: 15px;
    }

    .sidebar-item {
        font-size: 13px;
        padding: 10px;
    }
}
/* ===== Dynamic Loading States ===== */
.empty-state,
.loading-spinner,
.no-more {
    display: none;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-text {
    font-size: 16px;
    color: #999;
}

.loading-spinner {
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073dd;
    border-radius: 50%;
    animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-more {
    text-align: center;
    padding: 32px 20px;
    color: #999;
    font-size: 14px;
}

.load-more {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner.active,
.no-more.active,
.empty-state.active {
    display: block;
}
