@charset "utf-8";

/* [ 1. 리스트 페이지 썸네일 크기 강제 고정 ] */
.timeline-item .ratio {
    width: 100% !important;
    max-width: 100% !important;
    height: 250px !important; /* 리스트 이미지 높이 고정 */
    overflow: hidden !important;
    background: #f8f9fa;
}

.timeline-item .img-fit { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    display: block !important;
}

/* [ 2. 타임라인 구조 보호 ] */
.timeline-wrapper { position: relative; padding: 20px 0 150px 0; overflow: hidden; width: 100%; clear: both; }
.timeline-wrapper::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: #e9ecef; transform: translateX(-50%); z-index: 1;
}
.timeline-item { position: relative; width: 100%; display: flex; margin-bottom: 60px; z-index: 2; clear: both; }

@media (min-width: 769px) {
    .t-left { justify-content: flex-start; }
    .t-right { justify-content: flex-end; margin-top: 100px; }
    .t-left .t-content { width: 44.5%; margin-right: auto; }
    .t-right .t-content { width: 44.5%; margin-left: auto; }
}

/* 캘린더 마커 */
.t-marker-calendar { position: absolute; left: 50%; top: 0; width: 75px; height: 95px; background: #fff !important; border: 1px solid #dee2e6 !important; border-radius: 12px; text-align: center; transform: translateX(-50%); z-index: 10; box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important; overflow: hidden; }
.cal-month { background: #0d6efd !important; color: #fff !important; font-size: 14px; font-weight: bold; padding: 6px 0; }
.cal-day { display: block; font-size: 32px; font-weight: 900; color: #ff4757 !important; line-height: 1.1; padding-top: 6px; }
.cal-year { display: block; font-size: 12px; font-weight: 800 !important; color: #666 !important; padding-bottom: 6px; }

/* [ 3. 버튼 3D 효과 ] */
.btn-3d { border-bottom: 3px solid rgba(0,0,0,0.2) !important; transition: all 0.1s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.btn-3d:active { transform: translateY(2px); border-bottom-width: 1px !important; }

/* [ 4. 뷰 페이지 본문 이미지 스타일 ] */
.view-content img {
    display: block !important;
    max-width: 100% !important; /* 본문 너비를 넘지 않음 */
    height: auto !important;
    margin: 30px auto !important;
    border-radius: 12px;
}