/**
 * BIST 전문대학혁신지원사업단 - Custom CSS
 * 피그마 디자인 기반 스타일 변수 및 커스텀 스타일
 * @created 2025-12-22
 */

/* ============================================
   1. CSS 변수 (Design Tokens)
   ============================================ */
:root {
    /* ----- Primary Colors ----- */
    --bist-primary: #035bc7;           /* 메인 파란색 */
    --bist-primary-dark: #001E5D;      /* 진한 파란색 (hover) */
    --bist-primary-light: #e8f2fc;     /* 연한 파란색 배경 */
    
    /* ----- Secondary Colors ----- */
    --bist-secondary: #f3b10e;         /* 황금색/노란색 포인트 */
    --bist-secondary-dark: #d49a0c;    /* 진한 황금색 */
    
    /* ----- Neutral Colors ----- */
    --bist-white: #ffffff;
    --bist-black: #000000;
    --bist-gray-100: #f7f7f7;          /* 배경 연회색 */
    --bist-gray-200: #e3e3e3;          /* 구분선 연회색 */
    --bist-gray-300: #e0e0e0;          /* 테두리 */
    --bist-gray-400: #d9d9d9;
    --bist-gray-500: #9e9e9e;          /* 날짜, 부가 텍스트 */
    --bist-gray-600: #666666;          /* 보조 텍스트 */
    --bist-gray-700: #424242;          /* 본문 텍스트 */
    --bist-gray-900: #212121;          /* 제목, 강조 텍스트 */
    
    /* ----- Gradient ----- */
    --bist-gradient-blue: linear-gradient(135deg, #035bc7 0%, #0077cc 100%);
    --bist-gradient-header: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    --bist-overlay-dark: rgba(0, 0, 0, 0.3);
    --bist-overlay-blue: rgba(3, 91, 199, 0.9);
    
    /* ----- Typography ----- */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Pretendard', 'Noto Sans KR', sans-serif;
    
    /* Font Sizes */
    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-base: 16px;
    --fs-md: 18px;
    --fs-lg: 20px;
    --fs-xl: 24px;
    --fs-2xl: 28px;
    --fs-3xl: 32px;
    --fs-4xl: 40px;
    
    /* Font Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    
    /* Line Heights */
    --lh-tight: 1.2;
    --lh-normal: 1.5;
    --lh-relaxed: 1.75;
    
    /* ----- Spacing ----- */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 80px;
    
    /* ----- Layout ----- */
    --container-width: 1200px;
    --container-padding: 20px;
    --header-height: 80px;
    --header-height-mobile: 60px;
    
    /* ----- Border Radius ----- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* ----- Shadows ----- */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* ----- Transitions ----- */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ----- Z-Index ----- */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

.container{max-width: 1240px; margin: 0 auto; padding: 0 20px;}

/* ============================================
   2. Base Styles Reset/Override
   ============================================ */
.bist-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   3. Typography Utilities
   ============================================ */
.bist-title-lg {
    font-family: var(--font-primary);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--bist-gray-900);
    line-height: var(--lh-tight);
}

.bist-title-md {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: var(--fw-medium);
    color: var(--bist-gray-900);
    line-height: var(--lh-tight);
}

.bist-title-sm {
    font-family: var(--font-primary);
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    color: var(--bist-gray-900);
    line-height: var(--lh-tight);
}

.bist-text {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    color: var(--bist-gray-700);
    line-height: var(--lh-relaxed);
}

.bist-text-accent {
    font-family: var(--font-accent);
    font-weight: var(--fw-extrabold);
}

/* ============================================
   4. Button Styles
   ============================================ */
.bist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-accent);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.bist-btn-primary {
    background-color: var(--bist-primary);
    color: var(--bist-white);
}

.bist-btn-primary:hover {
    background-color: var(--bist-primary-dark);
}

.bist-btn-secondary {
    background-color: var(--bist-gray-900);
    color: var(--bist-white);
}

