﻿@keyframes move {
  from {
    transform: translateX(100px) scale(1.2);
    animation-timing-function: cubic-bezier(.2,0,.8,1);
  }
  to { transform: translateX(0px) scale(1); }
}
@-webkit-keyframes updown {
    0% {
        bottom: 0;
    }

    100% {
        bottom: 30px;
    }
}
@font-face {
    font-family: 'pretendard-bold';
    src: url('fonts/pretendard-bold.otf') format('opentype');
}
@font-face {
    font-family: 'pretendard-regular';
    src: url('fonts/pretendard-regular.otf') format('opentype');
}
@font-face {
    font-family: 'nanumsquareneo-brg';
    src: url('fonts/nanumsquareneo-brg.ttf') format('truetype');
}
@font-face {
    font-family: 'nanumsquareneo-cbd';
    src: url('fonts/nanumsquareneo-cbd.ttf') format('truetype');
}
@font-face {
    font-family: 'nanumsquareneo-deb';
    src: url('fonts/nanumsquareneo-deb.ttf') format('truetype');
}
@-webkit-keyframes arrayR {0%,100% {-webkit-transform:translate(15px,-50%);}50% {-webkit-transform:translate(15px,-50%);}}
@keyframes arrayR {0%,100% {transform:translate(0,-50%);}50% {transform:translate(15px,-50%);}}
.pretendardB{font-family: 'pretendard-bold';}
.pretendardR{font-family: 'pretendard-regular';}
.nanumBrg{font-family: 'nanumsquareneo-brg';}
.nanumCbd{font-family: 'nanumsquareneo-cbd';}
.nanumDeb{font-family: 'nanumsquareneo-deb';}



.font-main-42{font-size:42px;}
.font-main-21{font-size:21px;}
.font-main-17{font-size:17px;}

.no-padding {
    padding-right: 0;
    padding-left: 0;
}
.no-margin{margin-right:0; margin-left:0;}

a, a:hover, a.focus{text-decoration:none; outline:0px;}


/* common */

/* main common */
.mainContainer {
    width: 100%;
}

.mainContainer > .container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

.main_section_head {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.main_section_head h2 { 
    font-weight: 800;
    color: #111;
    margin: 0;
}

.main_section_head a {
    position: absolute;
    right: 0;
    top: 60px;
    font-size: 16px;
    color: #111;
    text-decoration: none;
}


/* quick */
#mainQuick {
    background: #f5f5f5;
    padding: 140px 0;
}

.quick_title_wrap {
    text-align: center;
    margin-bottom: 90px;
}

.quick_title_wrap h2 { 
    font-weight: 800;
    color: #111;
    margin: 0 0 14px;
}

.quick_title_wrap p { 
    color: #999;
    margin: 0;
}

.quick_list {
    display: flex;
    justify-content: space-between; 
}

.quick_list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    color: #333;
    text-decoration: none; 
}

.quick_list img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.quick_list a:hover {
    color: #1f4fa3;
}


/* sermon */
#mainSermon {
    padding: 130px 0  ;
    background: #fff;
}

.sermon_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.sermon_item {
    display: block;
    color: #111;
    text-decoration: none;
}

.sermon_thumb {
    width: 100%;
    aspect-ratio: 16/ 9;
    background: #e8e8e8;
    overflow: hidden;
    margin-bottom: 25px;
}

.sermon_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sermon_info .sermon_cate {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111;
}

.sermon_info h3 {
    font-size: 20px;
    /* font-weight: 700; */
    line-height: 1.0;
    color: #222;
    margin: 0 0 10px;

    overflow: hidden;          /* 영역 넘치는 텍스트 숨김 */
    text-overflow: ellipsis;   /* ... 표시 */
    white-space: nowrap;       /* 줄바꿈 금지 (한 줄 유지) */
max-width: 400px;
}

.sermon_info .sermon_date {
    font-size: 17px;
    color: #777;
    margin: 0 0 24px;
}

.sermon_info span {
    font-size: 17px;
    color: #111;
}

.sermon_item:hover .sermon_info h3 {
    color: #1f4fa3;
}


/* sermon responsive fix */
.sermon_item,
.sermon_thumb,
.sermon_info {
    min-width: 0;
}

.sermon_info h3 {
    max-width: 100%;
    width: 100%;
    line-height: 1.35;
}









 
/* worship */
#mainWorship {
    background: #f7f7f7;
    padding: 100px 0;
}
.worship_slider_area {
    position: relative;
}
.worship_inner {
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    align-items: center;
    gap: 85px;
}

