/*
Theme Name: Hello Elementor Child - Civico31
Theme URI: https://www.civico31.it
Description: Custom lightweight Hello Elementor child theme for Civico31 (Elementor Free + UAE)
Author: Civico31
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ==========================================================================
   1. Self-Hosted Orkney Webfonts (@font-face)
   ========================================================================== */
@font-face {
	font-family: "Orkney";
	font-style: normal;
	font-weight: 200;
	src: url("assets/fonts/orkney-light-webfont.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "Orkney";
	font-style: normal;
	font-weight: 300;
	src: url("assets/fonts/orkney-light-webfont.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "Orkney";
	font-style: normal;
	font-weight: 400;
	src: url("assets/fonts/orkney-regular-webfont.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "Orkney";
	font-style: normal;
	font-weight: 500;
	src: url("assets/fonts/orkney-medium-webfont.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "Orkney";
	font-style: normal;
	font-weight: 700;
	src: url("assets/fonts/orkney-bold-webfont.woff") format("woff");
	font-display: swap;
}

/* ==========================================================================
   2. Core Design Tokens & Per-Page Theme Variables
   ========================================================================== */
:root {
	--civ31-bg: #ffffff;
	--civ31-text: #0a0a0a;
	--civ31-accent: #c5a900;
	--civ31-muted: #b5b5b5;
	--civ31-overlay-bg: rgba(255, 255, 255, 0.95);
	--civ31-border: rgba(10, 10, 10, 0.15);
	--civ31-card-tint: rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 23px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media screen and (max-width: 2120px) {
	html {
		font-size: 21px;
	}
}

@media screen and (max-width: 1679px) {
	html {
		font-size: 19px;
	}
}

@media screen and (max-width: 1180px) {
	html {
		font-size: 17.5px;
	}
}

@media screen and (max-width: 768px) {
	html {
		font-size: 16px;
	}
}

@media screen and (max-width: 480px) {
	html {
		font-size: 14px;
	}
}

body {
	background-color: var(--civ31-bg);
	color: var(--civ31-text);
	font-family: "Orkney", sans-serif;
	font-size: 0.81vw;
	font-weight: 400;
	line-height: 1.61;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	transition: background-color 0.25s linear, color 0.2s linear;
}

@media screen and (min-width: 2561px) {
	body {
		font-size: 23px;
	}
}

@media screen and (max-width: 1680px) {
	body {
		font-size: 1.173vw;
	}
}

@media screen and (max-width: 1180px) {
	body {
		font-size: 1.595vw;
	}
}

@media screen and (max-width: 768px) {
	body {
		font-size: 2.2517vw;
	}
}

@media screen and (max-width: 480px) {
	body {
		font-size: 4.153vw;
	}
}

/* Hide Hello Elementor default page header/title when Elementor / UAE renders */
.page-header,
.site-header:not(#civ31-header),
.site-footer:not(#civ31-footer) {
	display: none !important;
}

/* Override Elementor Global Kit colors dynamically per page/project scheme */
body.elementor-kit-5,
.elementor-kit-5 {
	--e-global-color-primary: var(--civ31-text) !important;
	--e-global-color-secondary: var(--civ31-text) !important;
	--e-global-color-text: var(--civ31-text) !important;
	--e-global-color-accent: var(--civ31-accent) !important;
}

.elementor-widget-text-editor {
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
	color: var(--civ31-text);
}

.ehf-header #masthead {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

::selection {
	background-color: var(--civ31-text);
	color: var(--civ31-bg);
}

/* ==========================================================================
   3. Typography & Editorial Utilities
   ========================================================================== */
.type_main,
.type_one {
	font-family: "Orkney", sans-serif;
}

.type_second {
	font-family: "Fjalla One", sans-serif;
	font-synthesis: weight style;
}

b,
strong,
.weight_bold,
b *:not(.weight_lighter):not(.weight_light):not(.weight_normal):not(.weight_medium),
strong *:not(.weight_lighter):not(.weight_light):not(.weight_normal):not(.weight_medium),
.weight_bold *:not(.weight_lighter):not(.weight_light):not(.weight_normal):not(.weight_medium) {
	font-weight: 700 !important;
}

.weight_lighter {
	font-weight: 200 !important;
}

.weight_light {
	font-weight: 300 !important;
}

.weight_normal {
	font-weight: 400 !important;
}

.weight_medium {
	font-weight: 500 !important;
}

.weight_bold {
	font-weight: 700 !important;
}

/* Airtifact Eric Meyer reset leaves <i> normal; only <em> / <dfn> are italicized */
.elementor-widget-text-editor i,
i:not([class]) {
	font-style: normal;
}

em,
dfn {
	font-style: italic;
}

.strokes {
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke-width: 0.00935em;
	-webkit-text-stroke-color: currentColor;
}

small {
	display: inline-block;
	font-size: 16px;
	line-height: 1.35;
	margin-bottom: 5px;
}

@media screen and (min-width: 2561px) {
	small {
		font-size: 30px;
	}
}

@media screen and (max-width: 1680px) {
	small {
		font-size: 15px;
	}
}

@media screen and (max-width: 768px) {
	small {
		font-size: 11px;
	}
}

.small-caption {
	font-size: 0.5652173913rem;
	font-weight: 700 !important;
	letter-spacing: 3.15px;
	text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
	color: inherit;
	font-family: "Orkney", sans-serif;
	font-weight: 400;
	line-height: 1.2;
	margin-top: 0;
}

h1 {
	font-size: 1.919vw;
	line-height: 1.079em;
	margin-bottom: 1em;
}

h2 {
	font-size: 1.615vw;
	line-height: 1.17;
	margin-bottom: 1em;
}

h3 {
	font-size: 1.375vw;
	line-height: 1.2;
	margin-bottom: 0.75em;
}

h4 {
	font-size: 1.091vw;
	line-height: 1.29;
	margin-bottom: 0.959em;
}

h5 {
	font-size: 0.8915vw;
	line-height: 1.2;
	margin-bottom: 1em;
}

h6 {
	font-size: 0.7495vw;
	line-height: 1.5em;
	margin-bottom: 1.2911em;
}

@media screen and (min-width: 2561px) {
	h1 { font-size: 135px; }
	h2 { font-size: 35px; }
	h3 { font-size: 33px; }
	h4 { font-size: 31px; }
	h5 { font-size: 29px; }
	h6 { font-size: 27px; }
}

@media screen and (max-width: 1680px) {
	h1 { font-size: 2.355vw; }
	h2 { font-size: 1.95vw; }
	h3 { font-size: 1.595vw; }
	h4 { font-size: 1.353vw; }
	h5 { font-size: 1.173vw; }
	h6 { font-size: 1.019vw; }
}

@media screen and (max-width: 1180px) {
	h1 { font-size: 2.939vw; }
	h2 { font-size: 2.475vw; }
	h3 { font-size: 2.101vw; }
	h4 { font-size: 1.851vw; }
	h5 { font-size: 1.601vw; }
	h6 { font-size: 1.391vw; }
}

@media screen and (max-width: 768px) {
	h1 { font-size: 4.5975vw; }
	h2 { font-size: 3.9435vw; }
	h3 { font-size: 3.379vw; }
	h4 { font-size: 2.851vw; }
	h5 { font-size: 2.419vw; }
	h6 { font-size: 2.115vw; }
}

@media screen and (max-width: 480px) {
	h1 { font-size: 7.011vw; }
	h2 { font-size: 5.9297vw; }
	h3 { font-size: 5.137vw; }
	h4 { font-size: 4.377vw; }
	h5 { font-size: 3.799vw; }
	h6 { font-size: 3.237vw; }
}

p {
	margin-top: 0;
	margin-bottom: 24px;
}

p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
	margin-bottom: 0;
}

.small-intro {
	font-size: 1.79vw;
	line-height: 1.31;
	letter-spacing: normal;
}

span.small-intro {
	display: inline-block;
}

@media screen and (min-width: 2561px) {
	.small-intro {
		font-size: 49px;
	}
}

@media screen and (max-width: 1920px) {
	.small-intro {
		font-size: 1.95vw;
	}
}

@media screen and (max-width: 1680px) {
	.small-intro {
		font-size: 2.27vw;
	}
}

@media screen and (max-width: 1024px) {
	.small-intro {
		font-size: 3.73vw;
	}
}

@media screen and (max-width: 480px) {
	.small-intro {
		font-size: 6.25vw;
	}
}

.middle-intro {
	font-size: 2.939vw;
	line-height: 1.337;
	letter-spacing: normal;
}

span.middle-intro {
	display: inline-block;
}

@media screen and (min-width: 2561px) {
	.middle-intro {
		font-size: 77px;
	}
}

@media screen and (max-width: 1680px) {
	.middle-intro {
		font-size: 3.175vw;
	}
}

@media screen and (max-width: 1180px) {
	.middle-intro {
		font-size: 4.135vw;
	}
}

@media screen and (max-width: 768px) {
	.middle-intro {
		font-size: 5.1375vw;
	}
}

@media screen and (max-width: 480px) {
	.middle-intro {
		line-height: 1.137;
		font-size: 6.9119vw;
	}
}

.big-intro {
	font-size: 4.501vw;
	line-height: 1.069;
	letter-spacing: -3px;
}

span.big-intro {
	display: inline-block;
}

@media screen and (min-width: 2561px) {
	.big-intro {
		font-size: 77px;
	}
}

@media screen and (max-width: 1680px) {
	.big-intro {
		font-size: 5.375vw;
	}
}

@media screen and (max-width: 1180px) {
	.big-intro {
		font-size: 6.1935vw;
		letter-spacing: -2px;
	}
}

@media screen and (max-width: 769px) {
	.big-intro {
		letter-spacing: -1.75px;
	}
}

@media screen and (max-width: 768px) {
	.big-intro {
		font-size: 7.1375vw;
	}
}

@media screen and (max-width: 480px) {
	.big-intro {
		font-size: 9.1119vw;
		letter-spacing: -0.25px;
	}
}

.small-text {
	margin: 0 0 15px 0;
	line-height: 1.483;
	font-size: 0.65vw;
}

span.small-text {
	display: inline-block;
}

@media screen and (max-width: 1680px) {
	.small-text {
		font-size: 0.85375vw;
	}
}

@media screen and (max-width: 1180px) {
	.small-text {
		font-size: 1.1735vw;
	}
}

@media screen and (max-width: 768px) {
	.small-text {
		font-size: 1.7575vw;
	}
}

@media screen and (max-width: 480px) {
	.small-text {
		font-size: 3.7119vw;
	}
}

blockquote {
	margin: 50px 0 50px 0;
	padding: 0;
	border: none;
	text-align: center;
}

blockquote,
blockquote p,
blockquote .big-intro,
.civ31-editorial-url {
	font-size: 2.95vw !important;
	line-height: 1.315 !important;
	letter-spacing: normal !important;
}

@media screen and (min-width: 2561px) {
	blockquote,
	blockquote p,
	blockquote .big-intro,
	.civ31-editorial-url {
		font-size: 75px !important;
	}
}

@media screen and (max-width: 1680px) {
	blockquote,
	blockquote p,
	blockquote .big-intro,
	.civ31-editorial-url {
		font-size: 3.475vw !important;
	}
}

@media screen and (max-width: 1180px) {
	blockquote,
	blockquote p,
	blockquote .big-intro,
	.civ31-editorial-url {
		font-size: 3.781vw !important;
	}
}

@media screen and (max-width: 768px) {
	blockquote,
	blockquote p,
	blockquote .big-intro,
	.civ31-editorial-url {
		font-size: 4.575vw !important;
	}
}

@media screen and (max-width: 480px) {
	blockquote,
	blockquote p,
	blockquote .big-intro,
	.civ31-editorial-url {
		font-size: 5.375vw !important;
	}
}

p.char.Zyyy {
	margin-top: 26px;
}

/* Inline Editorial Links with 1px Animated Accent Underline */
.elementor-widget-text-editor a:not(.civ31-circle-link):not(.button):not(.civ31-footer-social a):not(.civ31-footer-cta a),
.elementor-widget-heading a:not(.civ31-circle-link):not(.button),
.civ31-accent-link {
	color: var(--civ31-accent);
	text-decoration: none;
	position: relative;
	font-weight: 500;
	transition: color 0.15s linear;
}

.elementor-widget-text-editor a:not(.civ31-circle-link):not(.button):not(.civ31-footer-social a):not(.civ31-footer-cta a)::after,
.elementor-widget-heading a:not(.civ31-circle-link):not(.button)::after,
.civ31-accent-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0%;
	height: 1px;
	background-color: var(--civ31-accent);
	transition: width 100ms linear;
}

.elementor-widget-text-editor a:not(.civ31-circle-link):not(.button):not(.civ31-footer-social a):not(.civ31-footer-cta a):hover::after,
.elementor-widget-heading a:not(.civ31-circle-link):not(.button):hover::after,
.civ31-accent-link:hover::after {
	width: 100%;
}

.no-link-style a,
a.no-link-style {
	color: var(--civ31-text) !important;
	font-weight: 500;
}

.no-list-style ul,
.list-compressed ul {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0 !important;
}

.no-list-style li {
	line-height: 1.15;
	margin-bottom: 25px;
}

.list-compressed li {
	line-height: 1.35;
	margin-bottom: 6px;
}

.no-list-style li:last-child,
.list-compressed li:last-child {
	margin-bottom: 0;
}

/* Buttons */
span.button,
.civ31-btn {
	display: inline-block;
	margin: 10px 0;
	padding: 0 20px;
	height: 45px;
	line-height: 41px;
	border-radius: 5px;
	border: 2px solid var(--civ31-text);
	color: var(--civ31-text);
	background: transparent;
	font-family: "Orkney", sans-serif;
	font-weight: 500;
	text-decoration: none;
	transition: 150ms linear;
	cursor: pointer;
}

span.button a {
	color: inherit !important;
	text-decoration: none !important;
}

span.button a::after {
	display: none !important;
}

span.button::after,
.civ31-btn::after {
	content: " ⟶";
	margin-left: 7px;
}

span.button:hover,
.civ31-btn:hover {
	background-color: var(--civ31-accent);
	border-color: transparent;
	color: #111111 !important;
}

/* Image captions */
figcaption {
	font-style: normal;
}

.wp-caption-text,
.elementor-image-carousel-caption,
figcaption.widget-image-caption,
.elementor-widget-image .widget-image-caption {
	font-family: "Orkney", sans-serif !important;
	font-style: normal !important;
	font-size: 12px !important;
	line-height: 19.32px !important;
	letter-spacing: 0.33px !important;
	color: var(--civ31-text) !important;
	opacity: 0.75;
	position: relative;
	width: 100%;
	max-width: min(500px, calc(100% - 15px));
	margin: 15px 15px 0 auto !important;
	text-align: right !important;
}

figcaption.widget-image-caption::before,
.wp-caption-text::before,
.elementor-widget-image .widget-image-caption::before {
	content: "↵";
	font-family: Arial, sans-serif;
	font-style: normal;
	font-size: 15px;
	line-height: 1;
	position: absolute;
	top: -3px;
	margin-left: -21px;
	transform: rotate(90deg);
	color: var(--civ31-accent) !important;
}

/* Multiply blend utility */
.civ31-multiply img,
body.civ31-page-multiply .civ31-main-wrapper {
	mix-blend-mode: multiply;
}

/* Privacy / Grazie Eye Illustration */
.eye-policy {
	width: clamp(220px, 35.8vw, 516px);
	height: auto;
	display: block;
	margin: 36px 0;
}

/* ==========================================================================
   4. Header (#civ31-header) & Fullscreen Mobile Overlay (#civ31-site-overlay)
   ========================================================================== */
#civ31-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9998;
	background-color: transparent;
	padding: 90px 5vw;
	transition: transform 0.25s linear, background-color 0.15s linear, padding 0.2s linear;
}

body.admin-bar #civ31-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar #civ31-header {
		top: 46px;
	}
}

#civ31-header.hhide {
	transform: translateY(-105%);
}

