@charset "UTF-8";

.tpl-scope-article_list {
    padding: 60px 0 100px;
    background-color: #FFFFFF;
}

.tpl-scope-article_list .tpl-grid {
    display: grid;
    gap: 20px;
}

.tpl-scope-article_list .tpl-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tpl-scope-article_list .tpl-reveal.tpl-reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.tpl-scope-article_list .tpl-news-list-grid .tpl-reveal:nth-child(3n+1) { transition-delay: 0s; }
.tpl-scope-article_list .tpl-news-list-grid .tpl-reveal:nth-child(3n+2) { transition-delay: 0.1s; }
.tpl-scope-article_list .tpl-news-list-grid .tpl-reveal:nth-child(3n+3) { transition-delay: 0.2s; }

.tpl-scope-article_list .tpl-card {
    background-color: #FFFFFF;
    border-radius: 4px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tpl-scope-article_list .tpl-news-list-toggle {
    display: none;
}

.tpl-scope-article_list .tpl-news-list-panel {
    display: block;
}

.tpl-scope-article_list .tpl-news-list-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin-bottom: 44px;
    scrollbar-width: none;
}

.tpl-scope-article_list .tpl-news-list-tabs::-webkit-scrollbar {
    display: none;
}

.tpl-scope-article_list .tpl-news-list-tab {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background-color: #F3F4F6;
    color: #374151;
    font-size: 18px;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tpl-scope-article_list .tpl-news-list-tab:hover {
    background-color: #FFE7CC;
    color: #c96700;
}

.tpl-scope-article_list .tpl-news-list-tab.is-active {
    background-color: #FF8800;
    color: #FFFFFF;
}

.tpl-scope-article_list .tpl-news-list-grid {
    grid-template-columns: repeat(3, 1fr);
}

.tpl-scope-article_list .tpl-news-list-card {
    display: block;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    border: 1px solid #EAECEF;
}

.tpl-scope-article_list .tpl-news-list-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #111827;
}

.tpl-scope-article_list .tpl-news-list-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tpl-scope-article_list .tpl-news-list-card:hover .tpl-news-list-card-img img {
    transform: scale(1.08);
}

.tpl-scope-article_list .tpl-news-list-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 24, 39, 0.35);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tpl-scope-article_list .tpl-news-list-card:hover .tpl-news-list-card-overlay {
    opacity: 1;
}

.tpl-scope-article_list .tpl-news-list-card-overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #111827;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tpl-scope-article_list .tpl-news-list-card:hover .tpl-news-list-card-overlay-btn {
    opacity: 1;
    transform: translateY(0);
}

.tpl-scope-article_list .tpl-news-list-card-body {
    padding: 24px 20px 26px;
}

.tpl-scope-article_list .tpl-news-list-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tpl-scope-article_list .tpl-news-list-card-cat {
    color: #9CA3AF;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tpl-scope-article_list .tpl-news-list-card-sep {
    width: 20px;
    height: 2px;
    background-color: #FF8800;
    flex-shrink: 0;
}

.tpl-scope-article_list .tpl-news-list-card-date {
    color: #9CA3AF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tpl-scope-article_list .tpl-news-list-card-title {
    color: #111827;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
}

.tpl-scope-article_list .tpl-news-list-card-excerpt {
    color: #6B7280;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tpl-scope-article_list .tpl-news-list-card-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 22px;
    z-index: 1;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tpl-scope-article_list .tpl-news-list-card-more::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #FF8800;
    z-index: -1;
    opacity: 0;
    transform: translate(0, 0);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tpl-scope-article_list .tpl-news-list-card:hover .tpl-news-list-card-more {
    background-color: #FF8800;
    color: #FFFFFF;
    border-color: #FF8800;
}

.tpl-scope-article_list .tpl-news-list-card:hover .tpl-news-list-card-more::after {
    opacity: 1;
    transform: translate(6px, 6px);
}

.tpl-scope-article_list .tpl-news-list-empty {
    text-align: center;
    color: #6B7280;
    padding: 80px 0;
}

.tpl-scope-article_list .tpl-pager {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.tpl-scope-article_list .tpl-pager .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tpl-scope-article_list .tpl-pager .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 50%;
    background-color: #F9FAFB;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #E5E7EB;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tpl-scope-article_list .tpl-pager .page-item .page-link:hover {
    border-color: #FF8800;
    color: #FF8800;
}

.tpl-scope-article_list .tpl-pager .page-item.active .page-link {
    background-color: #FF8800;
    border-color: #FF8800;
    color: #FFFFFF;
}

.tpl-scope-article_list .tpl-pager .page-link.prev,
.tpl-scope-article_list .tpl-pager .page-link.next {
    position: relative;
    border-radius: 4px;
    width: auto;
    padding: 0 16px;
}

.tpl-scope-article_list .tpl-pager .page-link.prev::before,
.tpl-scope-article_list .tpl-pager .page-link.next::before {
    content: "";
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.tpl-scope-article_list .tpl-pager .page-link.prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.tpl-scope-article_list .tpl-pager .page-link.next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

@media (max-width: 991px) {
    .tpl-scope-article_list .tpl-news-list-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 18px;
        background-color: #F3F4F6;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        color: #111827;
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
        margin-bottom: 20px;
        transition: border-color 0.25s ease;
    }

    .tpl-scope-article_list .tpl-news-list-toggle:hover {
        border-color: #FF8800;
    }

    .tpl-scope-article_list .tpl-news-list-toggle-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tpl-scope-article_list .tpl-news-list-toggle-icon {
        flex-shrink: 0;
        margin-left: 12px;
        color: #FF8800;
        transition: transform 0.25s ease;
    }

    .tpl-scope-article_list .tpl-news-list-toggle[aria-expanded="true"] .tpl-news-list-toggle-icon {
        transform: rotate(180deg);
    }

    .tpl-scope-article_list .tpl-news-list-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .tpl-scope-article_list .tpl-news-list-panel.tpl-news-list-panel-open {
        max-height: 600px;
    }

    .tpl-scope-article_list .tpl-news-list-tabs {
        flex-direction: column;
        overflow-x: visible;
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 0;
        padding-bottom: 20px;
    }

    .tpl-scope-article_list .tpl-news-list-tab {
        width: 100%;
        justify-content: center;
        border-radius: 4px;
    }

    .tpl-scope-article_list .tpl-news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .tpl-scope-article_list {
        padding: 40px 0 60px;
    }

    .tpl-scope-article_list .tpl-news-list-grid {
        grid-template-columns: 1fr;
    }
}