/* 模組大標題 */
.serviceTop_tit{
    font-size: clamp(1.875rem, 1.208rem + 1.08vw, 2.5rem);
    position: absolute;
    top: 0;
    transform: translateY(60%);
}


/* ============================================== */
/* 廟務系統（主頁）第一區塊 */
/* ============================================== */

/* 背景圖 -------------------- */
.temple_system_container_01{
    background-image: url(https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/donation/bg1_img.webp);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    /* height: 100vh; */
    height: clamp(32.625rem, -2.177rem + 56.19vw, 65.25rem);
    min-height: auto;
    position: relative;
}

    .temple_system_container_01 .wrap{
        width: 90%;
    }

.temple_system_about{
    position: absolute;
    top: 50%;
    /* transform: translateY(-45%); */
    transform: translateY(-30%);
}
.temple_system_about .temple_system_about_content{
    position: relative;
    color: #222;
    width: fit-content;
}

/* 大標題 -------------------- */
.donation_title{
    position: relative;
    width: fit-content;
    /* padding-bottom: clamp(1.25rem, 0.917rem + 0.54vw, 1.563rem); */
}

.donation_title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    aspect-ratio: 159 / 103;
    background: url(https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/donation/calligraphy_donation_black.webp) center center / cover no-repeat;
    transform: translate(35%, -30%);
}

h2.title_text_area {
    font-family: Noto Serif TC;
    font-size: clamp(1.375rem, -0.158rem + 2.48vw, 2.813rem); /* 22 45 */
    letter-spacing: clamp(2px, 0.5vw, 10px);
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(0.625rem, 0.292rem + 0.54vw, 0.938rem); /* 10 15 */
}

span.title_text02 {
    padding-left: clamp(1.25rem, -2.75rem + 6.46vw, 5rem); /* 20 80 */
}


/* 內文 -------------------- */
.donation_description {
    width: 100%;
    max-width: 560px;
    font-size: clamp(0.813rem, 0.346rem + 0.75vw, 1.25rem); /* 13 20 */
    line-height: 2;
    letter-spacing: 4px;
}


@media (max-width: 1450px) {

    /* 大圖文字區塊 */
    .donation_description {
        max-width: 450px;
    }
}

@media (max-width: 1100px) {
    
    /* 大圖區塊 */
    .temple_system_container_01{
        aspect-ratio: unset;
        /* height: 90vh; */
        height: 120vh;
        padding: 0px 20px;
        background-image: 
            linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
            url("https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/donation/bg1_img.webp");
    }

    /* 大圖文字區塊 */
    .donation_description {
    }

}

@media (max-width: 840px) {
    .temple_system_about {
        padding-left: unset;
    }
}

@media (max-width: 640px) {
    .donation_description {
        width: 95%;
    }
    .temple_system_container_01 .wrap{
        padding: 0;
        
    }
}



/* ============================================== */
/* 法會報名系統 第二區塊 */
/* ============================================== */

.donation_section_02 {
	position: relative;
    margin-top: -10vw;
}

.donation_section02_inner {
	width: 60%;
}

.section02_title{
    font-size: clamp(1.563rem, 0.429rem + 1.83vw, 2.625rem); /* 25 42 */
    letter-spacing: .3125rem; /* 5 */
    margin-bottom: 1.25rem; /* 20 */
    position: relative;
}

.section02_title::before{
    content: "";
    position: absolute;
    inset: 0; /* 等同 top:0; right:0; bottom:0; left:0 */
    background: url('https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/lamp_candle.webp') center / cover no-repeat;
    width: 72px;
    aspect-ratio: 1 / 1;
    top: -2.5rem; /* -40 */
    left: 50%;
    transform: translateX(-50%);
}

/* 項目清單區塊----------------------------------- */
.donation_list_area {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -20px;

    justify-content: center;
}
.donation_list_Bg .donation_list_area {
	padding-top: 140px;
}
.donation_list {
	/* width: 50%; */
    width: calc( 100% / 3 );
	padding: 0 20px 45px;
	box-sizing: border-box;
}

