@charset "UTF-8";

@import url(../js/swiper/swiper-bundle.min.css);

/* ============================================
   화성컨소시엄 RISE사업단 - Final 메인페이지
   inno.suwon.ac.kr 헤더/푸터 + kookmin RISE 비주얼
   ============================================ */

/* ============================================
   Header Override (inno.suwon 스타일)
   ============================================ */
.fm-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    height: 72px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .3s, background .3s;
}
.fm-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    background: rgba(255,255,255,.99);
}
.fm-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fm-header__logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.fm-header__logo img {
    height: 40px;
}
.fm-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.fm-header__logo-text .univ {
    font-size: 11px;
    color: var(--color-text-light);
    font-weight: 500;
}
.fm-header__logo-text .dept {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: -.02em;
}
.fm-header__logo-text .dept em {
    color: var(--color-accent);
    font-style: normal;
}

/* GNB Nav */
.fm-gnb {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Override legacy #gnb rules from old common.css (overflow:hidden, fixed height). */
#fm-header #gnb {
    position: static;
    width: auto;
    height: 100%;
    overflow: visible;
}
#fm-header #gnb.active:before {
    display: none;
}
#fm-header #gnb > ul,
#fm-header #gnb > .fm-gnb__list {
    width: auto;
    margin: 0;
    padding-right: 0;
    justify-content: flex-start;
}
#fm-header #gnb > ul > li,
#fm-header #gnb > .fm-gnb__list > li {
    margin: 0;
}

/* Override legacy #gnb underline states (#gnb > ul > li.on > a:after). */
#fm-header #gnb > .fm-gnb__list > .fm-gnb__item > a::after {
    bottom: -1px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center center;
    height: 3px;
    z-index: 3;
    background: var(--color-primary);
    transition: transform .25s ease;
}
#fm-header #gnb > .fm-gnb__list > .fm-gnb__item:hover > a::after,
#fm-header #gnb > .fm-gnb__list > .fm-gnb__item.on > a::after,
#fm-header #gnb > .fm-gnb__list > .fm-gnb__item.is-active > a::after {
    transform: translateX(-50%) scaleX(1);
    height: 3px;
    background: var(--color-primary);
}
#fm-header #gnb > .fm-gnb__list > .fm-gnb__item:hover > a,
#fm-header #gnb > .fm-gnb__list > .fm-gnb__item.on > a,
#fm-header #gnb > .fm-gnb__list > .fm-gnb__item.is-active > a {
    color: var(--color-primary);
}
.fm-gnb__list {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}
.fm-gnb__item {
    position: relative;
    height: 100%;
}
.fm-gnb__item > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 2px 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    transition: color .2s;
    position: relative;
    z-index: 3;
}
.fm-gnb__item > a::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    width: 100%; height: 3px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center center;
    z-index: 3;
    background: var(--color-primary);
    transition: transform .25s ease;
}
.fm-gnb__item:hover > a,
.fm-gnb__item.is-active > a { color: var(--color-primary); }
.fm-gnb__item:hover > a::after,
.fm-gnb__item.is-active > a::after { transform: translateX(-50%) scaleX(1); }

/* Dropdown */
.fm-gnb__sub {
    position: absolute;
    top: calc(100% + 2px); left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    text-align: left;
    z-index: 2;
    background: var(--color-white);
    border: 1px solid var(--color-primary);
    border-top: 0;
    /* border-top: 3px solid var(--color-primary); */
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
    padding: 10px 0;
    border-radius: 0 0 6px 6px;
}
.fm-gnb__item:hover .fm-gnb__sub { opacity: 1; visibility: visible; }
.fm-gnb__sub li a {
    display: block;
    padding: 8px 12px 8px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: left;
    transition: all .2s;
}
.fm-gnb__sub li a:hover {
    background: var(--color-accent-light);
    color: var(--color-primary);
    padding-left: 24px;
}