.bist-btn-secondary:hover {
    background-color: var(--bist-black);
}

.bist-btn-outline {
    background-color: transparent;
    color: var(--bist-white);
    border: 1px solid var(--bist-white);
}

.bist-btn-outline:hover {
    background-color: var(--bist-white);
    color: var(--bist-primary);
}

/* ============================================
   5. Card Styles
   ============================================ */
.bist-card {
    background-color: var(--bist-white);
    border: 1px solid var(--bist-gray-300);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.bist-card:hover {
    box-shadow: var(--shadow-lg);
}

.bist-card-header {
    padding: var(--spacing-lg);
    background-color: var(--bist-gray-100);
    text-align: center;
}

.bist-card-body {
    padding: var(--spacing-lg);
}

/* Quick Link Cards (공지사항, 사업단소식 등) */
.bist-quick-card {
    background-color: var(--bist-gray-100);
    border: 1px solid var(--bist-gray-300);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.bist-quick-card:hover {
    background-color: var(--bist-white);
}

.bist-quick-card .icon {
    font-size: 50px;
    color: var(--bist-primary);
    margin-bottom: var(--spacing-md);
}

.bist-quick-card .title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-regular);
    color: var(--bist-gray-900);
}

/* ============================================
   6. Sub Page Header (서브 상단)
   ============================================ */
.bist-sub-header {
    position: relative;
    background: var(--bist-gradient-blue);
    padding: var(--spacing-3xl) 0;
    color: var(--bist-white);
    overflow: hidden;
}

.bist-sub-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../html/image/sub_pattern.png') repeat;
    opacity: 0.1;
}

.bist-sub-header .title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.bist-sub-header .illust {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-height: 200px;
}

/* Sub Tab Menu */
.bist-sub-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    background-color: var(--bist-white);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--bist-gray-300);
}

.bist-sub-tabs a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--bist-gray-600);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.bist-sub-tabs a:hover,
.bist-sub-tabs a.active {
    background-color: var(--bist-primary);
    color: var(--bist-white);
}

.bist-sub-tabs a i {
    margin-right: var(--spacing-xs);
}

/* ============================================
   7. Board List Styles (게시판)
   ============================================ */
.bist-board-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bist-board-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--bist-gray-200);
}

.bist-board-list li:last-child {
    border-bottom: none;
}

.bist-board-list .title {
    font-size: var(--fs-sm);
    color: var(--bist-gray-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.bist-board-list .title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--bist-gray-400);
    border-radius: 50%;
}

.bist-board-list .date {
    font-size: var(--fs-sm);
    color: var(--bist-gray-500);
}

/* ============================================
   8. Footer Styles
   ============================================ */
.bist-footer-top {
    display: flex;
}

.bist-footer-top .contact {
    flex: 1;
    background: linear-gradient(135deg, #06101d 0%, rgba(6, 16, 29, 0.5) 100%);
    padding: var(--spacing-xl);
    color: var(--bist-white);
}

.bist-footer-top .contact .label {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--spacing-sm);
}

.bist-footer-top .contact .phone {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--bist-secondary);
    margin-bottom: var(--spacing-md);
}

.bist-footer-top .map {
    flex: 1;
    position: relative;
}

.bist-footer-bottom {
    background-color: var(--bist-gray-200);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.bist-footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.bist-footer-links a {
    font-size: var(--fs-base);
    color: var(--bist-gray-600);
    text-decoration: none;
}

.bist-footer-links a:first-child {
    color: #195388;
    font-weight: var(--fw-medium);
}

.bist-footer-info {
    font-size: var(--fs-base);
    color: var(--bist-gray-600);
    line-height: var(--lh-relaxed);
}

/* ============================================
   9. Image Zoom Modal (이미지 확대/축소)
   ============================================ */
.bist-image-zoom {
    cursor: zoom-in;
    transition: transform var(--transition-base);
}

.bist-image-zoom:hover {
    transform: scale(1.02);
}

.bist-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: var(--z-modal);
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
}

