/*수양회*/
.index-retreat {
    background-size: 100% auto;
    background-repeat: no-repeat;
    width:100%;
}
.index-retreat .seasonTitle {
    font-family: "Nanum Brush Script", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    line-height: 52%;
    padding-left: 6px;
    text-shadow: 0px 2px 50px rgb(14, 14, 48);
}
.index-retreat .betweenDate {
    text-shadow: 0px 2px 50px rgb(14, 14, 48);
}
.index-retreat .seasonCopy {
    font-family: "Black Han Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:#CCF466;
    font-size: 2.7rem;
    line-height: 90%;
}
.index-retreat .card-group-title > .h5.active {
    color:var(--bs-warning);
}
.index-retreat .screen_retreat {
    min-height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.index-retreat.winter {
    color: var(--bs-black);
}
.index-retreat.winter .card-group-title a {
    color:#000;
}
.index-retreat.winter .seasonCopy {
    color: #8372d5;
}

.border-bottom-10 {
    border-bottom: 0.5rem solid rgba(0,0,0,.05);
}


/*집회*/
.seasonCopy2 {
    font-family: "Black Han Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:#CCF466;
    font-size: 2rem;
    line-height: 90%;
}

.index-seminar {
    width:100%;
    background-color:#007AFF
}
.index-seminar .seasonTitle {
    font-family: "Nanum Brush Script", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7rem;
    line-height: 120%;
    padding-left: 3px;
}
.index-seminar .seasonCopy {
    width :300px;
    font-family: "Black Han Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:#CCF466;
    font-size: 2rem;
    line-height: 90%;
}
.seasonInfo {
    font-size: 1rem;
    font-weight: 600;
}
.index-seminar .card-group-title > .h5.active {
    color:var(--bs-warning);
}
.index-seminar .screen_seminar {
    min-height: 80px;
    border-radius: 10px;
    overflow: hidden;
}
.index-retreat.winter .viewLink .h6,
.index-retreat.winter .viewLink h7,
.index-retreat.winter .viewLink .h7,
.index-retreat.winter .viewLink .tag
{
    color:#000 !important;
}


/* 애니메이션 할 변수를 브라우저에 등록합니다.
  이렇게 하면 브라우저가 값을 부드럽게 보간(transition)할 수 있어
  애니메이션이 매끄럽게 작동합니다.
*/
@property --bright-start {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 46.8%;
}
@property --bright-end {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 47%;
}

.index-sunwed.liveOn {
    background-image:url('');
    width:100%;
    /* 정적 수직 그라데이션 (애니메이션 없음)
       상단: 단색 파랑(#3863E5) — 앱 노치바(단색)와 이어짐
       중간: 보라(#370f88)로 전환 → 하단 끝까지 보라 유지 */
    background: linear-gradient(
            180deg,
            #3863E5 0%,
            #3863E5 12%,
            #2E53C7 35%,
            #370f88 65%,
            #370f88 100%
    );
    background-size: 100% 100%;
}


/*전국교회 툴팁*/
/* 교회 아이콘에 풍선 모양 툴팁 추가 */

/* 풍선 위아래 움직임 애니메이션 (무한 반복) */
@keyframes float-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* 5초 후 사라지는 애니메이션 */
@keyframes fade-out {
    0% {
        opacity: 1;
    }
    71% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* 교회 아이콘을 감싸는 컨테이너 */
.church-icon-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* 풍선 모양 툴팁 기본 스타일 */
.church-icon-wrapper::after {
    content: '전국교회';
    position: absolute;
    top: 100%;  /* 변경: 부모의 아래쪽 시작점 */
    left: 20px;
    transform: translateX(-50%);
    margin-top: 0px;  /* 부모와의 간격 (항상 일정) */

    /* 풍선 스타일 */
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    z-index: 11;

    /* 두 개의 애니메이션: 움직임은 무한, 사라지는 것은 7초 */
    animation: float-bounce 1s ease-in-out infinite, fade-out 10s ease-in-out forwards;
}

.header-light .church-icon-wrapper::after {
    background-color: #333;
    color: #fff;
}

.header-dark .church-icon-wrapper::after {
    background-color: #fff;
    color: #000;
}

/* 라이트 테마 */
.church-icon-wrapper.light::after {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

/* 풍선의 꼬리 부분 (화살표) - 풍선 아래를 가리킴 */
.church-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 100%;  /* 변경: 부모의 아래쪽 시작점 */
    left: 20px;
    transform: translateX(-50%);
    margin-top: -7px;  /* 화살표를 풍선에 연결 (위로 올림) */

    /* 삼각형 화살표 - 위를 향함 */
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #333;
    z-index: 11;

    /* 풍선과 같은 애니메이션: 움직임과 사라지기 */
    animation: float-bounce 1s ease-in-out infinite, fade-out 10s ease-in-out forwards;
}

.header-light .church-icon-wrapper::before {
    border-bottom-color: #333;
}

.header-dark .church-icon-wrapper::before {
    border-bottom-color: #fff;
}

.church-icon-wrapper.light::before {
    border-bottom-color: #fff;
}

/* 아이콘 자체 */
.church-icon-wrapper .icon {
    display: inline-block;
}



/* 이제 background-position 대신
  CSS 변수의 값을 변경하여 애니메이션을 만듭니다.
*/
@keyframes subtleMove {
    0% {
        --bright-start: 46.8%;
        --bright-end: 46.9%; /* 0.1% 너비의 좁은 띠 */
    }
    50% {
        --bright-start: 42%;
        --bright-end: 52%; /* 10% 너비로 넓어진 띠 */
    }
    100% {
        --bright-start: 46.8%;
        --bright-end: 46.9%; /* 다시 좁아짐 */
    }
}

.index-sunwed .seasonTitle {
    font-family: "Nanum Brush Script", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7rem;
    line-height: 120%;
    padding-left: 3px;
}
.index-sunwed .seasonCopy {
    width :225px;
    font-family: "Black Han Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:#CCF466;
    font-size: 2rem;
    line-height: 90%;
}
.index-sunwed .seasonInfo {
    font-size: 1rem;
}
.index-sunwed .card-group-title > .h5.active {
    color:var(--bs-warning);
}
.index-sunwed .screen_sunwed {
    min-height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.index-banner {
    background-size: cover;
    background-position: center center;
}


.index-seminar-speaker {
    background-image:url('');
    width:100%;
}
.li-preacher {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding-left: 15px;
    justify-content: flex-start;
    scrollbar-width: none;
}
.preacher-inf {
    width: 75px;
    font-size: 0.925rem;
    font-weight: 600;
    margin-right: 10px;
    line-height: 100%;
    flex-shrink: 0;
}
.preacher-inf > div {
    overflow: hidden;
    font-weight: 600;
}
.preacher-inf > div img {
    width: 100%;
}


.index-latest {
}

.index-sns {
}
.index-sns .card-group-content .icon {
    border: 0.1px solid var(--bs-gray-400);
    width: 48px;
    height: 48px;
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    overflow:hidden;
}
.index-sns .card-group-content .icon:hover {
    border: 0.1px solid var(--bs-black-trans-80);
}
.index-sns .card-group-content .icon:active {
    border: 0.1px solid var(--bs-danger);
}

.index-sns .card-group-content .icon img {
    width: initial;
}
.index-sns .card-group-content .post .h7 {
    font-size: .6rem;
}

.index-sns .post .icon {
    margin: auto auto;
    padding: 12px 0;
    text-align:center;
    background-color:#fff;
}
.index-sns .post .icon i {
    font-size: 24px;
}
.index-sns .post .icon.youtube i {
    color:#FF2500;
}
.index-sns .post .icon.instagram i {
    color:#F3896D;
}
.index-sns .post .icon.facebook i {
    color:#3C60AE
}
.index-sns .post .icon.ncafe img,
.index-sns .post .icon.nblog img
{
    width: initial;
    height: 22px;
}
.index-sns .row > * {
    padding-top: calc(var(--bs-gutter-y)* 0);
}

