:root {
	--page-title-display: block;
}
.elementor-widget.elementor-list-item-link-full_width a {
	color: var(--e-global-color-text);
}
.elementor-widget.elementor-list-item-link-full_width a:hover {
	color: var(--e-global-color-secondary);
}
h1.entry-title {
	padding: 3rem 0;
    text-align: center;
    font-size: 3rem;
}
.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img,
.elementor-posts .elementor-post__card .elementor-post__thumbnail img {
    height: auto;
    left: calc(50% + 1px);
    position: absolute;
    top: calc(50% + 1px);
    transform: scale(1.01) translate(-50%, -50%);
}

.elementor-1806 .elementor-element.elementor-element-a743bff button.elementskit-menu-hamburger > .ekit-menu-icon {
    fill: #fff;
}

/* 消息提示框 */
.sub-message-box {
    margin-top: 10px;
    padding: 0;
    font-size: 13px;
    transition: all 0.3s ease;
    height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
}

.sub-message-box.is-success {
    color: #28a745;
    height: auto;
    opacity: 1;
    padding: 5px 0;
}

.sub-message-box.is-error {
    color: #dc3545;
    height: auto;
    opacity: 1;
    padding: 5px 0;
}

/* 按钮加载动画 */
.sub-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: sub-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes sub-spin {
    to { transform: rotate(360deg); }
}

/* 按钮禁用状态 */
form.is-processing button {
    cursor: not-allowed;
    filter: grayscale(0.5);
}


/* 状态提示容器 - 使用 BEM 命名避免冲突 */
.custom-form-status {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none; /* 默认隐藏 */
    line-height: 1.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 成功状态 - 使用修饰符 */
.custom-form-status--success {
    display: block;
    background-color: #f0fff4; /* 浅绿背景 */
    color: #276749;           /* 深绿文字 */
    border: 1px solid #c6f6d5;
}

/* 错误状态 - 使用修饰符 */
.custom-form-status--error {
    display: block;
    background-color: #fff5f5; /* 浅红背景 */
    color: #c53030;           /* 深红文字 */
    border: 1px solid #fed7d7;
}

/* 旋转加载动画容器 */
.custom-form-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor; /* 自动适配文字颜色 */
    animation: custom-form-spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

/* 动画关键帧命名也需要唯一 */
@keyframes custom-form-spin {
    to { transform: rotate(360deg); }
}

/* 提交中的表单状态锁定 */
.custom-form-processing {
    pointer-events: none; /* 防止二次点击 */
}

.custom-form-processing .elementor-button {
    filter: grayscale(0.5);
    opacity: 0.8;
}

.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: white;
	border: 2px solid #6366f1;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
	transition: all 0.3s ease;
	z-index: 999;
}

.scroll-to-top:hover {
	background: #6366f1;
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.scroll-to-top:hover svg {
	stroke: white;
}

.scroll-to-top.show {
	display: flex;
}

.scroll-to-top svg {
	width: 24px;
	height: 24px;
	stroke: #6366f1;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.3s ease;
}

.elementor-1806 .elementor-element.elementor-element-52beb72 img {
    max-width: 130px!important;
}

.elementor-2818 .elementor-element .elementor-flip-box {
	height: 30vh!important;
}

.elementor-2818 .elementor-element .elementor-flip-box__layer__description ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elementor-2818 .elementor-element .elementor-flip-box__layer__description li {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	padding: 5px;
}

.elementor-2818 .elementor-element .elementor-flip-box__layer__description .elementor-icon-list-icon {
	margin-right: 5px;
	margin-top: 5px;
}


@media(max-width: 767px) {
	.page-content {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
