@charset "utf-8";

.board_wrap {max-width: 800px; margin: 0 auto;}

/* 최근게시물 스킨 (new) — 하단 검색: theme-variables.css */
#new_sch {
    background: var(--color-bg-body, #fff);
    text-align: center;
    margin: 10px 0;
    border-bottom: 1px solid var(--color-border, #e0e6e0);
    box-sizing: border-box;
}
#new_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#new_sch form {padding:15px}
#new_sch select {
    float: left;
    border: 1px solid var(--color-border-input, #c8d1c8);
    width: 49.5%;
    height: 45px;
    padding: 0 8px;
    border-radius: 0;
    background: var(--color-bg-input, #fff);
    color: var(--color-text, #1a231a);
    box-sizing: border-box;
}
#new_sch select#gr_id {margin-right:1%}
#new_sch .ipt_sch {clear:both;position:relative;padding-top:10px}
#new_sch .frm_input {
    border: 1px solid var(--color-border-input, #c8d1c8);
    width: 100%;
    height: 45px;
    border-radius: 0;
    background: var(--color-bg-input, #fff);
    color: var(--color-text, #1a231a);
    box-sizing: border-box;
}
#new_sch .sch_wr {position:relative;display:inline-block}
#new_sch .btn_submit {
    position: absolute;
    top: 10px;
    right: 0;
    padding: 0 10px;
    height: 45px;
    width: 45px;
    font-size: 1.4em;
    font-weight: bold;
    color: var(--color-accent, #2d6a3e);
    background: transparent;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}
#new_sch p {
    padding: 14px 12px;
    font-size: 1.08em;
    line-height: 1.45;
    text-align: center;
    background: var(--color-bg-sub, #f7f9f7);
    color: var(--color-text, #1a231a);
    letter-spacing: -0.02em;
}
#new_sch p .new_sch_note {
    color: var(--color-text-muted, #6b756b);
    font-weight: normal;
}

.new_list li {padding:15px;background:#fff;border-bottom:1px solid #e8eaee}

.list_item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.thumb_wrap {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 7px;
}

.thumb_img {
    width: 100%;
    height: 100%;
    border-radius: 7px;
}

.thumb_img img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border-radius: 7px;
}

.content_wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subject {
    font-size: 1.5em;
    font-weight: bold;
    margin: 2px 0;
}

.new_tit {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
    text-decoration: none;
}

.content {
    font-size: 1.15em;
    font-weight: 400;
    color: #777;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3em;
}

.info {
    font-size: 1.0em;
    color: #888;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.info i {
    margin-right: 3px;
}

.info .name {
    margin-right: 5px;
}

.info .profile_img img {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}


.new_board {
    background: #eeeaf8;
    color: #ac92ec;
    padding: 3px 5px;
    border-radius: 5px;
    font-size: 0.85em;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .subject {
        font-size: 1.35em;
    }
    
    .content {
        font-size: 1.0em;
    }
}

@media screen and (max-width: 480px) {
    .thumb_wrap {
        width: 90px;
        height: 90px;
    }
    
    .subject {
        font-size: 1.2em;
    }
    
    .content {
        font-size: 0.95em;
    }
    
    .info {
        font-size: 0.85em;
    }
}
