/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.jhaopu-sticky-header {
    position: fixed;
    inset-block-start: 0px;
    inset-inline-end: 0px;
    z-index: 9999;
	background-size: 200% auto;
	transition: .3s ease;
	background: #FFFFFF00;
}
.jhaopu-footer {
     background: linear-gradient(
        90deg,
        #8A6702,
        #793C00,
        #8A6702
    );
	background-size: 200% auto;
    animation: shine 8s linear infinite;
}
.jhaopu-sticky-header:after {
	content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        #8A6702,
        #793C00,
        #8A6702
    );
	background-size: 200% auto;
    animation: shine 8s linear infinite;
	opacity: 0;
	transition: .3s ease;
}
.jhaopu-sticky-header.scrolled:after {
	opacity: 1;
}
.jhaopu-gradient-word {
    background-image: linear-gradient(
        90deg,
        rgba(200, 163, 57, 0.7),
        rgba(255, 244, 214, 0.7),
        rgba(200, 163, 57, 0.7)
    );
    background-size: 200% auto;

    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
	-webkit-text-fill-color: transparent;

    animation: shine 3s linear infinite;
}
.jhaopu-gradient-word.white-bg{
    background-image: linear-gradient(
        90deg,
        rgba(200, 163, 57, 0.7),
       	rgba(138, 103, 2, 0.7),
        rgba(200, 163, 57, 0.7)
    );
    animation: shine 3s linear infinite;
}
@keyframes flow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}
@keyframes shine {
	 0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.jhaopu-view-more:after {
    content: '\f101';
    font-family: FontAwesome;
    font-weight: 300;
    font-size: 18px;
    margin-left: 5px;
	display: inline-block;
	transform: translateX(0);
}
.jhaopu-view-more:hover:after {
    will-change: transform;           /* 效能最佳化 */
	animation: moveX 1.5s ease-in-out infinite;
}
.jhaopu-view-more.e-button-base {
    width: max-content;
    font-family: Noto Serif TC;
    font-weight: 700;
    font-size: 16px;
    color: #8A6702;
    letter-spacing: 0.8px;
    line-height: 1em;
    text-align: start;
    padding-block-start: 0px;
    padding-block-end: 4px;
    padding-inline-start: 0px;
    padding-inline-end: 0px;
    border-radius: 0px;
    border-block-start-width: 0px;
    border-block-end-width: 1px;
    border-inline-start-width: 0px;
    border-inline-end-width: 0px;
    border-color: #8A6702;
    border-style: solid;
    background-color: #ffffff00;
    display: block;
}
@keyframes moveX {
	0%   { opacity: 1;transform: translateX(0); }
	25%  { opacity: 0;transform: translateX(5px); }
	28%  { opacity: 0;transform: translateX(-5px); }
	55% { opacity: 1;transform: translateX(0); }
}
@keyframes bounceAlpha {
	0% {opacity: 1;transform: translateX(0px) scale(1);}
	25% {opacity: 0;transform: translateX(10px) scale(0.9);}
	26% {opacity: 0;transform: translateX(-10px) scale(0.9);}
	55% {opacity: 1;transform: translateX(0px) scale(1);}
}
.blur {
	-webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.building-slide .swiper-pagination-bullet {
    width: 50px;
    height: 1px;
	border-radius: 0px;
}
.building-slide .swiper-pagination-bullet.swiper-pagination-bullet-active {
    height: 3px;
}
.renew-loop {
	background-size: 100% calc(100% * 500 / 1000);
}
.post-excerpt-2line{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    align-items: center;
}
.contact-us-btn {
    transition: .3s ease;
}
.contact-us-btn:hover {
    background-color: #FFF;
}
@media only screen and (min-width: 1025px) {
	.building-loop {
		transition: .5s ease;
	}
	.building-loop:hover {
		background-size: 115% auto !important;
	}
}