/*************************
    * Notice category filters
    * (pers_blog list filter 톤)
*************************/

.notice-list-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.notice-list-filter {
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(127, 127, 127, .12);
    color: inherit;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

.notice-list-filter:hover,
.notice-list-filter:focus {
    background: rgba(127, 127, 127, .2);
    outline: none;
}

.notice-list-filter.is-active {
    background: rgba(127, 127, 127, .32);
    font-weight: 600;
}

.notice-list-empty {
    padding: 48px 16px;
    text-align: center;
    opacity: .55;
    font-size: 14px;
}

/*************************
    * Notice list (board table)
*************************/

.notice-bo-list .bo_cate_link {
    font-weight: 600;
    margin-right: 4px;
}

.notice-subtext {
    margin-left: 6px;
    color: #888;
    font-size: 12px;
}

.notice-bo-list .theme-list thead th:first-child,
.notice-bo-list .theme-list thead th:last-child,
.notice-bo-list .theme-list .td_num,
.notice-bo-list .theme-list .td_date {
    text-align: center;
}

.notice-bo-list .empty_table {
    text-align: center;
    padding: 40px 8px;
}


/*************************
    * Notice Grid Styles
    * (pers_blog list card 톤에 맞춤)
*************************/

.notice-grid {
    display: grid;
    gap: 18px 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-card {
    display: block;
}

.notice-card-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(127, 127, 127, .18);
}

.notice-card-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.notice-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.notice-card:hover .notice-card-thumb img {
    transform: scale(1.04);
}

.notice-card-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: .04em;
    color: #fff;
    opacity: .35;
}

.notice-card-cat {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 3;
    font-size: 11px;
    line-height: 1;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
}

.notice-card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 36px 9px 9px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .48) 55%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
}

.notice-card-title {
    display: -webkit-box;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-decoration: none;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-card-sub {
    display: -webkit-box;
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .78);
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 520px) {
    .notice-grid {
        gap: 14px 10px;
    }
}