#civ31-header.add-bg {
	background-color: var(--civ31-bg);
	padding-top: 28px;
	padding-bottom: 28px;
}

@media (max-width: 1024px) {
	#civ31-header {
		padding: 75px 10vw;
	}
	#civ31-header.add-bg {
		padding-top: 24px;
		padding-bottom: 24px;
	}
}

@media (max-width: 767px) {
	#civ31-header {
		padding: 50px 10vw 40px;
	}
	#civ31-header.add-bg {
		padding-top: 18px;
		padding-bottom: 18px;
	}
}

.civ31-header-inner {
	max-width: 2560px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.civ31-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.civ31-logo-link img {
	width: 90px;
	height: 90px;
	max-height: 90px;
	object-fit: contain;
	transition: transform 0.2s ease;
}

@media (max-width: 767px) {
	.civ31-logo-link img {
		width: 68px;
		height: 68px;
		max-height: 68px;
	}
}

.civ31-logo-link .logo-light {
	display: none;
}

body.civ31-use-white-logo .civ31-logo-link .logo-dark {
	display: none;
}

body.civ31-use-white-logo .civ31-logo-link .logo-light {
	display: block;
}

/* Desktop Navigation */
.civ31-desktop-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.civ31-desktop-nav li {
	margin: 0 0 0 45px;
	padding: 9px 7px;
	position: relative;
}

.civ31-desktop-nav li:first-child {
	margin-left: 0;
}

.civ31-desktop-nav a {
	color: var(--civ31-text);
	font-family: "Orkney", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 12.65px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	display: inline-block;
}

.civ31-desktop-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 2px;
	width: 0%;
	height: 1px;
	background-color: var(--civ31-accent);
	transition: width 100ms linear;
}

.civ31-desktop-nav a:hover::after,
.civ31-desktop-nav li.current-menu-item > a::after {
	width: 100%;
}

/* Hamburger Trigger (Tablet & Mobile <= 1024px) */
.civ31-hamburger {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	margin-right: -8px;
	cursor: pointer;
	width: 44px;
	height: 36px;
	align-items: center;
	justify-content: center;
}

.civ31-hamburger-bars {
	width: 28px;
	height: 17px;
	position: relative;
	display: block;
}

.civ31-hamburger-bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--civ31-text);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.civ31-hamburger-bars span:nth-child(1) { top: 0; }
.civ31-hamburger-bars span:nth-child(2) { top: 7.5px; }
.civ31-hamburger-bars span:nth-child(3) { bottom: 0; }

@media (max-width: 1024px) {
	.civ31-desktop-nav {
		display: none;
	}
	.civ31-hamburger {
		display: inline-flex;
	}
}

/* Fullscreen Mobile/Tablet Overlay Menu */
#civ31-site-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background-color: var(--civ31-overlay-bg);
	backdrop-filter: blur(4px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 60px 10vw 75px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

#civ31-site-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.civ31-overlay-close {
	position: absolute;
	top: 40px;
	right: 40px;
	background: none;
	border: none;
	cursor: pointer;
	width: 36px;
	height: 36px;
	padding: 6px;
	color: var(--civ31-text);
}

.civ31-overlay-close svg {
	width: 23px;
	height: 23px;
	stroke: var(--civ31-text);
}

.civ31-overlay-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

.civ31-overlay-menu li {
	margin-bottom: 22px;
}

.civ31-overlay-menu a {
	font-family: "Fjalla One", sans-serif;
	font-size: clamp(24px, 7.2vw, 38px);
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--civ31-text);
	text-decoration: none;
	position: relative;
	display: inline-block;
}

.civ31-overlay-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0%;
	height: 1px;
	background-color: var(--civ31-accent);
	transition: width 120ms linear;
}

.civ31-overlay-menu a:hover::after {
	width: 100%;
}

.civ31-overlay-tagline {
	position: absolute;
	bottom: 40px;
	left: 10vw;
	font-family: "Orkney", sans-serif;
	font-size: 12px;
	opacity: 0.55;
	color: var(--civ31-text);
}

/* ==========================================================================
   5. Page Content Offset & Hero Section
   ========================================================================== */
.site-main {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding-inline: 0 !important;
}

body:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-page"],
body:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-post"],
body:not(.civ31-has-fullscreen-hero) main#content {
	padding-top: 211px;
}

body.home:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-page"],
body.home:not(.civ31-has-fullscreen-hero) main#content {
	padding-top: 404px;
}

@media (max-width: 1024px) {
	body:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-page"],
	body:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-post"],
	body:not(.civ31-has-fullscreen-hero) main#content {
		padding-top: 195px;
	}
	body.home:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-page"],
	body.home:not(.civ31-has-fullscreen-hero) main#content {
		padding-top: 280px;
	}
}

