@keyframes aaa {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bbb {
    from {
        top: -10px
    }

    to {
        top: -2px;
    }
}

a {
    color: black;
    text-decoration: none;
    transition: transform all .3s linear;
}

a:hover {
    color: black;
    text-decoration: none;
}

 

#main {
    width: 100%;
    height: 100%;
    /*background-color: red;*/
}

#section {
    /*font-family: 'Noto Sans KR', sans-serif;*/
    font-family: NanumSquare, sans-serif;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.mainContainer {
    width: 100%;
    margin: 0 auto;
    padding: 3% 0;
    box-sizing: border-box;
    background-color: white;
}


/*½½¶óÀÌ´õ*/
#main  {
    /*margin-top:95px;*/
}
#main .dimode-slider .slider-dots {
    bottom: 50px;
}
    #main .dimode-slider .slider-dots .each-dot {
        margin: 0 5px;
        height: 16px;
        width: 16px;
    }
    #main .dimode-slider .slider-dots .each-dot.active {
        width: 42px;
        border-radius: 10px;
        background: black;
        border: 1px solid black;
    }
    
 
#main .dimode-slider .slider-wrapper .slick-list .slick-track .slide > div > h1 {
    font-size: 4.2vw;
    padding-top: 7%;
    letter-spacing: 3px;
    font-weight: bold;
    text-align: left;
    font-family: ui-sans-serif;
}
#main .dimode-slider .slider-wrapper .slick-list .slick-track .slide {
    width:100%!important;
}

.move-btn {
    background: none !important;
    top: 44%!important;
}
.next-btn {
    right: 5% !important;
    display: none;
}
.prev-btn {
    left: 5% !important;
    display: none;
}



/*¸Ç Ã³À½ Èò ºÎºÐ*/
.sermon {
    padding: 0%;
    background-color: #E8DCC6;
}


.sermon-bottom {
    background-color: #92a6ad;
    /*background: url(../../../Layouts/nonhyungamri09_Layout/Images/3_bg.jpg) no-repeat;*/
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
}
.today_sermon {
    /*background: url(../../../Layouts/nonhyungamri09_Layout/Images/3_sermon_bg.jpg) no-repeat;*/
    /*padding: 3% 5%;*/
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    /*width: 1500px;*/
    width: 80vw;
    height: 640px;
    margin: auto;
}

.sb-1 {
    text-align: left;
    padding: 3%;
    color: white;
    line-height: 3;
    height:90%;
}
.sb-1 .sermon-content {
    position: absolute;
    bottom: 20%;
}
.sb-1 a{
    color:#000;
    text-decoration: none;
}
.sb-1 h4 {
    font-size: 20px;
}
.sb-1 h2 {
    font-size: 45px;
    margin: 2.3vw 0 1vw; 
}
.sb-1 p {
    font-size: 18px;
}
.sb-1 h2, .sb-1 h4, .sb-1 p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-2 {
    position: relative;
    padding: 0 !important;
}
.sb-2 > a {
    display: block;
}
.sb-2 .sermon-thumbnail {
    transition: all 0.3s ease-out;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 100%;
    object-fit: cover;
    max-width: unset;
    /*height: 22.5vw;*/
}
.sb-2 .sermon-youtube {
    transition: all 0.3s ease-out;
    position: absolute;
    left: 85%;
    bottom: -250px;
}
.sb-2 .sermon-thumbnail:hover {
    width: 105%;
    height: 23.625vw;
    /*transform:scale(1.05);*/
    /*z-index:2;*/
}


.sb-3 {
    /*display: flex;
    align-items: center;
    justify-content: flex-end; 
    padding:0%;
	padding-right:3%;*/
    position:absolute;
    top:0;
    right:0;
}
.sb-3 >a  { 
    display:inline-block;
    position: relative;
    transition: all 0.3s ease-out;
}


.sb-3 >a >p { 
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size:22px;
    line-height: 1.2;
    font-weight:bold;
}

