/*
Theme Name: vies-cina
Description: Child theme custom per vies-cina.
Author: Codex
Template: generatepress
Version: 1.0.0
Text Domain: vies-cina
*/

/* GeneratePress Site CSS */
nav.slideout-navigation .join-us-btn {
	color: var(--base-3);
}

.gb-number {
	position: relative;
	padding-top: 120px;
}

.gb-number h2 {
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 1;
	margin: 0;
	font-size: 160px;
	font-weight: 700;
	line-height: 1;
	opacity: 0.7;
	color: #fff;
	pointer-events: none;
}

.gb-number h3,
.gb-number p {
	position: relative;
	z-index: 2;
}

.gb-number p {
	top: -10px;
}

.step-card {
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.hide {
	display: none !important;
}

.wpcf7-acceptance {
	margin-top: 15px;
}

.wpcf7-acceptance:first-of-type {
	padding-top: 15px;
	border-top: 1px solid #ffffff;
}

.cf7-row {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	margin-right: -8px;
	margin-bottom: 16px;
	margin-left: -8px;
}

.cf7-col,
.cf7-col-4 {
	flex: 0 0 50%;
	max-width: 50%;
	min-width: 0;
	padding-right: 8px;
	padding-left: 8px;
}

.cf7-full {
	flex: 0 0 100%;
	max-width: 100%;
	padding-right: 8px;
	padding-left: 8px;
}

.wpcf7-form-control {
	width: 100%;
	box-sizing: border-box;
}

.wpcf7-acceptance .wpcf7-list-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.wpcf7-acceptance input[type="checkbox"] {
	margin-top: 3px;
}

.cf7-btn-div {
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 600px) {
	.cf7-col,
	.cf7-col-4 {
		flex-basis: 100%;
		max-width: 100%;
	}
}

.feature-center,
.feature-center-2 {
	position: relative;
	z-index: 2;
	background: #fff7f0;
	border: 2px solid #c5a04a;
	box-shadow: 0 10px 22px rgba(197, 160, 74, 0.22);
	transform: scale(1.02);
}

.feature-center-2::before,
.feature-center::before {
	content: "GUARANTEE-FREE";
	position: absolute;
	top: -12px;
	right: -12px;
	padding: 6px 14px;
	border-radius: 4px;
	background: #c5a04a;
	box-shadow: 0 4px 12px rgba(197, 160, 74, 0.3);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	pointer-events: none;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.feature-center::before,
	.feature-center-2::before {
		top: -10px !important;
		right: -4px !important;
	}
}

.gb-element-c880f1f4 > div,
.gb-element-12f560c2,
.gb-element-ae7ef502 {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-bottom: 30px !important;
}

.gb-element-c880f1f4 h5,
.gb-element-12f560c2 h5,
.gb-element-ae7ef502 h5 {
	display: block !important;
	clear: both !important;
	margin-top: 10px !important;
}

@media (max-width: 768px) {
	#generate-slideout-menu .gb-element-5bf4b58d {
		display: block !important;
	}

	nav#generate-slideout-menu .menu-cta-mobile {
		padding: 20px;
		text-align: center;
	}

	nav#generate-slideout-menu .menu-cta-mobile a {
		display: inline-block !important;
		width: 100%;
		max-width: 260px;
	}
}