@media (max-width: 767px) {
	body:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-page"],
	body:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-post"],
	body:not(.civ31-has-fullscreen-hero) main#content {
		padding-top: 145px;
	}
	body.home:not(.civ31-has-fullscreen-hero) #page > [data-elementor-type="wp-page"],
	body.home:not(.civ31-has-fullscreen-hero) main#content {
		padding-top: 190px;
	}
}

/* Non-Hero Entry Title (.civ31-entry-title-row / .entry-title, e.g. New European Bauhaus, Ginuensis) */
.e-con.civ31-entry-title-row {
	padding: 0 5vw !important;
	--padding-top: 0px !important;
	--padding-bottom: 0px !important;
	--padding-left: 5vw !important;
	--padding-right: 5vw !important;
}

.civ31-entry-title-row .elementor-heading-title,
.entry-title {
	font-family: "Orkney", sans-serif !important;
	font-size: 4.957vw !important;
	margin-top: 0 !important;
	margin-bottom: 1em !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	width: 70%;
	word-break: break-word;
	color: var(--civ31-text) !important;
}

@media screen and (min-width: 2561px) {
	.civ31-entry-title-row .elementor-heading-title,
	.entry-title {
		font-size: 115px !important;
	}
}

@media screen and (max-width: 1680px) {
	.civ31-entry-title-row .elementor-heading-title,
	.entry-title {
		font-size: 4.873vw !important;
	}
}

@media screen and (max-width: 1180px) {
	.civ31-entry-title-row .elementor-heading-title,
	.entry-title {
		font-size: 7.955vw !important;
	}
}

@media screen and (max-width: 768px) {
	.civ31-entry-title-row .elementor-heading-title,
	.entry-title {
		font-size: 7.175vw !important;
		width: 85%;
		margin-bottom: 50px !important;
	}
}

@media screen and (max-width: 480px) {
	.civ31-entry-title-row .elementor-heading-title,
	.entry-title {
		font-size: 9.397vw !important;
	}
}

.civ31-hero-section {
	position: relative;
}

.civ31-hero-section .e-con.civ31-hero-textbox {
	will-change: transform, opacity;
}

.civ31-hero-section .e-con.civ31-hero-textbox:not(.civ31-hero-has-custom-width) {
	width: 47vw !important;
	--width: 47vw !important;
}

@media screen and (max-width: 1680px) {
	.civ31-hero-section .e-con.civ31-hero-textbox:not(.civ31-hero-has-custom-width) {
		width: 57vw !important;
		--width: 57vw !important;
	}
}

@media screen and (max-width: 1024px) {
	.civ31-hero-section .e-con.civ31-hero-textbox {
		width: 80vw !important;
		--width: 80vw !important;
	}
}

.civ31-hero-textbox *:last-child {
	margin-bottom: 0 !important;
}

/* Airtifact Fixed Fullscreen Hero Background & Scroll Opacity Transition */
#page {
	position: relative;
	z-index: 2;
}

#civ31-hero-header {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

#civ31-hero-header .civ31-hero-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: var(--civ31-hero-op-top, 1);
	transition: opacity 0.45s cubic-bezier(0.29, 0.09, 0.22, 0.98);
	will-change: opacity;
}

#civ31-hero-header.active .civ31-hero-media {
	opacity: var(--civ31-hero-op-scroll, 0);
}

/* Arch. Debora Pizzorno (postid-9694), Rendere Visibile L'Invisibile (postid-8378) & Studio Moncagatto Architetti (postid-8805): static 1:1 scrolling hero (no fixed background / no parallax) */
body.postid-9694,
body.postid-8378,
body.postid-8805 {
	position: relative;
}

body.postid-9694 #civ31-hero-header,
body.postid-8378 #civ31-hero-header,
body.postid-8805 #civ31-hero-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto;
	height: 100vh;
	z-index: 1;
}

body.postid-9694 #civ31-hero-header .civ31-hero-media,
body.postid-9694 #civ31-hero-header.active .civ31-hero-media,
body.postid-8378 #civ31-hero-header .civ31-hero-media,
body.postid-8378 #civ31-hero-header.active .civ31-hero-media,
body.postid-8805 #civ31-hero-header .civ31-hero-media,
body.postid-8805 #civ31-hero-header.active .civ31-hero-media {
	opacity: 1 !important;
	transition: none !important;
}

#civ31-hero-header .civ31-hero-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Lazzaro Gallery (postid-3310): text-only hero with data-gap=95 & auto height (artifact-hero-tagline-css) */
body.postid-3310 .civ31-hero-section {
	min-height: 0 !important;
	height: auto !important;
	--min-height: 0px !important;
	padding-top: calc(256.5px + 5vh) !important;
	padding-bottom: 90px !important;
}

@media (max-width: 1024px) {
	body.postid-3310 .civ31-hero-section {
		padding-top: calc(228px + 5vh) !important;
	}
}

@media (max-width: 767px) {
	body.postid-3310 .civ31-hero-section {
		padding-top: calc(171px + 5vh) !important;
	}
}

@media (max-width: 480px) {
	body.postid-3310 .civ31-hero-section {
		padding-bottom: 50px !important;
	}
}

body.postid-3310 .civ31-hero-arrow-widget {
	position: fixed !important;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
}

/* Live Lazzaro Gallery wraps lazzaro-muro (f6e43e9) in .ratio-enabled (0px bottom margin before 3x <p>&nbsp;</p>) */
body.postid-3310 .elementor-element-f6e43e9 {
	margin-bottom: 0 !important;
	margin-block-end: 0 !important;
}

/* Lazzaro Gallery (postid-3310): uploaded files are 0.7x downscaled on server; match Live ratio-enabled/width display sizes */
body.postid-3310 .elementor-widget-image {
	width: 100%;
}

body.postid-3310 .elementor-element-ca9931d img {
	width: min(1000px, 100%);
	max-width: 100%;
	height: auto;
}

body.postid-3310 .elementor-element-2cc25e6 img,
body.postid-3310 .elementor-element-f6e43e9 img {
	width: min(953px, 100%);
	max-width: 100%;
	height: auto;
}

body.postid-3310 .elementor-element-760e59c img {
	width: min(852px, 100%);
	max-width: 100%;
	height: auto;
}

body.postid-3310 .elementor-element-e921ce7 img {
	width: min(1440px, 100%);
	max-width: 100%;
	height: auto;
}

/* Italiantastic Calderoni Martini (postid-5635): *-768x* files on disk have larger Live width attributes (918..1431px) */
body.postid-5635 .elementor-widget-image {
	width: 100%;
}

body.postid-5635 .elementor-element-5a9ed20 img {
	width: min(918px, 100%);
	max-width: 100%;
	height: auto;
}

body.postid-5635 .elementor-element-177bed6 img {
	width: min(1429px, 100%);
	max-width: 100%;
	height: auto;
}

body.postid-5635 .elementor-element-1d7173b img {
	width: min(1427px, 100%);
	max-width: 100%;
	height: auto;
}

body.postid-5635 .elementor-element-e99910a img {
	width: min(1431px, 100%);
	max-width: 100%;
	height: auto;
}

body.postid-5635 .elementor-element-b7fffc4 img,
body.postid-5635 .elementor-element-eb7a462 img,
body.postid-5635 .elementor-element-f38e312 img,
body.postid-5635 .elementor-element-d12c072 img,
body.postid-5635 .elementor-element-9a2d604 img,
body.postid-5635 .elementor-element-cb39e05 img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	display: block;
}

body.postid-5635 .elementor-element-a532503 img {
	width: min(768px, 100%) !important;
	max-width: 100% !important;
	height: auto !important;
	display: inline-block;
}

body.postid-5635 .e-con.civ31-kcm-row,
body.postid-5635 .e-con.civ31-kcm-fullwidth {
	margin-bottom: 0 !important;
}

body.postid-5635 .elementor-widget-image {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Androni Rolli Days 2023 (postid-9627): compact text-only hero spacing, no hero parallax animation, no divider */
body.postid-9627 .civ31-hero-section {
	min-height: 0 !important;
	height: auto !important;
	--min-height: 0px !important;
	padding-top: 220px !important;
	padding-bottom: 100px !important;
}

body.postid-9627 .civ31-hero-section,
body.postid-9627 .civ31-hero-section *,
body.postid-9627 .civ31-hero-title-wrap {
	transform: none !important;
	opacity: 1 !important;
	transition: none !important;
}

body.postid-9627 .civ31-hero-arrow-widget {
	display: none !important;
}

body.postid-9627 .elementor-widget-image img {
	opacity: 1 !important;
}

@media (max-width: 767px) {
	body.postid-9627 .civ31-hero-section {
		padding-top: 150px !important;
		padding-bottom: 60px !important;
	}
}

/* Cressi (postid-8947): keep fixed #civ31-hero-header background (CRESSI SINCE 1946) and hide duplicate fullscreen hero section */
body.postid-8947 .civ31-hero-section {
	display: none !important;
}

body.postid-8947 .elementor-8947 > .e-con:first-of-type,
body.postid-8947 .elementor-8947 > .e-con:nth-of-type(2) {
	padding-top: 140px;
}

body.postid-8947 .elementor-8947 img {
	height: auto !important;
	object-fit: contain;
}

/* Pinksummer (postid-3409): compact hero spacing above laptop mockup, left-aligned 980px first image, live gallery alignment */
body.postid-3409 .civ31-hero-section {
	min-height: 0 !important;
	height: auto !important;
	--min-height: 0px !important;
	padding-top: 230px !important;
	padding-bottom: 110px !important;
}

body.postid-3409 .civ31-hero-arrow-widget {
	display: none !important;
}

body.postid-3409 .elementor-element-9f849a2 {
	text-align: left !important;
}

body.postid-3409 .elementor-element-9f849a2 img {
	width: min(980px, 100%) !important;
	max-width: 100% !important;
	height: auto !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}

body.postid-3409 .elementor-element-6e208c1 {
	margin-top: 40px !important;
}

@media (max-width: 767px) {
	body.postid-3409 .civ31-hero-section {
		padding-top: 150px !important;
		padding-bottom: 60px !important;
	}

	body.postid-3409 .elementor-element-6e208c1 {
		margin-top: 0 !important;
	}
}

/* Hero dark overlays matching live civico31.it on Osvaldo Montalbano (8679) and Salf (8729) */
body.postid-8679 #civ31-hero-header::after,
body.postid-8729 #civ31-hero-header::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

body.postid-8679 #civ31-hero-header::after {
	background: rgba(0, 0, 0, 0.40);
}

