*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}

/* seo */
.seoTemple{
    position: absolute;
    top: 100%;
    left: 20%;
    font-size: 1rem;
}
.seoTemple h1,h2{    
    font-size: 0.8rem;
    color: #ffffff1f;
}

/* 第二區 */
.templeBanner{
    display: block;
    width: 100%;
}
.templeBanner img{
    width: 100%;
}


/* 第三區選單 */
/* 修改選中狀態的樣式，確保權重足夠 */
.templeMenu a.active, 
.daytempleMenu a.active {
    color: #000000 !important;
    background-color: #fdd873e8 !important;
    padding: 16px 10px;
}
.daytempleMenu a.active {
    color: #000000 !important;
    background-color: #fdd873e8!important;
    padding: 1px 10px;
}

/* 非選中狀態 */
.menuLink:not(.active) {
  background-color: #fFFF;
  color: rgba(24, 0, 0, 0);
}
/* 為了讓手機版也能變色，修正原本 media query 裡的覆蓋 */
@media(max-width:915px){
    .templeMenu a.active {
        color: #fdd873 !important;
        background-color: transparent !important;
    }
}

.templeMenu{
    position: sticky;
    top: 0px;
    display: block;
    width: 100%;
    color: #FFF;
    text-align: center;
    padding: 10px 0px;
    background-color: #6b220ade;
    z-index: 5;
}
.templeMenu a{
    flex-wrap: nowrap;
    font-size: 1.5rem;
    color: #FFF;
    padding: 0px 10px;
    transition: all 0.2s, font-size 0s;
}

.templeMenu a:hover{
    color: #000000;
    padding: 16px 10px;
    background-color: #fdd873;
}
.templeMenu span{
    font-size: 1.5rem;
    padding: 0px 10px;
}
.focustempleMenu{
    color: #000000 !important;
    padding: 16px 10px !important;
    background-color: #fdd873;
}
@media(max-width:915px){
    .templeMenu{
    padding: 10px 0px;
}
    .templeMenu a{
    font-size: 1.1rem;
    padding: 0px 10px;
}
    .templeMenu a:hover{
    color: #ffc2c2;
    padding: 0px 10px;
    background-color: #fdd87300;
}
    .focustempleMenu{ 
    color: #ffffff !important; 
    background-color:#6b220a00;
}
.templeMenu a:hover{
    color: #fdd873 !important;
    background-color:none;
}
}
/* 複選單 */
.daytempleMenu{
    position: sticky;
    top: 55px;
    width: 100%;
    color: #6b230a;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    padding: 10px 20px;
    background-color: #fdd873e8;
    z-index: 5;
}
.daytempleMenu a{
    color: #6b230a;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;  
     padding: 5px 10px; 
}
.daytempleMenu a:hover{
    color: #000000;
}
@media(max-width:915px){
    .daytempleMenu{
        top: 47px;
        font-size: 1rem;
    }
      .daytempleMenu a{
        font-size: 1rem;
    }
}
@media(max-width:721px){
    .daytempleMenu{
        top: 72px;
    }     
}
@media(max-width:390px){
    .daytempleMenu{
        top: 99px;
    }     
}

