
/* 이미지 흑백(Grayscale) 설정 효과 및 보더 */
.img-box-bw img {
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color);
    filter: grayscale(100%);
    transition: all 0.4s ease;
}
/* 마우스 호버 상태: 컬러로 복구 */
.img-box-bw img:hover {
    filter: grayscale(0%);
    transform: scale(1.02); /* 이미지가 2% 정도 살짝 커짐 */
    cursor: pointer;        /* 마우스 커서가 손가락 모양으로 변경 */
}

/* 전체 컨테이너 및 텍스트 설정 */
.list-wrapper {
    /*margin-top: 9rem !important;*/
    margin-top: 1rem;
    max-width: 900px;
    color: var(--bs-body-color);
}

/* 헤더 영역 */
.list-header-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bs-emphasis-color);
}

/* 신규 기록 추가 버튼 (기존 btn-bw-status와 통일) */
.btn-create-bw {
    height: 46px;
    padding: 0 1.5rem;
    display: inline-flex;
    align-items: center;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
[data-bs-theme='dark'] .btn-create-bw {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}
.btn-create-bw:hover {
    opacity: 0.8;
    transform: translateY(-1px);
    color: inherit;
}

/* 타임라인 레이아웃 */
.timeline-wrap {
    position: relative;
    padding: 2rem 0;
}

.timeline-item-new {
    display: flex;
    gap: 2rem;
    position: relative;
    padding-bottom: 3rem;
}

/* 타임라인 세로선 (테마 대응) */
.timeline-item-new::before {
    content: "";
    position: absolute;
    left: 105px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--bs-border-color);
}

.date-column {
    min-width: 90px;
    text-align: right;
    padding-top: 5px;
}

.date-year {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bs-emphasis-color);
}

.date-month {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    margin-top: 4px;
}

/* 타임라인 점 */
.timeline-dot-new {
    position: absolute;
    left: 101px;
    top: 15px;
    width: 9px;
    height: 9px;
    background-color: var(--bs-emphasis-color);
    border-radius: 50%;
    z-index: 2;
}

/* 콘텐츠 카드 스타일 */
.content-column {
    flex: 1;
    background-color: var(--bs-body-bg);
    transition: transform 0.2s ease;
}

.content-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.content-column h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-column p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--bs-body-color);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}


.edit-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    color: var(--bs-secondary-color);
    text-decoration: none;
}
.edit-badge:hover {
    background-color: var(--bs-emphasis-color);
    color: var(--bs-body-bg);
}