body.postid-8729 #civ31-hero-header::after {
	background: rgba(0, 0, 0, 0.35);
}

body.postid-8729 .civ31-hero-arrow-widget {
	display: none !important;
}

/* La Bottega di Brunella (postid-5591): exact live left/right/center image alignment & fluid 8.403vw / 6.667vw vertical spacing */
body.postid-5591 .elementor-widget-image {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

body.postid-5591 .elementor-element-f78d091 {
	text-align: center !important;
}

body.postid-5591 .elementor-element-5e5a432,
body.postid-5591 .elementor-element-cb2b5f3,
body.postid-5591 .elementor-element-120d897,
body.postid-5591 .elementor-element-ca77eb5,
body.postid-5591 .elementor-element-3db4e3a,
body.postid-5591 .elementor-element-64df3f3,
body.postid-5591 .elementor-element-6a36daa,
body.postid-5591 .elementor-element-938733d {
	text-align: left !important;
}

body.postid-5591 .elementor-element-40187e8,
body.postid-5591 .elementor-element-8004b35,
body.postid-5591 .elementor-element-9b66358,
body.postid-5591 .elementor-element-a3cb57b,
body.postid-5591 .elementor-element-f630e96,
body.postid-5591 .elementor-element-0298164,
body.postid-5591 .elementor-element-db7e748 {
	text-align: right !important;
}

body.postid-5591 .elementor-element-f78d091 img,
body.postid-5591 .elementor-element-cb2b5f3 img,
body.postid-5591 .elementor-element-40187e8 img,
body.postid-5591 .elementor-element-ca77eb5 img,
body.postid-5591 .elementor-element-9b66358 img,
body.postid-5591 .elementor-element-3db4e3a img,
body.postid-5591 .elementor-element-a3cb57b img,
body.postid-5591 .elementor-element-6a36daa img,
body.postid-5591 .elementor-element-0298164 img,
body.postid-5591 .elementor-element-938733d img,
body.postid-5591 .elementor-element-db7e748 img {
	max-width: min(1400px, 100%);
	width: auto;
	height: auto;
	display: inline-block;
}

/* Fluid top-large-padding / bottom-large-padding (8.403vw) matching live bbff3.css */
body.postid-5591 .elementor-element-12b46df {
	padding-top: 8.403vw !important;
	padding-bottom: 0 !important;
}

body.postid-5591 .elementor-element-40daf7e,
body.postid-5591 .elementor-element-0b613b8,
body.postid-5591 .elementor-element-55c15f6,
body.postid-5591 .elementor-element-67cf242,
body.postid-5591 .elementor-element-88d1ada,
body.postid-5591 .elementor-element-5f722a9 {
	padding-top: 8.403vw !important;
	padding-bottom: 8.403vw !important;
}

body.postid-5591 .elementor-element-58a8ab1,
body.postid-5591 .elementor-element-0911b4f,
body.postid-5591 .elementor-element-f134983,
body.postid-5591 .elementor-element-25cdebe,
body.postid-5591 .elementor-element-5a291d9 {
	padding-top: 0 !important;
	padding-bottom: 8.403vw !important;
}

/* Fluid top-medium-padding (6.667vw) on staggered right columns (2016-2, 2019-2, text col) */
body.postid-5591 .elementor-element-2de5442,
body.postid-5591 .elementor-element-952755c,
body.postid-5591 .elementor-element-f9a590e {
	padding-top: 6.667vw !important;
	padding-bottom: 0 !important;
}

@media (max-width: 768px) {
	body.postid-5591 .elementor-element-12b46df {
		padding-top: 75px !important;
	}

	body.postid-5591 .elementor-element-40daf7e,
	body.postid-5591 .elementor-element-0b613b8,
	body.postid-5591 .elementor-element-55c15f6,
	body.postid-5591 .elementor-element-67cf242,
	body.postid-5591 .elementor-element-88d1ada,
	body.postid-5591 .elementor-element-5f722a9 {
		padding-top: 75px !important;
		padding-bottom: 75px !important;
	}

	body.postid-5591 .elementor-element-58a8ab1,
	body.postid-5591 .elementor-element-0911b4f,
	body.postid-5591 .elementor-element-f134983,
	body.postid-5591 .elementor-element-25cdebe,
	body.postid-5591 .elementor-element-5a291d9 {
		padding-bottom: 75px !important;
	}

	body.postid-5591 .elementor-element-2de5442,
	body.postid-5591 .elementor-element-952755c,
	body.postid-5591 .elementor-element-f9a590e {
		padding-top: 50px !important;
	}
}

/* Osvaldo Montalbano (postid-8679): exact live left/right/center image alignment & fluid 8.403vw / 6.667vw vertical spacing */
body.postid-8679 .elementor-widget-image {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

body.postid-8679 .elementor-element-bb95837 {
	text-align: center !important;
}

body.postid-8679 .elementor-element-bb95837 img {
	max-width: min(1024px, 100%);
	width: auto;
	height: auto;
	display: inline-block;
}

body.postid-8679 .elementor-element-24807df,
body.postid-8679 .elementor-element-9fd6ecb,
body.postid-8679 .elementor-element-540706f,
body.postid-8679 .elementor-element-1a60811 {
	text-align: left !important;
}

body.postid-8679 .elementor-element-ccd22cf,
body.postid-8679 .elementor-element-e634501,
body.postid-8679 .elementor-element-9b72ec6 {
	text-align: right !important;
}

body.postid-8679 .elementor-element-9fd6ecb img,
body.postid-8679 .elementor-element-1a60811 img {
	width: min(1400px, 100%);
	max-width: 100%;
	height: auto;
	display: inline-block;
}

body.postid-8679 .elementor-element-ccd22cf img,
body.postid-8679 .elementor-element-9b72ec6 img,
body.postid-8679 .elementor-element-e634501 img {
	max-width: min(1024px, 100%);
	width: auto;
	height: auto;
	display: inline-block;
}

/* Fluid top-large-padding / bottom-large-padding (8.403vw) matching live bbff3.css */
body.postid-8679 .elementor-element-bcbd9c4 {
	padding-top: 8.403vw !important;
	padding-bottom: 0 !important;
}

body.postid-8679 .elementor-element-6e339a7,
body.postid-8679 .elementor-element-923b698,
body.postid-8679 .elementor-element-90695eb {
	padding-top: 8.403vw !important;
	padding-bottom: 8.403vw !important;
}

body.postid-8679 .elementor-element-751874a,
body.postid-8679 .elementor-element-7ad21bb {
	padding-top: 0 !important;
	padding-bottom: 8.403vw !important;
}

/* Fluid top-medium-padding (6.667vw) on staggered columns */
body.postid-8679 .elementor-element-e4421d8,
body.postid-8679 .elementor-element-6acdc5d {
	padding-top: 6.667vw !important;
	padding-bottom: 0 !important;
}

@media (max-width: 768px) {
	body.postid-8679 .elementor-element-bcbd9c4 {
		padding-top: 75px !important;
	}

	body.postid-8679 .elementor-element-6e339a7,
	body.postid-8679 .elementor-element-923b698,
	body.postid-8679 .elementor-element-90695eb {
		padding-top: 75px !important;
		padding-bottom: 75px !important;
	}

	body.postid-8679 .elementor-element-751874a,
	body.postid-8679 .elementor-element-7ad21bb {
		padding-bottom: 75px !important;
	}

	body.postid-8679 .elementor-element-e4421d8,
	body.postid-8679 .elementor-element-6acdc5d {
		padding-top: 50px !important;
	}
}

/* Rendere Visibile L'Invisibile (postid-8378): match live bbff3.css fluid paddings (no extra 30px row margin) */
body.postid-8378 .e-con.civ31-kcm-row,
body.postid-8378 .e-con.civ31-kcm-fullwidth {
	margin-bottom: 0 !important;
}

body.postid-8378 .elementor-widget-image,
body.postid-8378 .elementor-widget-text-editor {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

body.postid-8378 .elementor-element-a827688,
body.postid-8378 .elementor-element-0715892 {
	--padding-top: 1.942vw !important;
	--padding-bottom: 0px !important;
	padding-top: 1.942vw !important;
	padding-bottom: 0 !important;
}

body.postid-8378 .elementor-element-48188a6 p:last-child {
	margin-bottom: 0 !important;
}

body.postid-8378 .elementor-element-ebd902e,
body.postid-8378 .elementor-element-272e57d {
	--padding-top: 6.667vw !important;
	--padding-bottom: 0px !important;
	padding-top: 6.667vw !important;
	padding-bottom: 0 !important;
}

body.postid-8378 .elementor-element-61a05fa,
body.postid-8378 .elementor-element-5c48c63 {
	--padding-top: 8.403vw !important;
	--padding-bottom: 0px !important;
	padding-top: 8.403vw !important;
	padding-bottom: 0 !important;
}

@media (max-width: 768px) {
	body.postid-8378 .elementor-element-a827688,
	body.postid-8378 .elementor-element-0715892 {
		--padding-top: 25px !important;
		padding-top: 25px !important;
	}

	body.postid-8378 .elementor-element-ebd902e,
	body.postid-8378 .elementor-element-272e57d {
		--padding-top: 50px !important;
		padding-top: 50px !important;
	}

	body.postid-8378 .elementor-element-61a05fa,
	body.postid-8378 .elementor-element-5c48c63 {
		--padding-top: 75px !important;
		padding-top: 75px !important;
	}
}

/* Vanessa (postid-5585): match live fluid paddings (no extra 30px row margin) & video sizing */
body.postid-5585 .e-con.civ31-kcm-row,
body.postid-5585 .e-con.civ31-kcm-fullwidth {
	margin-bottom: 0 !important;
}

/* Equal 30px vertical gutter between gallery rows (matching 15px+15px horizontal column gutter) */
body.postid-5585 .elementor-element-2d9b5a3 {
	margin-bottom: 30px !important;
}

@media (max-width: 1024px) {
	body.postid-5585 .elementor-element-2d9b5a3 {
		margin-bottom: 20px !important;
	}
}

body.postid-5585 .elementor-widget-image,
body.postid-5585 .elementor-widget-video,
body.postid-5585 .elementor-widget-text-editor {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

body.postid-5585 .elementor-widget-text-editor p:last-child {
	margin-bottom: 0 !important;
}

body.postid-5585 .elementor-element-3450ff3 video {
	width: 100%;
	height: auto;
	display: block;
}

body.postid-5585 .elementor-element-20eb0e3 {
	--padding-top: 1.942vw !important;
	--padding-bottom: 8.403vw !important;
	padding-top: 1.942vw !important;
	padding-bottom: 8.403vw !important;
}

body.postid-5585 .elementor-element-1f7b1b9 {
	--padding-top: 8.403vw !important;
	--padding-bottom: 0px !important;
	padding-top: 8.403vw !important;
	padding-bottom: 0 !important;
}

body.postid-5585 .elementor-element-3f22743,
body.postid-5585 .elementor-element-5c48c63 {
	--padding-top: 8.403vw !important;
	--padding-bottom: 8.403vw !important;
	padding-top: 8.403vw !important;
	padding-bottom: 8.403vw !important;
}

body.postid-5585 .elementor-element-3cbef62 {
	--padding-top: 0px !important;
	--padding-bottom: 1.942vw !important;
	padding-top: 0 !important;
	padding-bottom: 1.942vw !important;
}

body.postid-5585 .elementor-element-f19ee1e {
	--padding-top: 6.667vw !important;
	--padding-bottom: 6.667vw !important;
	padding-top: 6.667vw !important;
	padding-bottom: 6.667vw !important;
}

@media (max-width: 768px) {
	body.postid-5585 .elementor-element-20eb0e3 {
		--padding-top: 25px !important;
		--padding-bottom: 75px !important;
		padding-top: 25px !important;
		padding-bottom: 75px !important;
	}

	body.postid-5585 .elementor-element-1f7b1b9 {
		--padding-top: 75px !important;
		padding-top: 75px !important;
	}

	body.postid-5585 .elementor-element-3f22743,
	body.postid-5585 .elementor-element-5c48c63 {
		--padding-top: 75px !important;
		--padding-bottom: 75px !important;
		padding-top: 75px !important;
		padding-bottom: 75px !important;
	}

	body.postid-5585 .elementor-element-3cbef62 {
		--padding-bottom: 25px !important;
		padding-bottom: 25px !important;
	}

	body.postid-5585 .elementor-element-f19ee1e {
		--padding-top: 50px !important;
		--padding-bottom: 50px !important;
		padding-top: 50px !important;
		padding-bottom: 50px !important;
	}
}

/* Med Oil Expo (postid-9086): text-only hero auto height (no 100vh blank gap) & no extra 30px row margin */
body.postid-9086 .civ31-hero-section {
	min-height: 0 !important;
	height: auto !important;
	--min-height: 0px !important;
	--padding-top: 220px !important;
	--padding-bottom: 0px !important;
	padding-top: 220px !important;
	padding-bottom: 0 !important;
}

body.postid-9086 .e-con.civ31-kcm-row,
body.postid-9086 .e-con.civ31-kcm-fullwidth {
	margin-bottom: 0 !important;
}

@media (max-width: 767px) {
	body.postid-9086 .civ31-hero-section {
		--padding-top: 150px !important;
		padding-top: 150px !important;
	}
}

/* Brizyo (postid-5588): keep fixed #civ31-hero-header background, hide empty 100vh hero spacer so right-column title starts above the fold like live */
body.postid-5588 .civ31-hero-section {
	display: none !important;
}

body.postid-5588 .elementor-element-e0085f1 {
	--padding-top: 220px !important;
	padding-top: 220px !important;
}

@media (max-width: 767px) {
	body.postid-5588 .elementor-element-e0085f1 {
		--padding-top: 150px !important;
		padding-top: 150px !important;
	}
}

/* Global fixed-hero fix (Il Salotto 8881 & all civ31-has-fixed-hero-media pages): suppress duplicate Elementor background/overlay on .civ31-hero-section */
body.civ31-has-fixed-hero-media .elementor-element.civ31-hero-section:not(.elementor-motion-effects-element-type-background),
body.civ31-has-fixed-hero-media .elementor-element.civ31-hero-section {
	background-image: none !important;
	background-color: transparent !important;
}

body.civ31-has-fixed-hero-media .elementor-element.civ31-hero-section::before {
	display: none !important;
}

body.postid-8881 .civ31-hero-arrow-widget {
	display: none !important;
}

/* Area (postid-8692): hide redundant "Area" caption at bottom of lightbox */
body.postid-8692 #civ31-lightbox .civ31-lb-caption {
	display: none !important;
}

/* Villa Fringuello (postid-9246): match live hero-vertical-text-bottom, fluid paddings, and 30px gallery row gutter */
body.postid-9246 .civ31-hero-section {
	justify-content: flex-end !important;
}

body.postid-9246 .e-con.civ31-kcm-row,
body.postid-9246 .e-con.civ31-kcm-fullwidth {
	margin-bottom: 0 !important;
}

body.postid-9246 .elementor-element-59bc9cd {
	margin-bottom: 30px !important;
}

body.postid-9246 .elementor-widget-image,
body.postid-9246 .elementor-widget-video,
body.postid-9246 .elementor-widget-text-editor {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

body.postid-9246 .elementor-widget-text-editor p:last-child {
	margin-bottom: 0 !important;
}

body.postid-9246 .elementor-element-a8210c1 {
	--padding-top: 1.942vw !important;
	--padding-bottom: 8.403vw !important;
	padding-top: 1.942vw !important;
	padding-bottom: 8.403vw !important;
}

body.postid-9246 .elementor-element-39356dc {
	--padding-top: 8.403vw !important;
	--padding-bottom: 0px !important;
	padding-top: 8.403vw !important;
	padding-bottom: 0 !important;
}

body.postid-9246 .elementor-element-30211d2 {
	--padding-top: 8.403vw !important;
	--padding-bottom: 8.403vw !important;
	padding-top: 8.403vw !important;
	padding-bottom: 8.403vw !important;
}

body.postid-9246 .elementor-element-18cbee6 {
	--padding-top: 0px !important;
	--padding-bottom: 1.942vw !important;
	padding-top: 0 !important;
	padding-bottom: 1.942vw !important;
}

body.postid-9246 .elementor-element-eda711f {
	--padding-top: 6.667vw !important;
	--padding-bottom: 0px !important;
	padding-top: 6.667vw !important;
	padding-bottom: 0 !important;
}

@media (max-width: 1024px) {
	body.postid-9246 .elementor-element-59bc9cd {
		margin-bottom: 20px !important;
	}
}

@media (max-width: 768px) {
	body.postid-9246 .elementor-element-a8210c1 {
		--padding-top: 25px !important;
		--padding-bottom: 75px !important;
		padding-top: 25px !important;
		padding-bottom: 75px !important;
	}

	body.postid-9246 .elementor-element-39356dc {
		--padding-top: 75px !important;
		padding-top: 75px !important;
	}

	body.postid-9246 .elementor-element-30211d2 {
		--padding-top: 75px !important;
		--padding-bottom: 75px !important;
		padding-top: 75px !important;
		padding-bottom: 75px !important;
	}

	body.postid-9246 .elementor-element-18cbee6 {
		--padding-bottom: 25px !important;
		padding-bottom: 25px !important;
	}

	body.postid-9246 .elementor-element-eda711f {
		--padding-top: 50px !important;
		padding-top: 50px !important;
	}
}

/* Works / Agenzia di comunicazione Genova (page-id-3253): compact hero above portfolio grid like live */
body.page-id-3253 .civ31-hero-section {
	min-height: 0 !important;
	height: auto !important;
	--min-height: 0px !important;
	--padding-top: 210px !important;
	--padding-bottom: 0px !important;
	padding-top: 210px !important;
	padding-bottom: 0 !important;
}

body.page-id-3253 .elementor-element-7630a3c {
	--padding-top: 75px !important;
	--padding-bottom: 40px !important;
	padding-top: 75px !important;
	padding-bottom: 40px !important;
}

body.page-id-3253 .civ31-hero-arrow-widget {
	display: none !important;
}

@media (max-width: 767px) {
	body.page-id-3253 .civ31-hero-section {
		--padding-top: 140px !important;
		--padding-bottom: 0px !important;
		padding-top: 140px !important;
		padding-bottom: 0 !important;
	}

	body.page-id-3253 .elementor-element-7630a3c {
		--padding-top: 40px !important;
		--padding-bottom: 30px !important;
		padding-top: 40px !important;
		padding-bottom: 30px !important;
	}
}

.civ31-hero-section h1 {
	font-size: 5.278vw !important;
	line-height: 1.079 !important;
	letter-spacing: -0.037rem;
	margin-bottom: 0.15em;
	color: var(--civ31-text);
}

@media screen and (min-width: 2561px) {
	.civ31-hero-section h1 {
		font-size: 135px !important;
	}
}

@media screen and (max-width: 1680px) {
	.civ31-hero-section h1 {
		font-size: 5.995vw !important;
	}
}

@media screen and (max-width: 1180px) {
	.civ31-hero-section h1 {
		font-size: 6.7955vw !important;
	}
}

@media screen and (max-width: 768px) {
	.civ31-hero-section h1 {
		font-size: 9.9975vw !important;
	}
}

@media screen and (max-width: 480px) {
	.civ31-hero-section h1 {
		font-size: 12.579vw !important;
	}
}

.civ31-hero-section h1.big-intro,
.civ31-hero-section .big-intro {
	font-size: 4.501vw !important;
	line-height: 1.069 !important;
	letter-spacing: -3px;
}

@media screen and (min-width: 2561px) {
	.civ31-hero-section h1.big-intro,
	.civ31-hero-section .big-intro {
		font-size: 77px !important;
	}
}

@media screen and (max-width: 1680px) {
	.civ31-hero-section h1.big-intro,
	.civ31-hero-section .big-intro {
		font-size: 5.375vw !important;
	}
}

@media screen and (max-width: 1180px) {
	.civ31-hero-section h1.big-intro,
	.civ31-hero-section .big-intro {
		font-size: 6.1935vw !important;
		letter-spacing: -2px;
	}
}

@media screen and (max-width: 769px) {
	.civ31-hero-section h1.big-intro,
	.civ31-hero-section .big-intro {
		letter-spacing: -1.75px;
	}
}

@media screen and (max-width: 768px) {
	.civ31-hero-section h1.big-intro,
	.civ31-hero-section .big-intro {
		font-size: 7.1375vw !important;
	}
}

@media screen and (max-width: 480px) {
	.civ31-hero-section h1.big-intro,
	.civ31-hero-section .big-intro {
		font-size: 9.1119vw !important;
		letter-spacing: -0.25px;
	}
}

.civ31-hero-section h1.middle-intro,
.civ31-hero-section .middle-intro {
	font-size: 2.939vw !important;
	line-height: 1.337 !important;
	letter-spacing: normal;
}

@media screen and (min-width: 2561px) {
	.civ31-hero-section h1.middle-intro,
	.civ31-hero-section .middle-intro {
		font-size: 77px !important;
	}
}

@media screen and (max-width: 1680px) {
	.civ31-hero-section h1.middle-intro,
	.civ31-hero-section .middle-intro {
		font-size: 3.175vw !important;
	}
}

@media screen and (max-width: 1180px) {
	.civ31-hero-section h1.middle-intro,
	.civ31-hero-section .middle-intro {
		font-size: 4.135vw !important;
	}
}

@media screen and (max-width: 768px) {
	.civ31-hero-section h1.middle-intro,
	.civ31-hero-section .middle-intro {
		font-size: 5.1375vw !important;
	}
}

@media screen and (max-width: 480px) {
	.civ31-hero-section h1.middle-intro,
	.civ31-hero-section .middle-intro {
		line-height: 1.137 !important;
		font-size: 6.9119vw !important;
	}
}

.civ31-hero-section h1.small-intro,
.civ31-hero-section .small-intro {
	font-size: 1.79vw !important;
	line-height: 1.31 !important;
	letter-spacing: normal;
}

@media screen and (min-width: 2561px) {
	.civ31-hero-section h1.small-intro,
	.civ31-hero-section .small-intro {
		font-size: 49px !important;
	}
}

@media screen and (max-width: 1920px) {
	.civ31-hero-section h1.small-intro,
	.civ31-hero-section .small-intro {
		font-size: 1.95vw !important;
	}
}

@media screen and (max-width: 1680px) {
	.civ31-hero-section h1.small-intro,
	.civ31-hero-section .small-intro {
		font-size: 2.27vw !important;
	}
}

@media screen and (max-width: 1024px) {
	.civ31-hero-section h1.small-intro,
	.civ31-hero-section .small-intro {
		font-size: 3.73vw !important;
	}
}

@media screen and (max-width: 480px) {
	.civ31-hero-section h1.small-intro,
	.civ31-hero-section .small-intro {
		font-size: 6.25vw !important;
	}
}

/* Hero Scroll Down Helper Arrow */
.civ31-hero-arrow-widget {
	position: absolute !important;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: auto !important;
	z-index: 4;
}

.civ31-hero-arrow {
	width: 35px;
	height: 50px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0.75;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.civ31-hero-arrow:hover {
	transform: translateY(6px);
	opacity: 1;
}

.civ31-hero-arrow::before {
	content: "";
	display: block;
	width: 1px;
	height: 34px;
	background-color: var(--civ31-text);
}

/* ==========================================================================
   6. Contatti Circular Hover Cards (.civ31-circle-card)
   ========================================================================== */
.civ31-circle-card {
	display: block;
	width: 100%;
	max-width: 320px;
}

.civ31-circle-link {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	text-decoration: none;
}

.civ31-circle-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	transition: transform 0.45s cubic-bezier(0.29, 0.09, 0.22, 0.98);
}

.civ31-circle-overlay {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.28s ease;
	padding: 20px;
	text-align: center;
}

.civ31-circle-title {
	font-family: "Fjalla One", sans-serif;
	font-size: 22px;
	margin-bottom: 10px;
	color: #ffffff;
}

.civ31-circle-link:hover img {
	transform: scale(1.05);
}

.civ31-circle-link:hover .civ31-circle-overlay {
	opacity: 1;
}

.civ31-circle-caption {
	font-family: "Orkney", sans-serif;
	font-size: 12px;
	line-height: 19.32px;
	letter-spacing: 0.33px;
	margin-top: 14px;
	color: var(--civ31-text);
}

/* ==========================================================================
   7. Works Portfolio Grid ([civ31_portfolio_grid])
   ========================================================================== */
.civ31-portfolio-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0 0 70px;
}

.civ31-portfolio-filters a {
	font-family: "Fjalla One", sans-serif;
	font-size: 15px;
	color: var(--civ31-text);
	text-decoration: none;
	opacity: 0.45;
	position: relative;
	transition: opacity 0.2s ease;
}

.civ31-portfolio-filters a.is-active,
.civ31-portfolio-filters a:hover {
	opacity: 1;
}

.civ31-portfolio-filters a .count {
	font-family: "Orkney", sans-serif;
	font-size: 11px;
	vertical-align: super;
	margin-left: 3px;
	color: var(--civ31-accent);
}

.civ31-portfolio-columns {
	display: flex;
	align-items: flex-start;
	margin-left: -60px;
	width: calc(100% + 60px);
}

.civ31-portfolio-col {
	width: 50%;
	padding-left: 60px;
	display: flex;
	flex-direction: column;
}

.civ31-portfolio-col--left {
	padding-top: 90px;
}

@media (max-width: 1024px) {
	.civ31-portfolio-columns {
		margin-left: -30px;
		width: calc(100% + 30px);
	}
	.civ31-portfolio-col {
		padding-left: 30px;
	}
	.civ31-portfolio-col--left {
		padding-top: 40px;
	}
}

@media (max-width: 640px) {
	.civ31-portfolio-columns {
		flex-direction: column;
		margin-left: 0;
		width: 100%;
	}
	.civ31-portfolio-col {
		width: 100%;
		padding-left: 0;
	}
	.civ31-portfolio-col--left {
		padding-top: 0;
	}
}

.civ31-portfolio-card {
	position: relative;
	margin-bottom: 135px;
	padding-left: 42px;
}

@media (max-width: 1024px) {
	.civ31-portfolio-card {
		padding-left: 0;
		margin-bottom: 75px;
	}
}

.civ31-portfolio-card-link {
	display: block;
	text-decoration: none;
	color: var(--civ31-text);
	position: relative;
}

.civ31-card-thumb {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: var(--civ31-bg);
}

.civ31-card-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--civ31-card-tint);
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.civ31-card-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s cubic-bezier(0.29, 0.09, 0.22, 0.98);
}

.civ31-portfolio-card-link:hover .civ31-card-thumb img {
	transform: scale(1.02);
}

/* Signature -90deg Vertical Left-Edge Caption on Desktop (>= 1025px) */
@media (min-width: 1025px) {
	.civ31-card-caption {
		position: absolute;
		left: -14px;
		bottom: 0;
		transform: rotate(-90deg);
		transform-origin: left bottom;
		width: max-content;
		max-width: 340px;
		white-space: normal;
		line-height: 1.18;
		pointer-events: none;
	}
}

@media (max-width: 1024px) {
	.civ31-card-caption {
		position: static;
		margin-top: 16px;
		white-space: normal;
	}
}

.civ31-card-title {
	display: inline;
	font-family: "Fjalla One", sans-serif;
	font-size: clamp(16px, 1.235vw, 20px);
	font-weight: 500;
	line-height: 1.2;
	color: var(--civ31-text);
	margin: 0;
	position: relative;
}

.civ31-card-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0%;
	height: 1px;
	background-color: var(--civ31-accent);
	transition: width 120ms linear;
}