.worship_left img {
    width: 100%;
    aspect-ratio: 460 / 300;
    object-fit: cover;
    display: block;
}

.worship_right {
    position: relative;
    min-width: 0;
}

.worship_left,
.worship_right {
    min-width: 0;
}



.worship_slide {
    position: relative;
    min-width: 0;
}

.worship_panel {
        padding: 0 10px;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    height: 30rem !important;
gap: 3rem;
}

 




.worship_panel h2 { 
    font-weight: 800;
    color: #111; 
}

.worship_place {
    text-align: right;
    font-size: 18px; 
    color: #555;
    padding-bottom: 10px;
}

.worship_place_second {
    margin-top: 2rem;
}

.worship_table {
    border-top: 1px solid #ddd;
}

.worship_table div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px  0;
    border-bottom: 1px solid #ddd;
}

.worship_table span,
.worship_table strong {
    font-size: 18px;
    color: #555;
}

.worship_table strong {
    font-weight: 700;
}

.worship_img_slide img {
    width: 100%;
    aspect-ratio: 460 / 300;
    object-fit: cover;
    display: block;
}


/* worship slick arrow */
#mainWorship .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    cursor: pointer;
    /* width: 46px; */
    height: 70px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    transition: opacity 0.25s ease;
}

#mainWorship .slick-arrow:hover {
    opacity: 1;
}

#mainWorship .slick-prev {
    left: -75px;
}

#mainWorship .slick-next {
    right: -75px;
}

#mainWorship .slick-arrow img {
    max-width: 100%;
    display: block;
}

.worship_img_slide {
    width: 100%;
}
 


/* gallery */
#mainGallery {
    padding: 130px 0  ;
    background: #fff;
    overflow: hidden;
}

.gallery_container {
    width: 100%;
    overflow: visible;
}

#mainGallery .main_section_head {
    max-width: 1340px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.gallery_slider {
    width: 1440px;
    margin-left: 50%;
    transform: translateX(-50%);
    overflow: visible;
}

.gallery_slider .slick-list {
    overflow: visible;
}

.gallery_item {
    padding: 0 12px;
    opacity: 0.35;
    transition: opacity 0.25s ease;
}

.gallery_item.slick-active {
    opacity: 1;
} 

 

.gallery_slider .slick-track {
    display: flex;
}

 
 



.gallery_item a {
    display: block;
    color: #111;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.gallery_thumb {
    width: 100%;
    aspect-ratio: 326 / 215;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gallery_info {
    padding: 22px 24px 28px;
}

.gallery_info h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    min-height: 44px;
    margin: 0 0 55px;
    color: #222;
}

.gallery_info p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

#mainGallery .slick-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 30;
    cursor: pointer;
    width: 50px;
    height: 70px;
    opacity: 0.5;
    transition: opacity 0.25s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#mainGallery .slick-arrow:hover {
    opacity: 1;
}

#mainGallery .slick-prev {
    left: calc(50% - 800px);
}

#mainGallery .slick-next {
    right: calc(50% - 800px);
}


/* bottom quick */
#mainBottomQuick {
    background: #f7f7f7;
    padding:85px 0;
}

.bottom_quick_container {
    display: flex;
        justify-content: space-between; 
}

.bottom_quick_container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.bottom_quick_container img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.bottom_quick_container a:hover {
    color: #1f4fa3;
}


/* =======================================================
   [추가] 온라인 헌금 모달
   ======================================================= */
.offering-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 999999;
}

.offering-modal.is-open {
    display: block;
    animation: offeringFadeIn 0.25s ease;
}

@keyframes offeringFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.offering-modal-dim {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.offering-modal-box {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 43.75rem;
    max-height: 90vh;
	width: 43.75rem; 
 
    overflow-y: auto; 
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: offeringSlideUp 0.3s ease;
	background:
    linear-gradient(
        0deg,
        rgba(232, 247, 255, 0.20) 0%,
        rgba(232, 247, 255, 0.20) 100%
    ),
    linear-gradient(
        0deg,
        rgba(207, 222, 228, 0.80) 0%,
        rgba(207, 222, 228, 0.80) 100%
    ),
    url('../Images/main/offering_bg.png') center / cover no-repeat,
    #000;

	background-blend-mode:
		overlay,
		overlay,
		normal,
		normal;
}

@keyframes offeringSlideUp {
    from { transform: translate(-50%, -45%); opacity: 0; }
    to   { transform: translate(-50%, -50%); opacity: 1; }
}

.offering-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s, transform 0.2s;
}
.offering-modal-close:hover {
    color: #111;
    transform: rotate(90deg);
}

