.masthead {
    position: relative;
}

.masthead-main {
    height: 100vh;
    min-height: 30rem;
    display: flex;
    align-items: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /*background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
}

.bg-cover {
    background-size: cover;
    background-position: center;
    width: 100vw;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .masthead h1, .masthead .h1 {
        font-size: 3.5rem;
        color: #000;
    }
}

@media (max-width: 767px) {
    .masthead h1, .masthead .h1 {
        font-size: 2.0rem;
        margin: 0;
        padding: 0;
        color: #000;
        word-break: keep-all;
    }
}

/* 서브 헤더 */

.masthead-sub {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%), url('bg-masthead.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.masthead-sub .page-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.masthead-sub .title-underline {
    width: 60px;
    height: 2px;
    background: white;
    margin: 0 auto 0.5rem;
    border: none;
}

.masthead-sub .page-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* 중앙 가로 메뉴 (웹/PC) */

/*.center-nav {*/
/*    position: absolute;*/
/*    top: 20px;*/
/*    left: 0;*/
/*    right: 0;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    z-index: 1;*/
/*}*/

/*.center-nav-list {*/
/*    display: flex;*/
/*    list-style: none;*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    background: rgba(0, 0, 0, 0.2);*/
/*    border-radius: 2rem;*/
/*    padding: 0.5rem 1.5rem;*/
/*}*/

/*.center-nav-item {*/
/*    margin: 0 1rem;*/
/*    position: relative;*/
/*}*/

.center-nav-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.5rem 0;
}

.center-nav-item a:hover {
    /*color: #f8f9fa;*/
    color: blue;
}

/* 드롭다운 메뉴 스타일 (필요시) */

.center-nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 2;
}

.center-nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

.dropdown-menu li a {
    color: #333;
    display: block;
}

.dropdown-menu li a:hover {
    /*background: #f8f9fa;*/
    background: #282536;
    color: #f8f9fa;
    padding-left: 15px;
    padding-right: 15px;
}

.content-section {
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
}

/* commom */

.text-keep-all {
    word-break: keep-all !important;
}

@media (max-width: 767px) {
    .mobi-text {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .mobi-text-2 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 767px) {
    .mobi-text-3 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 767px) {
    .mobi-p-1 {
        padding: .5rem !important;
    }
}

@media (max-width: 767px) {
    .mobi-p-xy-1 {
        padding-left: .1rem !important;
        padding-right: .1rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .mobi-p-xy-5 {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .mobi-img1 {
        height: 400px !important;
    }
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color);
    /*background-color: var(--bs-nav-pills-link-active-bg);*/
    background-color: #282536;
}

.with-arrow .nav-link.active::after {
    border-top: 6px solid #282536 !important;
}

.text-custom-bg-dark {
    color: #fff !important;
    background-color: #282536 !important;
}

/* commom */

/* unit */

/* community */

.thumb-img.selected {
    border: 3px solid #007bff;
}

/* premium */

.marquee-area {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: transparent;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
    /*font-size: 2rem;*/
    /*font-weight: bold;*/
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.portfolio-item .caption .caption-content h2, .portfolio-item .caption .caption-content .h2 {
    font-size: 2.0rem;
    text-transform: uppercase;
}

.content-section-heading h2, .content-section-heading .h2 {
    font-size: 2rem;
}

/* main-gallery */

.gallery-thumb.selected {
    border: 3px solid #007bff;
    box-sizing: border-box;
}

