/* 컨테이너 */
.ti-container {
    max-width: 950px;
    margin: 0 auto;
    font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
    color: #333;
    padding-bottom: 100px;
}

.ti-header img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

.ti-content-wrap {
    padding: 0 40px;
}

/* 타이틀 & 요약 */
.ti-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.ti-summary {
    background-color: #f9f9f9;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 그리드 */
.ti-invisible-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.ti-col {
    min-width: 0;
}

.ti-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.ti-center-abs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0 10px;
}

/* 태그, 인용구, 구분선 */
.ti-tags {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.ti-quote {
    position: relative;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 15px;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

.ti-quote::after {
    content: "";
    position: absolute;
    bottom: 10px;
    width: 15px;
    height: 15px;
    background-color: #f9f9f9;
    transform: rotate(45deg);
    border: 1px solid #ddd;
}

.ti-quote-left::after {
    left: -8px;
    border-right: none;
    border-top: none;
}

.ti-quote-right::after {
    right: -8px;
    border-left: none;
    border-bottom: none;
}

.ti-divider {
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* 이름 */
.ti-name {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #333 !important;
    text-decoration: none !important;
}

.ti-name::before {
    content: "📜";
    margin-right: 5px;
}

/* 정보 행 */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px 0 50px;
    width: 100%;
    gap: 20px;
}

.dday-box {
    flex: 1;
    height: 60px;
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    background: #f0f2f3;
    padding: 0 30px;
    border-radius: 12px;
    box-sizing: border-box;
}

/* 오디오 플레이어 */
.audio-player {
    flex: 1;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f0f2f3;
    padding: 0 20px;
    border-radius: 12px;
    position: relative;
    box-sizing: border-box;
}

.play-pause-btn {
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.9rem;
    flex-shrink: 0;
    padding: 0;
}

.time-display {
    font-size: 0.75rem;
    color: #444;
    min-width: 65px;
    text-align: center;
    flex-shrink: 0;
}

.progress-container {
    flex-grow: 1;
    height: 4px;
    background: #ccc;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: 2px;
}

.volume-wrap {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 5px;
}

.vol-icon {
    color: #aaa;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.vol-icon:hover {
    color: #555;
}

.vol-slider {
    width: 0;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    accent-color: #aaa;
    transition: all 0.3s ease;
    margin-left: 0;
}

.vol-slider.active {
    width: 60px;
    opacity: 1;
    visibility: visible;
    margin-left: 8px;
}

/* 섹션 */
.sec-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.sec-hr {
    border: 0;
    height: 1px;
    background: #eee;
    margin-bottom: 40px;
}

.log-details summary {
    list-style: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
}

.log-details summary::before {
    content: "▼";
    margin-right: 12px;
    font-size: 0.7rem;
}

.log-content {
    padding: 25px;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    background: #fafafa;
    border-radius: 12px;
    margin-top: 15px;
}

/* 이미지 갤러리 */
.image-gallery-sec {
    margin: 50px 0 30px;
}

.log-slider {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #eee;
}

.log-slider .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.img-credit {
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 10px;
    font-family: 'Nanum Myeongjo', serif;
}

/* 네비게이션 버튼 */
.nav-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
}

.nav-btn {
    background: #f0f2f3;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #f0f0f0;
}

/* swiper 공통 */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}