@charset "utf-8";

#about-media .sub-cont-value {
    width: 100%;
	padding-top: var(--padding-40-160);
	padding-bottom: 0;
}

#about-media .media-wrapper {
    width: 100%;
    max-width: var(--max-width2);
    margin: 0 auto;
    position: relative;
}

/* 상단 타이틀 스타일 (좌측 정렬) */
#about-media .media-header {
    display: inline-block;
    margin-bottom: var(--padding-40-80);
    text-align: left;
}
#about-media .media-header .subtitle {
    display: flex;
    width: 100%;
    max-width: var(--max-width2);
    color: var(--main-color);
    font-size: var(--font-size-18-24);
    font-weight: 600;
    margin: 0 auto var(--padding-15-30);
}
#about-media .media-header :is(h1,h2) {
	font-size: var(--font-size-22-48);
    font-weight: 700;
    line-height: 1.4;
    color: var(--sub-color-1);
    margin-bottom: var(--padding-20-40);
}


.container {
    max-width: var(--max-width2);
    margin: 0 auto;
}

.tabs-wrapper {
    position: sticky;
    top: 200px;
    z-index: 98;
    padding: 10px 0;
    margin-bottom: var(--padding-30-60);
}

.tabs {
    display: flex;
    gap: var(--padding-8-15);
    flex-wrap: wrap;
}

.tab {
    padding: var(--padding-6-12) var(--padding-20-40);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: var(--padding-50-100);
    font-size: var(--font-size-15-18);
    font-weight: 600;
    cursor: pointer;
    color: #666;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	display: flex;
    align-items: center;
    justify-content: center;
}

.tab:hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tab.active {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.content-section {
    margin-bottom: var(--padding-20-40);
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: var(--font-size-20-36);
    font-weight: 700;
    margin-bottom: var(--padding-25-50);
    text-align: center;
}
.row {
    display: flex;
    gap: var(--padding-25-50);
    align-items: flex-start;
}
.swiper-slide {
    height: 137px !important;
}

        /* 왼쪽 미디어 영역 */
        .media-col {
            flex: 0.7;
            display: flex;
            flex-direction: column;
        }

        /* Swiper 세로 슬라이드 컨테이너 */
        .mySwiper {
            width: 100%;
            background: #fff;
            overflow: hidden;
        }

        /* 개별 미디어 카드 */
        .media-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 100%;
        }

.media-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
    background-color: #ddd;
    overflow: hidden;
    border-radius: var(--padding-10-20);
}

        .media-thumbnail img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .media-card:hover .media-thumbnail img {
            transform: scale(1.03);
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 45px;
            height: 45px;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 18px;
            backdrop-filter: blur(3px);
            z-index: 2;
        }

        .media-caption {
            padding: 12px 15px;
            font-size: 13px;
            flex-shrink: 0;
        }

        .caption-blue {
            background: #1e3a8a;
            color: #fff;
        }

        .caption-white {
            background: #fff;
            color: #333;
            text-align: center;
            font-weight: bold;
            font-size: 15px;
            border-top: 1px solid #eee;
        }

        /* 오른쪽: 연도별 묶음 전체 박스 */
        .history-col {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .history-section-box {
            background: #fff;
    padding: var(--padding-20-40);
    border-radius: var(--padding-10-20);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 1px solid #eee;
        }

.year-group {
    margin-bottom: var(--padding-25-50);
}

        .year-group:last-child {
            margin-bottom: 0;
        }

.year-heading {
    font-size: var(--font-size-18-22);
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: var(--padding-10-20);
    border-bottom: 2px solid #f0e6d8;
    padding-bottom: var(--padding-8-15);
}

        /* 월 및 이력 항목 */
        .history-item {
            display: flex;
            align-items: baseline;
            gap: 15px;
            margin-bottom: 10px;
            font-size: 14px;
            line-height: 1.5;
            padding-left: 5px;
        }

        .history-item:last-child {
            margin-bottom: 0;
        }

.history-month {
    font-size: var(--font-size-15-17);
    font-weight: 700;
    color: #444;
    min-width: var(--padding-15-30);
}

.history-desc {
    font-size: var(--font-size-15-17);
    font-weight: 400;
    color: #555;
    flex: 1;
}

        /* 반응형 디자인 */
        @media (max-width: 992px) {
            .content-section .row {
                flex-direction: column;
                align-items: stretch;
            }
			.mySwiper {
			height: 100% !important;
		}
		.tab {
			width: calc(33.3333334% - 6px);
		}
            .media-col, .history-col {
                width: 100%;
            }
			
        }
		
		
/* Large Devices, Wide Screens : ~ 1200px */
@media only screen and (max-width : 1200px) {

}

/* 반응형 레이아웃 */
@media (max-width: 1024px) {

}

/* Medium Devices, Desktops : ~ 992px */
@media only screen and (max-width : 992px) {

}


/* Small Devices, Tablets : ~ 768px */
@media only screen and (max-width : 768px) {

}


/* Extra Small Devices, Phones : ~ 480px */
@media only screen and (max-width : 480px) {
	.tab {
		font-size: 14px;
	}
}


/* Custom, iPhone Retina : ~ 320px */
@media only screen and (max-width : 320px) {

}