/* All-Menu Button */
.fm-header__allbtn {
    width: 40px; height: 40px;
    display: flex;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
    margin-left: 12px;
    border-radius: 8px;
    transition: background .2s;
     top: calc(100% + 2px); left: 50%;
    z-index: 10;
    margin-right:-10px;
}
.fm-header__allbtn:hover { background: var(--color-bg-light); }
.fm-header__allbtn span {
    display: block;
    width: 20px; height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: all .3s;
}
.fm-header__allbtn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.fm-header__allbtn.is-active span:nth-child(2) {
    opacity: 0;
}
.fm-header__allbtn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* All-Menu Fullscreen Overlay */
.fm-allmenu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 43, 91, .97);
    z-index: 9998;
    overflow-y: auto;
    padding: 100px 0 60px;
    animation: fadeInOverlay .3s ease;
}
.fm-allmenu-overlay.is-open {
    display: block;
}
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fm-allmenu-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.fm-allmenu-col {
    border-right: 1px solid rgba(255,255,255,.08);
    padding: 0 24px;
}
.fm-allmenu-col:last-child { border-right: none; }
.fm-allmenu-col__title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--color-accent);
    text-decoration: none;
    transition: color .2s;
}
.fm-allmenu-col__title:hover { color: var(--color-accent); }
.fm-allmenu-col__list {
    list-style: none;
}
.fm-allmenu-col__list li {
    margin-bottom: 6px;
}
.fm-allmenu-col__list a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: all .2s;
    position: relative;
    padding-left: 12px;
}
.fm-allmenu-col__list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    transition: background .2s;
}
.fm-allmenu-col__list a:hover {
    color: #fff;
    padding-left: 16px;
}
.fm-allmenu-col__list a:hover::before {
    background: var(--color-accent);
}

/* 오버레이 닫기 버튼 (헤더의 햄버거가 X로 전환) */
.fm-header__allbtn.is-active {
    z-index: 9999;
}
.fm-header__allbtn.is-active span {
    background: var(--color-text);
}

@media (max-width: 1024px) {
    .fm-allmenu-inner {padding:0 20px;}
    .fm-allmenu-col__list a {font-size: 15px;}
}
@media (max-width: 768px) {
    .fm-allmenu-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px 0;
        padding: 0 24px;
    }
   
    .fm-allmenu-col:nth-child(2n) { border-right: none; }
}
@media (max-width: 767px) {
    
}
@media (max-width: 480px) {
    .fm-allmenu-inner {
        grid-template-columns: 1fr;
        gap: 16px 0;
    }
    .fm-allmenu-overlay {padding:85px 0 30px;}
    .fm-allmenu-col { border-right: none; padding: 0;}
    .fm-allmenu-col:last-child { border-bottom: none; }
    .fm-allmenu-col__list a {padding:3px 0;}
    .fm-allmenu-col__title {margin-bottom:10px;padding-bottom:5px;}
}

/* ============================================
   Visual Slider (1/3 viewport, kookmin style)
   ============================================ */
.fm-visual {
    position: relative;
    /* margin-top: 72px; */
    height: 36vh;
    min-height: 320px;
    max-height: 420px;
    overflow: hidden;
    background: #001225;
}
.fm-visual__slides {
    position: relative;
    width: 100%; height: 100%;
}
.fm-visual__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.fm-visual__slide.is-active { opacity: 1; }
.fm-visual__slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.55) saturate(.85);
}
.fm-visual__text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
    z-index: 2;
}
.fm-visual__label {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: .04em;
    margin-bottom: 10px;
}
.fm-visual__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.fm-visual__desc {
    font-size: 22px;
    font-weight: 400;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
}

/* Slider Controls */
.fm-visual__controls {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fm-visual__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    border: none;
    cursor: pointer;
    transition: all .3s;
}
.fm-visual__dot.is-active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}
.fm-visual__pause {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    margin-left: 6px;
    transition: background .2s;
}
.fm-visual__pause:hover { background: rgba(255,255,255,.3); }

/* Arrow Buttons */
.fm-visual__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s;
    backdrop-filter: blur(4px);
}
.fm-visual__arrow:hover {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-50%) scale(1.06);
}
.fm-visual__arrow--prev { left: 28px; }
.fm-visual__arrow--next { right: 28px; }

/* ============================================
   News Section (공지사항 + 보도자료 분리)
   ============================================ */
