/* =========================================================
   1. 메인 비주얼 검색
========================================================= */
#contents.main_wrap .visual-search-wrap{
    position: relative;
    z-index: 50;
    flex: 0 0 auto;
}

#contents.main_wrap .visual-search-form{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

#contents.main_wrap .visual-search-input-box{
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    width: 0;
    height: 44px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(15px);
    transition:
            width 0.35s ease,
            opacity 0.25s ease,
            transform 0.35s ease,
            visibility 0.35s ease;
}

#contents.main_wrap .visual-search-form.is-open .visual-search-input-box{
    width: 300px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

#contents.main_wrap .visual-search-input{
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    outline: none;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.98);
    color: #222;
    font-size: 14px;
    line-height: 44px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    -webkit-appearance: none;
    appearance: none;
}

#contents.main_wrap .visual-search-input::placeholder{
    color: #999;
}

#contents.main_wrap .visual-search-input:focus{
    border-color: #2166b1;
}

#contents.main_wrap .visual-search,
#contents.main_wrap .visual-search-close{
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#contents.main_wrap .visual-search{
    transition:
            background 0.25s ease,
            transform 0.25s ease;
}

#contents.main_wrap .visual-search:hover,
#contents.main_wrap .visual-search-form.is-open .visual-search{
    background: rgba(255, 255, 255, 0.16);
}

#contents.main_wrap .visual-search:active,
#contents.main_wrap .visual-search-close:active{
    transform: scale(0.94);
}

#contents.main_wrap .visual-search svg{
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#contents.main_wrap .visual-search-close{
    display: none;
    background: rgba(0, 0, 0, 0.24);
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 300;
    line-height: 1;
}

#contents.main_wrap .visual-search-form.is-open .visual-search-close{
    display: inline-flex;
}

@media screen and (max-width: 767px) {
    /*
     * 기존 코드에서 visual-top-menu 전체가 display:none 처리되어
     * 검색 버튼까지 사라지던 문제를 수정합니다.
     */
    #contents.main_wrap .visual-top-menu{
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 60;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: auto;
    }

    #contents.main_wrap .visual-top-menu .visual-menu-btn,
    #contents.main_wrap .visual-user-menu .user-button{
        display: none;
    }

    #contents.main_wrap .visual-user-menu{
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    #contents.main_wrap .visual-search-wrap,
    #contents.main_wrap .visual-search-form{
        position: static;
    }

    #contents.main_wrap .visual-search-input-box{
        position: fixed;
        top: 12px;
        right: 68px;
        left: 12px;
        width: auto;
        max-width: none;
        height: 44px;
        transform: translateY(-10px);
    }

    #contents.main_wrap .visual-search-form.is-open .visual-search-input-box{
        width: auto;
        transform: translateY(0);
    }

    #contents.main_wrap .visual-search,
    #contents.main_wrap .visual-search-close{
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        background: rgba(0, 38, 86, 0.55);
    }

    #contents.main_wrap .visual-search-form.is-open .visual-search{
        display: none;
    }

    #contents.main_wrap .visual-search-form.is-open .visual-search-close{
        display: inline-flex;
    }
}

@media screen and (max-width:991px){

    #contents.main_wrap .visual-search-wrap{
        display:none;
    }

    #contents.main_wrap .visual-top-menu{
        justify-content:flex-end;
    }

}

/* =========================================================
   최종 반응형 보정
   이 파일은 #contents.main_wrap 내부에만 적용됩니다.
========================================================= */
@media screen and (max-width: 767px) {
    #contents.main_wrap .main-random-banner {
        overflow: visible;
        border-radius: 10px;
        background: #fff;
    }

    #contents.main_wrap .main-random-banner-slider .item,
    #contents.main_wrap .main-random-banner-slider a {
        display: block;
        width: 100%;
    }

    #contents.main_wrap .main-random-banner-slider img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dots {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 10px 0 0 !important;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dot span {
        width: 11px;
        height: 11px;
        margin: 0 !important;
        border-radius: 50%;
        background: #d5d5d5 !important;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dot.active span {
        width: 18px;
        border-radius: 10px;
        background: #0068b7 !important;
    }

    #contents.main_wrap .youtube-mobile-page {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    #contents.main_wrap .youtube-mobile-page .item {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    #contents.main_wrap .youtube-mobile-page .youtube-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    #contents.main_wrap .main-youtube-slider .owl-nav {
        display: none !important;
    }

    #contents.main_wrap .main-youtube-slider .owl-dots {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 14px;
    }

    #contents.main_wrap .main-youtube-slider .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 0 !important;
        border-radius: 50%;
        background: #d5d5d5 !important;
    }

    #contents.main_wrap .main-youtube-slider .owl-dot.active span {
        width: 18px;
        border-radius: 10px;
        background: #0879d9 !important;
    }
}

