@charset "utf-8";

body.hero-expanded .subpage-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
    margin: var(--padding-50-100) 0 0 0;
}

#about-books .sub-cont-value {
    width: calc(100% + 30px);
    padding-top: var(--padding-40-160);
    padding-bottom: var(--padding-40-160);
    padding-right: 95px;
    background: url('../../img/backwnsan-sub-about-books-bg.webp') no-repeat center bottom / cover;
}

#about-books .location-wrapper {
    width: 100%;
    max-width: var(--max-width2);
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
}

/* 상단 타이틀 스타일 (좌측 정렬) */
#about-books .location-header {
    display: inline-block;
    margin-bottom: var(--padding-40-80);
    text-align: left;
}
#about-books .location-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-books .location-header h1 {
	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);
}
.book-showcase-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    top: var(--padding-10-20);
    gap: var(--padding-40-80);
    display: flex;
    flex-direction: column;
}

        /* 1. 상단 메인 슬라이더 영역 */
        .main-swiper {
            width: 100%;
        }
.main-slide-content {
    width: 100%;
    max-width: var(--max-width2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-40-80);
    margin: 0 auto;
}
.main-book-img {
    width: var(--width-160-250);
    max-width: 250px;
    height: auto;
    object-fit: cover;
    flex: 0 0 30%;
}
        .main-text-box {
            max-width: 500px;
	flex: 0 0 70%;
        }
.main-text-box h2 {
	position: relative;
    font-size: var(--font-size-18-24);
    margin-bottom: var(--padding-5-10);
}
.main-text-box h2::before {
    content: "";
    position: absolute;
    bottom: var(--padding-25-50);
    left: 0;
    width: var(--padding-30-60);
    height: 2px;
    background-color: rgb(178, 123, 82, 0.8);
}
.main-text-box .sub-title {
    font-size: var(--font-size-14-16);
    font-weight: 500;
    color: #555;
    margin-bottom: var(--padding-10-20);
}
.main-text-box .info-box {
            background: rgba(255, 255, 255, 0.6);
            padding: 15px 20px;
            border-radius: 8px;
            border: 1px solid rgba(210, 190, 170, 0.4);
        }
.main-text-box .info-box p:first-child,
.main-text-box .info-box p:last-child,
.main-text-box .info-box p {
    font-size: var(--font-size-13-15);
    line-height: 2.0;
    font-weight: 500;
    color: #555;
    margin-bottom: initial;
}

.thumb-container-wrap {
    position: relative;
    width: 100%;
    max-width: var(--max-width2);
    margin: 0 auto;
    padding: 0 15px;
}
/* 썸네일 컨테이너가 가로로 꽉 차게 설정 */
.thumbs-swiper {
    width: 100%;
    box-sizing: border-box;
}

/* 개별 썸네일 슬라이드 폭이 찌그러지지 않도록 고정 방지 */
.thumbs-swiper .swiper-slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}
        .thumbs-swiper .swiper-slide-thumb-active {
            opacity: 1;
        }
.thumb-card {
    width: 100%;
    height: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--padding-5-10);
    padding: var(--padding-10-20);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgb(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
        .thumbs-swiper .swiper-slide-thumb-active .thumb-card {
			border: 2px solid transparent;
            border-color: rgb(178, 123, 82, 1.0);
        }
.thumb-card img {
    width: 100px;
    height: auto;
    object-fit: cover;
    margin-bottom: var(--padding-4-8);
}
.thumb-card .badge {
    width: var(--width-20-30);
    height: var(--width-20-30);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-14-16);
    color: #fff;
    border: solid 1px rgb(0, 0, 0, 0.1);
    font-weight: 600;
    border-radius: 50%;
    top: -15px;
    background-color: rgb(0, 0, 0, 0.2);
}
.swiper-slide-thumb-active .thumb-card .badge {
    width: var(--width-20-30);
    height: var(--width-20-30);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-14-16);
    color: #fff;
    border: solid 2px rgb(178, 123, 82, 1.0);
    font-weight: 600;
    border-radius: 50%;
    top: -15px;
    background-color: rgba(178, 123, 82, 1.0);
}
.thumb-card p {
    font-size: var(--font-size-13-15);
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    line-height: 1.3;
}

.thumb-container-wrap .swiper {
    padding-top: var(--padding-10-20) !important;
    padding-bottom: 1px;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--main-color) !important;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: var(--font-size-18-24) !important;
    font-weight: 600;
}
.swiper-button-next {
    right: var(--padding-minus-20-40) !important;
    left: auto;
}
.swiper-button-prev {
    left: var(--padding-minus-20-40) !important;
    right: auto;
}
/* 1. 썸네일 슬라이드의 박스 Sizing 고정 (테두리 두께 변화로 인한 밀림 방지) */
.thumbs-swiper .swiper-slide {
    box-sizing: border-box !important;
    /* 테두리가 생길 때 크기가 변하지 않도록 border를 미리 투명하게 잡아두거나 box-shadow 활용 권장 */
    border: 2px solid transparent; 
}

/* 2. 활성화(Active)된 썸네일 스타일 처리 */
.thumbs-swiper .swiper-slide-thumb-active {
    border-color: #원하는활성화색상; /* 기존에 설정하신 active 테두리 색상 */
}

/* 만약 테두리 대신 outline을 사용하신다면 크기 변화가 아예 없어 이 문제를 깔끔하게 해결할 수 있습니다 */
.thumbs-swiper .swiper-slide {
    outline: 0px solid transparent;
    transition: outline-color 0.2s;
}
.thumbs-swiper .swiper-slide-thumb-active {
    outline: 2px solid #원하는색상;
}
	
		
/* 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) {
#about-books .sub-cont-value {
    padding-right: 0px;
}
}


/* Extra Small Devices, Phones : ~ 480px */
@media only screen and (max-width : 480px) {
	.main-slide-content {
		gap: 30px;
		flex-direction: column;
	}
	.thumb-card img {
		width: 60px;
	}
	.thumb-card p {
		display: none;
	}
	.book-showcase-section {
		top: 0;
		gap: 60px;
	}
	#about-books .sub-cont-value {
		background: url('../../img/backwnsan-sub-about-books-bg.webp') no-repeat -50px 80px / cover;
	}
	.main-text-box {
		width: 100%;
		padding: 0 50px;
	}
}


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

}