@charset "utf-8";

#container {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#ctt_himg {
    display: none;
}

#ctt.jc-newslist {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

#ctt.jc-newslist .jc-newslist-contents {
    width: 100%;
    padding: 120px 96px 144px;
    background: #ffffff;
}

#ctt.jc-newslist .jc-newslist-contents-inner {
    width: min(1248px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

#ctt.jc-newslist .jc-newslist-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

#ctt.jc-newslist .jc-newslist-title {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f1f2f;
}

#ctt.jc-newslist .jc-newslist-meta {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: #617286;
}

#ctt.jc-newslist .jc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 32px;
}

#ctt.jc-newslist .jc-news-card {
    min-width: 0;
}

#ctt.jc-newslist .jc-news-card-admin {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

#ctt.jc-newslist .jc-news-card-admin__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: #f1f5f9;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #334155;
    text-decoration: none;
}

#ctt.jc-newslist .jc-news-card-admin__link:hover,
#ctt.jc-newslist .jc-news-card-admin__link:focus-visible {
    background: #e2e8f0;
    color: #0f172a;
}

#ctt.jc-newslist .jc-news-card-admin__link.is-danger {
    background: #fee2e2;
    color: #dc2626;
}

#ctt.jc-newslist .jc-news-card-admin__link.is-danger:hover,
#ctt.jc-newslist .jc-news-card-admin__link.is-danger:focus-visible {
    background: #fecaca;
    color: #b91c1c;
}

#ctt.jc-newslist .jc-news-card-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    color: inherit;
}

#ctt.jc-newslist .jc-news-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 378.67 / 240;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ececec;
    background-image:
        linear-gradient(45deg, #dddddd 25%, transparent 25%),
        linear-gradient(-45deg, #dddddd 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #dddddd 75%),
        linear-gradient(-45deg, transparent 75%, #dddddd 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

#ctt.jc-newslist .jc-news-thumb.has-image {
    background: #f3f3f3;
}

#ctt.jc-newslist .jc-news-thumb img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#ctt.jc-newslist .jc-news-card-link:hover .jc-news-thumb img,
#ctt.jc-newslist .jc-news-card-link:focus-visible .jc-news-thumb img {
    transform: scale(1.08);
}

#ctt.jc-newslist .jc-news-card-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#ctt.jc-newslist .jc-news-card-cate {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: var(--jc-orange-100, #fff2ed);
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: var(--jc-orange-600, #F29712);
}

#ctt.jc-newslist .jc-news-card-date {
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #6f7f91;
}

#ctt.jc-newslist .jc-news-card-title {
    margin: 0;
    width: 100%;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f1f2f;
    transition: color 0.2s ease;
}

#ctt.jc-newslist .jc-news-card-link:hover .jc-news-card-title,
#ctt.jc-newslist .jc-news-card-link:focus .jc-news-card-title {
    color: var(--jc-orange-600, #F29712);
}

#ctt.jc-newslist .jc-news-card-desc {
    margin: 0;
    width: 100%;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
    color: #32475b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#ctt.jc-newslist .jc-newslist-empty {
    margin: 0;
    padding: 84px 24px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #ececec;
    background: #f9f9f9;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #4d6277;
}

#ctt.jc-newslist .jc-newslist-paging {
    margin-top: 16px;
}

#ctt.jc-newslist .jc-newslist-paging .pg_wrap {
    clear: both;
    float: none;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    text-align: center;
}

#ctt.jc-newslist .jc-newslist-paging .pg {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

#ctt.jc-newslist .jc-newslist-paging .pg_page,
#ctt.jc-newslist .jc-newslist-paging .pg_current {
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid #d5dfeb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

#ctt.jc-newslist .jc-newslist-paging .pg_page {
    color: #445669;
    background: #fff;
}

#ctt.jc-newslist .jc-newslist-paging .pg_page:hover {
    color: var(--jc-orange-600, #F29712);
    border-color: var(--jc-orange-600, #F29712);
}

#ctt.jc-newslist .jc-newslist-paging .pg_current {
    color: #fff;
    background: var(--jc-orange-600, #F29712);
    border-color: var(--jc-orange-600, #F29712);
    font-weight: 700;
}

#ctt.jc-newslist .jc-newslist-paging .pg_start,
#ctt.jc-newslist .jc-newslist-paging .pg_prev,
#ctt.jc-newslist .jc-newslist-paging .pg_end,
#ctt.jc-newslist .jc-newslist-paging .pg_next {
    position: relative;
    padding: 0;
    overflow: hidden;
}

#ctt.jc-newslist .jc-newslist-paging .pg_start::before,
#ctt.jc-newslist .jc-newslist-paging .pg_start::after,
#ctt.jc-newslist .jc-newslist-paging .pg_prev::before,
#ctt.jc-newslist .jc-newslist-paging .pg_end::before,
#ctt.jc-newslist .jc-newslist-paging .pg_end::after,
#ctt.jc-newslist .jc-newslist-paging .pg_next::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

#ctt.jc-newslist .jc-newslist-paging .pg_prev::before {
    left: 50%;
    transform: translate(-35%, -50%) rotate(-135deg);
}