.civ31-portfolio-card-link:hover .civ31-card-title::after {
	width: 100%;
}

.civ31-card-excerpt {
	display: inline;
	font-family: "Orkney", sans-serif;
	font-size: clamp(15.5px, 1.341vw, 21px);
	font-weight: 200;
	line-height: 1.2;
	color: var(--civ31-text);
	opacity: 0.85;
}

.civ31-card-excerpt::before {
	content: " — ";
}

@media (max-width: 1024px) {
	.civ31-card-title {
		font-size: 21px;
	}
	.civ31-card-excerpt {
		font-size: 19.3px;
	}
}

/* Portfolio Archive Pagination */
.civ31-post-navigation {
	margin-top: 180px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	position: relative;
	line-height: 1;
}

.civ31-post-navigation a,
.civ31-post-navigation .nav-disabled {
	font-family: "Fjalla One", sans-serif;
	font-size: clamp(28px, 2.85vw, 42px);
	color: var(--civ31-text);
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}

.civ31-post-navigation .nav-disabled {
	opacity: 0.2;
	pointer-events: none;
}

.civ31-post-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0%;
	height: 2px;
	background-color: var(--civ31-accent);
	transition: width 100ms linear;
}

.civ31-post-navigation a:hover::after {
	width: 100%;
}