@media screen and (max-width: 767px) {

    #contents.main_wrap .main-honor-box {
        padding: 4px 42px 8px;
    }

    #contents.main_wrap .main-honor-header {
        margin-bottom: 18px;
    }

    #contents.main_wrap .main-honor-header h2 {
        font-size: 24px;
    }

    #contents.main_wrap #mainHonorSlider .owl-stage {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .owl-item {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .item {
        width: 100%;
    }

    #contents.main_wrap #mainHonorSlider .item a {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-align: center;
    }

    #contents.main_wrap .honor-photo {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 8px;
    }

    #contents.main_wrap .honor-photo img {
        width: 100% !important;
        height: auto;
        aspect-ratio: 0.82 / 1;
        object-fit: cover;
        object-position: center top;
    }

    #contents.main_wrap .honor-info {
        padding-top: 12px;
    }

    #contents.main_wrap .honor-info strong {
        font-size: 17px;
        line-height: 1.35;
    }

    #contents.main_wrap .honor-info strong span {
        display: block;
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.35;
    }

    #contents.main_wrap .main-honor-box {
        padding: 24px 18px 28px;
    }

    #contents.main_wrap .main-honor-header {
        margin-bottom: 18px;
    }

    #contents.main_wrap .main-honor-header h2 {
        font-size: 24px;
    }

    #contents.main_wrap #mainHonorSlider {
        width: 100%;
    }

    #contents.main_wrap #mainHonorSlider .owl-stage {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .owl-item {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .item {
        width: 100%;
        min-width: 0;
    }

    #contents.main_wrap #mainHonorSlider .item a {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        text-align: center;
    }

    #contents.main_wrap .honor-photo {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 8px;
    }

    #contents.main_wrap .honor-photo img {
        display: block;
        width: 100% !important;
        height: auto;
        aspect-ratio: 0.82 / 1;
        object-fit: cover;
        object-position: center top;
    }

    #contents.main_wrap .honor-info {
        width: 100%;
        padding: 12px 2px 0;
        box-sizing: border-box;
        text-align: center;
    }

    #contents.main_wrap .honor-info strong {
        display: block;
        font-size: 17px;
        line-height: 1.35;
        word-break: keep-all;
    }

    #contents.main_wrap .honor-info strong span {
        display: block;
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.35;
        white-space: nowrap;
    }

    #contents.main_wrap .honor-info p {
        margin: 10px 0 0;
        font-size: 11px;
        line-height: 1.55;
        letter-spacing: -0.03em;
        word-break: keep-all;
    }

    #contents.main_wrap .main-honor-nav button {
        top: 43%;
        width: 28px;
        height: 44px;
        font-size: 42px;
    }

    #contents.main_wrap .main-honor-nav .honor-prev {
        left: -2px;
    }

    #contents.main_wrap .main-honor-nav .honor-next {
        right: -2px;
    }
}

@media screen and (max-width: 767px) {
    #contents.main_wrap .main-board-section {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    #contents.main_wrap .main-board-section {
        display: none !important;
    }
}


/* =========================================================
   2. 동문회 소식 영역
========================================================= */
#contents.main_wrap .alumni-news-area,
#contents.main_wrap .news-list-area{
    min-width: 0;
    padding: 25px 25px 18px 5px;
    box-sizing: border-box;
    background: #fff;
}

#contents.main_wrap .alumni-news-area{
    position: relative;
    overflow: hidden;
}

#contents.main_wrap .alumni-news-header,
#contents.main_wrap .news-list-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin: 0 0 12px;
    padding: 0 0 15px;
    border-bottom: 1px solid #aaa;
    box-sizing: border-box;
}

#contents.main_wrap .alumni-news-header{
    position: relative;
    z-index: 20;
    min-height: 32px;
}

#contents.main_wrap .alumni-news-header h3,
#contents.main_wrap .news-list-title h3{
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

#contents.main_wrap .alumni-news-header a,
#contents.main_wrap .news-list-title a{
    flex: 0 0 auto;
    color: #777;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

#contents.main_wrap .alumni-news-header a:hover,
#contents.main_wrap .news-list-title a:hover{
    color: #0756b8;
}

#contents.main_wrap .alumni-news-content{
    position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#contents.main_wrap .alumni-news-content > div{
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

#contents.main_wrap .alumni-news-content ul,
#contents.main_wrap .news-group-list ul,
#contents.main_wrap .news-list{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#contents.main_wrap .alumni-news-content li,
#contents.main_wrap .news-group-list li,
#contents.main_wrap .news-list li{
    width: 100%;
    margin: 0;
    padding: 0;
}

#contents.main_wrap .news-group-list .latest-group-title,
#contents.main_wrap .news-group-list .lt_title,
#contents.main_wrap .news-group-list h2{
    display: none;
}

#contents.main_wrap .news-group-list,
#contents.main_wrap .news-group-list > div{
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#contents.main_wrap .news-group-list li a{
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 7px 0;
    color: #666;
    text-decoration: none;
}

#contents.main_wrap .news-group-list li .subject,
#contents.main_wrap .news-group-list li .lt_subject{
    min-width: 0;
    overflow: hidden;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#contents.main_wrap .news-group-list li time,
#contents.main_wrap .news-group-list li .date,
#contents.main_wrap .news-group-list li .lt_date{
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 12px;
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}

#contents.main_wrap .news-feature{
    width: 100%;
    padding: 25px 20px 20px;
    box-sizing: border-box;
    background: #fff;
}

#contents.main_wrap .news-feature > a{
    display: block;
    color: inherit;
    text-decoration: none;
}

#contents.main_wrap .news-image{
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #eee;
}

#contents.main_wrap .news-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#contents.main_wrap .news-feature-info{
    padding-top: 14px;
}

#contents.main_wrap .news-category{
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: #0756b8;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

#contents.main_wrap .news-feature-info strong{
    display: block;
    overflow: hidden;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#contents.main_wrap .news-meta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 11px;
    color: #777;
    font-size: 13px;
}

#contents.main_wrap .news-meta span{
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

#contents.main_wrap .news-meta svg{
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

#contents.main_wrap .news-feature > a:hover strong{
    color: #0756b8;
}


/* =========================================================
   3. 메인 비주얼
========================================================= */
#contents.main_wrap .yonsei-main-visual{
    position: relative;
    width: calc(100% - 40px);
    max-width: 1490px;
    height: 670px;
    margin: 30px auto 60px;
    overflow: hidden;
    border-radius: 20px;
    background: #3971ce;
}

#contents.main_wrap #yonseiVisualSlider{
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

#contents.main_wrap #yonseiVisualSlider .owl-stage-outer,
#contents.main_wrap #yonseiVisualSlider .visual-slide,
#contents.main_wrap #yonseiVisualSlider picture{
    width: 100%;
    height: 100%;
}

#contents.main_wrap #yonseiVisualSlider .owl-stage,
#contents.main_wrap #yonseiVisualSlider .owl-item{
    height: 100%;
}

#contents.main_wrap #yonseiVisualSlider .visual-slide,
#contents.main_wrap #yonseiVisualSlider picture{
    display: block;
}

#contents.main_wrap #yonseiVisualSlider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#contents.main_wrap #yonseiVisualSlider .owl-nav,
#contents.main_wrap #yonseiVisualSlider .owl-dots{
    display: none;
}