#ctt.jc-newslist .jc-newslist-paging .pg_next::before {
    left: 50%;
    transform: translate(-65%, -50%) rotate(45deg);
}

#ctt.jc-newslist .jc-newslist-paging .pg_start::before {
    left: 50%;
    transform: translate(-1px, -50%) rotate(-135deg);
}

#ctt.jc-newslist .jc-newslist-paging .pg_start::after {
    left: 50%;
    transform: translate(6px, -50%) rotate(-135deg);
}

#ctt.jc-newslist .jc-newslist-paging .pg_end::before {
    left: 50%;
    transform: translate(-8px, -50%) rotate(45deg);
}

#ctt.jc-newslist .jc-newslist-paging .pg_end::after {
    left: 50%;
    transform: translate(-1px, -50%) rotate(45deg);
}

@media (max-width: 1279px) {
    #ctt.jc-newslist .jc-newslist-contents {
        padding: 96px 40px 112px;
    }

    #ctt.jc-newslist .jc-newslist-title {
        font-size: 36px;
    }

    #ctt.jc-newslist .jc-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 24px;
    }

    #ctt.jc-newslist .jc-news-card-title {
        font-size: 22px;
    }
}

@media (min-width: 1025px) and (max-width: 1439px) {
    #ctt.jc-newslist .jc-newslist-contents {
        padding: 96px 80px 120px;
    }

    #ctt.jc-newslist .jc-newslist-contents-inner {
        width: 100%;
        max-width: 1200px;
    }

    #ctt.jc-newslist .jc-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(32px, 2.6vw, 40px) clamp(20px, 2vw, 28px);
    }

    #ctt.jc-newslist .jc-news-card-link {
        gap: clamp(14px, 1.3vw, 18px);
    }

    #ctt.jc-newslist .jc-news-card-title {
        font-size: clamp(20px, 1.6vw, 22px);
        line-height: 1.35;
    }

    #ctt.jc-newslist .jc-news-card-desc {
        font-size: clamp(14px, 1.2vw, 15px);
        line-height: 1.55;
    }
}

@media (max-width: 768px) {
    #ctt.jc-newslist .jc-newslist-contents {
        padding: 72px 20px 96px;
    }

    #ctt.jc-newslist .jc-newslist-contents-inner {
        gap: 32px;
    }

    #ctt.jc-newslist .jc-newslist-title {
        font-size: 30px;
    }

    #ctt.jc-newslist .jc-news-grid {
        gap: 30px 16px;
    }

    #ctt.jc-newslist .jc-news-card-link {
        gap: 14px;
    }

    #ctt.jc-newslist .jc-news-card-title {
        font-size: 20px;
    }

    #ctt.jc-newslist .jc-news-card-desc {
        font-size: 15px;
        line-height: 1.55;
    }
}

@media (max-width: 640px) {
    #ctt.jc-newslist .jc-newslist-contents {
        padding: 60px var(--jc-mobile-side, clamp(20px, 8.89vw, 32px)) 84px;
    }

    #ctt.jc-newslist .jc-newslist-contents-inner {
        width: 100%;
        max-width: var(--jc-mobile-content-width, 360px);
        margin: 0 auto;
        min-width: 0;
    }

    #ctt.jc-newslist .jc-newslist-head,
    #ctt.jc-newslist .jc-newslist-paging,
    #ctt.jc-newslist .jc-newslist-paging .pg_wrap,
    #ctt.jc-newslist .jc-newslist-paging .pg {
        min-width: 0;
        max-width: 100%;
    }

    #ctt.jc-newslist .jc-newslist-paging .pg {
        width: 100%;
    }

    #ctt.jc-newslist .jc-newslist-title {
        font-size: 26px;
    }

    #ctt.jc-newslist .jc-news-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    #ctt.jc-newslist .jc-newslist-paging .pg {
        gap: 5px;
    }
}