.civ31-post-navigation-line {
	flex: 1;
	height: 2px;
	background-color: var(--civ31-text);
	opacity: 0.35;
}

.civ31-post-navigation-helper {
	font-family: "Orkney", sans-serif;
	font-size: clamp(36px, 4.2vw, 60px);
	font-weight: 500;
	line-height: 1;
	color: var(--civ31-accent);
	white-space: nowrap;
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
}

.civ31-post-navigation-helper .type_second {
	font-family: "Fjalla One", sans-serif;
	font-style: italic;
	font-weight: 300;
	font-size: 0.62em;
}

/* ==========================================================================
   8. Single Project Prev / Next Navigator ([civ31_project_nav])
   ========================================================================== */
.civ31-entry-navigation {
	margin-top: 250px;
	padding-bottom: 0;
	position: relative;
}

@media (max-width: 1024px) {
	.civ31-entry-navigation {
		margin-top: 180px;
	}
}

@media (max-width: 767px) {
	.civ31-entry-navigation {
		margin-top: 100px;
	}
}

.civ31-watching-label {
	text-align: center;
	font-size: 21px;
	margin-bottom: 15px;
	opacity: 1;
	position: relative;
	z-index: 4;
}

.civ31-watching-label .title-prefix,
.civ31-entry-nav-tooltip .title-prefix {
	font-weight: 700 !important;
}

.civ31-watching-label .type_second {
	font-size: 21px;
	margin-left: 0;
}

.civ31-entry-nav-bar {
	max-width: 342px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	position: relative;
}

