/*== FONT-粉圓體 ==*/
@import url('https://fonts.googleapis.com/css2?family=Huninn&display=swap');

#footer {
  font-family: 'Huninn', 'Noto Sans TC', sans-serif;
  background-color: #EFEFEF;
  width: 100%;
  padding: 0;
}
#footer .footer_content .right-content {
	display:none;
}	
#footer .copyright {
	display:none;
}
#footer .item.contact{
	display:none;
}
#footer .display_y .left-content {
    margin-bottom: 0;
}

.footer-logo img{
  width: 230px; 
  height: auto; 
  max-width: 100%; 
}

#footer .qk-container {
    max-width: 100%;
    display: flex;
    margin: 0 60px 0 60px;
    padding: 36px 80px 0;
    justify-content: space-between;
}

#footer .footer_content {
    width: 100%;
    flex: 1;
}
#footer .link-list-container:first-child .item ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 10px;
}
#footer .link-list-container:first-child .item ul li{
    position: relative;
    margin-right: 0 !important;
    margin-bottom: 0;
}
#footer .link-list-container:first-child .item ul li:not(:last-child):after {
    content: '';
    width: 1px;
    height: 18px;
    background: #000;
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
}
#footer .link-list-container:first-child .item ul li a {
    position: relative;
    transition: color 0.3s ease;
    color: #000;
    text-decoration: none;
    font-size: 14px;
}
#footer .link-list-container:first-child .item ul li a:hover {
  color: #44B56A; 
}
#footer .link-list-container:first-child .item ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #44B56A;
    transition: width 0.3s ease;
}
#footer .link-list-container:first-child .item ul li a:hover::after {
  width: 100%;
}

#footer .link-list-container:last-child {
  color: #8E8E8E;
  font-size: 14px;
  line-height: 150%;
  text-align: left;
  padding: 8px 0px 20px;
}

#footer #rich_text_editor_setting {
	margin-bottom:5px;
	margin-top:5px;
}


@media (max-width: 1200px) {
#footer .qk-container {
    margin: 0;
    padding: 36px 40px 0;
    justify-content: space-between;
}
#footer .footer_content {
    flex: unset;
}
}

@media (max-width: 991px) {
#footer {
	padding-bottom:48px;
}
#footer .footer_content .right-content {
	padding-bottom: 0;
}
#footer .qk-container {
    padding: 20px 20px 0;
}

#footer .media {
    justify-content: center;
}
#footer .qk-container {
    flex-direction: column;
    gap: 15px;
    flex: 1;
}
#footer .link-list-container {
	display:flex;
	width: 100%;
	align-items: center;
    flex-direction: column;
}
#footer .link-list-container .item ul {
	justify-content:center !important;
}
#footer .link-list-container:first-child .item ul {
    padding-top: 0;
}
#footer .link-list-container:last-child {
    padding: 8px 0px 20px;
}
#footer .rich-text-content-container {
	text-align:center;
    margin-top: 20px;
}
#footer .rich-text-content-container p{
	font-size:12px;
}
}

@media (max-width: 767px) {
.footer-logo img{
    width: 170px;
}
/* footer-nav 移除分隔線並置中 */
#footer .link-list-container:first-child .item {
    display: flex;
    justify-content: center;
    width: 100%;
}
#footer .link-list-container:first-child .item ul {
    flex-direction: row; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 15px;
} 
#footer .link-list-container:first-child .item ul li:not(:last-child):after {
    display: none;
}
#footer .link-list-container:last-child .item ul {
	justify-content: flex-start !important;
}
#footer .rich-text-content-container {
	text-align:left;
}
}