.offering-modal-inner {
    padding: 2.2rem 3.69rem;
}

.offering-modal-title {
    color: #121212; 
	font-size: 1.875rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.0375rem;
    margin: 0 0 0.87rem; 
}

.offering-modal-desc {
    color: #121212; 
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.0175rem;
    margin: 0 0 0.96rem;
}

.offering-divider {
    border: 0;
    border-top: 1px solid #000;
    margin: 0 0 0.96rem;
}

.offering-sub-title {
    color: #121212; 
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.0225rem;
    margin:  0  ;
}

.offering-sub-strong {
    color: #121212; 
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.02rem;
    margin: 0.62rem 0  ;
}

.offering-sub-desc {
    color: #4E4E4E; 
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.0175rem;
    margin: 0 0 0.96rem;
}

/* EXAMPLES 박스 */
.offering-example-box {
    background: rgba(255, 255, 255, 0.55); 
    padding: 1.5rem 1.8rem;
    margin: 0 0 0.96rem;
}

.offering-example-title {
	color: rgba(0, 0, 0, 0.20); 
	font-size: 1rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.02rem;
    margin-bottom:  0.52rem;
}

.offering-example-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.offering-example-list li {
    display: flex;
    align-items: center;
    padding: 0.2rem  0;

    color: #4E4E4E; 
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.015rem;
}

.offering-example-list .ex-label {
    flex: 0 0 110px;
    font-weight: 700;
    color: #222;
}

.offering-example-list .ex-text {
    color: #555;
}

.offering-example-note {
    color: #4E4E4E; 
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.015rem;
    margin: 0;
    padding-top: 0; 
}

/* 온라인 계좌번호 박스 */
.offering-account-box {  
    margin: 0.8rem 0;
    border-left: 5px solid #121212;
    padding: 0 1.5rem;

}

.offering-account-row {
    display: flex;
    align-items: center;
    padding: 0.2rem 0;
}

.offering-account-row .acc-label {
    flex: 0 0 110px;
	color: #121212;
	font-family: "Noto Sans";
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.0175rem;


    
}

.offering-account-row .acc-value {
	color: #121212; 
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.0175rem;
}









/* =======================================================
   Hover Animation Effects (호버 애니메이션 추가)
   ======================================================= */

/* 1. 상단/하단 퀵메뉴 아이콘 호버 애니메이션 (부드럽게 커지면서 위로 살짝 올라가는 효과) */
.quick_list a img,
.bottom_quick_container a img {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick_list a:hover img,
.bottom_quick_container a:hover img {
    transform: translateY(-7px) scale(1.1);
}

/* 2. 말씀(Sermon) 카드 호버 애니메이션 (카드 부상 및 썸네일 줌인) */
.sermon_item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* 카드가 떠오를 때 모서리가 부드럽게 보이도록 추가 (선택사항) */
}

.sermon_item:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); */
}

.sermon_thumb img {
    transition: transform 0.5s ease;
}

.sermon_item:hover .sermon_thumb img {
    transform: scale(1.05); /* 이미지가 부드럽게 확대됨 */
}

/* 3. 섹션 타이틀 우측 '더보기' 버튼 호버 애니메이션 (화살표 방향으로 살짝 이동) */
.main_section_head a {
    transition: all 0.3s ease;
}

.main_section_head a:hover {
    color: #1f4fa3;
    transform: translateX(5px); /* 우측으로 5px 이동 */
}

/* 4. 예배시간 안내 테이블 호버 애니메이션 (마우스 오버 시 하이라이트 및 살짝 들여쓰기) */
.worship_table div {
    transition: background-color 0.3s ease, padding 0.3s ease;
    border-radius: 4px; /* 호버 시 배경색이 예쁘게 깔리도록 */
}

.worship_table div:hover {
    background-color: rgba(31, 79, 163, 0.05); /* 메인 컬러 톤의 은은한 배경색 */
    padding-left: 10px;
    padding-right: 10px;
}

/* 5. 교회 앨범(Gallery) 호버 애니메이션 (카드 부상 및 배경 썸네일 줌인) */
.gallery_item a {
    position: relative;
    overflow: hidden; /* 배경 이미지가 커질 때 영역을 벗어나지 않도록 설정 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery_item a:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.gallery_thumb {
    transition: transform 0.5s ease;
}

.gallery_item a:hover .gallery_thumb {
    transform: scale(1.08); /* 배경 이미지가 살짝 확대됨 */
}