.bist-zoom-modal.active {
    display: flex;
}

.bist-zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: grab;
}

.bist-zoom-modal img:active {
    cursor: grabbing;
}

.bist-zoom-controls {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-md);
}

.bist-zoom-controls button {
    background-color: var(--bist-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: var(--fs-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.bist-zoom-controls button:hover {
    background-color: var(--bist-primary);
    color: var(--bist-white);
}

.bist-zoom-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: none;
    border: none;
    color: var(--bist-white);
    font-size: var(--fs-3xl);
    cursor: pointer;
}

/* ============================================
   10. Organization Chart (조직도)
   ============================================ */
.bist-org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.bist-org-box {
    background: var(--bist-gradient-blue);
    color: var(--bist-white);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 150px;
}

.bist-org-box.highlight {
    background-color: var(--bist-secondary);
}

.bist-org-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

/* ============================================
   11. Map Section (오시는 길)
   ============================================ */
.bist-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.bist-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
    font-size: var(--fs-xs);
    color: var(--bist-gray-600);
}

.bist-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.bist-transport-info {
    margin-top: var(--spacing-2xl);
}

.bist-transport-info .transport-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--bist-gray-200);
}

.bist-transport-info .transport-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bist-primary);
    color: var(--bist-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    flex-shrink: 0;
}

/* ============================================
   12. Responsive Breakpoints
   ============================================ */
@media (max-width: 1200px) {
    :root {
        --container-padding: 30px;
    }
}

@media (max-width: 992px) {
    :root {
        --fs-3xl: 28px;
        --fs-4xl: 36px;
    }
    
    .bist-sub-header .illust {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-xl: 20px;
        --fs-2xl: 24px;
        --fs-3xl: 24px;
        --spacing-2xl: 32px;
        --spacing-3xl: 48px;
    }
    
    .bist-sub-tabs {
        flex-wrap: wrap;
    }
    
    .bist-footer-top {
        flex-direction: column;
    }
    
    .bist-org-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 16px;
        --fs-lg: 18px;
        --fs-xl: 18px;
    }
    
    .bist-sub-tabs a {
        padding: 8px 12px;
        font-size: var(--fs-xs);
    }
}










/* ============================================
   메인 페이지 - 벤토 박스 스타일 (정확한 레이아웃)
   ============================================ */