#contents.main_wrap .yonsei-main-visual::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
            180deg,
            rgba(0, 40, 100, 0.03) 0%,
            rgba(0, 40, 100, 0.01) 55%,
            rgba(0, 40, 100, 0.12) 100%
    );
}

#contents.main_wrap .yonsei-visual-content{
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: 46px 50px 30px;
    box-sizing: border-box;
}

#contents.main_wrap .visual-top-menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contents.main_wrap .visual-menu-btn{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    color: #555;
    font-size: 15px;
    cursor: pointer;
}

#contents.main_wrap .menu-lines{
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#contents.main_wrap .menu-lines i{
    display: block;
    width: 14px;
    height: 1px;
    background: #777;
}

#contents.main_wrap .visual-user-menu{
    display: flex;
    align-items: center;
    gap: 10px;
}

#contents.main_wrap .user-button{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 14px;
    text-decoration: none;
}

#contents.main_wrap .visual-slogan{
    position: absolute;
    top: 30%;
    left: 50%;
    z-index: 20;
    width: 100%;
    max-width: 900px;
    margin: 0;
    text-align: center;
    transform: translate(-50%, -50%);
}

#contents.main_wrap .visual-slogan img{
    display: block;
    width: 67%;
    height: auto;
    margin: 0 auto;
}

#contents.main_wrap .visual-sns{
    position: absolute;
    top: 129px;
    right: 50px;
    z-index: 15;
    width: 205px;
}

#contents.main_wrap .sns-button{
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    margin-bottom: 9px;
    padding: 0 18px;
    border-radius: 30px;
    box-sizing: border-box;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

#contents.main_wrap .sns-button .sns-icon{
    flex: 0 0 auto;
    margin-right: 13px;
    font-size: 28px;
    font-weight: 800;
}

#contents.main_wrap .sns-button b{
    margin-left: auto;
    font-size: 34px;
    font-weight: 300;
}

#contents.main_wrap .sns-button.facebook{
    background: #2261aa;
    color: #fff;
}

#contents.main_wrap .sns-button.kakao{
    background: #ffe500;
    color: #171717;
}

#contents.main_wrap .sns-button.kakao .sns-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 50%;
    background: #111;
    color: #ffe500;
    font-size: 15px;
}

#contents.main_wrap .visual-bottom-area{
    position: absolute;
    left: 50%;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(0, 588px);
    width: calc(100% - 300px);
    max-width: 1188px;
    min-height: 300px;
    transform: translateX(-50%);
}

#contents.main_wrap .visual-news-box{
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    background: #fff;
}

#contents.main_wrap .visual-quick-menu{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#contents.main_wrap .quick-item{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 10px;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    background: linear-gradient(145deg, #083f7d 0%, #17679f 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
}

#contents.main_wrap .quick-item:nth-child(2),
#contents.main_wrap .quick-item:nth-child(4),
#contents.main_wrap .quick-item:nth-child(5),
#contents.main_wrap .quick-item:nth-child(7){
    background: linear-gradient(145deg, #14588f 0%, #2781b5 100%);
}

#contents.main_wrap .quick-item::after{
    content: "";
    position: absolute;
    right: -28px;
    bottom: -35px;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(35deg);
    pointer-events: none;
}

#contents.main_wrap .quick-icon{
    position: relative;
    z-index: 2;
    display: block;
    width: 65px;
    height: 65px;
    margin-bottom: 9px;
}

#contents.main_wrap .quick-icon svg{
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#contents.main_wrap .quick-item strong{
    position: relative;
    z-index: 2;
    color: #ffdc00;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

@media screen and (max-width: 1300px) {
    #contents.main_wrap .visual-bottom-area{
        width: calc(100% - 80px);
        grid-template-columns: 1fr 1fr;
    }

    #contents.main_wrap .visual-news-box{
        grid-template-columns: 42% 58%;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #contents.main_wrap .yonsei-main-visual{
        width: calc(100% - 30px);
        height: auto;
        aspect-ratio: 1490 / 670;
        margin: 15px auto 30px;
        border-radius: 14px;
    }

    #contents.main_wrap .yonsei-visual-content{
        padding: 30px 25px;
    }

    #contents.main_wrap .visual-top-menu{
        display: none;
    }

    #contents.main_wrap .visual-slogan{
        top: 22%;
        width: 85%;
        max-width: 650px;
    }

    #contents.main_wrap .visual-slogan img{
        width: 100%;
    }

    #contents.main_wrap .visual-sns{
        top: 230px;
        right: 25px;
    }

    #contents.main_wrap .visual-bottom-area{
        top: 330px;
        bottom: auto;
        grid-template-columns: 1fr;
        width: calc(100% - 50px);
    }
}

#contents.main_wrap #mobileQuickMenuMount{
    display: none;
}

