﻿body {
    height: 100%;
    margin: 0;
}

.layout-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.layout-content {
    flex: 1;
}


.gnb {
    display: flex;
    align-items: center;
}

    .gnb > li {
        position: relative;
    }

        .gnb > li > a {
            display: block;
            padding: 35px 18px;
            font-size: 17px;
            white-space: nowrap;
        }

@media (max-width:1200px) {

    .layout-header {
        padding: 0 20px;
    }

    .top-kcl-logo img {
        width: 170px;
        height: auto;
    }

    .gnb > li > a {
        padding: 32px 12px;
        font-size: 15px;
    }

    .sub-menu {
        min-width: 180px;
    }
}

@media (max-width:1080px) {

    .top-kcl-logo img {
        width: 150px;
    }

    .gnb > li > a {
        padding: 30px 8px;
        font-size: 14px;
    }
}

@media (max-width:992px) {
/*    #header nav {
        display: none;
    }*/
/*    nav {
        display: none;
    }*/

    .mobile-btn {
        display: flex;
    }
}

nav.open {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
}

.layout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-kcl-logo {
    flex: 0 0 auto;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    /*    justify-content: flex-end;*/
    min-width: 0;
}

.gnb {
    display: flex;
    flex-wrap: nowrap;
}

    .gnb > li > a {
        white-space: nowrap;
    }

.manual-btn {
    white-space: nowrap;
    flex-shrink: 0;
    flex: 0 0 auto;
}

/* Desktop */
/*@media (min-width:1201px) {
}*/

/* 1080 모니터 */
/*@media (max-width:1200px) {
}*/

/* 작은 노트북 */
/*@media (max-width:1080px) {
}*/

/* 태블릿 */
/*@media (max-width:992px) {
}*/

/* 모바일 */
/*@media (max-width:768px) {
}*/



.top-kcl-logo {
    height: 45px !important;
    margin-top: -20px;
}

.map-btn {
/*    margin-top: 0px;*/
    margin-bottom: 30px;
    margin-left: 5px;
}

/**/
.footer-info-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-row {
    display: flex;
    justify-content: flex-start;
    gap: 2px;
}

    .footer-row span {
        width: 48%; /* 👈 반씩 나눔 */
    }

    .footer-row strong {
        margin-right: 4px; /* 기존 6px → 4px */
    }

/**/
.footer-partners {
    position: relative;
    overflow: visible;
    background: #1a1a1a;
    /*    background: #f8f9fa;*/
    max-width: 1200px; /* 👈 다시 고정 */
/*    margin: 30px auto 0;*/
/*    padding: 15px 0;*/
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px; /* 👈 폭 제한 */
    margin-left: auto;
    margin-right: auto;
}

.partner-carousel .item {
    text-align: center;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 6px;
/*    padding: 0 5px;*/
}

.partner-carousel img {
    width: 100%;
    max-height: 40px;
    object-fit: contain;
    opacity: 0.9;
    transition: 0.3s;
}

    .partner-carousel img:hover {
        opacity: 1;
    }

.partner-carousel .owl-nav {
    display: block !important;
}

    .partner-carousel .owl-nav button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
/*        text-align: center;*/
        background: rgba(255,255,255,0.2);
        color: #fff;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        /*    font-size: 40px;*/
    }

        .partner-carousel .owl-nav button span {
            font-size: 32px !important;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            transform: translateY(-4px); /* 👈 살짝 위로 */
        }

/* 👈 왼쪽 바깥 */
.partner-carousel .owl-nav .owl-prev {
    left: -50px;
}

/* 👈 오른쪽 바깥 */
.partner-carousel .owl-nav .owl-next {
    right: -50px;
}

.partner-carousel .owl-nav button:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .partner-carousel .owl-nav {
        display: none;
    }
}
