@charset "utf-8";
/* 2단 메인 레이아웃 컨테이너 */
.kresim-dual-wrapper {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1180px; /* (540px * 2) + gap 40px */
    margin: 2rem auto;
}

@media (min-width: 768px) {
    .kresim-dual-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 각 게시판 박스 공통 UI (가로폭 540px 고정 및 디자인 통일) */
.kresim-board-box {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem; /* 16px */
    padding: 1.25rem; /* 20px */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

/* 헤더 영역 */
.kresim-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f9fafb;
    padding-bottom: 0.875rem;
    margin-bottom: 1rem;
}

.kresim-board-title {
    font-size: 1rem; /* 16px */
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kresim-board-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
}

/* 우측 상단 서브 배지 및 더보기 */
.kresim-header-badge {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    background-color: #f9fafb;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
}

/* 리스트 컴포넌트 */
.kresim-item-list {
    display: flex;
    flex-col: column;
    flex-direction: column;
    gap: 0.625rem; /* 10px 간격 일치 */
    padding: 0;
    margin: 0;
    list-style: none;
}

.kresim-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: rgba(249, 250, 251, 0.4);
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem; /* 12px */
    transition: background-color 0.15s ease;
}

.kresim-item-row:hover {
    background-color: #f9fafb;
}

/* 내부 정렬 레이아웃 */
.kresim-meta-left, .kresim-meta-right {
    display: flex;
    align-items: center;
}
.kresim-meta-left { gap: 0.5rem; }
.kresim-meta-right { gap: 1rem; }

/* 텍스트 및 전용 폭 지정 */
.kresim-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    width: 70px; /* 명수, 타이틀 간 격차 동기화 */
}

.kresim-board-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.kresim-board-link:hover {
    color: #2563eb;
}

/* 배지 공통 스펙 */
.kresim-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.kresim-status-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    min-w: 54px;
    text-align: center;
}

/* 데이터가 없을 때 */
.kresim-empty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 1px dashed #f3f4f6;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
}


.hero-content h3,
.hero-content p{
    color:#fff;
    text-shadow:
        0 2px 4px rgba(0,0,0,.8),
        0 0 20px rgba(0,0,0,.5);
}