/*=== 新增右側區域樣式 ===*/
.add-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 1;
}
.add-footer-right .footer-divider {
  width: 70%;
  height: 1px;
  background: #74C083;
  margin: 20px 0;
}
.add-footer-right .best-container {
  display: flex;
  flex-direction: row;
  gap: 19px;
  margin-bottom: 20px;
}
.add-footer-right .best {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 71px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.add-footer-right .best:hover {
  transform: translateY(-3px);
}
.add-footer-right .best-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: auto !important;
  border-radius: 0 !important; 
  overflow: visible !important;
  margin-right: 0 !important;
  background-color: transparent !important; 
  box-shadow: none !important; 
}
.add-footer-right .best-text {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.54px;
  transition: color 0.3s ease;
}
.add-footer-right .best:hover .best-text {
  color: #44B56A; 
}
.add-footer-right .best:hover .best-text {
  color: #44B56A; 
}
.add-footer-right .contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 341px;
}
.add-footer-right .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.add-footer-right .contact-label, .add-footer-right .contact-value {
  font-size: 14px;
  color: #000;
}

@media (max-width: 1200px) {
.add-footer-right .footer-divider {
    width: 100%;
}
}

@media (max-width: 991px) {
.add-footer-right {
    width: 100%;
    align-items: center;
    margin-top: 0px;
}
.add-footer-right .footer-divider {
    width: 100%;
    max-width: 380px;
  }
.add-footer-right .best-container {
    justify-content: center;
  }
  
.add-footer-right .contact-info {
    width: 100%;
    max-width: 380px;
  }
}

@media (max-width: 767px) {
.add-footer-right {
	align-items: flex-start;
}
.add-footer-right .contact-item {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
.add-footer-right .contact-info {
    gap: 10px;
  }
.add-footer-right .contact-label, .add-footer-right .contact-value {
    font-size: 14px;
  }
.add-footer-right .best-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }
.add-footer-right .best {
    width: 25%; 
    min-width: 70px; 
    margin-bottom: 0;
  }
.add-footer-right .best-icon {
    width: 40px !important;
    height: 40px !important;
  }
.add-footer-right .best-text {
    font-size: 12px;
  }
}

/*=== 新增social media樣式 ===*/
.footer-social {
  display: flex;
  gap: 12px; 
  align-items: center;
  padding-bottom: 40px;
}
.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #a3a3a3; 
  transition: background-color 0.3s ease;
  box-sizing: border-box; 
}
.footer-social .social-icon img {
  width: 48px; 
  height: 48px;
  display: block;
  filter: brightness(0) invert(1); 
}
.footer-social .social-icon.line-icon img {
  width: 48px; 
  height: 48px;
}
.footer-social .social-icon.line-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
}
.footer-social .social-icon.facebook-icon:hover {
  background-color: #0A65A8;
}
.footer-social .social-icon.line-icon:hover {
  background-color: #2EA757;
}
.footer-social .social-icon.ig-icon:hover {
  background-color: #EC6086;
}
.footer-social .social-icon.youtube-icon:hover {
  background-color: #D65653;
}
.footer-social .social-icon.tiktok-icon:hover {
  background-color: #000000;
}

@media (max-width: 991px) {
.footer-social {
    padding-bottom: 20px;
    justify-content: center;
}
}

/*==-----CYB預設media
#footer .media {
    align-items: flex-start;
    display: flex !important;
}
#footer .media .social_media {
    margin-top: 0 !important;
}
#footer .media a{
    line-height: 50px!important;
    width: 48px;
    height: 48px;
    background: #fff;
    display: flex;
    border-radius: 50%;
}
#footer .footer_content .media svg {
    height: 48px !important;
    width: 48px !important;
}
#footer a .qk-svg--footer_bg {
    fill: #fff !important;
}
#footer a .qk-svg--footer_text {
    fill: #a3a3a3 !important;
}
#footer a:hover .facebook-svg .qk-svg--footer_text {
    fill: #0A65A8 !important;
}
#footer a:hover .instagram-svg .qk-svg--footer_text {
    fill: #EC6086 !important;
}
#footer a:hover .line-svg .qk-svg--footer_text {
    fill: #2EA757 !important;
}
#footer a:hover .youtube-svg .qk-svg--footer_text {
    fill: #D65653 !important;
}
----------==*/