@media screen and (max-width: 767px) {
    #contents.main_wrap .yonsei-main-visual{
        width: calc(100% - 24px);
        max-width: 554px;
        height: auto;
        aspect-ratio: 554 / 468;
        margin: 12px auto 24px;
        border-radius: 9px;
    }

    #contents.main_wrap #yonseiVisualSlider,
    #contents.main_wrap #yonseiVisualSlider .owl-stage-outer,
    #contents.main_wrap #yonseiVisualSlider .visual-slide,
    #contents.main_wrap #yonseiVisualSlider picture{
        width: 100% !important;
        height: 100% !important;
    }

    #contents.main_wrap #yonseiVisualSlider .owl-stage,
    #contents.main_wrap #yonseiVisualSlider .owl-item{
        height: 100% !important;
    }

    #contents.main_wrap #yonseiVisualSlider img{
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }

    #contents.main_wrap .yonsei-visual-content{
        width: 100%;
        height: 100%;
        padding: 0;
    }

    #contents.main_wrap .visual-top-menu,
    #contents.main_wrap .visual-bottom-area{
        display: none;
    }

    #contents.main_wrap .visual-slogan{
        top: 25%;
        width: 86%;
        max-width: none;
        transform: translate(-50%, -50%);
    }

    #contents.main_wrap .visual-slogan img{
        width: 100%;
    }

    #contents.main_wrap .visual-sns{
        top: auto;
        right: 3.5%;
        bottom: 4%;
        width: 175px;
    }

    #contents.main_wrap .sns-button{
        height: 47px;
        margin-bottom: 7px;
        padding: 0 15px;
        font-size: 16px;
    }

    #contents.main_wrap .sns-button.facebook .sns-icon{
        margin-right: 10px;
        font-size: 27px;
    }

    #contents.main_wrap .sns-button.kakao .sns-icon{
        width: 30px;
        height: 30px;
        margin-right: 9px;
        font-size: 14px;
    }

    #contents.main_wrap .sns-button b{
        font-size: 27px;
    }

    #contents.main_wrap #mobileQuickMenuMount{
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    #contents.main_wrap #mobileQuickMenuMount .visual-quick-menu{
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #contents.main_wrap #mobileQuickMenuMount .quick-item{
        min-height: 138px;
        padding: 14px 6px;
    }

    #contents.main_wrap #mobileQuickMenuMount .quick-icon{
        width: 58px;
        height: 58px;
        margin-bottom: 10px;
    }

    #contents.main_wrap #mobileQuickMenuMount .quick-item strong{
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    #contents.main_wrap .visual-slogan{
        top: 24%;
        width: 90%;
    }

    #contents.main_wrap .visual-sns{
        right: 3%;
        bottom: 3.5%;
        width: 160px;
    }

    #contents.main_wrap .sns-button{
        height: 43px;
        padding: 0 13px;
        font-size: 15px;
    }

    #contents.main_wrap #mobileQuickMenuMount .quick-item{
        min-height: 118px;
    }

    #contents.main_wrap #mobileQuickMenuMount .quick-icon{
        width: 50px;
        height: 50px;
    }

    #contents.main_wrap #mobileQuickMenuMount .quick-item strong{
        font-size: 12px;
    }
}



/* ==================================================
    메인 배너 · 유튜브 · 명예의 전당
 ================================================== */

#contents.main_wrap .main-media-section{
    width: 100%;
    margin: 10px 0 10px;
}

#contents.main_wrap .main-media-layout{
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(270px, 0.92fr);
    gap: 24px;
    align-items: stretch;
}

#contents.main_wrap .main-media-left,
#contents.main_wrap .main-media-right{
    min-width: 0;
}

/* ==================================================
   상단 랜덤 배너
================================================== */

#contents.main_wrap .main-random-banner{
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f5f5;
}

#contents.main_wrap .main-random-banner-slider,
#contents.main_wrap .main-random-banner-slider .owl-stage-outer,
#contents.main_wrap .main-random-banner-slider .owl-stage,
#contents.main_wrap .main-random-banner-slider .owl-item,
#contents.main_wrap .main-random-banner-slider .item,
#contents.main_wrap .main-random-banner-slider a{
    width: 100%;
}

#contents.main_wrap .main-random-banner-slider a{
    display: block;
}

#contents.main_wrap .main-random-banner-slider img{
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 5.6 / 1;
    object-fit: cover;
}

/* 배너 점 */
#contents.main_wrap .main-random-banner-slider .owl-dots{
    position: absolute;
    left: 30px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#contents.main_wrap .main-random-banner-slider .owl-dot span{
    display: block;
    width: 11px;
    height: 11px;
    margin: 0 !important;
    border-radius: 50%;
    background: #d5d5d5 !important;
}

#contents.main_wrap .main-random-banner-slider .owl-dot.active span{
    width: 18px;
    border-radius: 10px;
    background: #0068b7 !important;
}

/* ==================================================
   유튜브 임시 이미지 슬라이드
================================================== */

#contents.main_wrap .main-youtube-wrap{
    margin-top: 22px;
}

#contents.main_wrap .main-youtube-slider .item{
    overflow: hidden;
}

#contents.main_wrap .youtube-card{
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #eee;
}

#contents.main_wrap .youtube-card img{
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

#contents.main_wrap .youtube-card:hover img{
    transform: scale(1.035);
}

/* 유튜브 재생 버튼 */
#contents.main_wrap .youtube-play{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 66px;
    height: 46px;
    border-radius: 13px;
    background: #ff0033;
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

#contents.main_wrap .youtube-play span{
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 17px solid #fff;
    transform: translate(-50%, -50%);
}

/* 유튜브 좌우 버튼 */
#contents.main_wrap .main-youtube-slider .owl-nav{
    margin: 0;
}

#contents.main_wrap .main-youtube-slider .owl-prev,
#contents.main_wrap .main-youtube-slider .owl-next{
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    font-size: 26px !important;
    line-height: 22.6px !important;
    transform: translateY(-50%);
}

#contents.main_wrap .main-youtube-slider .owl-prev{
    left: 12px;
}

#contents.main_wrap .main-youtube-slider .owl-next{
    right: 12px;
}

/* ==================================================
   명예의 전당
================================================== */

#contents.main_wrap .main-honor-box{
    position: relative;
    height: 100%;
    min-height: 100%;
    padding: 18px 22px 16px;
    background: #f5f6f9;
    box-sizing: border-box;
    overflow: hidden;
}

#contents.main_wrap .main-honor-header{
    margin-bottom: 16px;
    text-align: center;
}

#contents.main_wrap .main-honor-header h2{
    margin: 0;
    color: #222;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

#contents.main_wrap .main-honor-slider .item a{
    display: block;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

#contents.main_wrap .honor-photo{
    width: 62%;
    margin: 0 auto;
    overflow: hidden;
    background: #ddd;
    border-radius: 8px;
}

#contents.main_wrap .honor-photo img{
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 0.8 / 1;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
}

#contents.main_wrap .honor-info{
    padding-top: 14px;
    text-align: center;
}

#contents.main_wrap .honor-info strong{
    display: block;
    color: #242424;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

#contents.main_wrap .honor-info strong span{
    color: #1884d8;
    font-weight: 400;
    font-size:15px;
}

