@charset "utf-8";

/* 새글 스킨: Pretendard 웹폰트를 불러옵니다. */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/* 새글 스킨: 상단 여백을 확보하고 Pretendard를 우선 적용합니다. */
#pb_new {
    max-width: 1020px;
    margin: 0 auto;
    padding: 35px 0 80px;
    color: #111827;
    font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Arial, sans-serif;
}

/* 새글 스킨: 제목을 상단에서 조금 내려 안정적으로 배치합니다. */
.pb-new-head h2 {
    margin: 0 0 35px;
    color: #9aa3b2;
    font-size: 18px;
    font-weight: 700;
}

.pb-new-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.pb-new-search-box {
    position: relative;
    width: min(400px, 100%);
}

.pb-new-search-box input {
    width: 100%;
    height: 60px;
    padding: 0 64px 0 30px;
    border: 1.5px solid #141414;
    border-radius: 999px;
    color: #8a22ff;
    font-size: 16px;
    font-weight: 900;
    outline: 0;
}

.pb-new-search-box button {
    position: absolute;
    top: 50%;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #101d3f;
    font-size: 23px;
    transform: translateY(-50%);
    cursor: pointer;
}

.pb-new-search p {
    margin: 0;
    color: #111827;
    font-size: 14px;
}

.pb-new-tabs {
    display: flex;
    gap: 22px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eceff4;
}

.pb-new-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 48px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.pb-new-tab.is-active {
    color: #9d22ff;
}

.pb-new-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: #9d22ff;
}

.admin_new_btn {
    display: flex;
    justify-content: flex-end;
    margin: 14px 0;
}

.admin_new_btn .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #d7dce6;
    border-radius: 8px;
    background: #fff;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.pb-new-list {
    border-top: 0;
}

.pb-new-item {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 28px 0 30px;
    border-bottom: 1px solid #eceff4;
}

.pb-new-check {
    flex: 0 0 26px;
    padding-top: 4px;
}

.pb-new-body {
    min-width: 0;
    flex: 1 1 auto;
}

.pb-new-body h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.pb-new-title {
    color: #111827;
    text-decoration: none;
}

.pb-new-title:hover {
    color: #8a22ff;
}

.pb-new-comment-label {
    margin-left: 6px;
    color: #98a2b3;
    font-size: 13px;
    font-weight: 800;
}

.pb-new-excerpt {
    overflow: hidden;
    display: -webkit-box;
    margin: 0 0 16px;
    color: #111827;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pb-new-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #8b95a6;
    font-size: 13px;
}

.pb-new-meta a {
    color: #111827;
    text-decoration: none;
}

.pb-new-author {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible !important;
}

.pb-new-author .sv_wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
}

.pb-new-author .sv_member,
.pb-new-author .sv_guest {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #667085 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.pb-new-author .profile_img {
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 5px !important;
    background: #eef2f7 !important;
}

.pb-new-author .profile_img img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 5px !important;
    object-fit: cover !important;
}

.pb-new-author .sv_wrap .sv,
.pb-new-author .sv_wrap:hover .sv {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    z-index: 10050 !important;
    display: none !important;
    width: 100px !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #2f3338 !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .22) !important;
    overflow: hidden !important;
}

.pb-new-author .sv_wrap .sv.pb-new-sv-open,
.pb-new-author .sv_wrap .sv.sv_on {
    display: block !important;
}

.pb-new-author .sv_wrap .sv::before {
    content: "" !important;
    position: absolute !important;
    top: -6px !important;
    left: 16px !important;
    width: 0 !important;
    height: 0 !important;
    border-right: 6px solid transparent !important;
    border-bottom: 6px solid #2f3338 !important;
    border-left: 6px solid transparent !important;
}

.pb-new-author .sv_wrap .sv a {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 9px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.pb-new-author .sv_wrap .sv a:hover,
.pb-new-author .sv_wrap .sv a:focus {
    background: #424242 !important;
    color: #fff !important;
}

.pb-new-board,
.pb-new-group,
.pb-new-type {
    font-weight: 800;
}

.empty_table {
    padding: 90px 0;
    color: #98a2b3;
    text-align: center;
}

#fnewlist .pg_wrap {
    margin-top: 56px;
    text-align: center;
}

#fnewlist .pg_page,
#fnewlist .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 3px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

#fnewlist .pg_current {
    border-color: #9d22ff;
    background: #9d22ff;
    color: #fff;
}

.selec_chk {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    outline: 0;
    z-index: -1;
    overflow: hidden;
}

.chk_box input[type="checkbox"]+label {
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #676e70;
}

.chk_box input[type="checkbox"]+label span {
    position: absolute;
    inset: 0;
    display: block;
    background: #fff;
    border: 1px solid #d0d4df;
    border-radius: 4px;
}

.chk_box input[type="checkbox"]:checked+label span {
    background: #9d22ff;
    border-color: #9d22ff;
}

@media (max-width: 768px) {

    /* 모바일 새글 스킨: 제목이 헤더에 붙지 않도록 상단 여백을 유지합니다. */
    #pb_new {
        padding: 36px 18px 60px;
    }

    .pb-new-head h2 {
        margin-bottom: 28px;
    }

    .pb-new-item {
        padding: 24px 0;
    }
}