/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

html{
	scroll-behavior: smooth;
}
html, body{
	font-family: Tahoma, Arial;
	background:#150333;
}

body.wpml-lang-zh {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", "Helvetica Neue", Helvetica, Arial, "Noto Sans CJK SC", "Source Han Sans SC", SimSun, sans-serif;
}
body.wpml-lang-tc {
    font-family: "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", "Apple LiGothic Medium", "WenQuanYi Micro Hei", "Helvetica Neue", Helvetica, Arial, "Noto Sans CJK TC", "Source Han Sans TC", MingLiU, sans-serif;
}

button.festilumi-button-wrapper,
button.festilumi-button-wrapper:hover{
	background-color:none !important;
	background:none !important;
	padding:0px !important;
}

a.festilumi-button-wrapper,
button.festilumi-button-wrapper{
	display: inline-flex;
	align-items: center;
	gap: -1px;
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px; /* 150% */
	text-transform: uppercase;
	text-decoration:none;
	transition: all 0.3s ease;
}

a .festilumi-button-text,
button .festilumi-button-text{
	display: flex;
	height: 42px;
	padding: 14px 28px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 60px;
	background: linear-gradient(0deg, #FFB92C 0%, #FF8C19 100%);
	color: #150333;
	transition: all 0.3s ease;
}
a .festilumi-button-icon,
button .festilumi-button-icon{
	display: flex;
	width: 34px;
	height: 34px;
	padding: 14px;
	justify-content: center;
	align-items: center;
	border-radius: 60px;
	background: linear-gradient(0deg, #FFB92C 0%, #FF8C19 100%);
	transition: all 0.3s ease;
	flex-shrink: 0;
}
.festilumi-button-icon svg{
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	aspect-ratio: 1/1;
	transition: all 0.05s ease;
}

.festilumi-button-left {
	width: 0 !important;
	height: 0 !important;
	padding:0px  !important;
}

.festilumi-button-right {
	width: 34px !important;
	height: 34px !important;
}

@media (min-width: 1160px) {
	.festilumi-button-wrapper:hover .festilumi-button-left {
		width: 34px !important;
		height: 34px !important;
		padding: 14px !important;
	}
	.festilumi-button-wrapper:hover .festilumi-button-right,
	.festilumi-button-wrapper:hover .festilumi-button-right svg{
		width: 0 !important;
		height: 0 !important;
		padding:0px  !important;
	}
}






.wp-block-navigation-item__label {
	color:#ffffff !important;
	padding-left:6px;
	padding-right:2px;
	font-size: 16px;
	font-style: normal;
	font-weight: 800;
}
.wp-block-navigation__submenu-icon{
	height:16px !important;
}
.wp-block-navigation__submenu-icon svg{
	fill:#ffffff !important;
	height:18px !important;
	width:18px !important;
}
.wpml-language-switcher-block .wp-block-navigation-item__content{
	padding-top:6px;
	padding-bottom:6px;
}
body .wpml-language-switcher-block ul.wp-block-navigation__submenu-container{
	display: inline-flex;
	padding: 8px 56px 12px 16px !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	border-radius: 12px;
	border: 1.5px solid #C297FF !important;
	box-shadow: 0 0 9px 0 #8C00FF, 0 0 49.4px 0 rgba(140, 0, 255, 0.80);
	background: #150333 !important;
	background-color: #150333 !important;
}
.wpml-language-switcher-block .current-language-item{
	padding-left:28px;
}
.wpml-language-switcher-block .current-language-item::before{
	position:absolute;
	left:0px;
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 8px;
	background-image: url(https://festilumihongkong.com.hk/wp-content/uploads/2025/11/language-switcher-icon.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
}
.wpml-language-switcher-block .current-language-item:hover .wp-block-navigation__submenu-icon svg{
	transform: rotate(180deg);
	margin-top:-2px;
}

.wpml-language-switcher-block ul.wp-block-navigation__submenu-container a span{
	color: #8033DE !important;
	leading-trim: both;
	text-edge: cap;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; 
}
.wpml-language-switcher-block ul.wp-block-navigation__submenu-container a:hover span{
	color: #FFF !important;
	leading-trim: both;
	text-edge: cap;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; 
}
.wpml-language-switcher-block ul.wp-block-navigation__submenu-container a:hover::after {
	position:absolute;
	left:78px;
	content: '';
	display: inline-block;
	width: 35px;
	height: 15px;
	margin-left: 8px;
	background-image: url(https://festilumihongkong.com.hk/wp-content/uploads/2025/11/language-switcher-arrow.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	margin-top:8px;
}