@media (max-width: 768px) {
	.gb-element-71d97532 {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.gb-element-6ae73583 {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 32px !important;
	}

	.gb-element-6ae73583 > div {
		width: 100% !important;
		max-width: 260px !important;
		text-align: center !important;
	}

	.gb-element-6ae73583 img {
		display: block !important;
		max-width: 100% !important;
		height: auto !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}
}

html,
body {
	overflow-x: hidden;
}

.no-deposit {
	position: relative;
	z-index: 2;
	background: #fff7f0;
	border: 2px solid #c5a04a;
	box-shadow: 0 10px 22px rgba(197, 160, 74, 0.22);
	transform: scale(1.02);
}

.no-deposit::before {
	content: "NO DEPOSIT";
	position: absolute;
	top: -12px;
	right: -12px;
	padding: 6px 14px;
	border-radius: 4px;
	background: #c5a04a;
	box-shadow: 0 4px 12px rgba(197, 160, 74, 0.3);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	pointer-events: none;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.no-deposit::before {
		top: -10px !important;
		right: -4px !important;
	}
}

/* VIES China */
:root {
	--accent: #c5a04a;
	--accent-2: #8f7434;
	--vies-surface: #ffffff;
	--vies-surface-soft: #fbf8f1;
	--vies-border: #e7dcc6;
	--vies-text: #171717;
	--vies-text-soft: #4b5563;
	--vies-gold: #c5a04a;
	--vies-gold-dark: #8f7434;
	--vies-gold-soft: #f4ead3;
}

body,
button,
input,
select,
textarea {
	font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
}

.site-header,
.main-navigation,
.main-navigation ul ul,
.mobile-menu-control-wrapper .menu-toggle,
.has-inline-mobile-toggle #site-navigation.toggled,
.slideout-navigation,
.inside-navigation {
	background: var(--vies-surface) !important;
	box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
	color: var(--vies-text) !important;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items,
.slideout-navigation.main-navigation .main-nav ul li a,
.slideout-navigation,
.slideout-navigation a,
button.slideout-exit,
.header-widget,
.main-title a,
.site-logo-mobile-header a {
	color: var(--vies-text) !important;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .menu-bar-item:hover > a,
.main-navigation .menu-bar-item.sfHover > a,
.slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--vies-gold-dark) !important;
}

.gb-element-2caec25c {
	border-bottom: 1px solid var(--vies-border);
	background:
		radial-gradient(circle at top left, rgba(197, 160, 74, 0.16) 0%, rgba(197, 160, 74, 0) 34%),
		radial-gradient(circle at bottom right, rgba(23, 23, 23, 0.06) 0%, rgba(23, 23, 23, 0) 36%),
		linear-gradient(135deg, #ffffff 0%, #fbf8f1 55%, #f6efdf 100%) !important;
}

.gb-element-aded2b0f {
	padding: 48px 24px 48px 88px;
	border-left: 1px solid rgba(197, 160, 74, 0.28);
}

.gb-text-71d0e4c5 {
	text-shadow: none !important;
}

.gb-text-71d0e4c5 span:not(.has-accent-color),
.gb-text-71d0e4c5 span:not(.has-accent-color) strong {
	color: #111827 !important;
}

.gb-text-71d0e4c5 .has-accent-color,
.gb-text-71d0e4c5 .has-accent-color strong {
	color: var(--vies-gold) !important;
}

.gb-text-2173bfdf,
.gb-text-226a692c,
.gb-text-dc4eb535,
.gb-text-45e47b94,
.gb-text-7d6e4338,
.gb-text-4bd94a5c,
.gb-text-4adcd70b,
.gb-text-de749d17,
.gb-text-3c3fce25,
.gb-text-db84a1a6,
.gb-text-0982f08e,
.gb-text-f4c1d3a1 {
	color: var(--vies-text) !important;
}

.gb-text-2173bfdf,
.gb-text-9a3fe7bf,
.gb-text-dbceb7a4,
.gb-text-c06a2ec7,
.gb-text-111f99a0,
.gb-text-ab948d81,
.gb-text-716be9db,
.gb-text-f56afd6e,
.gb-text-e7835fb4,
.gb-headline-text,
.entry-content h2,
.entry-content h3,
.entry-content .wp-block-heading {
	color: var(--vies-gold-dark) !important;
}

.gb-element-b36f5c0b,
.gb-element-689980a5,
.gb-element-ae5d064c,
.gb-element-70b8b805,
.gb-element-c8eb5c20,
.gb-element-d127c4d8,
.gb-accordion__item,
.gb-element-cfea8b2a,
.step-card,
.gb-element-b25322ed,
.gb-element-5567a7d8,
.gb-element-0b4121ac {
	background: #ffffff !important;
	border-color: var(--vies-border) !important;
	box-shadow: 0 16px 45px rgba(72, 46, 31, 0.08) !important;
	color: var(--vies-text) !important;
}

.gb-element-cfea8b2a {
	background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)), url("/wp-content/uploads/2025/11/italia-fideiussioni-istituzionale.jpg") !important;
}

.gb-text-0077e3f0,
.gb-text-23738d1f,
.gb-text-2ce8b297,
.main-navigation .menu-cta-mobile a,
input[type="submit"],
button,
a.button,
a.wp-block-button__link.has-background,
a.wp-block-button__link,
a.wp-block-button__link:not(.has-background) {
	background: var(--vies-gold) !important;
	border-color: var(--vies-gold) !important;
	color: #fff !important;
}

.gb-text-0077e3f0:hover,
.gb-text-0077e3f0:focus,
.gb-text-23738d1f:hover,
.gb-text-23738d1f:focus,
.gb-text-2ce8b297:hover,
.gb-text-2ce8b297:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
button:hover,
button:focus,
a.button:hover,
a.button:focus,
a.wp-block-button__link.has-background:hover,
a.wp-block-button__link.has-background:focus,
a.wp-block-button__link:hover,
a.wp-block-button__link:focus,
a.wp-block-button__link:not(.has-background):hover,
a.wp-block-button__link:not(.has-background):focus {
	background: var(--vies-gold-dark) !important;
	border-color: var(--vies-gold-dark) !important;
	color: #fff !important;
}

.gb-text-2696a25b {
	background: transparent !important;
	border-color: var(--vies-gold) !important;
	color: var(--vies-gold-dark) !important;
}

.gb-text-2696a25b:hover,
.gb-text-2696a25b:focus {
	background: rgba(197, 160, 74, 0.08) !important;
	border-color: var(--vies-gold) !important;
	color: var(--vies-gold-dark) !important;
}