.donation_list_in {
	display: flex;
    flex-direction: column;
	/* justify-content: space-between; */
	align-items: center;
    gap: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem); /* 10 20 */
}

.donation_list_left {
	/* width: 100%; */
    aspect-ratio: 1/1;
}

.list_left_img {
	background: #FFFFFF;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 57px 0;
}

.donation_list_right {
	/* width: 65%; */
    width: 100%;
}

.list_right_title {
	color: #D2A400;
	font-weight: 700;
    font-size: clamp(1.125rem, 0.325rem + 1.29vw, 1.875rem); /* 18 30 */
	line-height: 1.2;
	letter-spacing: 0.15em;
	margin-bottom: 30px;
    text-align: center;
}

.list_right_info {
	font-weight: 700;
	font-size: clamp(1rem, 0.733rem + 0.43vw, 1.25rem); /* 16 20 */
	line-height: 1.5;
	letter-spacing: 0.15em;
    text-align: center;
}


@media(max-width:1440px) {
	.donation_list_Bg .wrap {
		width: 85%;
	}
}

@media(max-width:1280px) {
	.donation_list_Bg .wrap {
		width: 90%;
	}
}

@media(max-width:1100px) {
	.donation_list_area {
		margin: 0;
	}

	.donation_list {
		width: 100%;
		padding: 0 0px 45px;
	}

	.donation_list_left {
		width: auto;
	}

	.list_left_img {
		width: 196px;
		margin-right: 20px;
	}

	.donation_list_right {
		width: auto;
	}

}

@media (max-width: 1024px){
    .donation_section_02{
        margin-top: -80px;
    }

    .donation_section02_inner{
        width: 80%;
    }
}



@media(max-width:990px) {
	.donation_list_Bg .wrap {
		width: 95%;
	}

	.donation_list_Bg .section02_title {
		top: -70px;
	}

	.section02_title img {
		width: 50px;
		height: 50px;
	}
	.donation_list_Bg .donation_list_area {
		padding-top: 50px;
	}
}

@media (max-width: 540px) {
	.donation_list_area {
		padding-top: 25px;
	}

	.donation_list_Bg .section02_title {
		top: -45px;
	}

	.donation_list_in {
		flex-direction: column;
	}

	.donation_list_left {
		/* width: 100%; */
	}

	.list_left_img {
		margin: 0 auto;
		margin-bottom: 25px;
	}

	.list_right_title {
		margin-bottom: 15px;
	}
}

@media (max-width: 768px){
    .donation_section_02{
        margin-top: -3.75rem;
    }

    .donation_section02_inner{
        width: 100%;
    }

    .donation_list{
        width: 100%;
    }

    .list_right_title{
        font-size: 1.375rem;
    }

    .list_right_info{
        font-size: 1rem;
    }
}

@media (max-width: 480px){

    .donation_section_02{
        margin-top: -2.5rem;
    }

    .section02_title::before{
        top: -3.5rem; /* -56 */
    }

}




/* ============================================== */
/* 廟務系統（主頁）第三區塊 */
/* ============================================== */

/* 外層 */
.temple_system_container_03{
    width: 100%;
    background-color: #DBC36D;
    margin-top: clamp(2.5rem, -0.167rem + 4.31vw, 5rem); /* 40 80 */
}

/* 內層 */
.temple_system_container_03 .temple_system_inner{
    display: flex;
    width: 100%;
    min-height: clamp(16.563rem, -1.105rem + 28.53vw, 33.125rem);
}

/* 左文字 */
.temple_system_container_03 .ts03_text{
    width: 45%;
    background-color: #DBC36D;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6.25rem; /* 100 */
    box-sizing: border-box;
}

.temple_system_container_03 .ts03_text_content{
    max-width: 46.875rem; /* 750 */
    line-height: 2;
    font-size: clamp(1rem, 0.733rem + 0.43vw, 1.25rem); /* 16 20 */
    font-weight: 300;
    letter-spacing: .3125rem; /* 5 */
}

