@charset "utf-8";

/* 최신글 (목록 카드) */
.g7-lat {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    background: var(--m-surface);
    box-shadow: var(--m-shadow-xs);
    transition: box-shadow .2s ease, transform .2s ease;
}
.g7-lat:hover {
    box-shadow: var(--m-shadow);
    transform: translateY(-2px);
}
.g7-lat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.g7-lat-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.g7-lat-title a { color: var(--m-text); }
.g7-lat-title a:hover { color: var(--m-primary); }
.g7-lat-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--m-surface-2);
    color: var(--m-muted);
    font-size: 12px;
}
.g7-lat-more:hover {
    background: var(--m-primary-soft);
    color: var(--m-primary);
}
.g7-lat-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.g7-lat-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--m-border);
    font-size: 14px;
}
.g7-lat-list li:last-child { border-bottom: 0; }
.g7-lat-subject {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--m-text-soft);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.g7-lat-subject:hover { color: var(--m-primary); }
.g7-lock { color: var(--m-muted); font-size: 12px; }
.g7-date {
    flex: 0 0 auto;
    color: var(--m-muted);
    font-size: 12px;
}
.g7-cmt,
.g7-new {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.g7-cmt { background: var(--m-surface-2); color: var(--m-muted); }
.g7-new { background: var(--m-danger); color: #fff; }
.g7-empty { color: var(--m-muted); }
