@charset "utf-8";

.news-ticker-swiper-design {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.news-ticker-swiper-design .news-ticker-container {
    width: 100%;
}
.news-ticker-swiper-design .news-ticker-box {
    display: flex;
    background-color: #f6f9fc;
    padding: 0.5rem;
    border: 1px solid #e3e9ef;
    border-color: #e3e9ef;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 0.25rem;
}
.news-ticker-swiper-design .news-ticker-title {
    background-color: #4158d1;
    color: rgba(255, 255, 255, 1);
    font-size: 1.2em;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    margin-right: auto;
    margin-left: auto;
    border-radius: 0.25rem;
}

.news-ticker-swiper-design .swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}
.news-ticker-swiper-design .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transform:translate3d(0, 0, 0);
    box-sizing: content-box;
}
.news-ticker-swiper-design .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.news-ticker-swiper-design .news-ticker-list {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
.news-ticker-swiper-design .news-ticker-list a {
    color: inherit;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 20px;
    vertical-align: middle;
}
.news-ticker-swiper-design .news-ticker-list a:hover {
    color: #3a8afd;
}
.news-ticker-swiper-design .news-ticker-list span {
    margin-left: 0.5rem;
}
.news-ticker-swiper-design .news-ticker-list .fa-heart {
    color: #ff0000;
}
.news-ticker-swiper-design .news-ticker-list .fa-lock {
    display: inline-block;
    line-height: 14px;
    width: 16px;
    font-size: 0.833em;
    color: #4f818c;
    background: #cbe3e8;
    text-align: center;
    border-radius: 2px;
    font-size: 12px;
    border: 1px solid #cbe3e8;
    vertical-align: middle;
}
.news-ticker-swiper-design .news-ticker-list .new_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #23db79;
    background: #b9ffda;
    text-align: center;
    border-radius: 2px;
    margin-left: 2px;
    font-weight: bold;
    vertical-align: middle;
}
.news-ticker-swiper-design .news-ticker-list .hot_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #ff0000;
    background: #ffb9b9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
}
.news-ticker-swiper-design .news-ticker-list .fa-caret-right {
    color: #bbb;
}
.news-ticker-swiper-design .news-ticker-list .fa-download {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #daae37;
    background: #ffefb9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
}
.news-ticker-swiper-design .news-ticker-list .fa-link {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #b451fd;
    background: #edd3fd;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
}
.news-ticker-swiper-design .news-ticker-list.ellipsis {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
}

.news-ticker-swiper-design .swiper-arrow-style {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    text-align: center;
    line-height: 1;
    display: none !important;
    align-items: center;
    justify-content: center;
    right: 10px;
    transition: ease all 0.35s;
    font-size: 16px;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 5px;
}
.news-ticker-swiper-design .swiper-arrow-style.swiper-button-disabled {
    opacity: 0.5 !important;
    pointer-events: none;
}
.news-ticker-swiper-design .swiper-arrow-style:hover {
    background: #4158d1;
    color: #fff;
    border-color: #4158d1;
}
.news-ticker-swiper-design .swiper-arrow-style.swiper-prev {
    right: 46px;
}
/* 기본 화살표 디자인 */
.news-ticker-swiper-design .swiper-arrow-style {
    display: inline-flex;
    width: 30px;
    height: 30px;
    font-size: 16px;
    margin: 8px 6px 0;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    color: #4158d1;
    transition: all 0.3s ease;
}

/* 버튼 wrapper: 가운데 정렬 */
.news-ticker-swiper-design .swiper-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

/* hover 효과 */
.news-ticker-swiper-design .swiper-arrow-style:hover {
    background-color: #4158d1;
    color: #fff;
    border-color: #4158d1;
}

@media (max-width:575px) {
    .news-ticker-swiper-design .news-ticker-box {
        padding: 0.4rem 0.6rem;
        border-radius: 6px;
    }

    .news-ticker-swiper-design .news-ticker-title {
        font-size: 1em;
        padding: 0.4rem 0.8rem;
        margin: 0 auto 0.5rem;
    }

    .news-ticker-swiper-design .news-ticker-list {
        font-size: 0.95em;
        line-height: 1.5;
        padding: 0.4rem 0.6rem;
    }

    .news-ticker-swiper-design .news-ticker-list a {
        font-size: 1em;
        line-height: 1.4;
        font-weight: 500;
    }

    .news-ticker-swiper-design .swiper-arrow-style {
        display: flex !important;
        width: 24px;
        height: 24px;
        font-size: 14px;
        right: 8px;
    }

    .news-ticker-swiper-design .swiper-arrow-style.swiper-prev {
        right: 36px;
    }

}