/* 右圖片 */
.temple_system_container_03 .ts03_img{
    position: relative;
    width: 55%;
    background: url('https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/donation/bg3_img.webp') center / cover no-repeat;
    overflow: hidden;
}

/* 遮罩 */
.temple_system_container_03 .ts03_img::after{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(219, 195, 109, 1) 0%,
        rgba(219, 195, 109, 0) 100%
    );

    pointer-events: none;
}



@media (max-width: 1024px){
    .temple_system_container_03 .ts03_text{
        padding: 40px;
    }
}

@media (max-width: 768px){
    .temple_system_container_03 .temple_system_inner{
        flex-direction: column;
    }

    .temple_system_container_03 .ts03_text,
    .temple_system_container_03 .ts03_img{
        width: 100%;
    }

    .temple_system_container_03 .ts03_img{
        height: 250px;
    }

    .temple_system_container_03 .ts03_text{
        padding: 30px 20px;
        text-align: center;
    }

    .temple_system_container_03 .ts03_img::after{
        background: linear-gradient(
            to bottom,
            rgba(219, 195, 109, 1) 0%,
            rgba(219, 195, 109, 0) 100%
        );
    }
}


/* ============================================== */
/* 廟務系統（主頁）第四區塊 */
/* ============================================== */

/* 外層 */
.temple_system_container_04{
    width: 100%;
    padding: 9.375rem 0px; /* 150 0 */
    box-sizing: border-box;
}

/* 內層 */
.temple_system_container_04 .ts04_inner{
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    gap: clamp(1.25rem, -0.083rem + 2.15vw, 2.5rem); /* 20 40 */
    align-items: stretch;
}

/* 左圖 */
.temple_system_container_04 .ts04_media{
    width: 35%;
    background: url('https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/donation/bg4_img.webp') center / cover no-repeat;
    height: auto;
}

/* 右側內容 */
.temple_system_container_04 .ts04_content{
    width: 70%;
}

/* 標題 */
.temple_system_container_04 .ts04_title{
    color: #000;
    font-size: clamp(1.563rem, -0.104rem + 2.69vw, 3.125rem); /* 25 50 */
    font-weight: 700;
    line-height: 1;
    letter-spacing: clamp(0.313rem, -0.021rem + 0.54vw, 0.625rem); /* 5 10 */
    padding: 0;
    margin: 0;
    padding-bottom: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem);
}

/* 卡片列表 */
.temple_system_container_04 .ts04_list{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 單一項目 */
.temple_system_container_04 .ts04_item{
    background: #fff;
    border: 2px solid #C8C8C8;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 40px;
}

/* 標題 */
.temple_system_container_04 .ts04_item_title{
    font-weight: 700;
    font-size: clamp(1rem, -0.067rem + 1.72vw, 2rem);
    margin-bottom: 10px;
}

/* 內文 */
.temple_system_container_04 .ts04_item_text{
    font-size: clamp(1rem, 0.733rem + 0.43vw, 1.25rem); /* 16 20 */
    line-height: 2;
    letter-spacing: 5px;
    color: #444;
}




/* 平板 */
@media (max-width: 1024px){

    .temple_system_container_04 .ts04_inner{
        flex-direction: column;
    }

    /* 🔥 隱藏圖片（你指定的） */
    .temple_system_container_04 .ts04_media{
        display: none;
    }

    .temple_system_container_04 .ts04_content{
        width: 100%;
    }
}

/* 手機 */
@media (max-width: 768px){

    .temple_system_container_04{
        padding: 60px 16px;
    }

    .temple_system_container_04 .ts04_item{
        padding: 16px 18px;
    }

    .temple_system_container_04 .ts04_title{
        text-align: center;
    }
}


/* ============================================== */
/* 廟務系統（主頁）第五區塊 */
/* ============================================== */

/* 外層 */
.temple_system_container_05{
    position: relative;
    padding: 90px 20px;
    padding-bottom: clamp(5.938rem, -13.064rem + 30.68vw, 23.75rem); /* 380 */
    overflow: hidden;
}

/* 大背景 */
.temple_system_container_05::before{
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/bg_img5.webp') left bottom no-repeat;
    opacity: 1;
    z-index: 0;
}

/* 內層 */
.temple_system_container_05 .ts05_inner{
    position: relative;
    z-index: 1;
    max-width: 80%;
    margin: 0 auto;
}

/* 標題區 */
.temple_system_container_05 .ts05_header{
    text-align: center;
    max-width: 66.875rem; /* 1070 */
    margin: 0 auto 60px;
}

.temple_system_container_05 .ts05_title{
    color: #000;
    font-size: clamp(1.563rem, -0.104rem + 2.69vw, 3.125rem); /* 25 50 */
    font-weight: 700;
    line-height: 1;
    letter-spacing: clamp(0.313rem, -0.021rem + 0.54vw, 0.625rem); /* 5 10 */
    padding: 0;
    margin: 0;
    padding-bottom: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem);
}

