* {
    word-break: keep-all;
}

/* ---------- 메인 슬라이더 ---------- */
.mainSilder {
    width: 100%;
    height: 480px;

    background-color: var(--bs-white);
}

.mainSilder .main-banner-swiper {
    width: 100%;
    height: 100%;
}

.main-banner-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.main-banner-swiper .swiper-wrapper .swiper-slide {
    width: 100%;
    height: 100%;

}

.main-banner-swiper .swiper-wrapper .swiper-slide a {
    width: 100%;
    height: 100%;
}

.main-banner-swiper .swiper-wrapper .swiper-slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ---------- 콘텐츠 영역 ---------- */
.indextxt {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    padding: 48px;

    font-size: 1.4rem;
    font-weight: 800;

    text-align: center;
}

.container {
    width: 100%;
    padding: 24px 120px 56px;
    box-sizing: border-box;
}

/* 메인 페이지의 컨테이너 내부 .inner에만 적용 */
.container .inner {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    width: 100% !important;
}


/* 컨텐츠 슬라이더 */
.swiper {
    margin-left: 0;
    margin-right: 0;
}

.container .inner .sub-banner-swiper {
    flex: 0 0 auto;

    position: relative;

    width: calc(100% / 3);
    height: 430px;

    border-radius: 16px;

    background-color: var(--bs-white);
}

.sub-banner-swiper .swiper-wrapper .swiper-slide a {
    width: 100%;
    height: 100%;
}

.sub-banner-swiper .swiper-wrapper .swiper-slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-banner-swiper .swiper-pagination {
    left: 50%;
    transform: translate(-50%, -50%);

    width: 64px;
    padding: 4px 8px;
    box-sizing: border-box;
    border-radius: 16px;

    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    background-color: var(--bs-white);
}

.sub-banner-swiper .swiper-pagination-current {
    font-weight: 600;
}

.sub-banner-swiper .btn-next {
    display: block;
    width: 50px;
    height: 50px;
    background: url(/static/bedesda/assets/icon/ico_arrow_forward.svg) center no-repeat;
    background-color: var(--bs-white);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);

    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 100px;
    cursor: pointer;
}

.sub-banner-swiper .btn-prev {
    display: block;
    width: 50px;
    height: 50px;
    background: url(/static/bedesda/assets/icon/ico_arrow_back.svg) center no-repeat;
    background-color: var(--bs-white);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);

    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 100px;
    cursor: pointer;
}


/* 탭 콘텐츠 */
.tabWrapper {
    flex: 0 0 auto;
    width: calc(100% / 2);
    height: auto;
}

.nav-align-top {
    height: 100%;
}

.nav-align-top .tab-content {
    height: 100%;
}

.nav:not(.nav-pills) .nav-link:hover, .nav:not(.nav-pills) .nav-link:focus {
    color: var(--bs-gray-900);
}

.nav-pills .nav-link:not(.active):hover.waves-effect .waves-ripple, .nav-pills .nav-link:not(.active):focus.waves-effect .waves-ripple {
    background: var(--bs-gray-25);
}

.nav-pills .nav-item .nav-link:not(.active):hover {
    background-color: var(--bs-gray-60);
    border-block-end: none;
    padding-block-end: 0.5435rem;
}

.tabWrapper .nav-item button {
    font-size: 1.1rem;
}

.nav-link.active {
    font-weight: 600;
}

.tab-content:not(.doc-example-content) {
    padding: 0 1.5rem;
}

.tab-content .tab-pane {
    width: 100%;
    height: 100%;
}

.tab-content .listBox {
    width: 100%;
    height: 100%;

    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

.tab-content .listBox li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    width: 100%;
    height: calc(100% / 6);
    border-bottom: 1px solid var(--bs-gray-60);

    font-size: 1.1rem;
}

.tab-content .listBox li a {
    display: block;
    width: 100%;
    color: var(--bs-gray-900);

    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.tab-content .listBox li span {
    font-size: 0.9rem;
    color: var(--bs-gray-500);
}

.tab-content .listBox .add {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    width: 100%;
    height: calc(100% / 6);
}

.tab-content .listBox .add a {
    display: block;
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: 32px;

    color: var(--bs-gray-900);
    background-color: var(--bs-gray-60);
}


/* 문의하기 */
.askWrapper {
    flex: 0 0 auto;
    width: calc(100% - (100% / 3) - (100% / 2));

    padding: 24px;
    box-sizing: border-box;
    border-radius: 16px;

    background: url(/static/bedesda/assets/index/askImg.png) no-repeat bottom 5px center;
    background-color: #FFDB63;

    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bs-gray-900);
}


/* ---------- 반응형 ---------- */
@media screen and (max-width: 1400px) {
    .container {
        max-width: 100%;
        padding: 24px 64px 56px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 1200px) {
    .inner {
        flex-wrap: wrap;
    }

    .container .inner .sub-banner-swiper {
        width: calc((100% / 2) - 16px);
    }

    .tabWrapper {
        width: calc(100% / 2);
    }

    .askWrapper {
        width: 100%;
        height: 120px;
        background: url(/static/bedesda/assets/index/askImg.png) no-repeat top 5px right 16px;
        background-color: #FFDB63;
    }
}

@media screen and (max-width: 960px) {
    .container {
        padding: 24px 16px 56px;
    }

    .inner {
        gap: 32px;
    }

    .indextxt {
        /* font-size: 1.25rem; */
        padding: 48px 16px 24px;
    }

    .container .inner .sub-banner-swiper {
        width: 100%;
    }

    .tabWrapper {
        width: 100%;
        height: 400px;
    }

    .tab-content .listBox li {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .sub-banner-swiper {
        height: 340px;
    }

    .nav-align-top ul {
        width: 100%;
    }

    .nav-align-top ul .nav-item {
        width: 100%;
    }

    .nav .nav-item .nav-link {
        width: 100%;
        padding: 8px 0;

        font-size: 1rem;
    }

    .tab-content .listBox li > span {
        font-size: 0.8rem;
    }
}