#contents.main_wrap .honor-info p{
    margin-top:6px;
    font-size:13px;
    line-height:1.45;
}

/* 명예의 전당 좌우 버튼 */
#contents.main_wrap .main-honor-nav button{
    position: absolute;
    top: 47%;
    z-index: 10;
    width: 42px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #aaa;
    font-family: Arial, sans-serif;
    font-size: 54px;
    font-weight: 300;
    line-height: 45px;
    cursor: pointer;
    transform: translateY(-50%);
}

#contents.main_wrap .main-honor-nav .honor-prev{
    left: 6px;
}

#contents.main_wrap .main-honor-nav .honor-next{
    right: 6px;
}

#contents.main_wrap .main-honor-nav button:hover{
    color: #0054a6;
}

/* ==================================================
   반응형
================================================== */

@media screen and (max-width: 1199px) {
    #contents.main_wrap .main-media-layout{
        grid-template-columns: minmax(0, 2.35fr) minmax(250px, 0.9fr);
        gap: 18px;
    }

    #contents.main_wrap .main-honor-box{
        padding-right: 24px;
        padding-left: 24px;
    }

    #contents.main_wrap .main-honor-header h2{
        font-size: 22px;
    }

    #contents.main_wrap .honor-info strong{
        font-size: 16px;
    }
}

@media screen and (max-width: 991px) {
    #contents.main_wrap .main-media-layout{
        grid-template-columns: 1fr;
    }

    #contents.main_wrap .main-media-right{
        width: 100%;
    }

    #contents.main_wrap .main-honor-box{
        height: auto;
        padding: 30px 50px;
    }

    #contents.main_wrap .honor-photo{
        width: 240px;
        max-width: 70%;
    }
}

@media screen and (max-width: 767px) {
    #contents.main_wrap .main-media-section{
        margin: -20px 0 35px;
    }

    #contents.main_wrap .main-media-layout{
        gap: 18px;
    }

    #contents.main_wrap .main-random-banner{
        border-radius: 10px;
    }

    #contents.main_wrap .main-random-banner{
        border-radius: 10px;
        background: #fff;
    }

    #contents.main_wrap .main-random-banner-slider .item,
    #contents.main_wrap .main-random-banner-slider a{
        display: block;
        width: 100%;
    }

    #contents.main_wrap .main-random-banner-slider img{
        display: block;
        width: 100% !important;
        height: 96px !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dots{
        position: relative;
        left: auto;
        bottom: auto;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dots{
        left: 16px;
        bottom: 12px;
    }

    #contents.main_wrap .main-youtube-wrap{
        margin-top: 14px;
    }

    #contents.main_wrap .youtube-play{
        width: 54px;
        height: 38px;
        border-radius: 10px;
    }

    #contents.main_wrap .youtube-play span{
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 14px;
    }

    #contents.main_wrap .main-honor-box{
        padding: 28px 34px 25px;
    }

    #contents.main_wrap .main-honor-header{
        margin-bottom: 20px;
    }

    #contents.main_wrap .main-honor-header h2{
        font-size: 21px;
    }

    #contents.main_wrap .honor-photo{
        width: 220px;
        max-width: 78%;
    }

    #contents.main_wrap .main-honor-nav button{
        font-size: 44px;
    }
}

#contents.main_wrap .main-board-section{
    width: 100%;
    padding: 10px 0;
    /*background: #fff;*/
}

#contents.main_wrap .main-board-grid{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

/* 카드 */
#contents.main_wrap .main-board-card{
    min-width: 0;
    padding: 14px 14px 14px;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 18px;
    box-sizing: border-box;
    transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.25s ease;
}

#contents.main_wrap .main-board-card:hover{
    border-color: #d7dee7;
    box-shadow: 0 10px 30px rgba(18, 45, 78, 0.07);
    transform: translateY(-2px);
}

/* 상단 제목 */
#contents.main_wrap .main-board-card__header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    min-height: 54px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8ebef;
}

#contents.main_wrap .main-board-card__title{
    margin: 0;
    color: #073765;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

/* 더보기 */
#contents.main_wrap .main-board-card__more{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    /*margin-top: 4px;*/
    color: #173a62;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

#contents.main_wrap .main-board-card__more span{
    position: relative;
    top: -1px;
    font-size: 20px;
    font-weight: 400;
}

#contents.main_wrap .main-board-card__more:hover,
#contents.main_wrap .main-board-card__more:focus{
    color: #0054a6;
    text-decoration: none;
}

/* 게시물 목록 */
#contents.main_wrap .main-board-card__list{
    margin: 0;
    padding: 10px 0 0;
    list-style: none;
}

#contents.main_wrap .main-board-card__list li{
    margin: 0;
    padding: 0;
}

#contents.main_wrap .main-board-card__post{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 8px 0;
    color: #555;
    text-decoration: none;
}

#contents.main_wrap .main-board-card__subject{
    min-width: 0;
    overflow: hidden;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

#contents.main_wrap .main-board-card__date{
    flex: 0 0 auto;
    color: #777;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

#contents.main_wrap .main-board-card__post:hover .main-board-card__subject,
#contents.main_wrap .main-board-card__post:focus .main-board-card__subject{
    color: #0054a6;
}

#contents.main_wrap .main-board-card__empty{
    padding: 24px 0 12px;
    color: #999;
    font-size: 14px;
    text-align: center;
}

/* 1400px 이하 */
@media screen and (max-width: 1400px) {
    #contents.main_wrap .main-board-grid{
        gap: 12px;
    }

    #contents.main_wrap .main-board-card{
        padding: 22px 20px;
    }

    #contents.main_wrap .main-board-card__title{
        font-size: 18px;
    }

    #contents.main_wrap .main-board-card__subject{
        font-size: 13px;
    }

    #contents.main_wrap .main-board-card__date{
        font-size: 12px;
    }
}

/* 태블릿 */
@media screen and (max-width: 1024px) {
    #contents.main_wrap .main-board-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    #contents.main_wrap .main-board-card:last-child{
        grid-column: 1 / -1;
    }
}

