/*=================================================================
                             Color
=================================================================*/
:root {

  /* 自訂區 */
  --color1: #c8104e;
  --color2: #CCC;
  --color3: #c8104e;

  --money: #ee934c;
  --yellow: #ee934c;

  --tag_01: #ee824c;
  --tag_02: #ea6666;

}

/*=================================================================
                             頁面
=================================================================*/
/*== Header ==*/
.header_nav,
.list-inline-item .dropdown-menu a:not(.search_link):hover {
  background-color: #fdeeba;}
.header_nav nav>ul>li>a:hover, .header_nav nav>ul>li>a:focus {
  color: #fff;
  background-color: var(--color1);}

.main_content,
body:has(.main_content) .footer_toggle_wrap {
  background: url(../images/bg.png) repeat center top/1440px auto;}

/*== Title ==*/
.section_title .title:before {
  left: 50%;
  width: 50px;
  height: 4px;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #ee934c), color-stop(50%, #ee934c), color-stop(50%, var(--color1)), to(var(--color1)));
  background-image: linear-gradient(to right, #ee934c 0, #ee934c 50%, var(--color1) 50%, var(--color1) 100%);
  border-radius: 16px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);}

/*== Banner ==*/
.main-slider {
  margin: 0;
  padding: 0;}

/*== 活動區塊 ==*/
.custom_column {
  padding-top: 2rem;}
.custom_column .custom_wrap h3 {
  top: -30px;
  border: 2px solid var(--color2);
  padding: 1rem;
  width: 102%;
  max-width: initial;
  background-color: #fade7e;}



/*==================================
                 Footer
====================================*/  
#footer {
  background-color: #fade7e;}
.section_footer {
  background-color: #f6f5f2;
  overflow: hidden;}
.footer_area h2:hover,
.footer_area h2:focus {
  color: var(--color1);}

/*== 小孩圖 ==*/  
.img_footer {
  width: 300px;
  height: 300px;}

/*== 資訊 ==*/ 
.footer_info {
  padding-left: 10px;
  border: 0;
  border-left: 5px solid #fade7e;}

/*== Social ==*/  
.footer_social a:hover,
.footer_social a:focus {
  scale: 1.1;}
.footer_social .footer-facebook,
.footer_social .footer-facebook:hover,
.footer_social .footer-facebook:focus {
  color: #4460ae;
  background-color: transparent;}
.footer_social .footer-line,
.footer_social .footer-line:hover,
.footer_social .footer-line:focus {
  color: #00c300;
  background-color: transparent;}
.footer_social .footer-youtube,
.footer_social .footer-youtube:hover,
.footer_social .footer-youtube:focus {
  color: #ff0000;
  background-color: transparent;}
.footer_social .footer-ig,
.footer_social .footer-ig:hover,
.footer_social .footer-ig:focus {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;}

/*== 連結 ==*/  
@media (min-width: 480px) {
  .footer_subInfo {
    text-align: left;}  
}  

/*== Copyright ==*/
.footer_copyright {
  font-size: clamp(0.85rem, 0.8200rem + 0.1500vw, 1rem);
  text-align: center;}
.footer_copyright p {
  display: inline-block;
  padding-top: 16px;
  border-top: 1px solid rgb(105, 105, 105);}

/*== 管理員登入 ==*/
#body.authors_login {
  background-color: #fdeeba;}  

/* === 2025/06/19 Update by Alice === */
  /* 線上捐款列表 */
.cards_info .card-title{
  display: flex;
  display: -webkit-box;
  height: 66px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  
  text-overflow : ellipsis;
  overflow: hidden;
  margin-bottom: 10px;
}

.cards_info .card_text2{
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  text-overflow : ellipsis;
  overflow: hidden;
}
.cards_info .goal_sec ~ .card_text2{
  -webkit-line-clamp: 3;
}
@media screen and (max-width:576px) {
  .cards_info .card-title{
    height: 60px;
    font-size: 20px;
    margin-top: 10px;
  }
}


.quick_link{
  display: none;
}
@media screen and (max-width:576px) {
  .quick_link{
    display: block;
    position: fixed;
    right: 5px;
    bottom: 20%;
    z-index: 10;
    opacity: .8;
  }
  .quick_link a{
    display: flex;
    width: 60px;
    height: 60px;
    background-color: var(--color1);
    color: #fff;
    font-size: 18px;
    line-height: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid hsla(0,0%,100%,1);
    border-radius: 50%;
    box-shadow: 1px 1px 5px hsla(0,0%,0%,.5);    
    padding: 10px;
  }
  .quick_link:hover{
    opacity: 1;
  }
  .quick_link:hover a{
    color: #fff;
  }
  .quick_link a:hover{
    color: #fff;
  }
}
