.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    margin: 20px 0;
}

#js_series01Article > article > a {
    text-decoration: none;
    color: inherit; 
    display: flex; 
    flex-direction: column; 
    height: 100%;
}

.article-card {
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.article-card.filtered-out {
    display: none !important;
}

.article-image {
    width: auto;
    height: 280px;
    /* object-fit: fill; */
    object-fit: contain;
    border: 1px solid #f0f0f0;
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin: 5px 0 10px 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #004597;
}

.article-space {
    flex: 1;
}

.article-categories {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-tag {
    background: #f0f8ff;
    color: #004597;
    padding: 1px 5px;
    border-radius: 5px;
    font-size: 12px;
}

.article-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.article-number {
    font-weight: bold;
    color: #004597;
}

.article-date {
    color: #999;
}

.un_series01_filter {
    display: flex;
    border-radius: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0 40px 0;
}

.un_series01_filter label {
    position: relative;
    cursor: pointer;
}

.un_series01_filter input[type="checkbox"]:checked+span {
    background-color: #004597;
    color: #FFF;
    transform: scale(1.05);
}

.un_series01_filter span {
    display: inline-block;
    padding-top: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 0.5em;
    border: 1px solid #004597;
    border-radius: 5px;
    font-size: 14px;
    color: #004597;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.un_series01_filter span:hover {
    background-color: #e6f2ff;
    transform: translateY(-1px);
}

.un_series01_filter input[type="checkbox"] {
    display: none;
}

.no-selection-message {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    border-radius: 8px;
    margin: 20px auto;
}

.no-selection-message .message-content {
    text-align: center;
    color: #6c757d;
}

.no-selection-message .message-content p {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.js_pagination_nav {
    margin-top: 30px;
    text-align: center;
}

.js_pagination_nav.hidden {
    display: none !important;
}

.bl_singleTtl_tag > li:nth-child(n+3) > a {
  background-color: #f0f8ff;
  color: #004597;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .article-title {
        font-size: 15px;
    }

    .article-footer {
        font-size: 12px;
    }

    .no-selection-message {
        min-height: 120px;
        margin: 15px 0;
    }

    .no-selection-message .message-content p {
        font-size: 16px;
    }
    .article-image {
        height: 240px;
    }

}