/* ==============================
   Tag List Page
================================= */

.tag-list-page {
    padding: 60px 0;
}

.tag-list-head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    padding: 36px;
    background: #f3f4f6;
    border-radius: 28px;
}

.tag-list-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: #0035cd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    flex-shrink: 0;
}

.tag-list-title span {
    display: inline-block;
    margin-bottom: 8px;
    color: #0035cd;
    font-size: 15px;
    font-weight: 700;
}

.tag-list-title h1 {
    margin: 0;
    color: #07111f;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
}

.tag-list-title p {
    margin: 12px 0 0;
    color: #5f6b7a;
    font-size: 16px;
    line-height: 28px;
}

.tag-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.tag-list-item {
    display: block;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
    transition: all .25s ease;
}

.tag-list-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(0, 53, 205, 0.16);
}

.tag-list-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.tag-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all .35s ease;
}

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

.tag-list-info {
    padding: 24px;
}

.tag-list-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #0035cd;
    font-size: 14px;
    font-weight: 600;
}

.tag-list-info h2 {
    margin: 0 0 12px;
    color: #07111f;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;
}

.tag-list-info p {
    margin: 0;
    color: #5f6b7a;
    font-size: 15px;
    line-height: 26px;
}

.tag-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0f5;
}

.tag-list-meta em {
    color: #6b7280;
    font-size: 13px;
    font-style: normal;
}

.tag-list-meta i {
    margin-right: 5px;
    color: #0035cd;
}

.tag-pagination {
    margin-top: 42px;
    text-align: center;
}

.tag-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 4px;
    padding: 0 14px;
    border-radius: 50px;
    background: #f3f4f6;
    color: #222e4d;
    font-size: 15px;
    font-weight: 600;
}

.tag-pagination .page-numbers.current,
.tag-pagination .page-numbers:hover {
    background: #0035cd;
    color: #fff;
}

.tag-empty {
    grid-column: 1 / -1;
    padding: 50px;
    background: #f3f4f6;
    border-radius: 22px;
    color: #666;
    text-align: center;
}

@media (max-width: 1024px) {
    .tag-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tag-list-page {
        padding: 36px 0;
    }

    .tag-list-head {
        display: block;
        padding: 28px;
    }

    .tag-list-icon {
        margin-bottom: 18px;
    }

    .tag-list-title h1 {
        font-size: 28px;
    }

    .tag-list-grid {
        grid-template-columns: 1fr;
    }

    .tag-list-img {
        height: 210px;
    }
}