/* 모바일 */
@media screen and (max-width: 640px) {
    #contents.main_wrap .main-board-section{
        padding: 25px 0;
    }

    #contents.main_wrap .main-board-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #contents.main_wrap .main-board-card:last-child{
        grid-column: auto;
    }

    #contents.main_wrap .main-board-card{
        padding: 20px;
        border-radius: 14px;
    }

    #contents.main_wrap .main-board-card__header{
        min-height: auto;
        padding-bottom: 13px;
    }

    #contents.main_wrap .main-board-card__title{
        font-size: 19px;
    }

    #contents.main_wrap .main-board-card__post{
        padding: 9px 0;
    }

    #contents.main_wrap .main-board-card__subject{
        font-size: 14px;
    }

    #contents.main_wrap .main-board-card__date{
        font-size: 12px;
    }
}

/* 전체 배너 영역 */
#contents.main_wrap .partner_slider_wrap{
    margin: 10px 0;
    padding: 1px 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

#contents.main_wrap .partner_slider .item{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
}

#contents.main_wrap .partner_slider .item a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

#contents.main_wrap .partner_slider .item img{
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 92%;
    max-height: 50px;
    margin: 0 auto;
    border: 0 !important;
    box-shadow: none !important;
}

/* 모바일: 2열 × 2행 */
@media screen and (max-width: 767px) {
    #contents.main_wrap .partner_slider_wrap{
        margin: 10px 0;
        padding: 6px;
    }

    #contents.main_wrap .partner_mobile_page{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 2px;
    }

    #contents.main_wrap .partner_mobile_page .item{
        width: 100%;
        height: 66px;
    }

    #contents.main_wrap .partner_mobile_page .item img{
        max-width: 90%;
        max-height: 44px;
    }
}
@media screen and (max-width: 767px) {
    #contents.main_wrap .partner_mobile_page{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
        width: 100%;
    }

    #contents.main_wrap .partner_mobile_page .item{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        height: 68px;
    }

    #contents.main_wrap .partner_mobile_page .item a{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    #contents.main_wrap .partner_mobile_page .item img{
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 92%;
        max-height: 48px;
        margin: 0 auto;
        border: 0 !important;
        box-shadow: none !important;
    }
}

/* ==================================================
메인 비주얼 전체 메뉴
================================================== */

#contents.main_wrap .visual-all-menu{
    position: fixed;
    inset: 0;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
            visibility 0.35s ease,
            opacity 0.35s ease;
}

#contents.main_wrap .visual-all-menu.is-open{
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* 어두운 배경 */
#contents.main_wrap .visual-all-menu-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(3, 24, 56, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* 메뉴 패널 */
#contents.main_wrap .visual-all-menu-panel{
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1240px, calc(100% - 80px));
    max-height: calc(100vh - 80px);
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 20, 60, 0.32);
    transform: translate(-50%, -46%) scale(0.97);
    transition: transform 0.4s ease;
}

#contents.main_wrap .visual-all-menu.is-open .visual-all-menu-panel{
    transform: translate(-50%, -50%) scale(1);
}

/* 상단 */
#contents.main_wrap .visual-all-menu-header{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 95px;
    padding: 20px 90px;
    border-bottom: 1px solid #e6eaf0;
    background: #fff;
}

#contents.main_wrap .visual-all-menu-logo img{
    display: block;
    width: auto;
    max-width: 360px;
    max-height: 52px;
}

/* 닫기 버튼 */
#contents.main_wrap .visual-all-menu-close{
    position: absolute;
    top: 50%;
    right: 34px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5fa;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
            background 0.25s ease,
            transform 0.25s ease;
}

#contents.main_wrap .visual-all-menu-close:hover{
    background: #0756b8;
    transform: translateY(-50%) rotate(90deg);
}

#contents.main_wrap .visual-all-menu-close span{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 2px;
    background: #25527f;
    transform-origin: center;
}

#contents.main_wrap .visual-all-menu-close span:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}

#contents.main_wrap .visual-all-menu-close span:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}

#contents.main_wrap .visual-all-menu-close:hover span{
    background: #fff;
}

/* 메뉴 내용 */
#contents.main_wrap .visual-all-menu-body{
    max-height: calc(100vh - 175px);
    padding: 42px 50px 50px;
    overflow-y: auto;
}

#contents.main_wrap .visual-all-menu-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 34px;
}

#contents.main_wrap .visual-menu-group{
    min-width: 0;
}

#contents.main_wrap .visual-menu-group h3{
    margin: 0 0 17px;
    padding: 0 0 14px;
    border-bottom: 2px solid #145fae;
}

#contents.main_wrap .visual-menu-group h3 a{
    display: block;
    color: #164f8e;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.04em;
    text-decoration: none;
}

#contents.main_wrap .visual-menu-group ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

#contents.main_wrap .visual-menu-group li{
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf0f4;
}

#contents.main_wrap .visual-menu-group li a{
    position: relative;
    display: block;
    padding: 10px 15px 10px 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.45;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition:
            color 0.2s ease,
            padding-left 0.2s ease,
            background 0.2s ease;
}

#contents.main_wrap .visual-menu-group li a::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #87a5c5;
    transform: translateY(-50%);
}

#contents.main_wrap .visual-menu-group li a:hover{
    padding-left: 17px;
    background: #f5f8fc;
    color: #0756b8;
}

/* 메뉴 열릴 때 본문 스크롤 방지 */
html.visual-menu-open,
body.visual-menu-open{
    overflow: hidden;
}

/* 태블릿 */
@media screen and (max-width: 991px) {
    #contents.main_wrap .visual-all-menu-panel{
        width: calc(100% - 40px);
        max-height: calc(100vh - 40px);
    }

    #contents.main_wrap .visual-all-menu-header{
        min-height: 80px;
        padding: 16px 75px;
    }

    #contents.main_wrap .visual-all-menu-logo img{
        max-width: 290px;
        max-height: 45px;
    }

    #contents.main_wrap .visual-all-menu-body{
        max-height: calc(100vh - 120px);
        padding: 30px;
    }

    #contents.main_wrap .visual-all-menu-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 25px;
    }
}