.sb-3 >a:nth-of-type(2) >p { 
    color:white;
     
} 
.sb-3 >a:hover { 
     transform:scale(1.05);
     z-index:2;
     
}

.sermon-icon {
    padding: 0% 7%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    font-weight:bold;
    font-size: 18px;
}
.sermon-icon >div {
    padding: 3%;
    text-align: center;
       
}

.sermon-icon h4{
    text-align: center;
    font-weight:bold;
}
.sermon-icon > div > a{
    position:relative;
    transition: all 0.3s ease-out;
}
.sermon-icon > div > a:hover, .si-1>div>a:hover{
    transform:translateY(-10px);
}
.sermon-icon > div > a > p {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin:0;
}
.si-1  {
    width:35%;
}

.si-1_1, .si-2, .si-3, .si-4 {
    width: 15%;
}
.si-1_1 > a, .si-2 > a, .si-3 > a, .si-4 > a {
        margin-bottom: 19.5%;
        display: block;
    }
.si-1_1 > h4, .si-2 > h4, .si-3 > h4, .si-4 > h4 {
        padding-bottom: 20%;
    }
.si-1 > div, .si-1_1 > div {
    padding: 4% 5%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}
.si-1 > div > a, .si-1_1 > div > a {
        padding: 3% 5%;
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-evenly;
        transition: all 0.3s ease-out;
    }

.si-1 > div > a > p, .si-1_1 > div > a > p {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            margin: 0;
        }



/*°¶·¯¸®*/
.gallery {
    height: 550px;
    padding: 0;
}
.gallery .gallery-container {
    width: 85%;
}
.gallery .gallery-container .galleryb .gallery-content {
    position:relative;
    transition:0.4s;

}
.gallery .gallery-container .galleryb .gallery-content img {
    width:100%;
    height:230px;
    /*box-shadow: 0px 0px 10px #444;*/
    box-shadow: 0px 0px 15px #646464;
    background-position: center !important;
    background-repeat: no-repeat;
    background-size: cover;
}
.gallery .gallery-container .galleryb .gallery-content .gallery-text {
    position:absolute;
    top: 13%;
    left: 20%;
    transform: translate(-50%, -50%);
    width:70%;
}
.gallery .gallery-container .galleryb .gallery-content.black .gallery-text > h3 { color: #000;}
.gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 { color:#fff; font-size: 18px; margin: 0; text-align: center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gallery .gallery-container .galleryb .gallery-content:hover { top:-15px; }
.gallery .gallery-container .galleryb .gallery-content:hover img { filter: brightness(0.5); top:-15px; }
.gallery .gallery-container .galleryb .gallery-content:hover .gallery-text {
    visibility: visible;
}

/*°°ÀÌ ºÎºÐ*/
.together {
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}
.together hr{
    width:15%;
    z-index:3;
    position: relative;
}
.together h3 {
    font-size: 36px;
    font-weight:bold; 
    z-index:3;
    position: relative;
}
.together p {
    font-size: 23px; 
    z-index:3;
    position: relative;
}

.to5 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_5.png) no-repeat;
    background-position: center !important;
}
.to2 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_2.png) no-repeat;
    background-position: center !important;
}
.to3 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_3.png) no-repeat;
    background-position: center !important;
}
.to4 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_4.png) no-repeat;
    background-position: center !important;
}

.blackBox2 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_2.png) no-repeat;
    background-position: center !important;
    filter: brightness(0.7);
}
.blackBox3 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_3.png) no-repeat;
    background-position: center !important;
    filter: brightness(0.7);
}
.blackBox4 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_4.png) no-repeat;
    background-position: center !important;
    filter: brightness(0.7);
}
.blackBox5 {
    background: url(../../../Layouts/nonhyungamri09_Layout/Images/3.box_bg_5.png) no-repeat;
    background-position: center !important;
    filter: brightness(0.7);
}

