/*메인비주얼*/
.visual {
    height: 100vh;
    position: relative;
    padding: 5.625rem 0 0;
}

.visual .inner {
    max-width: 93.75rem;
    margin: 0 auto;
}

.main-slide .inner {
    height: 100%;
}

.main-slide .slide {
    height: 100%;
    overflow: hidden;
}

.main-slide .slide-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.main-slide .slide-item img,
.main-slide .slide-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main-slide .slide img,
.main-slide .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-slide .slide-item .video-control-btn {
    position: absolute;
    bottom: 3.125rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-slide .slide-item .video-control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.main-slide .slide-item .video-control-btn i {
    transition: transform 0.2s;
}

.main-slide .slide-item .video-control-btn:active i {
    transform: scale(0.85);
}

.main-slide .slide-text {
    position: absolute;
    top: 50%;
    left: 6.25rem;
    transform: translateY(-50%);
    color: #fff;
    z-index: 3;
    text-align: left;
}

.main-slide .slide-text p {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-top: .5rem;
    letter-spacing: 0.125rem;
    font-weight: 400;
}

.main-slide .slide-text strong {
    font-size: 3.4375rem;
    letter-spacing: 0.1875rem;
    font-weight: 800;
    font-family: 'Godo';
}

.visual-indicator {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 99;
    bottom: 6.25rem;
    left: 9.25rem;
}

.visual-pagination {
    width: auto;
}

.visual-pagination span {
    font-weight: 500;
    color: rgba(255, 255, 255, .4);
    display: inline-block;
    min-width: 3.125rem;
}

.visual-pagination .swiper-pagination-current {
    color: #fff;
    position: relative;
    padding-right: 1.875rem;
}

.visual-pagination .swiper-pagination-current:after {
    content: '';
    width: 1.375rem;
    height: 0.0625rem;
    background: rgba(255, 255, 255, .4);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.1875rem;
}

.visual-control {
    display: flex;
}

.visual-control button {
    color: #fff;
    font-size: 1.4rem;
}

.visual-control .vi-play {
    display: none;
}

/*common*/
section {
    padding: 4.375rem 0;
}

.main-title {
    font-size: 2.5rem;
    padding-bottom: 2.1875rem;
    color: #3D464D;
	text-align:center;
}

.main-title span {
    color: #c83131;
}

/* 공지사항(NOTICE) */
.notice-wrap {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.notice-wrap .col-1 {
    flex: 0 0 20rem;
    text-align: left;
}

.notice-wrap .col-1 .main-title {
    text-align: left;
    font-size: 3.125rem;
    font-weight: 800;
    color: #333;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    letter-spacing: -0.02em;
}

.notice-wrap .col-1 .main-title::before {
    font-size: 1.875rem;
}

.notice-wrap .col-1 .title-sub {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3.125rem;
    word-break: keep-all;
}

.notice-wrap .tab-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    border-left: 4px solid #D7DEEA;
}

.notice-wrap .tab-button {
    font-size: 1.375rem;
    font-weight: 600;
    color: #6B768B;
    padding: 0.5rem 1.5rem;
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-wrap .tab-button i {
    font-size: 1.125rem;
    color: #6B768B;
}

.notice-wrap .tab-button.active {
    color: #d7000f;
}

.notice-wrap .tab-button.active::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #d7000f;
}

.notice-wrap .col-2 {
    flex: 1;
}

.notice-wrap .col-2 ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.875rem;
}

.notice-wrap .col-2 li {
    background: #f8f9fb;
    border-radius: 1.5rem;
    border: 1px solid #E4EAF0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-wrap .col-2 li:hover {
    background: #fff;
    box-shadow: 0 1.25rem 3.125rem rgba(252, 84, 84, 0.1);
    transform: translateY(-0.5rem);
    border-color: #d7000f;
}

.notice-wrap .col-2 li a {
    display: block;
    padding: 2.5rem;
}

.notice-wrap .col-2 li strong {
    display: block;
    font-size: 1.375rem;
    color: #343A45;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.notice-wrap .col-2 li p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    height: 3.2em;
    /* 2 lines */
}

.notice-wrap .col-2 li .date {
    display: block;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9375rem;
    color: #999;
}

@media screen and (max-width: 1200px) {
    .notice-wrap {
        flex-direction: column;
        gap: 3rem;
    }

    .notice-wrap .col-1 {
        flex: auto;
        width: 100%;
    }

    .notice-wrap .tab-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 767px) {
    .notice-wrap .col-2 ul {
        grid-template-columns: 1fr;
    }
}