.main_pg_ban{background: url('../img/pc_sub_banner.jpg')no-repeat center; background-size: cover; height: 400px; display: flex; align-items: flex-end; padding-bottom: 100px;}
.main_pg_ban .container{width: 100%;}
.main_pg_ban_tit{font-size: 32px; margin-bottom: 32px; line-height: 1.2;}
.main_pg_ban_txt{font-size: 18px;}
.main_pg{background: url('../img/pc_main_banner.jpg')no-repeat center; background-size: cover; display: flex; align-items: flex-end; padding: 24px 0;}
.bento_wr{display: flex; align-items: center; justify-content: center;}
.bento_l{display: flex; flex-flow: wrap; gap: 20px;}
.bento_l>li{width: calc(50% - 10px); height: 200px; padding: 24px; background: #fff; display: flex; flex-flow: column; position: relative;}
.bento_l>li.ic_bento_item2{background-color: var(--bist-primary); background-image: url(../img/ic_bento_item4.svg); background-position: right 24px bottom 24px; background-repeat: no-repeat; color: #fff; cursor: pointer;}
.bento_l>li.ic_bento_item3{background-color: var(--bist-secondary); background-image: url(../img/ic_bento_item3.svg); background-position: right 24px bottom 24px; background-repeat: no-repeat; color: #fff; cursor: pointer;}
.ic_bento_item4{background-color: var(--bist-primary-dark); background-image: url(../img/ic_bento_item2.svg); background-position: right 24px bottom 24px; background-repeat: no-repeat; color: #fff; padding: 24px; cursor: pointer;}
.bento_list{flex: 1;}
.bento_list>li{line-height: 1.7;}
.bento_tit{font-size: 24px; font-weight: 500; margin-bottom: 16px; line-height: 1;}
[class*="ic_bento_item"] .bento_tit{color: #fff;}
.bento_p{color: #fff; margin-bottom: 10px;}
.bento_more{display: flex; justify-content: flex-end; position: absolute; bottom: 24px; right: 24px;}
.bento_more a{font-size: 30px; padding: 5px;}
.bento_r{display: flex; height: 420px; margin-left: 20px;}
.bento_r>div{width: 50%; min-width: 210px;}
/* .bento_r>div:nth-child(2){background: url('../img/bento_r_bg.jpg')no-repeat center; background-size: cover;} */
.bento_gallery_list{background: #E0E0E0; padding: 8px; display: flex; flex-flow: column; gap: 8px;}
.bento_gallery_list li{width: 100%;}
.bento_gallery_list li a{width: 100%; position: relative; overflow: hidden; }
.bento_gallery_list li a::after{content: ''; display: block; padding-bottom: calc(100% * 128 / 192);}
.bento_gallery_list li a img{position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; top: 50%; left: 50%; transform: translate(-50%,-50%);}
.gallery_tit{display: none;}

.link_wr{background: #1F2D3F; color: #fff; padding: 30px 0;}
.link_wr ul{display: flex; justify-content: space-between;}
.link_wr li{display: flex; align-items: center; justify-content: center;}
.link_wr a{color: #fff; font-size: 18px; display: flex; width: 100%; justify-content: center; align-items: center;}
.link_wr a:hover{color: var(--bist-secondary);}
.link_wr a img{margin-right: 15px;}

/* 푸터 */
.ft{padding: 30px 0; background: #E3E3E3; color: #666; font-size: 12px;}
.ft_wr{display: flex; justify-content: space-between;}
.ft_1{display: flex;}
.ft_info_wr{flex-shrink: 0; flex: 1; padding: 0 50px;}
.ft_link{display: flex; gap: 16px; margin-bottom: 25px; flex-wrap: wrap;}
.ft_link li{position: relative;}
.ft_link li::after{content: ''; display: block; width: 1px; height: 100%; background: #ccc; position: absolute; top: 50%; transform: translateY(-50%); right: -8px;}
.ft_link li:last-child::after{display: none;}
.ft_link a:hover{color: #195388;}

.ft_select {
	text-align: right;
}

.ft_select select {
	/* padding: 10px 40px 10px 15px; */
    width: 200px;
    height: 32px;
    padding: 0 10px;
	border: 1px solid #666;
	background-color: transparent;
	color: #666;
	font-size: 14px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	cursor: pointer;
}

/* 반응형 */
@media (max-width: 1200px) {
	
    .main_pg{padding-bottom: 0; padding-top: 80px;}

    .bento_wr{flex-flow: wrap; margin-bottom: 25px;}
    .bento_l{width: 100%;}
    .bento_r{width: 100%; margin-left: 0; margin-top: 20px; height: unset;}
    .bento_r>div:nth-child(2){background: url('../img/m_bento_r_bg.jpg')no-repeat center; background-size: cover;}
    
    .link_wr ul{justify-content: center; gap: 10px; flex-wrap: wrap;}
    .link_wr ul>li{width: calc(50% - 10px);}
	
    .ft{padding: 20px 0 30px;}
    .ft_wr{flex-flow: column-reverse;}
    .ft_1{flex-flow: column;}
    .ft_1>a{display: flex; justify-content: center;}
    .ft_info_wr{padding: 0; margin-top: 30px;}
    .ft_link{justify-content: center;}
    .ft_select{text-align: left; margin-bottom: 20px;}
    .ft_select select{width: 100%; height: 40px;}
    .ft_info{text-align: center;}
}

@media (max-width: 992px) {
    .link_wr{padding: 0; position: relative;}
    .link_wr::after{content: ''; width: 100%; height: 1px; background: #344760; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);}
    .link_wr::before{content: ''; width: 1px; height: 100%; background: #344760; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);}
    .link_wr ul{justify-content: center; gap: 10px; flex-wrap: wrap;}
    .link_wr ul>li{width: calc(50% - 10px);}
    .link_wr a{font-size: 14px; padding: 15px 20px;}
    .link_wr a img{width: 24px;}
}
@media (max-width: 768px) {
    .main_pg_ban{background: url('../img/m_sub_banner.jpg')no-repeat center; background-size: cover;}
    .main_pg_ban_tit{font-size: 24px;}
    .main_pg_ban_txt{font-size: 14px;}

    .container{padding: 0 10px;}
    
    .bento_tit{font-size: 20px;}
    .bento_l{gap: 8px;}
    .bento_l>li{width: 100%;}
    .bento_r{margin-top: 8px;}
    .bento_r>div{min-width: unset;}
    .bento_l>li.ic_bento_item2{display: none;}
    .bento_l>li.ic_bento_item3{display: none;}

    #bo_btn_top{flex-flow: column-reverse; width: 100%; align-items: flex-end;}
    .bo_search_simple{width: 100%;}
    .bo_search_simple .search_box{margin-right: 0;}
    .bo_search_simple .search_input{width: 150px;}
    #bo_btn_top .btn_bo_user{margin-bottom: 10px;}

    /* .link_wr{padding: 0; position: relative;}
    .link_wr::after{content: ''; width: 100%; height: 1px; background: #344760; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);}
    .link_wr::before{content: ''; width: 1px; height: 100%; background: #344760; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);}
    .link_wr ul{justify-content: center; gap: 10px; flex-wrap: wrap;}
    .link_wr ul>li{width: calc(50% - 10px);}
    .link_wr a{font-size: 14px; padding: 15px 20px;}
    .link_wr a img{width: 24px;} */


	
	
	
	.ft_select {
		text-align: center;
		margin-top: 20px;
	}
}

/* ============================================
   메인 페이지 갤러리 썸네일 스타일
   ============================================ */
/* .bento_gallery_wrap {
    padding: 10px;
    overflow: hidden;
}
.bento_gallery_list {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.bento_gallery_list::-webkit-scrollbar {
    height: 4px;
}
.bento_gallery_list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}
.bento_gallery_list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}
.bento_gallery_list li a {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bento_gallery_list li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.bento_gallery_list li img {
    display: block;
    width: 150px;
    height: 100px;
    object-fit: cover;
}
.bento_gallery_list li .no_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 100px;
    background: #e0e0e0;
    color: #999;
    font-size: 12px;
}
.bento_gallery_list li .gallery_tit {
    display: block;
    padding: 8px;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    background: #fff;
}
.bento_gallery_wrap .empty {
    text-align: center;
    color: #999;
    padding: 30px;
    font-size: 14px;
} */

/* 반응형 */
/* @media (max-width: 768px) {
    .bento_gallery_list li img,
    .bento_gallery_list li .no_image {
        width: 120px;
        height: 80px;
    }
    .bento_gallery_list li .gallery_tit {
        max-width: 120px;
        font-size: 11px;
    }
} */

/* ============================================
   서브페이지 메뉴 뱃지 (BEST, HIT)
   ============================================ */
/* 기본: 뱃지 숨김 */
.sub_pg_menu .menu_badge {
    display: none;
}

/* sub_pg_menu2 클래스가 있을 때만 뱃지 표시 */
.sub_pg_menu2 li{position: relative;}
.sub_pg_menu2 .menu_badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    vertical-align: middle;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* PC 뱃지 이미지 */
.sub_pg_menu2 .menu_badge .badge_pc {
    display: inline-block;
    height: 20px;
    width: auto;
}

/* 모바일 뱃지 이미지 - PC에서는 숨김 */
.sub_pg_menu2 .menu_badge .badge_m {
    display: none;
}

/* 모바일 스타일 */
@media (max-width: 992px) {
    /* PC 뱃지 숨김 */
    .sub_pg_menu2 .menu_badge .badge_pc {
        display: none;
    }
    
    /* 모바일 뱃지 표시 */
    .sub_pg_menu2 .menu_badge .badge_m {
        display: inline-block;
        width: 20px;
        height: 20px;
    }
    
    /* 모바일에서 뱃지 위치 조정 */
    .sub_pg_menu2 li {
        position: relative;
    }
    .sub_pg_menu2 .menu_badge {
        right: 10px;
    }
}

/* ============================================
   설문조사 모달 스타일
   ============================================ */
.survey-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999999;
}
.survey-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.survey-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.survey-modal-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}
.survey-modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #035bc7;
    color: #fff;
}
.survey-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.survey-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.survey-modal-close:hover {
    opacity: 1;
}
.survey-modal-body {
    flex: 1;
    overflow: hidden;
    min-height: 0;
}
.survey-modal-body iframe {
    width: 100%;
    height: calc(100vh - 180px);
    max-height: 600px;
    min-height: 300px;
    border: none;
}
.survey-modal-footer {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}
.survey-modal-footer button {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.survey-modal-footer .btn-close-24h {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
}
.survey-modal-footer .btn-close-24h:hover {
    background: #f0f0f0;
    border-color: #ccc;
}
.survey-modal-footer .btn-close {
    background: #035bc7;
    border: 1px solid #035bc7;
    color: #fff;
}
.survey-modal-footer .btn-close:hover {
    background: #0249a8;
}

/* 안내 팝업 스타일 */
.survey-notice-container {
    max-width: 420px;
    max-height: calc(100vh - 40px);
}
.survey-notice-body {
    min-height: auto;
    padding: 40px 30px;
    overflow-y: auto;
}
.survey-notice-content {
    text-align: center;
}
.survey-notice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.survey-notice-content h2 {
    margin: 0 0 20px 0;
    font-size: 1.5em;
    color: #2b32b2;
    font-weight: 600;
}
.survey-notice-content p {
    margin: 0 0 30px 0;
    color: #666;
    line-height: 1.6;
}
.btn-participate {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #035bc7, #0249a8);
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-participate:hover {
    background: linear-gradient(135deg, #0249a8, #013d8a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 91, 199, 0.3);
}

/* 반응형 - 작은 화면 */
@media (max-width: 768px) {
    .survey-modal.active {
        padding: 10px;
    }
    .survey-modal-container {
        max-height: calc(100vh - 20px);
    }
    .survey-modal-body iframe {
        height: calc(100vh - 160px);
        max-height: none;
    }
    .survey-modal-footer {
        flex-direction: column;
        padding: 12px 16px;
    }
    .survey-modal-footer button {
        width: 100%;
    }
    .survey-notice-body {
        padding: 30px 20px;
    }
}

/* 매우 작은 화면 (낮은 높이) */
@media (max-height: 600px) {
    .survey-modal.active {
        padding: 5px;
    }
    .survey-modal-container {
        max-height: calc(100vh - 10px);
        border-radius: 8px;
    }
    .survey-modal-header {
        padding: 12px 16px;
    }
    .survey-modal-body iframe {
        height: calc(100vh - 130px);
        min-height: 200px;
    }
    .survey-modal-footer {
        padding: 10px 16px;
        gap: 8px;
    }
    .survey-modal-footer button {
        padding: 8px 16px;
        font-size: 13px;
    }
    .survey-notice-body {
        padding: 20px 15px;
    }
    .survey-notice-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .survey-notice-content h2 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    .survey-notice-content p {
        margin-bottom: 20px;
    }
}