.fm-news-section {
    padding: 56px 0 48px;
    background: var(--color-white);
}
.fm-news-split {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    /* grid-template-columns: 1fr 1fr 280px;
    gap: 32px;
    align-items: flex-start; */
}

/* News Box Header */
.fm-news-box {width:100%;}
.fm-news-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}
.fm-news-box__header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
.fm-news-box__more {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid #c9c9c9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text-light);
    transition: all .2s;
    padding-bottom: 1px;
}
.fm-news-box__more:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* 공지사항 List */
.fm-news-list { padding: 0; }
.fm-news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
    gap: 16px;
    padding:0 5px;
}
/* .fm-news-item:hover { background: #FAFBFD;} */
.fm-news-item__title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    padding: 1px 0;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
    line-height: 3;
}
.fm-news-item:hover .fm-news-item__title { color: var(--color-primary); }
.fm-news-item__date {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
}

.fm-press-box {width:100%;margin-left:40px;}
.fm-press-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}
.fm-press-box__header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
.fm-press-box__more {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid #c9c9c9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text-light);
    transition: all .2s;
    padding-bottom:1px;
}
.fm-press-box__more:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
/* 보도자료 List (with thumbnail) */
.fm-press-list { padding: 0; }
.fm-press-item {
    display: block;
    align-items: center;
    gap: 14px;
    padding: 5px 0;
    /* border-bottom: 1px solid #f0f0f0; */
    transition: background .15s;
}
.fm-press-item:hover { background: #FAFBFD; }
.fm-press-item__thumb {
    flex-shrink: 0;
    width: 100%;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-bg-light);
}
.fm-press-item__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.fm-press-item:hover .fm-press-item__thumb img { transform: scale(1.05); }
.fm-press-item__text {
    flex: 1;
    min-width: 0;
    padding:0 10px;
}
.fm-press-item__title {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.5;
    transition: color .2s;
    margin-top:20px;
}
.fm-press-item:hover .fm-press-item__title { color: var(--color-primary); }
.fm-press-item__date {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.press-slider-wrap {width:418px;min-height:240px; border-bottom: 1px solid #f0f0f0;}
.press-slider {position:relative;overflow:hidden;}

.ctrl-wrap {display:flex;align-items:center;justify-content:center;}
.ctrl-wrap button {width:28px;height:28px;text-indent:-999px;overflow:hidden;border-radius:30px;transition:all 0.3s;flex:none;border:1px solid #c9c9c9;margin-right:8px;}
.ctrl-wrap .btn-prev {background:url(../images/ico_prev.svg) no-repeat 50% 50%;background-size:12px;}
.ctrl-wrap .btn-prev:hover {background:#fead05 url(../images/ico_prev_on.svg) no-repeat 50% 50%;background-size:12px;}
.ctrl-wrap .btn-next {background:url(../images/ico_next.svg) no-repeat 50% 50%;background-size:12px;}
.ctrl-wrap .btn-next:hover {background:#fead05 url(../images/ico_next_on.svg) no-repeat 50% 50%;background-size:12px;}
.ctrl-wrap .btn-play {background:url(../images/ico_play.svg) no-repeat 50% 50%;display:none;background-size:8px;}
.ctrl-wrap .btn-play:hover {background:#fead05 url(../images/ico_play_on.svg) no-repeat 50% 50%;background-size:8px;}
.ctrl-wrap .btn-pause {background:url(../images/ico_pause.svg) no-repeat 50% 50%;background-size:10px;}
.ctrl-wrap .btn-pause:hover {background:#fead05 url(../images/ico_pause_on.svg) no-repeat 50% 50%;background-size:10px;}
.ctrl-wrap button:hover {background-color:#fead05;border:1px solid #fead05;}

/* Banners (우측 세로) */
.fm-banners {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width:300px;flex: none;
    margin-left:40px;
}
.fm-banner-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 20px 20px 100px;
    border-radius: 10px;
    min-height: 140px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
}
.fm-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.fm-banner-card--system {
    background: linear-gradient(135deg, #002B5B 0%, #1A5FAC 100%);
    color: #fff;
}
.fm-banner-card--system .fm-banner-card__icon { width:70px;height: 70px; position:absolute;left:20px;top:50%;background:url(../images/ico_system.png) no-repeat 50% 50%; transform: translateY(-50%);}
.fm-banner-card--edu {
    background: linear-gradient(135deg, #00796B 0%, #26A69A 100%);
    color: #fff;
}
.fm-banner-card--edu .fm-banner-card__icon {width:70px;height: 70px; position:absolute;left:20px;top:50%;background:url(../images/ico_edu.png) no-repeat 50% 50%; transform: translateY(-50%);}
.fm-banner-card__icon {
    font-size: 28px;
    opacity: .8;
}
.fm-banner-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    color: #fff;
}
.fm-banner-card__desc {
    font-size: 14px;
    opacity: .7;
    color: #fff;
}
.fm-banner-card__arrow {
    position: absolute;
    right: 20px; bottom: 20px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: background .2s;
}
.fm-banner-card:hover .fm-banner-card__arrow { background: rgba(255,255,255,.3); }

/* ============================================
   Card News & Photo Gallery
   ============================================ */
.fm-content-section {
    padding: 48px 0 64px;
    background: var(--color-bg-light);
}
.fm-content-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    /* display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 40px; */
    display:flex;
}

.fm-card-news {width:418px;}
.fm-photo-gallery {width:418px;margin-left:40px;}
.fm-schedule {width:300px;margin-left:40px;}

.card-slider {overflow: hidden;}
.gallery-slider {overflow: hidden;}

.fm-schedule-list {border: 1px solid #E0E0E0;border-radius: 6px;height: 203px;padding:10px 20px;}
.fm-schedule-list li {border-top: 1px solid #E0E0E0;}
.fm-schedule-list li:first-child {border-top: 0;}
.fm-schedule-list a {font-size: 14px;padding:7px 0;display:block;}
.fm-schedule-list .date {font-weight:600;margin-bottom:1px;}
.fm-schedule-list .txt {white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}

/* Section Header */
.fm-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.fm-sec-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fm-sec-header h3::before {
    content: '';
    width: 4px; height: 20px;
    border-radius: 2px;
    background: #333;
}

/* Section Header Right */
.fm-sec-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Slider Nav Buttons */
.fm-slider-nav {
    display: flex;
    gap: 4px;
}
.fm-slider-nav__btn {
    width: 32px; height: 32px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}
.fm-slider-nav__btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Slider */
.fm-slider {
    position: relative;
    overflow: hidden;
}
.fm-slider__track {
    position: relative;
}
.fm-slider__page {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fm-slider__page.is-active {
    display: grid;
}

/* Card News */
.fm-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fm-card {
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid #E0E0E0;
    transition: transform .3s, box-shadow .3s;
    display: block;
}
.fm-card:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.fm-card__thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F4FD, #D1E8F8);
}
.fm-card__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.fm-card:hover .fm-card__thumb img { transform: scale(1.05); }
.fm-card__body {
    padding: 12px 12px 5px;
}
.fm-card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
    min-height: 36px;
}
.fm-card__date {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* Photo Gallery */
.fm-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fm-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 140px;
    cursor: pointer;
}
.fm-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.fm-gallery-item:hover img { transform: scale(1.08); }
.fm-gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity .3s;
}
.fm-gallery-item:hover .fm-gallery-item__overlay { opacity: 1; }
.fm-gallery-item__overlay span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* ============================================
   Footer (inno.suwon 스타일)
   ============================================ */
.fm-footer {
    background: #38404d;
    color: rgba(255,255,255,.65);
    padding: 0;
}
.fm-footer__top {
    padding: 30px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.fm-footer__top-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: flex-start;
}
.fm-footer__info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.fm-footer__info p {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,.5);
}
.fm-footer__info p strong {
    color: rgba(255,255,255,.7);
    font-weight: 600;
    margin-right: 4px;
}

/* Related Sites (Combo) */
.fm-footer__sites {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.fm-footer__combo {
    display: flex;
    gap: 0;
}
.fm-footer__select {
    padding: 9px 14px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;
    min-width: 200px;
    /* appearance: auto; */
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance:none;-moz-appearance:none;appearance:none;background:url('../images/icon_arrow_down2.svg') no-repeat right 10px center;
}
.fm-footer__select:focus {
    border-color: rgba(255,255,255,.35);
}
.fm-footer__select option {
    background: #1B2330;
    color: #ccc;
}

/* Footer Bottom */
.fm-footer__bottom {
    padding: 12px 0;
}
.fm-footer__bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fm-footer__copy {
    font-size: 12px;
    color: rgba(255,255,255,.35);
}
.fm-footer__policy {
    display: flex;
    gap: 16px;
}
.fm-footer__policy a {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    transition: color .2s;
}
.fm-footer__policy a:hover { color: rgba(255,255,255,.8); }
.fm-footer__policy a.is-strong {
    font-weight: 700;
    color: rgba(255,255,255,.65);
}

/* Scroll Top */
.fm-scroll-top {
    position: fixed;
    right: 28px; bottom: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0,70,139,.25);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    cursor: pointer;
    border: none;
}
.fm-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
}
.fm-scroll-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .fm-gnb__item > a { padding: 0 16px; font-size: 16px; }
    .fm-visual__title { font-size: 30px; }
    .fm-news-split { grid-template-columns: 1fr 1fr 240px; gap: 24px; }
    .fm-content-section__inner { gap: 28px; }


    .fm-news-split {display:block;}
    .fm-press-box {margin-top:30px;margin-left:0;}
    .press-slider-wrap {width:auto;}
    .fm-banners {width:auto;}
    .fm-banners {margin-top:30px;margin-left:0;}

    .fm-content-section__inner {display:block;}
    .fm-card-news {width:auto;}
    .fm-photo-gallery {margin-top:30px;margin-left:0;width:auto;}
    .fm-schedule {width:auto;margin-top:30px;margin-left:0;}
}

@media (max-width: 768px) {
    .fm-header { height: 60px; }
    .fm-visual { /*margin-top: 60px;*/ height: 25vh; min-height: 260px; }
    .fm-visual__text { padding: 0 24px; text-align: center; }
    .fm-visual__label { font-size: 15px; }
    .fm-visual__title { font-size: 22px; }
    .fm-visual__desc { font-size: 16px; }

    .fm-gnb { display: none; }
    .fm-gnb.is-open { display: block; }
    .fm-visual__arrow { width: 36px; height: 36px; font-size: 16px; }
    .fm-visual__arrow--prev { left: 12px; }
    .fm-visual__arrow--next { right: 12px; }

    .fm-news-split {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .fm-news-section { padding: 36px 0; }
    .fm-banners { flex-direction: row; }
    .fm-banner-card { min-height: 110px;}

    .fm-content-section__inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .fm-content-section { padding: 36px 0 48px; }
    .fm-footer__info h4 {margin-bottom:10px;}
    .fm-footer__top-inner {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 20px;
    }
    .fm-footer__bottom-inner {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .fm-card-grid { grid-template-columns: 1fr; }
    .fm-gallery-grid { grid-template-columns: 1fr; }
    .fm-banners { flex-direction: column; }
    .fm-visual__title { font-size: 20px; }
    .fm-footer__combo {width:100%;}
    .fm-footer__combo .fm-footer__select {width:100%;}
}



.visual-area {position:relative;width:100%;display:flex;align-items:center;flex-direction:column;justify-content:center;}
.visual-area .visual-slider {width:100%;height:500px;overflow: hidden;}
.visual-area .visual-slider li {position:relative;}
.visual-area .visual-slider li .visual-img {position:absolute;left:0;top:0;width:100%;height:100%;}
.visual-area .visual-slider li.item1 .visual-img {background:url(../images/main_visual01.jpg) no-repeat 50% 0;background-size:cover;}
.visual-area .visual-slider li.item2 .visual-img {background:url(../images/main_visual02.jpg) no-repeat 50% 0;background-size:cover;}
.visual-area .visual-slider li.item3 .visual-img {background:url(../images/main_visual03.jpg) no-repeat 50% 0;background-size:cover;}
.visual-area .visual-slider li.item4 .visual-img {background:url(../images/main_visual04.jpg) no-repeat 50% 0;background-size:cover;}
.visual-area .visual-slider li.item5 .visual-img {background:url(../images/main_visual05.jpg) no-repeat 50% 0;background-size:cover;}
.visual-area .visual-slider li.swiper-slide-active .visual-img {animation:visual_scale2 7s 0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.1,0,.8,1);}
@-webkit-keyframes visual_scale2 {from {transform:scale(1.13);} to {transform:scale(1);}}
@keyframes visual_scale2 {from {transform:scale(1.13);} to {transform:scale(1);}}

.visual-area .visual-slider .ctrl-wrap {position:absolute;left:0;right:0;bottom:20px;text-align:center;z-index:1;animation-fill-mode:both;animation-name:fadeBigInUp;animation-duration:0.8s;}
.visual-area .visual-slider .pager .swiper-pagination-bullet {position:relative;width:10px;height:10px;margin:0 5px;opacity:1;overflow:hidden;border-radius:10px;background:#fff;}
.visual-area .visual-slider .pager .swiper-pagination-bullet-active {width:50px;background:transparent;}
.visual-area .visual-slider .pager .swiper-pagination-bullet i {position:absolute;top:0;left:0;z-index:1;width:10px;height:10px;background:#fff;}
.visual-area .visual-slider .pager .swiper-pagination-bullet em {position:absolute;top:0;left:0;z-index:2;width:0;height:0;border-radius:10px;}
.visual-area .visual-slider .pager .swiper-pagination-bullet-active i {width:100%;}
.visual-area .visual-slider .pager .swiper-pagination-bullet-active em {height:10px;background:#f9981a;animation-name:countingBar;animation-duration:5s;animation-timing-function:ease-in;animation-iteration-count:1;animation-direction:alternate;animation-fill-mode:forwards;}
@keyframes countingBar {0% {width:0;} 100% {width:100%;}}

.visual-area .txt-wrap {max-width:1280px;margin:0 auto;text-align:center;padding-bottom:40px;}
.visual-area .txt-wrap p span.ani {font-size:18px;line-height:1.4;color:#fff;display:inline-block;animation-fill-mode:both;animation-name:fadeBigInUp;animation-duration:0.8s;text-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);}
.visual-area .txt-wrap span.txt1.ani {animation-delay:0.1s;font-size:32px;color:#fff;font-weight:700;}
.visual-area .txt-wrap span.txt1.ani em {font-size:50px;background-color:#fead05;text-shadow:none;padding:0 5px;line-height:1;color:#fff;font-family:'Shilla';position:relative;text-shadow:1px 1px 1px rgba(0, 0, 0, 0.6);}
.visual-area .txt-wrap span.txt2.ani {animation-delay:0.6s;font-size:36px;font-weight:700;}
.visual-area .txt-wrap span.txt3.ani {animation-delay:1.2s;margin-top:30px;font-size:22px;}

@media only all and (max-width:767px) {
  .visual-area {height:calc(100vh - 60px);}
  .visual-area .txt-wrap {padding-bottom:300px;}
  .visual-area .txt-wrap p span.ani {font-size:16px;}
  .visual-area .txt-wrap span.txt1.ani {font-size:26px;}
  .visual-area .txt-wrap span.txt1.ani em {font-size:36px;}
  .visual-area .txt-wrap span.txt2.ani {font-size:26px;margin-top:5px;}
  .visual-area .txt-wrap span.txt3.ani {font-size:16px;line-height:1.6;}
  .visual-area .visual-slider .ctrl-wrap {bottom:240px;}
}

@keyframes fadeInUp {
  0% {opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px);}
  100% {opacity:1;-webkit-transform:translateY(0);transform:translateY(0);}
}
@keyframes fadeBigInUp {
  0% {opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px);}
  100% {opacity:1;-webkit-transform:translateY(0);transform:translateY(0);}
}

@media (max-width: 560px) {
    .modal-popup {left:50% !important;width:90% !important;height:auto !important;transform:translateX(-50%) !important;}    
}