/* 글로컬 소식 (section-2) */
.news-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
	position: relative;
}

.news-title .main-title {
    padding-bottom: 0;
    text-align: left;
    margin-bottom: 0;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.news-title .main-title span {
    font-size: 2.25rem;
    color: inherit;
}

.news-control {
    display: flex;
    gap: 0.625rem;
	position: absolute;
    right: 0;
    top: 0;
}

.news-control button {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #999;
    font-size: 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-control button:hover {
    background: #f8f8f8;
    color: #333;
    border-color: #333;
}

.news-slider {
    overflow: visible !important;
}

.news-item {
    background: #f8f9fb;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s;
    height: auto;
}

.news-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.08);
    background: #fff;
}

.news-item a {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.news-item .text {
    flex: 1.1;
    padding: 3.125rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item .text strong {
    display: block;
    font-size: 1.125rem;
    color: #333;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 3.125rem;
}

.news-item .text .more {
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.news-item .text .more i {
    width: 1.5rem;
    height: 1.5rem;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.news-item .thumb {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 0 2rem 2rem 0;
    aspect-ratio: 1 / 1;
}

.news-item .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-item:hover .thumb img {
    transform: scale(1.05);
}

/* 포토갤러리 */
.main-gallery {
    display: flex;
    height: 80%;
    gap: 1.5625rem;
}

.main-gallery .gallery-item {
    width: calc(100% / 3);
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item .thumb {
    position: relative;
    width: 100%;
    padding-bottom: 70%;
}

.gallery-item .thumb-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gallery-item .thumb-img img {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .thumb-img img {
    transform: scale(1.1);
}

.gallery-item .text {
    background: #f8f9fb;
    padding: 1.875rem;
}


.gallery-item .text .title {
    font-size: 1.125rem;
    min-height: 3.375rem;
    color: #343A45;
}

/* 뉴스레터 */
.newsletter {
    display: flex;
    height: 80%;
    gap: 1.5625rem;
}

.newsletter .newsletter-item {
    width: calc(100% / 3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}


.newsletter-item .thumb {
    position: relative;
    width: 100%;
    padding-bottom: 120%;
}

.newsletter-item .thumb-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.newsletter-item .thumb-img img {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.newsletter-item:hover .thumb-img img {
    transform: scale(1.1);
}

.newsletter-item .text {
    padding: 1.875rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}


.newsletter-item .text strong {
    font-size: 1.125rem;
    min-height: 3.375rem;
    color: #fff;
}

.newsletter-item .thumb:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
    transition: background 0.3s ease;
}

.empty {
    color: #666;
    font-size: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 991px) {
    .news-item .text {
        padding: 2rem;
    }

    .news-item .text strong {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

}

@media screen and (max-width: 767px) {

    .news-item a {
        flex-direction: column;
    }

    .news-item .thumb {
        order: -1;
        border-radius: 0;
        height: 15rem;
    }

    .news-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .news-control {
        width: 100%;
        justify-content: flex-end;
    }

    .main-gallery,
    .newsletter {
        flex-direction: column;
        height: auto;
    }

    .main-gallery .gallery-item,
    .newsletter .newsletter-item {
        width: 100%;
    }
}


@media (max-width: 991px) {

    section {
        padding: 2rem 0;
    }

    /*메인비주얼*/
    .visual {
        width: 100%;
        padding: 5rem 0 0;
    }

    .main-slide .slide {
        border-radius: 0;
    }

    /* 공지사항 */
    .notice-wrap {
        gap: 2rem;
    }

    .notice-wrap .col-1 .main-title {
        padding-bottom: 0;
    }

    .notice-wrap .col-1 .title-sub {
        margin-bottom: 1rem;
    }

    .notice-wrap .tab-group {
        border-left: 0;
        border-bottom: 0;
    }

    .notice-wrap .tab-button.active::before {
        left: 0;
        top: auto;
        bottom: -4px;
        width: 100%;
        height: 4px;
    }

    .notice-wrap .tab-button {
        padding: .5rem .2rem;
        font-size: 1.2rem;
    }
}


@media all and (max-width:767px) {

    /*메인비주얼*/
    .visual {
        height: 50rem;
    }

    .main-slide .slide-item:after {
        background: rgba(0, 0, 0, .4);
    }

    .main-slide .slide-text {
        left: 15px;
    }

    .main-slide .slide-text small {
        font-size: 1.2rem;
    }

    .main-slide .slide-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .main-slide .slide-text strong {
        font-size: 2.5rem;
    }

    .visual-indicator {
        left: 0.9375rem;
    }
}