.blackBox {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 25vw;
    height: 25vw;
    height: 100%;
    visibility: hidden;
    z-index: 1;
    background-position: center !important;
    background-size: cover !important;
}
.together > a {
    padding: 8.8% 3%;
    width: 100%;
    height: auto;
    color: white;
    transition: transform all .7s linear;
    text-decoration: none;
    overflow: hidden;
    background-position: center !important;
    background-size:cover !important;
}

.together > a:hover .blackBox {
   visibility:visible;
}


/*°¶·¯¸® ºÎºÐ*/
.gallery {
    width: 100%;
    height: auto;
    padding: 3% 0 5%;
    text-align: left;
    flex-wrap: nowrap;
}

.gallery-container > p {
    font-size: 24px;
    color: #CDB0A2;
    font-weight: bold;
}
.gallery-container > h1 {
    font-size: 63px;
    margin-bottom: 2%;
}

.gallery-container > div {
    padding: 3% 0 0%;
    position: relative;
    display: block;
}

.gallery-container >div >h3{
    font-size:22px;
    font-weight:bold;

}
.gallery-container >div>div{
    font-size:18px;
    color:#585858;
    line-height: 1.7;
}
.gallery-container >div>a{
    margin-top: 3%;
    display: block;
    width: max-content;
}

.gallery-container >div>a >img:nth-of-type(2){ 
    display: none;
    position:absolute;
    bottom:0;
    left:0;
}
.gallery-container >div>a:hover >img:nth-of-type(2){ 
    display: initial; 
}




.main2Content {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    text-align:center;
}






@media(max-width:1500px) {
}

@media(max-width:1499px) and (min-width:1200px) {
     .gallery .gallery-container .galleryb .gallery-content .gallery-text{ left: 31%;}
    .sermon-icon >div {padding: 10px;}
    .sb-2 .sermon-youtube {  bottom: -180px;}
    .container{width:1170px;}

    .gallery-container > p {
        font-size: 21px;
    }
    .gallery-container > h1 {
        font-size: 51px;
    }
    .gallery .gallery-container .galleryb .gallery-content img {
        height: 13vw;
    }
}

@media(max-width:1199px) and (min-width:992px) {
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 31%;}
    .sermon-icon >div { padding: 10px;}
     .sb-2 .sermon-youtube {  bottom: -135px;}
    .gallery .gallery-container .galleryb .gallery-content img {
        height: 13vw;
    }

    .today_sermon {
        height: 440px;
    }
    .sb-1 .sermon-content {
        bottom: 10%;
    }
    .sb-1 h2 {
        font-size: 28px;
    }
    .sb-1 h4 {
        font-size: 17px;
    }
    .sb-1 p {
        font-size: 15px;
    }
    .sb-3 a img {
        width: 125px;
    }

    .together h3 {
        font-size: 30px;
    }
    .together p {
        font-size: 19px;
    }

    .gallery-container > p {
        font-size: 18px;
    }
    .gallery-container > h1 {
        font-size: 41px;
    }
}

@media(max-width:991px) and (min-width:768px) {
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 31%;}
    .sb-2 .sermon-youtube {  bottom: -135px;}
    .sermon-icon >div { padding: 10px;}
    .gallery .gallery-container .galleryb .gallery-content {
        margin-bottom: 20px;
    }

    .today_sermon {
        height: 340px;
    }
    .sb-1 .sermon-content {
        bottom: 10%;
    }
    .sb-1 h2 {
        font-size: 26px;
    }
    .sb-1 h4 {
        font-size: 15px;
    }
    .sb-1 p {
        font-size: 14px;
    }
    .sb-2 .sermon-thumbnail {
        height:22vw;
    }
    .sb-3 a img {
        width: 125px;
    }

    .together h3 {
        font-size: 27px;
    }
    .together p {
        font-size: 17px;
    }

    .gallery-container > p {
        font-size: 18px;
    }
    .gallery-container > h1 {
        font-size: 41px;
        margin-top: 0;
    }
}