/* 6. 말씀(Sermon) 'view' 텍스트 호버 시 화살표 이동 효과 */
.sermon_info span {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.sermon_item:hover .sermon_info span {
    color: #1f4fa3;
    transform: translateX(5px);
}









/* responsive */
@media (max-width: 1199px) {
    .quick_list {
        gap: 48px;
    }

    .bottom_quick_container {
        gap: 65px;
    }

    #mainGallery .slick-prev {
        left: -30px;
    }

    #mainGallery .slick-next {
        right: -30px;
    }
	
	
	
	
	.sermon_list {
        gap: 30px;
    }

    .sermon_info h3 {
        font-size: 18px;
    }
	
	
	
	
}

@media (max-width: 992px) {
    .quick_list {
        flex-wrap: wrap;
        gap: 35px 55px;
    }

    .quick_list a {
        width: calc(33.333% - 40px);
    }

    .sermon_list {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .worship_inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .worship_panel h2 {
        margin-bottom: 40px;
        text-align: center;
    }

    #mainWorship .slick-prev {
        left: 0;
    }

    #mainWorship .slick-next {
        right: 0;
    }

    .bottom_quick_container {
        flex-wrap: wrap;
        gap: 35px 60px;
    }

    .bottom_quick_container a {
        width: calc(33.333% - 45px);
    }
	
	
	.sermon_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 24px;
    }
	
	
	
}

@media (max-width: 767px) {
    .main_section_head {
        margin-bottom: 30px;
    }

    .main_section_head h2,
    .quick_title_wrap h2,
    .worship_left h2 {
        font-size: 25px;
    }

    .main_section_head a {
        position: static;
        display: inline-block;
        margin-top: 15px;
    }

    #mainQuick,
    #mainSermon,
    #mainGallery {
        padding: 60px 0;
    }

    #mainWorship {
        padding: 55px 0;
    }

    .quick_list {
        gap: 30px 20px;
    }

    .quick_list a {
        width: calc(33.333% - 14px);
        font-size: 13px;
    }

    .worship_place {
        text-align: left;
    }

    .bottom_quick_container {
        gap: 30px 20px;
    }

    .bottom_quick_container a {
        width: calc(33.333% - 14px);
        font-size: 13px;
    }


	.offering-modal-box {
        width: 94%;
        border-radius: 12px;
    }
    .offering-modal-inner {
        padding: 40px 24px 35px;
    }
    .offering-modal-title {
        font-size: 24px;
    }
    .offering-modal-desc {
        font-size: 14px;
    }
    .offering-sub-title {
        font-size: 18px;
    }
    .offering-example-box,
    .offering-account-box {
        padding: 22px 20px;
    }
    .offering-example-list .ex-label,
    .offering-account-row .acc-label {
        flex: 0 0 80px;
        font-size: 13px;
    }
    .offering-example-list .ex-text,
    .offering-account-row .acc-value {
        font-size: 13px;
    }
    .offering-modal-close {
        top: 12px;
        right: 14px;
    }



	.sermon_list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sermon_thumb {
        margin-bottom: 18px;
    }

    .sermon_info .sermon_cate {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .sermon_info h3 {
        font-size: 17px;
        line-height: 1.4;
    }

    .sermon_info .sermon_date {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .sermon_info img {
        max-width: 100%;
        height: auto;
    }




}

@media (max-width: 480px) {
    .quick_list a,
    .bottom_quick_container a {
        width: calc(50% - 10px);
    }

    .worship_table span,
    .worship_table strong {
        font-size: 14px;
    }

	.offering-account-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 0;
    }
    .offering-example-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 0;
    }



}

/* main responsive stabilization */
#mainSlider,
#mainQuick,
#mainSermon,
#mainWorship,
#mainGallery,
#mainBottomQuick {
    overflow-x: clip;
}

.mainContainer > .container {
    /* width: 100% !important; */
    max-width: 1340px;
    box-sizing: border-box;
}

.font-main-42 {
    font-size: clamp(28px, 2.35vw, 42px);
}

.font-main-21 {
    font-size: clamp(16px, 1.18vw, 21px);
}

.font-main-17 {
    font-size: clamp(14px, 0.95vw, 17px);
}

#mainSlider img,
#mainSlider video,
#mainSlider iframe {
    max-width: 100%;
}

.quick_list,
.bottom_quick_container {
    min-width: 0;
}

.bottom_quick_container:before,
.bottom_quick_container:after {
    content: none !important;
    display: none !important;
}

.quick_list a,
.bottom_quick_container a {
    min-width: 0;
    text-align: center;
    word-break: keep-all;
}

