@charset "UTF-8";
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        box-shadow: none;
    }

    .navbar-nav .dropdown-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: #e9ecef;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link:hover {
        background-color: transparent;
    }

    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }
}

a.sub-nav-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

a.sub-nav-tab:hover {
    color: white;
}

a.sub-nav-tab.active {
    color: #333;
}

/* ----- 교육시설안내 타이틀 블록 (lnbTitle) ----- */
.fac-w-lnbTitle {
    margin-bottom: 2.5rem;
}

.fac-w-lnbTitB {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

/* 전역 style.css `section h2` / `section h2::after` 밑줄·테두리 느낌 제거 */
section.campus-facility-page h2.fac-w-lnbTitB {
    border: none;
    box-shadow: none;
    margin-bottom: 0.75rem;
}

section.campus-facility-page h2.fac-w-lnbTitB::after {
    content: none !important;
    display: none !important;
}

.fac-w-lnbTitL {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ----- 시설 행 (facArea 유사) ----- */
.fac-w-area {
    position: relative;
    margin-bottom: 0;
    padding: 1.25rem 0 3.5rem;
}

.fac-w-area--alt {
    background: #f7f7f7;
    padding: 3rem 0 4rem;
}

.fac-w-block {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    min-height: 380px;
}

.fac-w-imgWrap {
    width: 68%;
    max-width: 720px;
    position: relative;
    border-radius: 0 48px 0 48px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e9ecef;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.fac-w-area--even .fac-w-imgWrap {
    margin-left: auto;
    border-radius: 48px 0 48px 0;
}

.fac-w-imgWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.fac-w-imgWrap:hover img {
    transform: scale(1.03);
}

.fac-w-modal-trigger {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.fac-w-modal-trigger:focus-visible {
    outline: 3px solid rgba(55, 161, 62, 0.45);
    outline-offset: 4px;
}

.fac-w-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(580px, 94%);
    background: #fff;
    border-radius: 40px 0 0 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.fac-w-area--even .fac-w-panel {
    left: 0;
    right: auto;
    border-radius: 0 40px 0 0;
    background: #f7f7f7;
}

.fac-w-area--odd:not(.fac-w-area--alt) .fac-w-panel {
    background: #fff;
}

.fac-w-panelInner {
    display: flex;
    gap: 1rem 1.25rem;
    padding: 1.75rem 1.75rem 1.75rem 1.5rem;
    align-items: flex-start;
}

.fac-w-area--even .fac-w-panelInner {
    flex-direction: row-reverse;
    text-align: right;
    padding: 1.75rem 1.5rem 1.75rem 1.75rem;
}

.fac-w-num {
    flex: 0 0 auto;
    min-width: 2.75ch;
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: #37a13e;
    padding-top: 0.15rem;
}

.fac-w-detail {
    flex: 1;
    min-width: 0;
    padding-top: 0.35rem;
}

.fac-w-detail em {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    font-style: normal;
    color: #111;
    margin-bottom: 0.5rem;
}

.fac-w-detail p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #444;
    margin-bottom: 0;
}

.fac-w-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(55, 161, 62, 0.12), rgba(55, 161, 62, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #37a13e;
    z-index: 1;
    pointer-events: none;
}

.fac-w-area--even .fac-w-deco {
    left: 0;
    right: auto;
}

/* ----- 하단 갤러리 (facRolling + Swiper) ----- */
.fac-w-rolling {
    padding: 2rem 0 4rem;
    position: relative;
}

.fac-w-rolling .fac-w-lnbTitle {
    margin-bottom: 2rem;
}

.fac-w-subTit {
    font-weight: 500;
    letter-spacing: 0.35em;
    color: #111;
    text-align: center;
    margin: 1.25rem 0 0.75rem;
    padding-left: 0.35em;
    font-size: 0.85rem;
}

.campus-gallery-main {
    position: relative;
    width: 100%;
    border-radius: 36px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.campus-gallery-main .swiper-slide {
    height: clamp(280px, 52vw, 560px);
    background-size: cover;
    background-position: center;
    background-color: #222;
}

.campus-gallery-thumbs {
    height: auto;
    padding: 0.5rem 0 2.5rem;
    box-sizing: border-box;
}

.campus-gallery-thumbs .swiper-slide {
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: opacity 0.25s ease, border-color 0.25s ease;
    background-size: cover;
    background-position: center;
    background-color: #dee2e6;
}

.campus-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #37a13e;
}

/* 갤러리 좌우 이동 — Swiper 기본 화살표 제거 후 커스텀 */
.campus-gallery-main .campus-gallery-nav {
    --nav-size: 52px;
    width: var(--nav-size);
    height: var(--nav-size);
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(20, 22, 24, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 8px 24px rgba(0, 0, 0, 0.18);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.campus-gallery-main .campus-gallery-nav::after {
    display: none !important;
}

.campus-gallery-main .campus-gallery-nav i {
    font-size: 0.95rem;
    opacity: 0.95;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.campus-gallery-main .campus-gallery-nav:hover {
    background: rgba(55, 161, 62, 0.88);
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 10px 28px rgba(55, 161, 62, 0.35);
    transform: translateY(-50%) scale(1.06);
}

.campus-gallery-main .campus-gallery-nav:hover i {
    opacity: 1;
}


.campus-gallery-main .campus-gallery-nav:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.55),
        0 0 0 5px rgba(55, 161, 62, 0.45),
        0 8px 24px rgba(0, 0, 0, 0.2);
}

.campus-gallery-main .campus-gallery-nav.swiper-button-disabled {
    opacity: 0.28;
    cursor: not-allowed;
    pointer-events: none;
    transform: translateY(-50%) scale(1);
}

.campus-gallery-prev {
    left: 16px;
}

.campus-gallery-next {
    right: 16px;
}

@media (max-width: 991.98px) {
    .fac-w-block {
        min-height: 0;
        padding-bottom: 2rem;
    }

    .fac-w-imgWrap {
        width: 100%;
        max-width: none;
        border-radius: 24px 24px 0 24px;
    }

    .fac-w-area--even .fac-w-imgWrap {
        border-radius: 24px 24px 24px 0;
    }

    .fac-w-panel {
        position: relative;
        width: 100%;
        margin-top: -2.5rem;
        margin-left: auto;
        margin-right: auto;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }

    .fac-w-area--even .fac-w-panel {
        border-radius: 0 0 24px 24px;
    }

    .fac-w-deco {
        display: none;
    }

    .fac-w-area--even .fac-w-panelInner {
        flex-direction: row;
        text-align: left;
    }

    .campus-gallery-thumbs .swiper-slide {
        height: 72px;
    }
}

@media (max-width: 576px) {
    .fac-w-num {
        font-size: 2.5rem;
    }

    .fac-w-detail em {
        font-size: 1rem;
    }
}