.temple_system_container_05 .ts05_desc{
    font-size: clamp(1rem, 0.733rem + 0.43vw, 1.25rem); /* 16 20 */
    text-align: center;
    width: 100%;
    margin: 0 auto;
    line-height: 2;
    letter-spacing: 5px;
}


/* 卡片外層區塊------------------------------------- */
.temple_system_container_05 .ts05_grid_area{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.938rem, -0.063rem + 1.61vw, 1.875rem);

    align-items: stretch;
}

/* 卡片 */
.temple_system_container_05 .ts05_card{
    padding: clamp(0.938rem, -0.063rem + 1.61vw, 1.875rem); /* 15 30 */
    position: relative;
    background: #143c44;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: auto;
}

/* 內框線（細框） */
.temple_system_container_05 .ts05_card_inner{
    position: relative;
    border: 1px solid #fff;
    padding: 85px 50px;
    display: flex;
    flex-direction: column;
    gap: clamp(0.938rem, -0.063rem + 1.61vw, 1.875rem); /* 15 30 */
    flex: 1;
}

/* 浮水印 */
.temple_system_container_05 .ts05_card::before{
    content: "";
    position: absolute;
    right: -20px;
    bottom: -40px;

    width: clamp(10.625rem, -0.709rem + 18.3vw, 21.25rem); /* 170 340 */
    aspect-ratio: 1 / 1;

    background: url('https://www.geneinfo.com.tw/uploads/root/service/images/temple_system/flower.webp') center / contain no-repeat;
    opacity: 0.3;

    pointer-events: none;
}

/* 標題 */
.temple_system_container_05 .ts05_card_title{
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.125rem, -0.075rem + 1.94vw, 2.25rem); /* 18 36 */
}

/* 文字 */
.temple_system_container_05 .ts05_card_text{
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 0.733rem + 0.43vw, 1.25rem); /* 16 20 */
    line-height: 2;
    letter-spacing: 5px;
    min-height: 7.5rem; /* 120 */
}


/* 平板 */
@media (max-width: 1024px){
    .temple_system_container_05 .ts05_grid_area{
        gap: 20px;
    }
}

/* 手機 */
@media (max-width: 768px){

    .temple_system_container_05{
        padding: 80px 16px;
    }

    .temple_system_container_05 .ts05_grid_area{
        grid-template-columns: 1fr;
    }

    .temple_system_container_05 .ts05_header{
        margin-bottom: 40px;
    }

    /* 浮水印縮小 */
    .temple_system_container_05 .ts05_card::before{
        width: 140px;
        right: -10px;
        bottom: -10px;
    }
}
@media (max-width: 540px){

    .temple_system_container_05 .ts05_inner {
        max-width: 90%;
    }

    .temple_system_container_05 .ts05_card_inner{
        padding: 35px 15px;
    }
}