.sermon_list {
    min-width: 0;
}

.worship_panel {
    height: auto !important;
    min-height: 28rem;
}

.worship_panel h2 {
    line-height: 1.25;
    margin-top: 0;
}

.worship_table div {
    gap: 18px;
}

.worship_table span {
    word-break: keep-all;
}

#mainWorship .slick-arrow {
    width: 46px;
    background: transparent;
    border-radius: 0;
}

#mainWorship .slick-arrow img {
    max-height: 58px;
}

.gallery_slider {
    width: min(1440px, calc(100vw - 40px)) !important;
}

.gallery_item {
    min-width: 0;
}

.gallery_info h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.offering-modal-box {
    width: min(43.75rem, calc(100vw - 32px)) !important;
}

.offering-modal-inner {
    box-sizing: border-box;
}

@media (max-width: 1199px) {
    #mainSlider {
        margin-top: 75px;
    }

    #mainQuick {
        padding: 100px 0;
    }

    .quick_title_wrap {
        margin-bottom: 60px;
    }

    .quick_list,
    .bottom_quick_container {
        justify-content: center;
    }

    .gallery_slider {
        width: calc(100vw - 40px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
    }

    #mainGallery .slick-prev {
        left: 0;
    }

    #mainGallery .slick-next {
        right: 0;
    }

    #mainWorship .slick-prev {
        left: -70px;
    }

    #mainWorship .slick-next {
        right: -70px;
    }
}

@media (max-width: 1499px) and (min-width: 1200px) {
    #mainWorship .slick-prev {
        left: -60px;
    }

    #mainWorship .slick-next {
        right: -60px;
    }
}

@media (max-width: 992px) {
    .mainContainer > .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    #mainQuick,
    #mainSermon,
    #mainGallery {
        padding: 80px 0;
    }

    .sermon_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worship_inner {
        gap: 28px;
    }

    .worship_left {
        order: 1;
    }

    .worship_right {
        order: 2;
    }

    .worship_panel {
        min-height: 0;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    #mainSlider {
        margin-top: 64px;
    }

    .mainContainer > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    #mainQuick,
    #mainSermon,
    #mainGallery {
        padding: 64px 0;
    }

    .quick_title_wrap {
        margin-bottom: 38px;
    }

    .quick_list,
    .bottom_quick_container {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 14px;
    }

    .quick_list a,
    .bottom_quick_container a {
        width: auto;
        gap: 10px;
    }

    .quick_list img {
        width: 52px;
        height: 52px;
    }

    .bottom_quick_container img {
        width: 46px;
        height: 46px;
    }

    .main_section_head {
        margin-bottom: 34px;
    }

    .main_section_head a {
        font-size: 14px;
    }

    .sermon_list {
        grid-template-columns: 1fr;
    }

    .worship_table div {
        align-items: flex-start;
        padding: 13px 0;
    }

    .worship_table span:first-child {
        flex: 0 0 auto;
        min-width: 5.4em;
    }

    #mainWorship .slick-arrow {
        width: 34px;
        height: 48px;
        top: calc(((100vw - 32px) * 300 / 460) / 2);
    }

    #mainWorship .slick-prev {
        left: 18px;
    }

    #mainWorship .slick-next {
        right: 18px;
    }

    #mainWorship .slick-arrow img,
    #mainGallery .slick-arrow img {
        max-height: 48px;
    }

    .gallery_slider {
        width: calc(100vw - 32px) !important;
    }

    .gallery_info {
        padding: 18px 18px 22px;
    }

    .gallery_info h3 {
        margin-bottom: 28px;
    }

    #mainBottomQuick {
        padding: 58px 0;
    }

    .offering-modal-box {
        width: calc(100vw - 28px) !important;
        max-height: 86vh;
    }

    .offering-modal-inner {
        padding: 34px 20px 28px;
    }

    .offering-modal-desc br,
    .offering-sub-desc br {
        display: none;
    }
}

@media (max-width: 480px) {
    .mainContainer > .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .quick_list,
    .bottom_quick_container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .worship_table div {
        flex-direction: column;
        gap: 4px;
    }

    .worship_table span:first-child {
        min-width: 0;
    }

    .gallery_slider {
        width: calc(100vw - 28px) !important;
    }

    .offering-example-box {
        padding: 18px 16px;
    }

    .offering-account-box {
        padding: 0 0 0 16px;
    }
	
	
	.offering-example-list .ex-label, .offering-account-row .acc-label {
        flex: 0 0 20px;
        font-size: 13px;
    }
	
	
}