.civ31-entry-nav-item {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.civ31-entry-nav-link,
.civ31-entry-nav-link:hover,
.civ31-entry-nav-link:focus {
	font-family: "Fjalla One", sans-serif;
	font-size: 55px;
	line-height: 1;
	color: var(--civ31-text) !important;
	text-decoration: none !important;
	position: relative;
	z-index: 3;
}

.civ31-entry-nav-link::after {
	display: none !important;
}

.civ31-entry-nav-sep {
	flex: 1;
	height: 1px;
	background-color: var(--civ31-text);
	position: relative;
	z-index: 3;
}

.civ31-entry-nav-tooltip {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	font-size: 21px;
	color: var(--civ31-text);
	opacity: 0;
	pointer-events: none;
	z-index: 5;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.civ31-entry-nav-item--prev .civ31-entry-nav-tooltip {
	right: calc(100% + 22px);
}

.civ31-entry-nav-item--next .civ31-entry-nav-tooltip {
	left: calc(100% + 22px);
}

.civ31-entry-nav-item:hover .civ31-entry-nav-tooltip {
	opacity: 1;
}

.civ31-entry-nav-preview {
	position: absolute;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%) scale(0.97);
	width: 30vw;
	max-width: 384px;
	min-width: 220px;
	aspect-ratio: 1150 / 790;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease, transform 0.28s ease;
	z-index: 1;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.civ31-entry-nav-item--prev .civ31-entry-nav-preview {
	right: calc(100% - 36px);
	left: auto;
}

.civ31-entry-nav-item--next .civ31-entry-nav-preview {
	left: calc(100% - 36px);
	right: auto;
}

.civ31-entry-nav-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (min-width: 1025px) {
	.civ31-entry-nav-item:hover .civ31-entry-nav-preview {
		opacity: 1;
		transform: translateY(-50%) scale(1);
	}
}

/* ==========================================================================
   9. Fixed Right Side Actions (#civ31-site-actions) & Share Modal
   ========================================================================== */
#civ31-site-actions {
	position: fixed;
	right: 30px;
	bottom: 90px;
	z-index: 9990;
	transform: rotate(-90deg);
	transform-origin: right bottom;
	display: flex;
	align-items: center;
	gap: 28px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s linear, visibility 0.3s linear;
}

#civ31-site-actions.is-visible {
	opacity: 1;
	visibility: visible;
}

#civ31-site-actions a {
	font-family: "Orkney", sans-serif;
	font-size: 13px;
	letter-spacing: 2px;
	color: var(--civ31-text);
	text-decoration: none;
	position: relative;
}

#civ31-site-actions span + span::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	background-color: var(--civ31-text);
	vertical-align: middle;
	margin-right: 20px;
}

@media (max-width: 767px) {
	#civ31-site-actions {
		display: none;
	}
}

#civ31-share-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background-color: var(--civ31-overlay-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

#civ31-share-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#civ31-share-modal a {
	font-family: "Fjalla One", sans-serif;
	font-size: 28px;
	text-decoration: none;
	color: var(--civ31-text);
	transition: transform 0.2s ease, color 0.2s ease;
}

#civ31-share-modal a:hover {
	color: var(--civ31-accent);
	transform: translateY(-3px);
}

/* ==========================================================================
   10. Footer (#civ31-footer)
   ========================================================================== */
#civ31-footer {
	padding: 160px 5vw 50px;
	position: relative;
	color: var(--civ31-text);
}

@media (max-width: 1024px) {
	#civ31-footer {
		padding: 110px 10vw 45px;
	}
}

@media (max-width: 767px) {
	#civ31-footer {
		padding: 80px 10vw 40px;
	}
}

.civ31-footer-inner {
	max-width: 2560px;
	margin: 0 auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.civ31-footer-content {
	width: 85%;
}

@media (max-width: 767px) {
	.civ31-footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.civ31-footer-content {
		width: 100%;
	}
}

.civ31-footer-title {
	font-family: "Fjalla One", sans-serif;
	font-size: 15.7px;
	font-weight: 300;
	line-height: 1;
	opacity: 0.25;
	margin: 0 0 35px;
	color: var(--civ31-text);
}

.civ31-footer-social {
	list-style: none;
	padding: 0;
	margin: 0 0 50px;
	display: flex;
	flex-wrap: wrap;
	gap: 43px;
}

.civ31-footer-social a {
	font-family: "Orkney", sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--civ31-text);
	text-decoration: none;
	position: relative;
}

@media (max-width: 1024px) {
	.civ31-footer-social a {
		font-size: 21px;
	}
}

@media (max-width: 767px) {
	.civ31-footer-social {
		gap: 24px;
	}
	.civ31-footer-social a {
		font-size: 17px;
	}
}

.civ31-footer-social a::after,
.civ31-footer-cta a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0%;
	height: 1px;
	background-color: var(--civ31-accent);
	transition: width 100ms linear;
}

.civ31-footer-social a:hover::after,
.civ31-footer-cta a:hover::after {
	width: 100%;
}

.civ31-footer-cta {
	font-size: clamp(24px, 2.71vw, 39px);
	line-height: 1.15;
	margin: 0 0 24px;
	color: var(--civ31-text);
}

.civ31-footer-cta a {
	color: var(--civ31-text);
	text-decoration: none;
	position: relative;
}

.civ31-green-badge {
	display: block;
	width: 200px;
	height: auto;
	margin: 22px 0 20px;
}

.civ31-footer-copy {
	display: block;
	font-family: "Orkney", sans-serif;
	font-size: 9.91px;
	line-height: 1.35;
	opacity: 0.85;
	color: var(--civ31-text);
}

.civ31-go-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: var(--civ31-text);
	text-decoration: none;
	padding: 8px 0;
	transition: transform 0.25s ease;
	white-space: nowrap;
}

.civ31-go-top-text {
	font-family: "Orkney", sans-serif;
	font-size: 22px;
	font-weight: 400;
	opacity: 0.22;
	color: var(--civ31-text);
	transition: opacity 0.2s ease;
}

.civ31-go-top:hover .civ31-go-top-text {
	opacity: 0.65;
}

.civ31-go-top svg * {
	stroke: var(--civ31-text) !important;
}

.civ31-go-top:hover {
	transform: translateY(-6px);
}

/* Elementor Container Clean Alignment Overrides */
.e-con.civ31-kcm-row {
	--padding-top: 0px;
	--padding-bottom: 0px;
}

.circled-img img {
	position: relative;
	border-radius: 50% !important;
	transition: transform 0.4s cubic-bezier(0.29, 0.09, 0.22, 0.98);
}

.circled-img a:hover img {
	transform: scale(1.03);
}

.circled-img a::after {
	display: none !important;
}

/* Hero Background HTML5 Video */
.civ31-hero-video-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}

.civ31-hero-video-bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Footer Exact Typography Matching Live DOM */
#civ31-footer .civ31-footer-social a {
	color: var(--civ31-text) !important;
	font-weight: 400 !important;
}

#civ31-footer .civ31-go-top-text {
	font-size: 23px;
	opacity: 0.25;
}

#civ31-footer .footer-text-1 {
	font-size: clamp(22px, 2.71vw, 39px);
	line-height: 1.15;
	margin: 0 0 22px;
	color: var(--civ31-text);
}

#civ31-footer .footer-text-1 span {
	font-size: clamp(22px, 2.71vw, 39px) !important;
	line-height: 1.15 !important;
}

#civ31-footer .footer-text-1 a {
	color: var(--civ31-text) !important;
	text-decoration: none;
	position: relative;
	font-weight: 400;
}

#civ31-footer .footer-text-1 a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0%;
	height: 1px;
	background-color: var(--civ31-accent);
	transition: width 100ms linear;
}

#civ31-footer .footer-text-1 a:hover::after {
	width: 100%;
}

#civ31-footer .footer-text-1 img {
	display: block;
	width: 200px;
	height: auto;
	margin-top: 26px;
}

#civ31-footer .footer-text-2 {
	display: block;
	font-family: "Orkney", sans-serif;
	font-size: 0.5217391304rem;
	line-height: 1.35;
	color: var(--civ31-text);
	opacity: 0.35;
}

/* Ensure Elementor Carousel images span cleanly */
.elementor-image-carousel-wrapper .swiper-slide figure img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Fullwidth Flickity-Style Centered Peek Carousel (Artesia / Studio Page: 50vw active slide) */
.civ31-kcm-fullwidth {
	overflow-x: clip;
}

.civ31-kcm-fullwidth .elementor-image-carousel-wrapper {
	width: 56%;
	margin: 0 auto;
	overflow: visible !important;
	cursor: grab;
}

.civ31-kcm-fullwidth .elementor-image-carousel-wrapper:active {
	cursor: grabbing;
}

.civ31-kcm-fullwidth .elementor-image-carousel-wrapper .swiper-slide {
	padding: 0 3vw;
	opacity: 0.28;
	transition: opacity 0.35s ease;
}

.civ31-kcm-fullwidth .elementor-image-carousel-wrapper .swiper-slide-active {
	opacity: 1;
}

@media (max-width: 767px) {
	.civ31-kcm-fullwidth .elementor-image-carousel-wrapper {
		width: 88%;
	}
	.civ31-kcm-fullwidth .elementor-image-carousel-wrapper .swiper-slide {
		padding: 0 2vw;
	}
}

/* Reset browser default <figure> margins inside text-editor widgets (e.g. hero tagline images) & inline image baseline gaps */
.elementor-widget-text-editor figure {
	margin: 0;
}

.elementor-widget-image img {
	vertical-align: bottom;
}

.e-con.civ31-kcm-fullwidth .elementor-widget-image,
.e-con.civ31-kcm-fullwidth .elementor-widget-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Elementor Container Clean Alignment Overrides & KCM Row Margin */
.e-con.civ31-kcm-row,
.e-con.civ31-kcm-fullwidth {
	margin-bottom: 30px;
}

.e-con.civ31-kcm-row {
	--padding-top: 0px;
	--padding-bottom: 0px;
}

.e-con.civ31-kcm-row.civ31-center-row {
	--padding-left: 5vw;
	--padding-right: 5vw;
	padding-left: 5vw !important;
	padding-right: 5vw !important;
}