/* 모바일 */
@media screen and (max-width: 600px) {
    #contents.main_wrap .visual-all-menu-panel{
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 15px;
    }

    #contents.main_wrap .visual-all-menu-header{
        min-height: 68px;
        padding: 12px 60px 12px 20px;
        justify-content: flex-start;
    }

    #contents.main_wrap .visual-all-menu-logo img{
        max-width: 230px;
        max-height: 38px;
    }

    #contents.main_wrap .visual-all-menu-close{
        right: 14px;
        width: 40px;
        height: 40px;
    }

    #contents.main_wrap .visual-all-menu-body{
        max-height: calc(100vh - 88px);
        padding: 24px 20px 35px;
    }

    #contents.main_wrap .visual-all-menu-grid{
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #contents.main_wrap .visual-menu-group h3{
        margin-bottom: 8px;
        padding-bottom: 10px;
    }

    #contents.main_wrap .visual-menu-group h3 a{
        font-size: 19px;
    }

    #contents.main_wrap .visual-menu-group li a{
        padding-top: 11px;
        padding-bottom: 11px;
        font-size: 14px;
    }
}

/* ==================================================
   모바일 유튜브 2열 × 2행
================================================== */
@media screen and (max-width: 767px) {

    #contents.main_wrap .main-youtube-wrap{
        margin-top: 26px;
    }

    /*
     * 한 번에 표시되는 영상 4개 묶음
     */
    #contents.main_wrap .main-youtube-slider .youtube-mobile-page{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    #contents.main_wrap .main-youtube-slider .youtube-mobile-page .item{
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    #contents.main_wrap .main-youtube-slider .youtube-card{
        display: block;
        width: 100%;
        overflow: hidden;
        background: #eee;
    }

    #contents.main_wrap .main-youtube-slider .youtube-card img{
        display: block;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    /*
     * 모바일 재생 버튼 크기
     */
    #contents.main_wrap .main-youtube-slider .youtube-play{
        width: 42px;
        height: 30px;
        border-radius: 8px;
    }

    #contents.main_wrap .main-youtube-slider .youtube-play span{
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 10px;
    }

    /*
     * 모바일에서는 좌우 버튼 숨김
     */
    #contents.main_wrap .main-youtube-slider .owl-nav{
        display: none;
    }

    /*
     * 하단 페이지 점
     */
    #contents.main_wrap .main-youtube-slider .owl-dots{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 14px;
    }

    #contents.main_wrap .main-youtube-slider .owl-dot span{
        display: block;
        width: 10px;
        height: 10px;
        margin: 0 !important;
        border-radius: 50%;
        background: #d5d5d5 !important;
    }

    #contents.main_wrap .main-youtube-slider .owl-dot.active span{
        width: 18px;
        border-radius: 10px;
        background: #0879d9 !important;
    }
}


/* =========================================================
   최종 반응형 보정
   이 파일은 #contents.main_wrap 내부에만 적용됩니다.
========================================================= */
@media screen and (max-width: 767px) {
    #contents.main_wrap .main-random-banner {
        overflow: visible;
        border-radius: 10px;
        background: #fff;
    }

    #contents.main_wrap .main-random-banner-slider .item,
    #contents.main_wrap .main-random-banner-slider a {
        display: block;
        width: 100%;
    }

    #contents.main_wrap .main-random-banner-slider img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dots {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 10px 0 0 !important;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dot span {
        width: 11px;
        height: 11px;
        margin: 0 !important;
        border-radius: 50%;
        background: #d5d5d5 !important;
    }

    #contents.main_wrap .main-random-banner-slider .owl-dot.active span {
        width: 18px;
        border-radius: 10px;
        background: #0068b7 !important;
    }

    #contents.main_wrap .youtube-mobile-page {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    #contents.main_wrap .youtube-mobile-page .item {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    #contents.main_wrap .youtube-mobile-page .youtube-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    #contents.main_wrap .main-youtube-slider .owl-nav {
        display: none !important;
    }

    #contents.main_wrap .main-youtube-slider .owl-dots {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 14px;
    }

    #contents.main_wrap .main-youtube-slider .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 0 !important;
        border-radius: 50%;
        background: #d5d5d5 !important;
    }

    #contents.main_wrap .main-youtube-slider .owl-dot.active span {
        width: 18px;
        border-radius: 10px;
        background: #0879d9 !important;
    }
}

@media screen and (max-width: 767px) {

    #contents.main_wrap .main-honor-box {
        padding: 4px 42px 8px;
    }

    #contents.main_wrap .main-honor-header {
        margin-bottom: 18px;
    }

    #contents.main_wrap .main-honor-header h2 {
        font-size: 24px;
    }

    #contents.main_wrap #mainHonorSlider .owl-stage {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .owl-item {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .item {
        width: 100%;
    }

    #contents.main_wrap #mainHonorSlider .item a {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-align: center;
    }

    #contents.main_wrap .honor-photo {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 8px;
    }

    #contents.main_wrap .honor-photo img {
        width: 100% !important;
        height: auto;
        aspect-ratio: 0.82 / 1;
        object-fit: cover;
        object-position: center top;
    }

    #contents.main_wrap .honor-info {
        padding-top: 12px;
    }

    #contents.main_wrap .honor-info strong {
        font-size: 17px;
        line-height: 1.35;
    }

    #contents.main_wrap .honor-info strong span {
        display: block;
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.35;
    }
}