/* 介紹 */
.produce{
    width: 100%;
    max-width: 1200px;
    margin: auto;
}
.produce img{
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* 第四區商品 */
.templeCommodity{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: auto;
}
.cardTemple{   
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; 
    margin-left: 10px;
    margin-top: 30px; 
    background-color: #fff4f4;      
}

@media(max-width:700px){
   .cardTemple{ 
    padding: 10px;  
background-color: #ebebeb;
   } 
}

.imgCard{
    position: relative;
}

.imgCard img{
    width: 100%;
    max-width: 260px;
}

.textCard{
    padding: 10px;
}
.textCard h5{  
    color: #6b230a;  
    font-size: 1.3rem;
    text-align: center;
    padding-bottom: 8px;
}
.textCard .dateCard{
    color:#6b230a;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600 !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #fdd873;
}
.textCard .boldText{
    color: black;
    font-weight: bold;
}

.textCard h3{
    color:black;
    text-align: center;
    font-size: 1.2rem;
    padding-bottom: 5px;
}
.textCard h4{
    color:#6b230a;
    text-align: center;
    font-size: 1.1rem;
    padding-bottom: 5px;
}
.textCard p{
    color:#000000;
    text-align: center;
    font-size: 1rem;
    padding-bottom: 5px;
}
.textCard .numPrice{
    color:#6b230a;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}
.textCard a{
    display: block;
    color:#ffffff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px;
    background-color: #cd437e;
}
.textCard a:hover{
    color:#faccbd;
}
/* 第五區內容 */
.templeContent{
    width: 100%;
    background-color: #fff7e1;
    background-image: url(../img/bg-1.png);
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
}
.templeWhiteMazu{
    width: 100%;
    max-width: 1500px;
    margin: auto;
    background-color: #FFF;
}

/* 進香時程 */
/* 標題 */
.templeTimeTittle{    
    width: 100%;
    max-width: 1200px;
    padding-top: 50px;
    margin: 0px auto;
}
.templeTimeTittle img{
    width: 100%;
    max-width: 370px;
    margin: 0px auto;
}


@media(max-width:768px){
    .templeTimeTittle img{
   margin: 50px 0px 50px 0px;
}
}
/* 副標 */
.dayTemple{  
    width: 200px;
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    border-bottom: 2px solid black;
    padding-top: 50px;
    margin: 50px auto;
}
@media(max-width:700px){
    .dayTemple{
    font-size: 2rem;
    padding-top: 0px;
}
}
/* 表格基礎樣式設定 */
.templeTime{
    display: block;
}
.table-container {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  font-family: "Microsoft JhengHei", sans-serif;
}
.table-container img{
    width: 100%;
    max-width: 1200px;
    margin: auto;

}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fffaf0; /* 淺米色背景 */
  border: 2px solid #cd437e;
}

/* 表頭樣式 */
.responsive-table thead tr {
  background-color: #cd437e; /* 深咖啡色 */
  color: #ffffff;
  text-align: center;
}

.responsive-table th, 
.responsive-table td {
  padding: 12px 15px;
  border: 1px solid #d2b48c; /* 淺褐色邊框 */
  text-align: center;
}


/* 偶數列背景色，增加可讀性 */
.responsive-table tbody tr:nth-of-type(even) {
  background-color: #f5eadd;
}

.responsive-table tr:hover{
    background: #f9de6e;
}

/* 祈福加碼送 */
.templeFree{
    width: 100%;
    padding: 0px 200px;
    margin: auto;
}
.templeFree img{
    width: 100%;
    display: flex;
    justify-content: center;    
    margin: auto;
}
@media(max-width:1000px){
    .templeFree{
    padding: 0px 100px;
}
}
@media(max-width:768px){
    .templeFree{
    padding: 0px 50px;
}
}
@media(max-width:430px){
    .templeTimeTittle img{
        width: 70%;
    }
    .templeFree{
    padding: 0px 10px;
}
}

/* 攻略 */
.strategy{
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
}
.strategy img{
    width: 100%;
    max-width: 1200px;
}

 /* pocast  */
 .audioMaozu{
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin: 50px auto;
 }
  .audioMaozu .imgaudioMaozu{
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 0px auto;
 }
 
 .audioMaozu h3{
    font-size: 1.5rem;
    padding-bottom: 20px; 
}
  .audioMaozu audio{
    width: 100%;
    max-width: 400px;
    margin: 0px auto;
 }

/* 行前提醒 */
/* 標題 */
.mazuNotice{
    padding-bottom: 20px;
}
.mazuNotice img{
    width: 100%;
    max-width: 370px;
}
/* 問題 */
.noticeQues{
    color: #6b230a;
    font-size: 1rem;
    font-weight: bold !important;
    margin-left: 100px;
    margin-top: 10px;
}
.noticeAns{
    font-weight:600;
    margin-left: 100px;
}
.noticeAns h4{
    font-weight:600;
}

@media(max-width:768px){
    .noticeQues{
    margin: 10px;
}
.noticeAns{
    margin: 10px;
}
}

@media(max-width:430px){
    .noticeQues{
    margin: 5px;
}
.noticeAns{
     font-size: 0.8rem;
    margin: 5px;
}
}