@charset "utf-8";

/* 새글 스킨 (latest) */
.lat {position:relative;margin-bottom:20px;background:#fff}
.lat .lat_title {display:block;line-height:45px;font-size:1.2em;color:#253dbe}
.lat .lat_title a {position:relative;color:#000;display:inline-block}

.lat ul {padding:10px 0}
.lat li {position:relative;line-height:18px;border-bottom:1px solid #e5ecee;margin-bottom:10px}
.lat li a {font-weight:bold;font-size:1.2em;line-height:20px;vertical-align:middle}
.lat li a:hover {color:#3a8afd}
.lat li .fa-heart {color:#ff0000}
.lat li .fa-lock {display:inline-block;line-height:14px;width:16px;font-size:0.833em;color:#4f818c;background:#cbe3e8;text-align:center;border-radius:2px;font-size:12px;border:1px solid #cbe3e8;vertical-align:middle}
.lat li .new_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#23db79;background:#b9ffda;text-align:center;border-radius:2px;margin-left:2px;font-weight:bold;vertical-align:middle}
.lat li .hot_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#ff0000;background:#ffb9b9;text-align:center;border-radius:2px;vertical-align:middle}
.lat li .fa-caret-right {color:#bbb}
.lat li .fa-download {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#daae37;background:#ffefb9;text-align:center;border-radius:2px;vertical-align:middle}
.lat li .fa-link {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#b451fd;background:#edd3fd;text-align:center;border-radius:2px;vertical-align:middle}

.lat .profile_img img{border-radius:50%}

.lt_info {padding:10px 0}
.lt_info .lt_nick {}
.lt_info .lt_date {color:#888}

.lat .empty_li {line-height:145px;color:#666;text-align:center;padding:0}
.lat .empty_li:before {background:none;padding:0}

.lat .lt_cmt {background:#e9eff5;color:#3a8afd;font-size:11px;height:16px;line-height:16px;padding:0 5px;border-radius:3px;vertical-align:middle}
.lat .lt_more {position:absolute;top:11px;right:0;display:block;width:40px;line-height:25px;color:#3a8afd;border-radius:3px;text-align:center}
.lat .lt_more:hover {color:#777}



/* FAQ Accordion 스타일 (최근글 위젯용) */
.lat-faq-list {
    margin: 10px 0;
}

.lat-faq-item {
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.lat-faq-header {
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: background 0.2s;
    position: relative;
}

.lat-faq-header:hover {
    background: #f8f9fa;
}

.lat-faq-header.faq-active {
    background: #f8f9fa;
    border-bottom: 1px solid #e1e4e8;
}

.lat-faq-q-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #D3E4F8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.3s ease;
}

.lat-faq-header.faq-active .lat-faq-q-icon {
    color: #D3E4F8;
    background: #A9BFD8;
}

.lat-faq-q-icon::after {
    content: 'Q';
}

.lat-faq-header.faq-active .lat-faq-q-icon::after {
    content: 'A';
}

.lat-faq-toggle-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666;
    transition: transform 0.4s ease;
}

.lat-faq-header.faq-active .lat-faq-toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

.lat-faq-content-area {
    flex: 1;
    min-width: 0;
}

.lat-faq-title {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 6px;
    line-height: 1.5;
    padding-right: 26px;
}

.lat-faq-meta {
    font-size: 12px;
    color: #868e96;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 부드러운 아코디언 애니메이션 */
.lat-faq-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

.lat-faq-body.faq-active {
    max-height: 2000px; /* 충분히 큰 값 */
    opacity: 1;
}

.lat-faq-answer {
    padding: 18px;
    background: #f8f9fa;
    border-top: 1px solid #e1e4e8;
}

.lat-faq-answer-label {
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 10px;
    font-size: 13px;
}

.lat-faq-answer-content {
    line-height: 1.7;
    color: #495057;
    font-size: 13px;
}

.lat-faq-answer-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.lat-faq-answer-more {
    margin-top: 12px;
    text-align: right;
}

.lat-badge {
    display: inline-block;
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 3px;
    margin-left: 5px;
    font-weight: 500;
    vertical-align: middle;
}

.lat-badge-notice {
    background: #D3E4F8;
    color: #fff;
}

.lat-badge-new {
    background: #ff5c5c;
    color: #fff;
}

.lat-badge-hot {
    background: #ffa94d;
    color: #fff;
}

.lat-empty {
    text-align: center;
    padding: 30px 10px;
    color: #868e96;
}