@media(max-width:767px) {
    #main { margin-top: 70px;}
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 31%;}
    .sb-1 { padding: 10px;}
    .si-1_1 > a img, .si-2 > a img , .si-3 > a img , .si-4 > a img { width: 70%;}
    .si-1_1 > a, .si-2 > a, .si-3 > a, .si-4 > a { margin-bottom: 0px; display: inline-block;}
    .si-1 > div > a img, .si-1_1 > div > a img { width: 70%;}
    .sb-2 .sermon-youtube { bottom: 0px; width: 13%; }
    .sermon-icon { padding: 0 10px;}
    .si-1_1 > h4, .si-2 > h4, .si-3 > h4, .si-4 > h4 { padding-bottom: 0px;}
    .si-1 > div > a, .si-1_1 > div > a { padding: 0px; display: inline-block;}
    .si-1 > div, .si-1_1 > div { padding: 0px; display: inline-block;}
    /*.sermon-icon >div img { width: 50%;}*/
    .sermon-icon >div { float: left;}
    .si-1 { width: auto;}
    .si-1_1, .si-2, .si-3, .si-4 { width: auto;}
    .sermon-icon { display: inline-block;}
    .sermon-icon >div { padding: 10px;}
    #main .dimode-slider .slider-dots { bottom: 10px !important; }
    #main .dimode-slider .slider-dots .each-dot { height: 10px; width: 10px; }
    #main .dimode-slider .slider-dots .each-dot.active { width: 22px; }
    .today_sermon { width: 90vw; /*height: 340px;*/ height:auto; flex-direction: column; }
    .sermon { padding: 10px 0;}
    .sb-1 .sermon-content { position:relative; bottom: 10%; width: 65%; }
    .sb-1 h2 { font-size: 26px; }
    .sb-1 h4 { font-size: 15px;}
    .sb-1 p { font-size: 14px; }
    .sb-2 { margin-bottom: 10px;}
    .sb-2 .sermon-thumbnail { position: relative; top: unset; left: unset; transform: unset; }
    .sb-2 .sermon-thumbnail { height: 50vw;}
    .sb-2 .sermon-thumbnail:hover { height: 50vw; width: 100%;}
    .sb-3 { top: 50%; transform: translateY(-50%); }
    .sb-3 > a { display: inline-block; float: unset;}
    .sb-3 a img { width: 76px;}
    .together h3 { font-size: 27px; }
    .together p { font-size: 17px; }
    .together > a { padding: 5% 3%; width:50%; }
    .blackBox { width:50vw; }
    .gallery { padding: 5% 0 5%; }
    .gallery .gallery-container {width: 95%; }
    .gallery-container > p { font-size: 17px; }
    .gallery-container > h1 { font-size: 36px; margin-top: 0; }
    .gallery .gallery-container .galleryb .gallery-content { margin-bottom: 20px; }
    .gallery .gallery-container .galleryb .gallery-content img { height: 25vw; }
}

@media(max-width:440px) {
       .sermon-icon > div.si-1 {width: 60%;}
    .si-1 > div > a, .si-1_1 > div > a { width:49%;}
    .sermon-icon >div { width: 33%;}
    .sermon-icon > div > a > p { font-size: 15px;}
    .si-1_1 > a img, .si-2 > a img, .si-3 > a img, .si-4 > a img { width: 60%;}
    .si-1 > div > a img, .si-1_1 > div > a img { width: 60%;}
    .si-1 > div > a > p, .si-1_1 > div > a > p { font-size: 15px;}
    .sb-3 { top: 22%;}
    .sermon-icon > div .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 40%; }
    .sermon-icon >div {padding: 0px;}
    .sb-1 h2 { font-size: 21px; }
    .sb-1 h4 { font-size: 15px; }
    .sb-1 p { font-size: 12px; }
    .together { flex-wrap: wrap;}
    .gallery .gallery-container { width:100%;}
}



@media(max-width:400px) {
    .gallery .gallery-container .galleryb .gallery-content { padding: 0 8px;}
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { width: 100%;
        left: 41%;
    }
      .sermon-icon > div.si-1 {width: 65%;}

}