@media screen and (max-width: 767px) {

    #contents.main_wrap .main-honor-box {
        padding: 24px 18px 28px;
    }

    #contents.main_wrap .main-honor-header {
        margin-bottom: 18px;
    }

    #contents.main_wrap .main-honor-header h2 {
        font-size: 24px;
    }

    #contents.main_wrap #mainHonorSlider {
        width: 100%;
    }

    #contents.main_wrap #mainHonorSlider .owl-stage {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .owl-item {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainHonorSlider .item {
        width: 100%;
        min-width: 0;
    }

    #contents.main_wrap #mainHonorSlider .item a {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        text-align: center;
    }

    #contents.main_wrap .honor-photo {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 8px;
    }

    #contents.main_wrap .honor-photo img {
        display: block;
        width: 100% !important;
        height: auto;
        aspect-ratio: 0.82 / 1;
        object-fit: cover;
        object-position: center top;
    }

    #contents.main_wrap .honor-info {
        width: 100%;
        padding: 12px 2px 0;
        box-sizing: border-box;
        text-align: center;
    }

    #contents.main_wrap .honor-info strong {
        display: block;
        font-size: 17px;
        line-height: 1.35;
        word-break: keep-all;
    }

    #contents.main_wrap .honor-info strong span {
        display: block;
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.35;
        white-space: nowrap;
    }

    #contents.main_wrap .honor-info p {
        margin: 10px 0 0;
        font-size: 11px;
        line-height: 1.55;
        letter-spacing: -0.03em;
        word-break: keep-all;
    }

    #contents.main_wrap .main-honor-nav button {
        top: 43%;
        width: 28px;
        height: 44px;
        font-size: 42px;
    }

    #contents.main_wrap .main-honor-nav .honor-prev {
        left: -2px;
    }

    #contents.main_wrap .main-honor-nav .honor-next {
        right: -2px;
    }
}

@media screen and (max-width: 767px) {
    #contents.main_wrap .main-board-section {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    #contents.main_wrap .main-board-section {
        display: none !important;
    }
}



/* ==================================================
   메인 비주얼 최종 보정
================================================== */

/* 메인 비주얼 슬라이드 수정 */
#contents.main_wrap #yonseiVisualSlider {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block !important;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* owl-stage와 owl-item의 width는 Owl Carousel에 맡겨야 합니다 */
#contents.main_wrap #yonseiVisualSlider .owl-stage-outer,
#contents.main_wrap #yonseiVisualSlider .visual-slide {
    height: 100%;
}

#contents.main_wrap #yonseiVisualSlider .owl-stage,
#contents.main_wrap #yonseiVisualSlider .owl-item {
    height: 100%;
}

/* 현재 HTML은 picture img가 아니라 img.visual-image 구조입니다 */
#contents.main_wrap #yonseiVisualSlider .visual-image {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media screen and (max-width: 767px) {
    #contents.main_wrap .yonsei-main-visual {
        width: calc(100% - 24px);
        max-width: 554px;
        height: auto;
        aspect-ratio: 554 / 468;
        margin: 12px auto 24px;
        overflow: hidden;
        border-radius: 9px;
    }

    #contents.main_wrap #yonseiVisualSlider,
    #contents.main_wrap #yonseiVisualSlider .owl-stage-outer,
    #contents.main_wrap #yonseiVisualSlider .visual-slide,
    #contents.main_wrap #yonseiVisualSlider .visual-image {
        height: 100% !important;
    }
}



     /* PC에서는 숨김 */
 #contents.main_wrap #mainBottomPartnerSlider {
     display: none;
 }

/* 모바일에서만 표시 */
@media screen and (max-width: 767px) {
    #contents.main_wrap #mainBottomPartnerSlider {
        display: block;
        width: 100%;
        margin: 14px 0 0;
    }

    #contents.main_wrap #mainBottomPartnerSlider .owl-stage-outer {
        overflow: hidden;
    }

    #contents.main_wrap #mainBottomPartnerSlider .owl-stage {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainBottomPartnerSlider .owl-item {
        display: flex;
        align-items: stretch;
    }

    #contents.main_wrap #mainBottomPartnerSlider .main-bottom-partner-banner {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        border: 1px solid #1f4bd8;
        border-radius: 8px;
        background: #fff;
        box-sizing: border-box;
        text-decoration: none;
    }

    #contents.main_wrap #mainBottomPartnerSlider .main-bottom-partner-banner img {
        display: block;
        width: 100% !important;
        height: 74px;
        object-fit: contain;
        object-position: center;
    }


    #contents.main_wrap #mainBottomPartnerSlider .owl-nav {
        display: none;
    }
}

/* ==========================================
   모바일 게시판 바로가기
========================================== */

.mobile-board-shortcut {
    display: none;
}

@media screen and (max-width: 767px) {

    .mobile-board-shortcut {

        display: grid;

        grid-template-columns:repeat(5, 1fr);

        gap: 8px;

        margin: 20px 0 28px;
    }

    .mobile-board-btn {

        position: relative;

        display: flex;
        flex-direction: column;
        justify-content: space-between;

        height: 112px;

        padding: 12px 8px;

        border-radius: 10px;

        overflow: hidden;

        background: #4a4a4a;

        color: #fff;

        text-decoration: none;

        box-sizing: border-box;

        transition: .2s;
    }

    .mobile-board-btn:before {

        content: "";

        position: absolute;
        inset: 0;

        background: linear-gradient(
                rgba(0, 0, 0, .35),
                rgba(0, 0, 0, .65)
        );

        z-index: 1;
    }

    .mobile-board-btn span {

        position: relative;
        z-index: 2;

        font-size: 13px;
        font-weight: 700;
        line-height: 1.35;

        letter-spacing: -0.4px;
    }

    .mobile-board-btn i {

        position: relative;
        z-index: 2;

        align-self: flex-end;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 28px;
        height: 28px;

        border-radius: 50%;

        background: #fff;

        color: #222;

        font-size: 20px;

        font-style: normal;

        font-weight: 300;
    }

    /* 배경이미지 */
    .board-job {
        background: url("../img/main/bg_ban01.jpg") center/cover;
    }

    .board-building {
        background: url("../img/main/bg_ban04.jpg") center/cover;
    }

    .board-funeral {
        background: url("../img/main/bg_ban03.jpg") center/cover;
    }

    .board-usa {
        background: url("../img/main/bg_ban04.jpg") center/cover;
    }

    .board-news {
        background: url("../img/main/bg_ban05.jpg") center/cover;
    }

}