.byun_content{
    border-top: 1px solid #dddddd;
}

.byun_gumtoptxt{   
    width: 915px;
    margin: 0 auto;
}
    
.byun_gumtoptxt img{
    border-radius: 20px;
    filter: drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.3));
}
    
.byun_gumtoptxt h1{
    text-align: center;
    line-height: 2;
    margin-top: 30px;
    font-size: 43px;
    color: #668216;
}
    
.byun_gumtoptxt p{  
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    color: #5b5b5b; 
    letter-spacing: -1px;
}
    
#byun_sum_txt{
    margin-top: 30px;
    color: #333333;
    letter-spacing: -1px;
    line-height: 1.4;
}
    
.byun_gumtoptxt p b{
    font-size: 40px;
}
    
.byun_sajindan_container {
    width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    padding-top: 40px;
}
    
#byun_chojin_txt h2, #byun_chojin_txt2 h2{
    background: #333;
    text-align: center;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.8;    
}

/* 초진 검사 */    
#grid_item{
    width: 287px;
    background: #f3f4f8;
    float: left;
    margin-left: 17px;
    border-radius: 10px;
    height: 423px;
    display: inline-block;
    overflow: hidden;   
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}   
    
#grid_item:first-child{
    margin-left: 0px;
}

/* 2x2 그리드 레이아웃 */
.byun_sajindan_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .byun_sajindan_grid {
        grid-template-columns: 1fr;
    }
}

/* 개별 카드 스타일 */
.byun_sajindan_card {
    background-color: #f4f6f9;
    border-radius: 16px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.byun_sajindan_content {
    margin-bottom: 20px;
}

.byun_sajindan_title {
    font-size: 23px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
}

.byun_sajindan_desc {
    font-size: 17px;
    color: #666666;
    line-height: 1.4;
    margin-bottom: 20px;
    min-height: 40px;
}

.byun_sajindan_img_box {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.byun_sajindan_img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}
    
.gumimg_on { opacity: 0; }   
.byun_sajindan_img_box:hover .gumimg_off { opacity: 0; }
.byun_sajindan_img_box:hover .gumimg_on { opacity: 1; }   

.byun_sajindan_btn {
    display: block;
    width: 100%;
    background-color: #ffffff;
    color: #555555;
    text-align: center;
    padding: 12px 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.byun_sajindan_btn:hover {
    background-color: #e2e8f0;
    color: #333333;
}

.byun_sajindan_notice {
    text-align: center;
    background: #f4f4f4;
    padding: 10px 0;
    font-size: 15px;
    color: #616775;
    border-radius: 5px;
    margin-top: 20px;
}
    
/* 후기 섹션 */    
#byun_hugitab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Noto Sans KR', sans-serif;
    gap: 40px;
}

.content-left { width: 45%; }
.content-left .title {     
    font-size: 38px;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
    
.content-left .title b{ font-weight: 800; } 
.content-left .subtitle { font-size: 16px; color: #666; margin-bottom: 40px; }
.content-left .button-group { display: flex; gap: 12px; }
.content-left .btn { display: inline-block; padding: 15px 35px; border-radius: 30px; font-size: 16px; font-weight: 500; text-decoration: none; color: #fff; }
.content-left .btn-green { background-color: #98C252; }
.content-left .btn-gray { background-color: #A9A9A9; }
	
.content-left .btn-green:hover { opacity:0.8 }
.content-left .btn-gray:hover { opacity:0.8 }	
	

/* ── 슬라이드 래퍼 ── */
.content-right {
    position: relative;
    width: 50%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.content-right:active { cursor: grabbing; }

/* 트랙: position absolute로 px 기반 제어 */
.slide-track {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    display: flex;
    will-change: transform;
}
/* 아이템 너비는 JS에서 px로 직접 지정 */
.slide-item {
    flex-shrink: 0;
    height: 100%;
}

/* 이미지 및 링크 박스 교정 */
.video-sum {
    width: 100%;
    height: 100%;
    display: block;
    /* pointer-events: none; <- 삭제: 링크 작동 차단 방지 */
}
.video-sum a {
    display: block;
    width: 100%;
    height: 100%;
}
.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* 도트 네비게이션 */
.slide-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slide-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.3s, background 0.3s, border-radius 0.3s;
}
.slide-dots .dot.active {
    width: 22px;
    background: #98C252;
    border-radius: 5px;
}
    
#ps_txt{
    text-align: center;
    background: #f4f4f4;
    padding: 10px 0;
    font-size: 15px;
    color: #616775;
    border-radius: 5px;
    margin-top: 20px;
}   
    
.byun_jindan{ height: 650px; }
.byun_jindan2{
    position: relative;
    width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    height: 100%;
}   

.byun_chiro_gum{ margin-top: 60px; }
.byun_gunchiro_box{ background:#6e6b67; margin-top: 60px; }
    
.byun_gunchiro {
    position: relative;
    width: 1200px;
    height: 427px;
    background: url(../../img/byunhom/gumsa/byun_jingunbg.jpg) no-repeat;
    margin: 0 auto;
}
        
.byun_gunchiro h1{ color: #fff; font-size: 40px; line-height: 1.3; padding-top: 80px; }
.byun_gunchiro p{ font-size: 23px; color: #fff; margin-top: 20px; }    
#byun_hanyack{ background: #f8f8f8; }
.byun_jinmum_txt{ text-align: center; font-weight: 600; font-size: 36px; }
#byun_jinmum{ margin-top: 100px; margin-bottom: 100px; }