.e-con.civ31-centered-col {
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Airtifact Responsive Padding Utility Overrides at 768px..1680px and <= 767px (bbff3.css) */
@media screen and (min-width: 768px) and (max-width: 1680px) {
	.e-con.top-large-padding {
		--padding-top: 100px !important;
		padding-top: 100px !important;
	}
	.e-con.bottom-large-padding {
		--padding-bottom: 100px !important;
		padding-bottom: 100px !important;
	}
	.e-con.top-medium-padding {
		--padding-top: 70px !important;
		padding-top: 70px !important;
	}
	.e-con.bottom-medium-padding {
		--padding-bottom: 70px !important;
		padding-bottom: 70px !important;
	}
	.e-con.top-small-padding {
		--padding-top: 35px !important;
		padding-top: 35px !important;
	}
	.e-con.bottom-small-padding {
		--padding-bottom: 35px !important;
		padding-bottom: 35px !important;
	}
}

@media screen and (max-width: 767px) {
	.e-con.top-large-padding {
		--padding-top: 8.4034vw !important;
		padding-top: 8.4034vw !important;
	}
	.e-con.bottom-large-padding {
		--padding-bottom: 8.4034vw !important;
		padding-bottom: 8.4034vw !important;
	}
	.e-con.top-medium-padding {
		--padding-top: 6.6667vw !important;
		padding-top: 6.6667vw !important;
	}
	.e-con.bottom-medium-padding {
		--padding-bottom: 6.6667vw !important;
		padding-bottom: 6.6667vw !important;
	}
	.e-con.top-small-padding {
		--padding-top: 1.9417vw !important;
		padding-top: 1.9417vw !important;
	}
	.e-con.bottom-small-padding {
		--padding-bottom: 1.9417vw !important;
		padding-bottom: 1.9417vw !important;
	}
}

/* Image Alignment & Flush Stack Utilities (bbff3.css) */
.elementor-widget-image {
	text-align: left;
}

.elementor-widget-image figure.wp-caption {
	max-width: 100%;
	margin: 0;
}

.elementor-widget-image.civ31-img-aligncenter figure.wp-caption {
	margin-left: auto;
	margin-right: auto;
}

.elementor-widget-image.civ31-img-alignright figure.wp-caption {
	margin-left: auto;
}

.elementor-widget-image figure.wp-caption img,
.elementor-widget-image figure.wp-caption a {
	display: block;
	width: 100%;
	height: auto;
}

.elementor-widget-image.civ31-img-aligncenter {
	text-align: center !important;
}

.elementor-widget-image.civ31-img-alignright {
	text-align: right !important;
	margin-top: 25px !important;
	margin-bottom: 20px !important;
}

.elementor-widget-image.civ31-img-alignleft {
	text-align: left !important;
	margin-top: 25px !important;
	margin-bottom: 20px !important;
}

.elementor-widget-image.civ31-img-flush {
	margin: 0 !important;
	line-height: 0 !important;
}

.elementor-widget-image.civ31-img-flush img {
	display: block;
	width: 100%;
	margin: 0 !important;
}

/* Default 50px vertical margins around in-column figures/images (bbff3.css: img, figure { margin: 50px 0 }, :first-child/:last-child reset) */
.e-con > .elementor-widget-image:not(:first-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright),
.e-con > .e-con-inner > .elementor-widget-image:not(:first-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright) {
	margin-top: 50px;
	margin-block-start: 50px;
}

.e-con > .elementor-widget-image:not(:last-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright),
.e-con > .e-con-inner > .elementor-widget-image:not(:last-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright) {
	margin-bottom: 50px;
	margin-block-end: 50px;
}

/* Match block margin collapsing between back-to-back image widgets inside flex columns */
.e-con > .elementor-widget-image:not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright) + .elementor-widget-image:not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright),
.e-con > .e-con-inner > .elementor-widget-image:not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright) + .elementor-widget-image:not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright) {
	margin-top: 0;
	margin-block-start: 0;
}

@media screen and (max-width: 768px) {
	.e-con > .elementor-widget-image:not(:first-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright),
	.e-con > .e-con-inner > .elementor-widget-image:not(:first-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright),
	.e-con > .elementor-widget-image:not(:last-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright),
	.e-con > .e-con-inner > .elementor-widget-image:not(:last-child):not(.civ31-img-flush):not(.civ31-img-alignleft):not(.civ31-img-alignright) {
		margin-top: 0;
		margin-block-start: 0;
		margin-bottom: 0;
		margin-block-end: 0;
	}
}

.elementor-widget-image.civ31-aspect-1141-854 img {
	aspect-ratio: 1141 / 854;
	object-fit: cover;
	width: 100%;
}

/* Airtifact Custom Black Fullscreen Lightbox (#civ31-lightbox — T.Mariotti / Gallery Projects) */
#civ31-lightbox {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	background: #000000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	user-select: none;
}

#civ31-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.civ31-lb-inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: right 0.3s cubic-bezier(0.29, 0.09, 0.22, 0.98);
}

#civ31-lightbox.thumbs-open .civ31-lb-inner {
	right: 320px;
}

.civ31-lb-close {
	position: fixed;
	top: 5%;
	left: 50%;
	transform: translateX(-50%);
	background: transparent;
	border: none;
	color: #ffffff;
	font-family: "Orkney", sans-serif;
	font-size: 16.8912px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	padding: 12px 16px 12px 0;
	z-index: 10;
}

/* Override Hello Elementor default pink (#c36) button:hover / button:focus on all lightbox & slideshow controls */
#civ31-lightbox button,
#civ31-lightbox button:hover,
#civ31-lightbox button:focus,
#civ31-lightbox button:active,
.civ31-overlay-close,
.civ31-overlay-close:hover,
.civ31-overlay-close:focus,
.elementor-swiper-button,
.elementor-swiper-button:hover,
.elementor-swiper-button:focus,
.swiper-button-prev,
.swiper-button-prev:hover,
.swiper-button-prev:focus,
.swiper-button-next,
.swiper-button-next:hover,
.swiper-button-next:focus {
	background: transparent !important;
	background-color: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

#civ31-lightbox button:focus {
	outline: none !important;
}

.civ31-lb-close:hover {
	opacity: 0.75;
}

#civ31-lightbox.thumbs-open .civ31-lb-close {
	left: calc((100vw - 320px) / 2);
}

.civ31-lb-close::before,
.civ31-lb-close::after {
	content: "";
	display: inline-block;
	position: absolute;
	height: 2px;
	width: 16px;
	background-color: #ffffff;
	top: calc(50% - 7px);
	left: 100%;
}

.civ31-lb-close::before {
	transform: rotate(45deg) scale(0.5);
}

.civ31-lb-close::after {
	transform: rotate(-45deg) scale(0.5);
}

.civ31-lb-arrow {
	position: absolute;
	top: 50%;
	margin-top: -50px;
	width: 45px;
	height: 45px;
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 25px;
	line-height: 45px;
	cursor: pointer;
	z-index: 10;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.civ31-lb-arrow:hover {
	opacity: 0.75;
}

.civ31-lb-prev {
	left: 7%;
}

.civ31-lb-prev::after {
	content: "⟶";
	display: inline-block;
	transform: rotate(-180deg);
}

.civ31-lb-next {
	right: 7%;
}

.civ31-lb-next::after {
	content: "⟶";
	display: inline-block;
}

.civ31-lb-stage {
	position: absolute;
	top: 72px;
	bottom: 72px;
	left: 48px;
	right: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.civ31-lb-image,
.civ31-lb-video {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	pointer-events: auto;
	transition: opacity 0.2s ease;
	outline: none;
	background: #000000;
}

.civ31-lb-counter {
	position: absolute;
	left: 7%;
	bottom: 6.9vh;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 21px;
	line-height: 26px;
	font-weight: 300;
	color: #ffffff;
	opacity: 0.15;
	z-index: 10;
}

.civ31-lb-caption {
	position: absolute;
	left: calc(7% + 80px);
	bottom: 6.9vh;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 21px;
	line-height: 26px;
	color: #ffffff;
	z-index: 10;
}

.civ31-lb-caption strong {
	font-weight: 700 !important;
	color: #ffffff;
}

.civ31-lb-thumbs-btn {
	position: absolute;
	right: 6%;
	bottom: 6.75vh;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: transparent;
	border: none;
	color: #ffffff;
	cursor: pointer;
	z-index: 10;
	padding: 0;
}

.civ31-lb-thumbs-btn::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 21px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	transform: scale(1.075);
	background-color: currentColor;
	box-shadow: 0 -7px 0, -7px -7px 0, 7px -7px 0, inset 0 0 0 32px,
		-7px 0 0, 7px 0 0, 0 7px 0, -7px 7px 0, 7px 7px 0;
}

.civ31-lb-thumbs-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 320px;
	background: #ffffff;
	padding: 24px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.29, 0.09, 0.22, 0.98);
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	align-content: start;
}

#civ31-lightbox.thumbs-open .civ31-lb-thumbs-drawer {
	transform: translateX(0);
}

.civ31-lb-thumb-item {
	cursor: pointer;
	border: 2px solid transparent;
	overflow: hidden;
	opacity: 0.65;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.civ31-lb-thumb-item.is-active,
.civ31-lb-thumb-item:hover {
	opacity: 1;
	border-color: #000000;
}

.civ31-lb-thumb-item img {
	width: 100%;
	height: auto;
	display: block;
}

/* Airtifact 4-Tier Breakpoint Parity: portable-- (1025px .. 1680px) */
@media (min-width: 1025px) and (max-width: 1680px) {
	.e-con.civ31-portable-hide { display: none !important; }
	.e-con.civ31-portable-half-twelfth { --width: 4.1667% !important; }
	.e-con.civ31-portable-one-twelfth { --width: 8.3333% !important; }
	.e-con.civ31-portable-two-twelfths { --width: 16.6667% !important; }
	.e-con.civ31-portable-three-twelfths { --width: 25% !important; }
	.e-con.civ31-portable-four-twelfths { --width: 33.3333% !important; }
	.e-con.civ31-portable-five-twelfths { --width: 41.6667% !important; }
	.e-con.civ31-portable-six-twelfths { --width: 50% !important; }
	.e-con.civ31-portable-seven-twelfths { --width: 58.3333% !important; }
	.e-con.civ31-portable-eight-twelfths { --width: 66.6667% !important; }
	.e-con.civ31-portable-nine-twelfths { --width: 75% !important; }
	.e-con.civ31-portable-ten-twelfths { --width: 83.3333% !important; }
	.e-con.civ31-portable-eleven-twelfth,
	.e-con.civ31-portable-eleven-twelfths { --width: 91.6667% !important; }
	.e-con.civ31-portable-one-whole { --width: 100% !important; }
}

/* Responsive outer horizontal gutter on KCM rows */
@media (max-width: 1024px) {
	.e-con.civ31-padded-row {
		padding-left: calc(10vw - 15px) !important;
		padding-right: calc(10vw - 15px) !important;
	}
}