@media(max-width:340px) {

      .sermon-icon > div.si-1 {width: auto;}

}


.worship-grid {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    grid-template-rows: repeat(2, 140px);
    gap: 0;
    margin-left: 260px;
}

@media(max-width:1200px) {

    .worship-grid {
        display: grid;
        grid-template-columns: repeat(5, 140px);
        grid-template-rows: repeat(1, 140px);
        gap: 0;
        margin-left: 0px !important;
    }
	 
			 .grid-item[href="#"],
		.grid-item:empty{
			display:none !important;
		}
}
@media (max-width: 767px) {
    .worship-grid {
        display: grid;
        grid-template-columns: repeat(5, 140px);
        grid-template-rows: repeat(2, 104px);
        gap: 0;
        margin-left: 0px !important;
    }


}

/* °øÅë */
.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
}

    /* MORE */
    .grid-item.more {
        background: #fff;
        color: #3b4f7c;
        flex-direction: column;
        border-right: 1px solid #d8dfe6;
    }

        .grid-item.more .plus {
            font-size: 32px;
            line-height: 1;
            margin-bottom: 6px;
        }

/* ÄÃ·¯ ºí·Ï */
.w1 {
    background: #8fa2c8;
}

.w2 {
    background: #56678a;
}

.w3 {
    background: #2f4573;
}

.w4 {
    background: #c4d2ea;
}

/* hover */
.grid-item:hover {
    opacity: 0.85;
}
.sermon-wrap {
    display: flex;
    align-items: stretch; /* ¡Ú ³ôÀÌ °­Á¦ µ¿ÀÏ */
    max-width: 1400px;
    margin: 0 auto;
}

.sermon-left,
.sermon-right {
    flex: 1;
}

/* ¿ÞÂÊ ÀÌ¹ÌÁö */
.sermon-left {
    position: relative;
}

    .sermon-left img {
        width: 100%;
        height: 100%; /* ¡Ú ¿À¸¥ÂÊ ³ôÀÌ¿¡ ¸ÂÃã */
        object-fit: cover; /* ºñÀ² À¯Áö */
        display: block;
    }

/* ¿À¸¥ÂÊÀÌ ÀüÃ¼ ³ôÀÌ¸¦ °áÁ¤ */
.sermon-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sermon-content  h2,h4{
    color:white;
}

/* ÀüÃ¼ ·¹ÀÌ¾Æ¿ô */
.worship-time-wrap {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #fff;
}

/* ±×·ì */
.worship-group {
    text-align: center;
}

    .worship-group h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 30px;
    }
  /* .worship-group:last-child .time-list:last-child { */
        /* margin-left: 20px; */
		
    /* } */


/* ½Ã°£ ¿øÇü */
.time-list {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.time-list {
    display: flex;
    justify-content: center; /* ¡ç ÇÙ½É */
    align-items: center;
    gap: 60px; /* ¿ø »çÀÌ °£°Ý */
 
}

.time-circle {
    width: 100px;
    height: 100px;
    border: 2px solid #1f2937;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .time-circle .time {
        font-size: 18px;
        font-weight: 600;
    }

    .time-circle .ampm {
        font-size: 15px;
        margin-top: 2px;
    }
.time-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* ¡ç ÇÙ½É */
}

/* ±³È¸ÇÐ±³ ÅÂ±× */
.class-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

    .class-tags a {
        background: #7f93b6;
        color: #fff;
        font-size: 13px;
        padding: 4px 8px;
        border-radius: 4px;
    }
/* ÀüÃ¼ ¿µ¿ª */
.worship-section {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    background: #fff;
}

/* ¿ÞÂÊ Å¸ÀÌÆ² */
.worship-title {
    min-width: 180px;
}

    .worship-title .en {
        display: block;
        font-size: 14px;
        color: #999;
        margin-bottom: 6px;
    }

    .worship-title h2 {
        font-size: 36px;
        font-weight: 700;
    }