.gb-element-b25322ed .gb-text-45e47b94,
.gb-element-b25322ed .gb-text-7d6e4338,
.gb-element-b25322ed .gb-text-4bd94a5c,
.gb-element-5567a7d8 .gb-text-4adcd70b,
.gb-element-5567a7d8 .gb-text-de749d17,
.gb-element-5567a7d8 .gb-text-3c3fce25,
.gb-element-0b4121ac .gb-text-db84a1a6,
.gb-element-0b4121ac .gb-text-0982f08e,
.gb-element-0b4121ac .gb-text-f4c1d3a1 {
	color: var(--vies-text) !important;
}

.gb-element-b25322ed,
.gb-element-5567a7d8,
.gb-element-0b4121ac {
	background: linear-gradient(180deg, #ffffff 0%, #fcf8f3 100%) !important;
}

.gb-element-4e9e377d {
	background: linear-gradient(135deg, #fbf8f1 0%, #f4ead3 100%) !important;
}

.gb-element-38ceaa3d {
	border-color: rgba(197, 160, 74, 0.35) !important;
	background: rgba(255, 255, 255, 0.88) !important;
	box-shadow: 0 18px 40px rgba(72, 46, 31, 0.08) !important;
}

.gb-text-ab948d81,
.gb-text-39e508a6 {
	color: var(--vies-text) !important;
}

.gb-text-4a47f790 {
	background: var(--vies-gold) !important;
	border-color: var(--vies-gold) !important;
	color: #fff !important;
}

.gb-text-4a47f790:hover,
.gb-text-4a47f790:focus {
	background: var(--vies-gold-dark) !important;
	border-color: var(--vies-gold-dark) !important;
	color: #fff !important;
}

.site-info,
.footer-widgets {
	background: #faf7f2 !important;
	color: #171717 !important;
}

.site-info a,
.footer-widgets a {
	color: var(--vies-gold-dark) !important;
}

.wp-block-button__link,
.gb-text-2ce8b297 {
	font-weight: 600;
	letter-spacing: 0.01em;
}

.main-title a,
.main-title a:hover,
.site-description,
.navigation-branding .main-title,
.navigation-branding .site-description {
	color: var(--vies-text) !important;
}

.site-description {
	opacity: 0.78;
}

.site-logo img,
.sticky-navigation-logo img {
	filter: none;
}

.site-header + div[style*="--inline-bg-image"] {
	position: relative;
	overflow: hidden;
	padding: 84px 24px;
	border-bottom: 1px solid var(--vies-border);
	background:
		radial-gradient(circle at top left, rgba(197, 160, 74, 0.2) 0%, rgba(197, 160, 74, 0) 32%),
		linear-gradient(135deg, #ffffff 0%, #f9f5ec 50%, #f3ead7 100%) !important;
}

.site-header + div[style*="--inline-bg-image"]::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
		var(--inline-bg-image) center center / cover no-repeat;
	opacity: 0.16;
}

.site-header + div[style*="--inline-bg-image"] > * {
	position: relative;
	z-index: 1;
}

.site-header + div[style*="--inline-bg-image"] h1,
.site-header + div[style*="--inline-bg-image"] .gb-text {
	color: var(--vies-gold-dark) !important;
	text-shadow: none !important;
}

.vies-wechat-card {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	width: 168px;
	padding: 14px;
	border: 1px solid rgba(197, 160, 74, 0.48);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 20px 50px rgba(20, 20, 20, 0.14);
	backdrop-filter: blur(10px);
}

.vies-wechat-card__label {
	display: block;
	margin-bottom: 8px;
	color: var(--vies-gold-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vies-wechat-card__qr {
	display: block;
	width: 100%;
	height: auto;
	padding: 8px;
	border-radius: 12px;
	background: #fff;
}

.vies-wechat-card__id {
	margin-top: 10px;
	color: var(--vies-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	word-break: break-all;
}

.vies-wechat-card__hint {
	margin-top: 6px;
	color: var(--vies-text-soft);
	font-size: 11px;
	line-height: 1.4;
}

.gb-text-33f8fc2a,
.gb-text-60240228,
.gb-text-ac47f977 {
	text-transform: none !important;
}

@media (max-width: 1024px) {
	.gb-element-aded2b0f {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 767px) {
	.gb-element-2caec25c {
		padding-bottom: 24px;
	}

	.gb-element-1977347e {
		row-gap: 18px;
	}

	.gb-text-71d0e4c5 {
		font-size: 42px !important;
		line-height: 1.16 !important;
	}

	.gb-text-2173bfdf,
	.gb-text-226a692c {
		text-align: center !important;
	}

	.site-header + div[style*="--inline-bg-image"] {
		padding: 56px 20px;
	}

	.vies-wechat-card {
		right: 12px;
		bottom: 12px;
		width: 126px;
		padding: 10px;
	}

	.vies-wechat-card__label {
		font-size: 10px;
	}

	.vies-wechat-card__id {
		font-size: 11px;
	}

	.vies-wechat-card__hint {
		font-size: 10px;
	}
}