/* Ä«µå ·¡ÆÛ */
.worship-cards {
    display: flex;
    gap: 40px;
    flex: 1;
}

/* Ä«µå */
.worship-card {
    background: #fff;
    width: 420px;
    padding: 30px 32px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Ä«µå Çì´õ */
.card-head {
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    display: inline-grid;
}

    .card-head h3 {
        font-size: 18px;
        font-weight: 600;
        white-space: nowrap;
    }

    .card-head .line {
        flex: 1;
        height: 1px;
        background: #000;
    }

    .card-head .arrow {
        width: 32px;
        height: 32px;
        border: 1px solid #333;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #000;
        font-size: 14px;
    }

/* ¸®½ºÆ® */
.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .card-list li {
        font-size: 14px;
        color: #555;
        padding: 6px 0;
    }

/* hover */
.card-head .arrow:hover {
    background: #000;
    color: #fff;
}

/* ¹ÝÀÀÇü */
@media (max-width: 991px) {
    .worship-section {
        flex-direction: column;
        gap: 40px;
    }

    .worship-cards {
        flex-direction: column;
    }

    .worship-card {
        width: 100%;
    }
}

.worship-section {
    display: flex;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    padding: 120px 40px;
}

.worship-title {
    min-width: 220px;
    margin-left: 150px;
    margin-top: 20px;
}

.worship-cards {
    display: flex;
    gap: 60px;
    margin-left: 21%;
    margin-top: 70px;
}
.worship-card {
    width: 440px;
} 

/* Ä«µå */
.worship-card {
    background: #fff;
    padding: 28px 32px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Ä«µå ÇÑ ÁÙ ·¹ÀÌ¾Æ¿ô */
.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 24px;
}

/* Á¦¸ñ */
.card-title h3 {
    font-size: 18px;
    font-weight: 600;
}

.card-title .line {
    display: block;
    width: 60px;
    height: 2px;
    background: #000;
    margin-top: 6px;
}

/* ¸®½ºÆ® (°¡·Î ¹èÄ¡¿ë) */
.card-list.inline {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

    .card-list.inline li a{
        font-size: 14px;
        color: #777;
    }

/* È­»ìÇ¥ */
.arrow {
    margin-top: 20px;
    width: 32px;
    height: 32px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
}



	/*------------------------------------------*/

/*------------------------------------------*/
/* sermon section responsive */
/*------------------------------------------*/

/* =========================================
   sermon responsive
========================================= */

@media (max-width:1286px){

    .today_sermon{
        width:min(92vw, 900px);

        margin:0 auto;

        display:flex;
        flex-direction:column;

        align-items:center;

        gap:40px;

        padding:60px 20px;

        height:auto !important;
    }

    /* ÀÌ¹ÌÁö */

    .sb-2{
        width:100%;
        max-width:760px;

        position:relative;
    }

    .sb-2 > a{
        display:block;
        position:relative;

        overflow:hidden;
        border-radius:24px;
    }

    .sb-2 .sermon-thumbnail{
        position:relative !important;

        width:100% !important;
        height:auto !important;

        left:auto !important;
        top:auto !important;

        transform:none !important;

        display:block;

        border-radius:24px;

        aspect-ratio:16/10;
        object-fit:cover;
    }

    .sb-2 .sermon-thumbnail:hover{
        width:100% !important;
        height:auto !important;
    }

    /* À¯Æ©ºê ¹öÆ° */

    .sermon-youtube{
        position:absolute;

        right:20px;
        bottom:20px;

        width:70px;
    }

    /* ÅØ½ºÆ® */

    .sb-1{
        width:100%;
        max-width:760px;

        padding:0 !important;

        text-align:center;

        height:auto !important;
    }

    .sermon-content{
        position:static !important;

        transform:none !important;

        margin:0 auto 30px;

        text-align:center;
    }

    .sermon-content h2{
        font-size:clamp(28px,4vw,42px);

        line-height:1.2;
        margin-bottom:14px;

        color:#fff;
    }

    .sermon-content h4{
        font-size:clamp(14px,1.5vw,18px);

        line-height:1.7;

        color:#fff;
    }

    /* ¹öÆ° ±×¸®µå */

@media (max-width: 1286px) {
    .worship-grid {
        width: 100%;
        max-width: 650px;
        margin: 0 auto !important;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }



    .grid-item{
        min-height:90px;

        display:flex;
        align-items:center;
        justify-content:center;

        border-radius:14px;

        font-size:14px;

        padding:10px;
    }

}



/* =========================
   tablet
========================= */

@media (max-width: 767px){
.worship-cards {
    display: flex;
    gap: 60px;
    margin-left: 10%;
    margin-top: 70px;
}
    .today_sermon{
        padding:50px 20px;
        gap:0px;
    }

    .sermon-content{
        margin-bottom:22px;
    }

    .sermon-content h2{
        font-size:34px;
    }

    .sermon-content h4{
        font-size:14px;
    }

    .sermon-youtube{
        width:58px;
        right:16px;
        bottom:16px;
    }

    .worship-grid{
        grid-template-columns:repeat(3, 1fr);
        max-width:360px;
    }
    .notice-box1 h4{
		display:none;
	}
    .grid-item{
        min-height:68px;
        font-size:16px;
        border-radius:10px;
    }


    .section-wrap{
        height:auto !important;
        min-height:auto !important;
        overflow:visible !important;
    }

    .box-grid{
        padding-bottom:30px;
    }

 

}



/* =========================
   mobile
========================= */

@media (max-width: 520px){
.worship-cards {
    display: flex;
    gap: 25px;
    margin-left: 0PX;
    margin-top: 70px;
}
.worship-title {
    min-width: 220px;
    margin-left: 15PX;
    margin-top: 20px;
}
.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 0px;
}
    .today_sermon{
        padding:40px 15px;
    }

    .sb-2 .sermon-thumbnail{
        border-radius:16px;
    }

    .sermon-content h2{
        font-size:28px;
    }

    .sermon-content h4{
        font-size:13px;
        line-height:1.6;
    }

    .sermon-youtube{
        width:50px;
        right:12px;
        bottom:12px;
    }

    .worship-grid{
        grid-template-columns:repeat(3, 1fr);
        gap:8px;
    }

    .grid-item{
        min-height:62px;
        font-size:12px;
        border-radius:8px;
    }

}


/* ÀüÃ¼ ¿µ¿ª */
.worship-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:4vw;

    padding:5vw 3vw;
    background:#aab8bf;

    max-width:100%;
    overflow:hidden;
}

/* ¿ÞÂÊ ÀÌ¹ÌÁö */
.worship-left{
    flex:1 1 55%;
    position:relative;
}

.worship-left img{
    width:100%;
    height:auto;
    display:block;

    /* ºñÀ² À¯Áö */
    aspect-ratio: 16 / 10;
    object-fit:cover;
}

/* Àç»ý ¹öÆ° */
.worship-play{
    position:absolute;
    right:5%;
    bottom:5%;

    width:clamp(50px,5vw,90px);
    height:clamp(50px,5vw,90px);

    border-radius:50%;
    background:#fff;

    display:flex;
    justify-content:center;
    align-items:center;
}

/* °¡¿îµ¥ ÅØ½ºÆ® */
.worship-text{
    flex:1 1 25%;
    color:#fff;
}

.worship-text h2{
    font-size:clamp(28px,3vw,70px);
    line-height:1.2;
    margin-bottom:1vw;
}

.worship-text p{
    font-size:clamp(14px,1.1vw,24px);
    line-height:1.6;
}

/* ¿À¸¥ÂÊ ¸Þ´º ¹Ú½º */
.worship-menu{
    flex:0 0 22%;

    display:grid;
    grid-template-columns:1fr 1fr;
}

.worship-menu a{
    aspect-ratio:1/1;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:clamp(14px,1vw,22px);
    text-decoration:none;
    color:#000;
}

/* ¸ð¹ÙÀÏ */
@media all and (max-width:1024px){

    .worship-wrap{
        flex-direction:column;
        gap:40px;
    }

    .worship-left,
    .worship-text,
    .worship-menu{
        width:100%;
        flex:none;
    }

    .worship-menu{
        max-width:500px;
        margin:0 auto;
    }

    .worship-text{
        text-align:center;
    }
}

/*----------------------------------------------------------------*/

/* ÀüÃ¼ ÆäÀÌÁö */
html, body{
    overflow-x:hidden;
}



/* ¸ÞÀÎ ÄÁÅÙÃ÷ */
.main-wrap,
.section-wrap,
.container{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

/* »ó´Ü ºñÁÖ¾ó */
.visual-area{
    width:100%;
}

.visual-area img,
.visual-area video{
    width:100%;
    height:auto;
    object-fit:cover;
}

/* ¸Þ´º Ä«µå ¿µ¿ª */
.menu-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
    width:100%;
}

.menu-grid a{
    aspect-ratio:1/1;
    width:100%;
}

/* ¿¹¹è ½Ã°£Ç¥ */
.worship-wrap{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.worship-item{
    width:80px;
    flex:0 0 auto;
}

/* ¿À¸¥ÂÊ ¹öÆ°µé */
.side-btns{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
}

/* ÇªÅÍ ¹Ú½º */
.footer-box{
    display:grid;
    grid-template-columns:1fr 1fr;
}

/* ¸ð¹ÙÀÏ Àü¿ë */
@media (max-width:768px){

    /* ÁÂ¿ì Àß¸² ¹æÁö */
    body{
        min-width:0;
    }

	/* °íÁ¤Æø Á¦°Å (ÀÌ¹ÌÁö´Â Á¦¿Ü) 
		*:not(img){
		max-width:100%;
	}
	*/

    /* °¡·Î ¹èÄ¡ ÀüºÎ ¼¼·Î ÀüÈ¯ */
    .row,
    .flex,
    .section-flex{
        flex-direction:column;
    }

    /* Ä«µå Å©±â ÀÚµ¿ */
    .menu-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    /* ½Ã°£Ç¥ °£°Ý Á¶Á¤ */
    .worship-wrap{
        gap:14px;
    }

    .worship-item{
        width:70px;
    }

    /* ÅØ½ºÆ® Ãà¼Ò */
    h1{font-size:28px;}
    h2{font-size:24px;}
    h3{font-size:20px;}
    p{font-size:14px;}

    /* ¿©¹é Á¶Á¤ */
    section{
        padding:40px 15px;
    }
}

 /* ÅÂºí¸´/¸ð¹ÙÀÏ ¼¼·Î 3µîºÐ */
@media (max-width:1199px){

    /* ÀüÃ¼ ¼¼·Î ¹èÄ¡ */
    .worship-time-wrap{
        display:flex !important;
        flex-direction:column !important;
        gap:0 !important;
    }

    /* °¢ ¿µ¿ª */
    .worship-time-wrap .worship-group{
        width:100% !important;
        padding:10px  10px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    /* ½Ã°£ ¸®½ºÆ® °¡¿îµ¥ */
    .worship-time-wrap .time-list{
        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
        flex-wrap:wrap !important;
        gap:20px !important;
        margin-top:20px !important;
    }

    /* ±âÁ¸ margin Á¦°Å */
    .worship-time-wrap .ml60{
        margin-left:0 !important;
    }

    /* µ¿±×¶ó¹Ì */
    .worship-time-wrap .time-circle{
        margin:0 auto !important;
    }

    /* ±³È¸ÇÐ±³ ¼¼·Î Á¤·Ä */
    .worship-time-wrap .time-group{
        width:100% !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
    }

    /* ±³È¸ÇÐ±³ ¹öÆ° */
    .worship-time-wrap .class-tags{
        display:flex !important;
        justify-content:center !important;
        flex-wrap:wrap !important;
        gap:8px !important;
        margin-top:15px !important;
    }

}  