.nf-field-label .nf-label-span,
.nf-field-label label {
	font-weight: 600 !important;
}

.nf-form-fields-required,
.nf-error-msg.nf-error-field-errors {
	display: none !important;
}

.nf-error-msg {
	font-size: 16px !important;
	color: var(--tt-main-color) !important;
}

.nf-error .ninja-forms-field {
	border-color: var(--tt-main-color) !important;
}

.ninja-forms-req-symbol {
	color: inherit !important;
}


.nf-field-container .checkbox-wrap input[type=checkbox],
.nf-field-container .list-radio-wrap input[type=radio] {
	-webkit-appearance: none;
	background-color: #d1d1d1;
	padding: 9px;
	border-radius: 4px;
	display: inline-block;
	position: relative;
	border: none !important;
}


.nf-field-container .checkbox-wrap .nf-field-label {
	padding-left: 0 !important;
}

.nf-field-container .checkbox-wrap label {
	display: inline-block;
	margin-left: 10px;
	margin-bottom: 0;
	cursor: pointer !important;
	font-weight: 600 !important;
}

.nf-field-container .checkbox-wrap input[type=checkbox]:checked:after,
.nf-field-container .list-radio-wrap input[type=radio]:checked:after {
	content: ' ';
	left: 6px;
	top: 3px;
	width: 5px;
	height: 10px;
	position: absolute;
	border: solid #000;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}



#nf-field-180-container {
	margin-bottom: 0 !important;
}

div.nf-field-element > ul {
	display: flex;
	flex-wrap: wrap; /* rivittyy jos ei mahdu */
	gap: 1.5em; /* väli painikkeiden väliin */
	padding: 0;
	margin: 0;
	list-style: none;
}

.list-checkbox-wrap .nf-field-element li label, .list-image-wrap .nf-field-element li label, .list-radio-wrap .nf-field-element li label {
	cursor: pointer;
}

div.nf-field-element > ul > li {
	margin: 0;
}

.nf-field-container .checkbox-wrap input[type=checkbox] {
	margin-top: 0;
}

#ninja_forms_required_items,
.nf-field-container {
	margin-bottom: 15px !important;
}

.nf-field-container .checkbox-wrap input[type=checkbox]:checked {
	color: #99a1a7;
	/*box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1), inset 0px 0px 10px rgba(0,0,0,0.1);*/
}

.nf-field-container .checkbox-wrap input[type=checkbox]:active,
.label-right .checkbox-wrap input[type=checkbox]:checked:active {
	/*box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);*/
}

.cta-btns-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.cta-btns-wrapper.right:not(.overlapping) {
	justify-content: flex-end;
}

.cta-btns-wrapper.overlapping {
	flex-direction: column;
}

.cta-btns-wrapper.overlapping.left .tt-btn {
	margin-right: auto;
}

.cta-btns-wrapper.center {
	align-items: center;
	justify-content: center;
}

.cta-btns-wrapper.right .tt-btn {
	margin-left: auto;
	margin-right: 0;
}

.cta-btns-wrapper.right:not(.overlapping) .tt-btn {
	margin-left: 15px;
	margin-right: 0;
}

.cta-btns-wrapper.overlapping.right .tt-btn {
	margin-right: 0;
}

.cta-btns-wrapper .tt-btn {
	flex-grow: 0
}

.img-wrapper img {
	display: block;
	border-radius: 0px;	
}

.img-wrapper.center img {
	margin-left: auto;
	margin-right: auto;
}

.img-wrapper.left img {
	margin-left: 0;
	margin-right: auto;
}

.img-wrapper.right img {
	margin-left: auto;
	margin-right: 0;
}

/*@media (min-width: 1024px) and (max-width: 1109px) {
	.tt-main-menu-list > li	{
		padding: 0 10px;
	}
	
	.tt-main-menu-list > li > a {
		padding: 20px 3px;
		font-size: 13px;
	}
}*/

textarea {
	resize: none !important;
}

.margin-top-neg-20 {
	margin-top: -20px !important;
}

.tt-section.text-white,
.tt-section.text-white p,
.tt-section.text-white ul,
.tt-section.text-white ol,
.tt-section.text-white li,
.tt-section.text-white h1,
.tt-section.text-white h2,
.tt-section.text-white h3,
.tt-section.text-white h4,
.tt-section.text-whiteh h5,
.tt-section.text-white h6 {
	color: #fff;
}

/*
.tt-section.fixed-bg .tt-section-image > img,
.tt-section.fixed-bg .anim-image-parallax-inner img {
	height: 100%;
	object-fit: cover;
}*/

.tt-blog-post-tags a {
	pointer-events: none;
	user-select: none;
}

ul.ttgr-cat-classic-list,
ul.ttgr-cat-classic-list>li,
ul.ttgr-cat-classic-list>li>a {
	user-select: none;
}

.tt-submenu-trigger.no-arrow>a::after {
	display: none;
}

@media (min-width: 1025px) {
	.tt-submenu {
		width: auto;
		padding-right: 20px;
	}

	.tt-submenu.lang-selection {
		left: -20px;
	}
}

.lang-menu>a {
	pointer-events: none;
}

.tt-m-menu-toggle-btn span.change-color::before,
.tt-m-menu-toggle-btn span.change-color::after {
	background-color: #0b1519 !important;
}

@media (max-width: 1024px) {
	#content-wrap>.tt-section:first-child {
		padding-top: 120px;
	}
}

.portfolio-grid .logo-title-wrapper {
	display: flex;
	flex-direction: column;
	/* Laita logo ja otsikko pystysuoraan */
	justify-content: center;
	/* Keskittää pystysuunnassa */
	align-items: center;
	/* Keskittää vaakasuunnassa */
}

.portfolio-grid .pgi-caption-inner {
	display: flex;
	flex-direction: column;
	/* Varmistaa, että logo ja otsikko ovat pystysuorassa */
	justify-content: left;
	/* Keskittää pystysuunnassa */
	align-items: flex-start;
	/* Keskittää vaakasuunnassa */
	height: 100%;
	/* Varmistaa, että täyttää koko tilan pystysuunnassa */
	text-align: left;

}


.portfolio-grid .portfolio-logo {
	width: auto;
	height: 60px;
	filter: brightness(0) invert(1);
	/*transform-origin: 50% 0%;*/
}

@media (max-width: 1024px) {
	.portfolio-grid .portfolio-logo {
		width: auto;
		height: 60px;


	}
}

.portfolio-grid.pgi-cap-inside .pgi-caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	/* Varmistaa, että elementti täyttää koko käytettävissä olevan tilan */
	padding: 0 8%;
	z-index: 2;
	text-align: center;
}


.portfolio-grid .flex-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	text-align: center;
	margin-top: 10%;
}

.portfolio-grid .pgi-caption h2 {
	margin-top: 2vw;
	margin-bottom: 0;
	display: none;
}

.portfolio-grid .content-wrapper {
	max-height: 180px;
	text-align: center;
	display: inline-block;
	/* Vain tarvittavan korkuinen */
}

.ref-list-description {
	transform: scale(0.8);
	transform-origin: 50% 50%;
}

.tt-section:not(.text-white) .cta-btns-wrapper .tt-btn-line {
	background-color: #0a0a0a !important;
}

.mobile-nav-contacts {
	color: #0a0a0a;
	margin: 40px 0;
	font-size: 16px;
	margin-top: 80px;
	letter-spacing: -0.01em;
}

.mobile-nav-contacts a {
	color: inherit !important;
	font-size: inherit !important;
}


.round-image {
	border-radius: 100px;
}


.tt-accordion .tt-accordion-heading .tt-ac-head-title .icon {
	display: inline-block;
	min-width: 1.6em;
}

.tt-grid-item .play-icon,
[data-engine="grid"] .rfm-card .play-icon {
	color: white;
	font-size: clamp(40px, 8vw, 80px);
	/* Minimissään 50px, maksimissaan 100px, ja suhteellinen 10vw */
	position: absolute;
	top: 50%;
	/* Keskittää pystysuunnassa */
	left: 50%;
	/* Keskittää vaakasuunnassa */
	transform: translate(-50%, -50%);
	/* Täsmällinen keskitys */
	z-index: 99;
	opacity: 1;
	transition: opacity 500ms ease-in-out;
	pointer-events: none;
	/* Estää kuvakkeen klikkaukset */
}

.tt-grid-item:hover .play-icon,
[data-engine="grid"] .rfm-card:hover .play-icon {
	opacity: 0;
}


#page-header .credits {
	position: absolute;
	color: #fff;
	font-size: 10px;
	right: 15px;
	bottom: 10px;
	z-index: 180;
	user-select: none;
	opacity: 0.7;
	letter-spacing: 0.03em;
}

@media (max-width: 767px) {
	#page-header .credits {
		display: none;
	}
	
	.no-mobile-padding-top {
		padding-top: 0 !important;
	}

}


@media (max-width: 1024px) {
	.padding-top-400 {
		padding-top: 400px !important;
	}
}

.tt-logo {
	transition: opacity 500ms ease-in-out;
}

body.tt-ol-menu-open .tt-logo {
	opacity: 1 !important;
}


/* Isotope-laajennokset by RFM */

/* ==== RFM Isotope grid – clean setup ==== */

/* 0) Nollaa teeman ratio-padding (ettei tule kaksoiskorkeutta) */
.tt-grid[class*="ttgr-layout-"] .ttgr-height {
	padding-bottom: 0 !important;
}

/* 1) Kortin perusrakenne: korkeus vain aspect-ratiosta */
.ttgr-height {
	position: relative;
	overflow: hidden;
	line-height: 0;
	/* jos et käytä .ttgr-layout-square -luokkaa, voit asettaa oletus-ration tähän */
}

/* Media sisään ankkuroituna -> ei muuta kortin mittoja kun latautuu */
.ttgr-height picture,
.ttgr-height img,
.ttgr-height video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 2) Square-moodi: neliöt oletuksena */
.tt-grid.ttgr-layout-square .ttgr-height {
	aspect-ratio: 1 / 1;
}

/* Videothumbs (voit vaihtaa tarvittaessa) */
.tt-grid .tt-gallery-video-wrap.ttgr-height {
	aspect-ratio: 16 / 9;
}

/* 3) 1/2/3 -LEVEYDET (sekä loop-variantti) */

/* --- 1/2/3-loop: 1 täysleveä, 2 kpl 50%, 3 kpl 33.333% ja toistuu --- */
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item {
	width: 100%;
}
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+2),
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+3) {
	width: 50%;
}
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+4),
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+5),
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+6) {
	width: 33.33333%;
}

/* --- 1/2/3: 6 kohdan sykli ja jatkuu (1,2,3,1,2,3,...) --- */
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+1) {
	width: 100%;
}
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+2),
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+3) {
	width: 50%;
}
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+4),
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+5),
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+6) {
	width: 33.33333%;
}
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+7) {
	width: 100%;
}
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+8),
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+9) {
	width: 50%;
}
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+10),
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+11),
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+12) {
	width: 33.33333%;
}

/* 4) KORKEUSLOGIIKKA 1/2/3-LAYOUTISSA (vain aspect-ratio) */

/* Täysleveä “hero” matalampi (≈ 49% korkeutta leveydestä) */
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+1) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+7) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+1) .ttgr-height {
	aspect-ratio: 100 / 49;
}

/* 50% laatikot – neliöt */
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+2) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+3) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+8) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+9) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+2) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+3) .ttgr-height {
	aspect-ratio: 1 / 1;
}

/* 33.333% laatikot – neliöt */
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+4) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+5) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+6) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+10) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+11) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3 .tt-grid-item:nth-child(6n+12) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+4) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+5) .ttgr-height,
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item:nth-child(3n+6) .ttgr-height {
	aspect-ratio: 1 / 1;
}

/* 5) RESPONSIVE */

/* Alle 768px – yksi sarake, neliöt riittää */
@media (max-width: 767px) {
	.tt-grid.ttgr-layout-1-2-3 .tt-grid-item,
	.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item {
		width: 100% !important;
	}
	.tt-grid.ttgr-layout-1-2-3 .ttgr-height,
	.tt-grid.ttgr-layout-1-2-3-loop .ttgr-height {
		aspect-ratio: 1 / 1 !important;
	}
}

/* 768–1024px – kaksi saraketta, neliöt */
@media (min-width: 768px) and (max-width: 1024px) {
	.tt-grid.ttgr-layout-1-2-3 .tt-grid-item,
	.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-item {
		width: 50% !important;
	}
	.tt-grid.ttgr-layout-1-2-3 .ttgr-height,
	.tt-grid.ttgr-layout-1-2-3-loop .ttgr-height {
		aspect-ratio: 1 / 1 !important;
	}
}

/* 6) (Valinnainen) vaihda vw-gutterit pikseleihin välttääksesi pyöristysvirheitä */
.tt-grid.ttgr-gap-2 .ttgr-item-inner {
	margin: 0 12px 24px; /* korvaa 1vw/2vw, jos teema käyttää niitä */
}

/* Oletus (fallback, jos joku layout unohtuu) */
.tt-grid .tt-grid-sizer { width: 8.3333%; } /* 1/12 – toimii kaikelle, mutta ei aina optimaalinen */

/* Yksi sarake */
.tt-grid.none .tt-grid-sizer,
.tt-grid.ttgr-layout-1 .tt-grid-sizer { width: 100%; }

/* 2, 3, 4 saraketta (tasajako) */
.tt-grid.ttgr-layout-2 .tt-grid-sizer { width: 50%; }
.tt-grid.ttgr-layout-3 .tt-grid-sizer { width: 33.3333%; }
.tt-grid.ttgr-layout-4 .tt-grid-sizer { width: 25%; }

/* 1/2, 2/1, 2/3, 3/2, 1/2/3, 1/2/3-loop → 100/50/33.333 => 1/6 */
.tt-grid.ttgr-layout-1-2     .tt-grid-sizer,
.tt-grid.ttgr-layout-2-1     .tt-grid-sizer,
.tt-grid.ttgr-layout-2-3     .tt-grid-sizer,
.tt-grid.ttgr-layout-3-2     .tt-grid-sizer,
.tt-grid.ttgr-layout-1-2-3   .tt-grid-sizer,
.tt-grid.ttgr-layout-1-2-3-loop .tt-grid-sizer { width: 16.6667%; }

/* 3/4 ja 4/3 -jaot → 75/50/25 => 1/12 */
.tt-grid.ttgr-layout-3-4 .tt-grid-sizer,
.tt-grid.ttgr-layout-4-3 .tt-grid-sizer { width: 8.3333%; }

/* Suositus: käytä px-guttereita, vältä vw-pyöristyksiä */
.tt-grid.ttgr-gap-2 .ttgr-item-inner { margin: 0 12px 24px; }


/* Isotopen laajennokset By RFM päättyy */




/* Grid-galleria */

/* Vain grid-enginelle */
[data-engine="grid"] .rfm-grid-gallery {}

/* Kortin mitta lukkoon */
[data-engine="grid"] .rfm-card { position: relative; }

/* Aspect-ratio: oletus neliö – sama kuville ja videoille */
[data-engine="grid"] .rfm-ar { position: relative; overflow: hidden; }
[data-engine="grid"] .rfm-ar--square,
[data-engine="grid"] .rfm-ar--video {
	aspect-ratio: 1 / 1;
}

/* Media peittää kortin */
[data-engine="grid"] .rfm-ar img,
[data-engine="grid"] .rfm-ar video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}

/* Mobile: pakota 1-sarake */
@media (max-width: 767px) {
	[data-engine="grid"] .rfm-grid-gallery > [class*="tt-col-"] {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Gutterit */
[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-1 > [class*="tt-col-"] { padding: 5px; }
[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-2 > [class*="tt-col-"] { padding: 10px; }
[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-3 > [class*="tt-col-"] { padding: 15px; }
[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-4 > [class*="tt-col-"] { padding: 20px; }

[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-1 { margin-left:-5px;  margin-right:-5px; }
[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-2 { margin-left:-10px; margin-right:-10px; }
[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-3 { margin-left:-15px; margin-right:-15px; }
[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-4 { margin-left:-20px; margin-right:-20px; }

/* Mobile: reunoille sama spacing kuin pystygutter (2×gap) */
@media (max-width: 767px) {

	/* poista negatiivimarginaalit mobiilissa */
	[data-engine="grid"] .rfm-grid-gallery {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* wrapper: lisää vasen/oikea padding = 1×gap */
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-1 { padding-left: 5px;  padding-right: 5px;  }
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-2 { padding-left: 10px; padding-right: 10px; }
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-3 { padding-left: 15px; padding-right: 15px; }
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-4 { padding-left: 20px; padding-right: 20px; }

	/* sarakkeet: vain ylä/ala padding, ei vasen/oikea */
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-1 > [class*="tt-col-"] {
		padding: 5px 0 !important;
	}
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-2 > [class*="tt-col-"] {
		padding: 10px 0 !important;
	}
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-3 > [class*="tt-col-"] {
		padding: 15px 0 !important;
	}
	[data-engine="grid"] .rfm-grid-gallery.ttgr-gap-4 > [class*="tt-col-"] {
		padding: 20px 0 !important;
	}
}




/* --- LAYOUT-SPESIFIT OVERRIDET ----------------------------------------- */

/* 1/2/3 ja 1/2/3-loop: kaikki täysleveät kortit (col-12 / col-lg-12) ovat matalampia 2:1 */
[data-engine="grid"].ttgr-layout-1-2-3 .tt-col-12 .rfm-ar,
[data-engine="grid"].ttgr-layout-1-2-3 .tt-col-lg-12 .rfm-ar,
[data-engine="grid"].ttgr-layout-1-2-3-loop .tt-col-12 .rfm-ar,
[data-engine="grid"].ttgr-layout-1-2-3-loop .tt-col-lg-12 .rfm-ar {
	aspect-ratio: 2 / 1 !important; /* käytä 2.5/1 jos haluat matalammaksi */
}

/* Yleissääntö: sekoitetuissa layouteissa 100% leveä kortti on matalampi */
@media (min-width: 992px) {
	[data-engine="grid"]
	:is(.ttgr-layout-1-2,
		.ttgr-layout-2-1,
		.ttgr-layout-2-3,
		.ttgr-layout-3-2,
		.ttgr-layout-3-4,
		.ttgr-layout-4-3,
		.ttgr-layout-1-2-3,
		.ttgr-layout-1-2-3-loop)
	:is(.tt-col-12, .tt-col-lg-12) .rfm-ar {
		aspect-ratio: 2 / 1 !important;
	}
}



/* Grid-engine hover zoom */
/* Oletus: ei pysyvää will-changea */
[data-engine="grid"] .rfm-card .rfm-ar img,
[data-engine="grid"] .rfm-card .rfm-ar video {
  transition: transform 0.5s ease;
  /* Suositus: varmista, että .rfm-ar:lla on overflow: hidden; */
}

/* will-change vain kuville, koska vain niitä animoidaan */
[data-engine="grid"] .rfm-card .rfm-ar:hover img,
[data-engine="grid"] .rfm-card .rfm-ar:focus-within img,
[data-engine="grid"] .rfm-card .rfm-ar:focus-visible img {
  will-change: transform;
}

/* Saavutettavuus */
@media (prefers-reduced-motion: reduce) {
  [data-engine="grid"] .rfm-card .rfm-ar img,
  [data-engine="grid"] .rfm-card .rfm-ar video {
    transition: none;
    transform: none;
  }
}

/* Zoom vain kuville, vain laitteilla joissa hover on käytössä */
@media (hover: hover) {
  .rfm-card:hover .rfm-ar img {
    transform: scale(1.05);
  }
}

/* Videoihin ei kosketa */
.rfm-card:hover .rfm-ar video {
  transform: none;
}



[data-engine="grid"] .rfm-image-hover-zoom {
	overflow: hidden;
}

[data-engine="grid"] .rfm-image-hover-zoom img {
	transition: transform 0.5s ease;
	will-change: transform;
}

[data-engine="grid"] .rfm-card:hover .rfm-image-hover-zoom img {
	transform: scale(1.05);
}

/* Grid-galleria päättyy */











.tt-grid.zoom-effect .tt-grid-item .pgi-image {
	transition: all 1s cubic-bezier(.165, .84, .44, 1);
}

.tt-grid.zoom-effect .pgi-image:hover {
	transform: scale(1.05);
}


.tt-section.text-white .tt-btn-link *,
.tt-section.text-white .tt-btn-link *::after {
	color: #fff !important;
}


/*
@media (max-width: 767px) {
	.tt-grid.portfolio-samples .tt-grid-item {
		width: 50%;
	}
}
*/


/* Cookiebot */

/*
#CybotCookiebotDialog {
	border-radius: 0 !important;
}

#CybotCookiebotDialogPoweredbyLink+a,
.CookiebotWidget-main-logo {
	display: none !important;
}

#CybotCookiebotDialog>div:first-child {
	display: none;
}

#CybotCookiebotDialog.CybotEdge {
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}

#CybotCookiebotDialog,
#CybotCookiebotDialog * {
	font-family: "Lato", sans-serif;
}

#CybotCookiebotDialogBodyContentText {
	font-size: 12px !important;
}

#CybotCookiebotDialog button,
#CookiebotWidget button {
	border-radius: 999px !important;
	border-width: 1px !important;
	font-weight: 400 !important;
}

#CybotCookiebotDialog button {
	transform: scale(0.8) !important;
	transform-origin: 50% top !important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton:not(:first-of-type) {
	margin-bottom: 0 !important;
}

#CybotCookiebotDialog h2 {
	font-weight: 400 !important;
	font-family: "geller-headline", sans-serif !important;
	font-size: 1.6em;
	letter-spacing: 0 !important;

}


#CybotCookiebotDialogBodyEdgeMoreDetailsLink,
.CybotCookiebotDialogBodyBottomWrapper,
#CybotCookiebotDialogHeaderLogosWrapper,
#CybotCookiebotDialogHeader {
	display: none !important;
}

#CybotCookiebotDialog .CybotCookiebotDialogNavItem,
#CybotCookiebotDialog .CybotCookiebotDialogNavItem * {
	font-weight: 400 !important;
}

#CookiebotWidget {
	left: auto !important;
	right: 35px !important;
	bottom: 30px !important;
	z-index: 500 !important;
}

#CookiebotWidget.CookiebotWidget-open {
	border-radius: 0 !important;
	right: 10px !important;
	bottom: 10px !important;
}

#CookiebotWidget.CookiebotWidget-open #CookiebotWidget-widgetContent {
	border-radius: 0 !important;
}

#CookiebotWidget:not(.CookiebotWidget-open) {
	display: none !important;
}
*/

/* / Cookiebot */

@media (max-width: 540px) {
	.tt-bp-nav-left {
		border: none;
	}
}

.tt-scroll-down {
	left: 5%;
}

#page-header.ph-left {
	text-align: left;
}

#page-header.ph-right {
	text-align: right;
}

.page-header-inner .ph-logo {
	width: 200px;
	max-width: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
}

.page-header-inner .ph-logo img {
	max-height: 180px;
    margin-right: 40px;
    margin-left: 40px;
}

.tt-logo-wall.no-border>li {
	
	border-width: 0;
	
}

.tt-section.no-overlay>div.cover-opacity-5::before {
	
	opacity: 0;
	
}

/* 16:9 vain YouTube/Vimeo-iframeille */
.tt-section.columns iframe[src*="youtube"],
.tt-section.columns iframe[src*="vimeo"] {
	height: auto;            /* ok videoille */
	aspect-ratio: 16 / 9;
}

.breadcrumbs {
	cursor: default;
}

body.page-header-on .breadcrumbs {
	padding-bottom: 0;
}

.breadcrumbs i {
    margin: 0 5px;
}

.breadcrumbs a {
	transform: color 350ms ease;
}

.breadcrumbs a:hover {
	color: #707070;
}

.lg-sub-html {
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 16px;
	letter-spacing: 0.01em;
}


#gtranslate_wrapper, .gt_float_switcher, .gt_switcher_wrapper {
	display: none !important;
}

img.rounded-img {
	border-radius: 30px;
	box-shadow: 1px 1px 25px -7px rgba(0, 0, 0, 0.5);
}


.tt-blog-post-content img {
	border-radius: 5px;
}









.quote-widget {
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
	margin-bottom: 40px;
}

.quote-widget .quote-card {
	position: relative;
	background: linear-gradient(135deg, #efeff1, #f8f8f8);
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);	
	padding: 2.5rem 3.5rem 5rem 2.5rem;
	/*margin-right: 45px;
	margin-left: 30px;
	max-width: 500px;*/
	max-width: 468px;
	position: relative;
}

.quote-widget .profile-img {
	position: absolute;
	top: -70px;
	right: 70px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 5px solid #fff;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	user-select: none;
	pointer-events: none;
}

.quote-widget .profile-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.quote-widget blockquote {
	margin: 0;
	padding-top: 1.3rem;
	padding-left: 1.3rem;
	color: #57597a;
	font-size: 1rem;
	line-height: 1.5;
	text-align: left;
	border: none;
	text-decoration: none;
	font-style: normal;
}

.quote-widget blockquote .quote-mark {
	font-size: 3rem;
	color: #CDCED7;
	margin-bottom: 1rem;
	display: block;
}

.quote-widget cite {
	display: block;
	margin-top: 1.5rem;
	font-weight: bold;
	color: #57597a;
	font-style: normal;
}


@media (max-width: 991px) {
	.quote-widget .profile-img {
		top: -70px;
		right: 50px;
	}
}


@media (max-width: 767px) {

	.quote-widget blockquote .quote-mark {
		font-size: 2rem;
	}

	.quote-widget .quote-card {
		padding: 1.5rem 2.5rem 2.5rem 1.5rem;
	}

	.quote-widget blockquote {
		font-size: 1.1rem;
	}

	.quote-widget .profile-img {
		transform: scale(0.7);
		transform-origin: center bottom;
		top: -100px;
		right: 20px;
	}
}

@media (max-width: 400px) {
	.quote-widget .profile-img {
		transform: scale(0.5);
		transform-origin: center bottom;
		top: -108px;
		right: 0;	
	}

}

.gradient-icon {
  background: linear-gradient(45deg, #212121, #039dfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.nf-field-description {
	text-align: left !important;
}

.nf-field-description p {
	font-size: 16px;
	margin-bottom: 20px !important;
}

.field-wrap.file_upload-wrap {
	text-align: left !important;
}

.btn.nf-fu-fileinput-button {
	background: var(--tt-secondary-color);
	color: #fff;
	height: 35px;
	margin: 10px 15px 10px 0;
	padding: 0 16px;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	overflow: hidden;
	cursor: pointer;
	border: none;
	border-radius: 50px;
	z-index: 9;
	text-transform: uppercase;
}

.btn.nf-fu-fileinput-button:hover {
	opacity: 0.8;
}


.nf-fu-progress {
	display: none;
}

.tt-section ul.fa-ul li .fa-arrow-right-long {
	color: #4DA6B3;
}

.ph-category.date {
	color: #212121 !important;
}

.tt-blog-post-content ul.fa-ul {
	font-weight: 600;
}

#tt-header.tt-header-fixed {
	box-shadow: 0 1px 28px -8px rgba(0, 0, 0, .25);
}

/* Loaderin animointi */
.ptr-prel-image {
	animation: pulse 2.5s ease-in-out infinite;
	transform-origin: center center;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: .5;
	}
	50% {
		transform: scale(1.08);
		opacity: 0.2;
	}
	100% {
		transform: scale(1);
		opacity: .5;
	}
}

@media (max-width: 767px) {
	.tt-grid-item {
		height: auto !important;
	}
}

.tt-grid-item p:last-child {
	margin-bottom: 0 !important;	
}

.staff-member {
	width: 400px;
}

@media (max-width: 767px) {
	.staff-member {
		display: block;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		max-width: 200px !important;
		height: auto;
	}
}

.watch-image-crop {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	display: block;
	background-color: #f0f0f0; /* Varmistus, jos kuva puuttuu */
}

.watch-image-crop img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Kellosivun (single) karuselli */

.tt-gallery-main {
	position: relative;
	user-select: none;
}

.tt-gallery-main a {
	cursor: zoom-in;
}

.tt-nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	font-size: 24px;
	font-weight: bold;
	color: #000;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	opacity: 0.3;
	transition: opacity 350ms ease;
	user-select: none;
}

.tt-nav-arrow:active {
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.tt-nav-arrow:hover {
		opacity: 1;
	}
}

.tt-nav-arrow:focus {
	outline: none;
}

.tt-nav-arrow.swiper-button-disabled {
	opacity: 0.15;
	cursor: default;
}

.tt-gallery-prev {
	left: 10px;
}

.tt-gallery-next {
	right: 10px;
}

.tt-gallery-thumbs {
	user-select: none;
}

.tt-gallery-thumbs .swiper-slide {
	cursor: pointer;
}


.tt-thumb-square {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.tt-thumb-square img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 2px solid transparent;

}

.tt-gallery-thumbs .swiper-slide-thumb-active img {
	border: 2px solid #8b8b8b;
	opacity: 1;
	border-radius: 5px;
}

/* Poistaa sinisen korostuksen kaikista elementeistä */
* {
	-webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
	.margin-bottom-mobile-30 {
		margin-bottom: 30px !important;
	}
}


/* Fiksaa tekstikenttien marginaalit, jos p -elementin jälkeen on heti listaelementti */

.tt-section.columns .text-content p+ul,
.tt-section.columns .text-content p+ol {
	margin-top: 0 !important;
}

.tt-section.columns .text-content p:has(+ ul),
.tt-section.columns .text-content p:has(+ ol) {
	margin-bottom: 15px !important;
}

#nf-field-215-container,
#nf-field-216-container,
#nf-field-183-container {
	margin-bottom: 0 !important;
}

.tt-bci-brand {
	color: #8b8b8b;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.02em;	
}

.tt-bci-brand,
.tt-bci-categories {
	margin-bottom: 0.1em;
}

.tt-bci-title.price {
	font-size: 16px;
	margin-top: 0.7em;
}

.tt-grid-item.isotope-item {
	cursor: default;
}

/* KategoriFiltteripainikkeet */
.ttgr-cat-classic-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttgr-cat-classic-item a {
	display: inline-block;
	padding: 0.4rem 1.2rem;
	background-color: #eee;
	color: #222;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: 9999px;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.ttgr-cat-classic-item a:hover:not(.active) {
	background-color: #ddd;
}

.ttgr-cat-classic-item a.active {
	background-color: var(--tt-main-color);
	color: #fff;
}

.image-wrapper.squared {
	aspect-ratio: 1 / 1;
	width: 100%;
	position: relative;
	overflow: hidden;
	display: block;
}

.image-wrapper.squared img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* Luettelomerkit */

.tt-section .text-content ul:not([class]),
.tt-section .text-content ul[class=""] {
	list-style: none;
	padding-left: 0;
}

.tt-section .text-content ul:not([class]) li,
.tt-section .text-content ul[class=""] li {
	position: relative;
	padding-left: 1.5em;
	margin-bottom: 0.5em;
	font-weight: 500;
	line-height: 1.3;

}

/* luettelomerkin "nuoli oikealle" Font Awesome 7 Free -tyyliin */
.tt-section .text-content ul:not([class]) li::before,
.tt-section .text-content ul[class=""] li::before {
	content: "\f061"; /* arrow-right – Free Solid */
	font: var(--fa-font-solid);
	position: absolute;
	left: 0;
	top: 6px;
	color: #4DA6B3;
	font-size: 0.75em;
	line-height: 1.2;
}


#footer .social-icons {
	margin: 0;
}

#footer .social-icons .tripadvisor-icon {
	transform: translateY(1px) translateX(-2px);
	width: 30px;
	transition: filter 0.4s ease;
}

#footer .social-icons li > a {
	color: #3D4445 !important;
	font-size: 25px !important;
	margin-right: 10px;
	transition: opacity 300ms ease;
}

#footer .social-icons li:last-child > a {
	margin-right: 0;
}

#footer .social-icons li > a:hover {
	opacity: 0.5;
}

/* Kuva taustalle */
body.has-bg-image .body-bg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 60vh;
	z-index: -1;

	background-position: top;
	background-size: cover;
	background-repeat: no-repeat;
	/* HUOM: ei gradientteja tähän */
}

/* Kaikki gradient-kerrokset päälle pseudo-elementtinä */
body.has-bg-image .body-bg-image::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;

	background:
		/* Yläreunan fade */
		linear-gradient(to bottom,
			rgba(255,255,255,1) 0,
			rgba(255,255,255,0) 140px),

		/* Alareunan fade */
		linear-gradient(to top,
			rgba(255,255,255,1) 0,
			rgba(255,255,255,0) 140px),

		/* Koko kuvan päällä hento valkoinen */
		linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45));
}


/* Otsikkojen alleviivaukset (vaakaviiva) */


.tt-heading .tt-heading-subtitle:after {
	margin-top: 25px;	
}

.tt-section .text-center .tt-heading .tt-heading-subtitle:after,
#page-header .ph-category:after {
	margin: 25px 0 10px;
}

#footer .footer-heading {
	font-size: 22px;
	font-weight: 700;
}

#footer .footer-links {
	list-style: none;
	padding-inline-start: 0;
	padding-top: 0;
	padding-bottom: 30px;
}

#footer .footer-links li a:hover {
	text-decoration: underline;
	text-underline-offset: 7px;
}

p.boxed {
	background-color: #f5f5f5;
	border-radius: 5px;
	padding: 30px;
}

div.boxed {
	background-color: #f5f5f5;
	border-radius: 5px;
	padding: 30px;
}




#page-header .overlay-gradient {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 25vw;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.60) 0%,
		rgba(0, 0, 0, 0.36) 18%,
		rgba(0, 0, 0, 0.18) 42%,
		rgba(0, 0, 0, 0.08) 68%,
		rgba(0, 0, 0, 0.00) 92%
	);
	z-index: 9;
}




#tt-header {
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: default;
	position: relative; /* tarvitaan, että ::after asemoituu oikein */
}

#tt-header::after {
	content: "";
	position: absolute;
	top: 100%;	/* alkaa heti palkin alapuolelta */
	left: 0;
	right: 0;
	height: 20px;	/* varjon korkeus (30% kevyempi) */
	pointer-events: none;

	/* pystysuuntainen feidaus alas */
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.021) 0%,
		rgba(0, 0, 0, 0) 100%
	);

	/* sivusuuntainen häivytys reunoihin */
	-webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
}


#tt-header {
	background: #fff;
}

@media (min-width:1025px) {
	.tt-main-menu-list > li > a {
		display: inline-flex;
		align-items: center;
		gap: 8px;
	}


	.tt-main-menu-list > li.current-menu-item > a,
	.tt-main-menu-list > li > a:hover {
		text-decoration-line: underline;
		text-decoration-color: #4DA6B3;
		text-decoration-thickness: 2px;
		text-underline-offset: 10px;
	}

}




@media (max-width:1024px) {
	.tt-main-menu-list > li > a::before {
		display: none;
	}
}
/*
@media (min-width:1025px) and (max-width: 1140px) {
	.tt-main-menu-list > li > a {
		font-size: 16px;
		padding-left: 0;
		padding-right: 0;
	}
}*/

#tt-footer .icon-spacer {
	margin-left: 10px;
	margin-right: 10px;
	display: inline-block;
}

.tt-heading.line h3,
.big-title-wrapper h1,
.big-title-wrapper h2 {
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
}

.tt-heading.line h3::after,
.big-title-wrapper h1::after,
.big-title-wrapper h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 9vw;
	height: 3px;
	background-color: #4DA6B3;
	border-radius: 2px;
}

.tt-section .tt-section-inner.text-center .tt-heading-title::after {
	left: 50%;
	transform: translateX(-50%);
}


.text-lg {
	font-weight: 500;
}

.gray-box {
	padding: 6rem 2.6rem;
	border-radius: 1.6rem;
	background-color: #F4EFEA;
	background-image: url('/wp-content/themes/elisenia/assets/img/beige-bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 1px 1px 10px -7px rgba(0, 0, 0, 0.5);
	transition: transform .18s ease, box-shadow .18s ease;
	will-change: transform;
	text-align: center;
	
}

.gray-box:hover,
.gray-box:focus-within {
	transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
	.gray-box { transition: box-shadow .18s ease; }
	.gray-box:hover, .card:focus-within { transform: none; }
}

.gray-box *:first-child {
	margin-top: 0;
}

.gray-box *:last-child {
	margin-bottom: 0;
}

.gray-box h2,
.gray-box h3,
.gray-box h4,
.gray-box h5,
.gray-box h6 {
	color: #2F4C7E;
}

.match-height .gray-box p:first-child {
	text-align: center;	
}


.match-height .gray-box i.fas:first-child {
	font-size: 55px;
	text-align: center;
	/*color: #2F4C7E;*/
	background: linear-gradient(to bottom, #1f4e79, #2ca6a4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;	
}

.contact-box.match-height .gray-box i.fas:first-child {
	font-size: 40px !important;
	width: 2em;
}

@media (max-width: 576px) {

	.contact-box .gray-box {
		padding: 3rem 1.3rem;
	}

	.contact-box.match-height .gray-box i.fas:first-child {
		font-size: 30px !important;
	}
	
	.contact-box.match-height .gray-box h3,
	.contact-box.match-height .gray-box h4 {
		font-size: 18px !important;
	}
}

img.icon-art {
	opacity: .33;
	max-width: 270px;
}


.contact-box .gray-box {
	text-align: left !important;
	transform: none !important;
	transition: none !important;
}




.contact-box.match-height .gray-box h4 {
	margin-bottom: 2em;
}


/* Kortti */
.contact-card {
	background: #fff;
	border-radius: 50px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
	padding: 20px;
	max-width: 560px; /* alkuperäinen koko säilyy */
}

/* Rivien peruslinjaus */
.contact-row {
	display: flex;
	align-items: center;             /* pidä keskitys – kortin mitat eivät muutu */
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(0,0,0,0.06);
	border-radius: 50px;
	text-decoration: none;
	color: #222;
	transition: border-color .2s ease, box-shadow .2s ease, transform .08s ease;
}

.contact-row + .contact-row {
	margin-top: 10px;
}

/* Ikoniympyrä */
.contact-row .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: #EAF7F9; /* vaalea turkoosi tausta ikonille */
	color: #4DA6B3;       /* brändin turkoosi */
	font-size: 16px;
	flex: 0 0 44px;
	transition: all ease 300ms;

}

/* FA-glyfien optinen keskitys (kirjekuori jää usein vähän alas) */
.contact-row .icon i { line-height: 1; }
.contact-row .icon .fa-envelope { transform: translateY(-1px); }
/* (puhelimelle ei siirtoa) */

/* Tekstilohko */
.contact-row .label {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.contact-row .label strong {
	font-weight: 600;
	font-size: 18px;
}

.contact-row .label small {
	margin-top: 3px;
	color: #5b6774;
	font-size: 14px;
	line-height: 1.2;
}

/* Hover-tila: kevyt korostus */
.contact-row:hover {
	border-color: #4DA6B3;
	box-shadow: 0 6px 18px rgba(102,196,210,0.18);
	transform: translateY(-1px);
}
.contact-row:hover .icon {
	background: #4DA6B3;
	color: #fff;
}

/* Mobiili */
@media (max-width: 640px) {
	.contact-card {
		max-width: none;   /* venyy konttiin mobiilissa */
	}
	
	.contact-row .label strong {
		font-size: 14px;
	}
}

.ninja-forms-field.tt-btn {
	width: 100%;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 22px;
}

.nf-field-label label {
	font-size: 18px;
}

.nf-field-element textarea {
	padding: 30px;
}

#nf-label-field-226 {
	font-size: 16px;
}

/* Nurmikkokaista */
.grass-band {
	width: 100vw;
	/* Kuvasuhde grass.png: 2048x332 ≈ 6.16 */
	aspect-ratio: 2048 / 332;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
}

/* Nurmikkokuva */
.grass-band img {
	width: 100%;
	height: 100%;
	object-fit: contain;           /* Näytä koko kuva, ei rajauksia */
	object-position: bottom center; /* Ankkuroi alas keskelle */
	display: block;
}

#tt-footer a,
#tt-footer .footer-col * {
	color: #fff !important;
}

#tt-footer a {
	color: black !important;
}

#bottom-footer .copyright-text {
	opacity: 0.8;
}

#bottom-footer .copyright-text > div:first-child {
	margin-bottom: 20px;
}


@media (max-width: 1024px) {
	#tt-footer a,
	#tt-footer .footer-col * {
		color: #fff !important;
	}
	

	.tt-btn {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}



/* Logo */
#bottom-footer .delanet-logo {
	width: 85px;
	height: auto;
	margin-top: 20px;
	margin-left: 20px;
	transform: translateY(3px) scale(1) rotate(0);
	display: inline-block;
	transition: filter 0.6s ease;
	will-change: transform, filter;
}

/* Hover-tila – pysyvä lopputila */
#bottom-footer .delanet-logo:hover {
	filter: hue-rotate(180deg) saturate(1.2);
	animation: bounceLogo 0.6s ease forwards; /* forwards = jää viimeiseen keyframeen */
}

/* Kun hiiri lähtee pois */
#bottom-footer .delanet-logo:not(:hover) {
	animation: bounceBack 0.6s ease forwards; /* palauttaa perustilaan */
}

@media (max-width: 1024px) {
	#bottom-footer .footer-col--scroll {
		order: 3;
	}

	#bottom-footer .footer-col--credit {
		text-align: center !important;
		margin-top: 10px;
	}

	#bottom-footer .copyright-text {
		text-align: center !important;
		margin-bottom: 10px;
	}

	#bottom-footer .scroll-to-top {
		display: inline-block;
		margin-top: 15px;
	}
	
	#bottom-footer .delanet-logo {
		width: 60px;
	}
}


/* Bounce sisään */
@keyframes bounceLogo {
	0%   { transform: scale(1) rotate(0); }
	30%  { transform: scale(1.25) rotate(3deg); }
	60%  { transform: scale(1.1) rotate(-2deg); }
	100% { transform: scale(1.15) rotate(0); }
}

/* Bounce ulos */
@keyframes bounceBack {
	0%   { transform: scale(1.15) rotate(0); filter: hue-rotate(180deg); }
	30%  { transform: scale(1.25) rotate(-3deg); }
	60%  { transform: scale(0.95) rotate(2deg); }
	100% { transform: scale(1) rotate(0); filter: hue-rotate(0deg); }
}



.has-cta a {
	font-family: Lato, sans-serif;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #4DA6B3, #3c8a96);
	margin: 6px 0 6px 0;
	padding: 10px 25px !important;
	text-align: center;
	font-size: 13px !important;
	font-weight: 800;
	letter-spacing: 0.04em;
	overflow: hidden;
	cursor: pointer;
	border: none;
	border-radius: 50px;
	color: #fff !important;
	text-transform: uppercase !important;
	transition: transform 200ms ease-in-out, box-shadow 200ms ease-in-out !important;
	z-index: 0; /* tausta pysyy alempana */
}

.has-cta a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #1E3A8A, #2f5ba3);
	border-radius: inherit;
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1; /* pseudo-elementti taustalle */
}

.has-cta a:hover::before {
	opacity: 1;
}

.has-cta a:hover {
	text-decoration: none !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px -4px rgba(0,0,0,0.11);
}

.has-cta a:active {
	transform: translateY(1px); /* nappi “uppoaa” */
}

.has-cta a:last-child {
	margin-left: 0;
}

.tt-section h4 i.fas {
	color: #4DA6B3;
}

.tt-section.alternating-text-image .anim-image-parallax-wrap {
	border-radius: 30px;
	box-shadow: 1px 1px 25px -7px rgba(0, 0, 0, 0.5);	
}

.tt-logo a {
	transition: transform 170ms ease-in-out;
}

.tt-logo a:hover {
	transform: scale(1.05);
}

.footer-heading {
	color: #fff;
	font-weight: 700;
	margin-bottom: 40px;
	position: relative;
}

.footer-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -12px;
	width: 40px;
	height: 3px;
	background-color: #4DA6B3;
	border-radius: 2px;
}

.footer-list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.footer-list li {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 8px 0;
}

.footer-list a {
	color: #fff;
	opacity: .9;
	text-decoration: none;
}

.footer-list a:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer-cta {
	display: inline-flex;
	gap: 10px;
	letter-spacing: 0.02em;
	align-items: center;
	padding: 10px 25px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	background: linear-gradient(135deg, #4DA6B3 0%, #3E8F9B 100%);
	color: #fff;
	text-transform: uppercase;
	margin-top: 40px;
	transition: transform 0.1s ease-in-out, opacity 0.15s ease-in-out;	
}

.footer-cta:hover {
	opacity: .9;
	transform: translateY(-1px);	
}


@media (max-width: 1025px) {
	.footer-cta {
		margin-bottom: 40px;
	}
	
	.gray-box {
		padding: 2rem 1rem;
	}
	
	.big-title-block .big-title-wrapper {
		margin: 0 !important;
		padding: 0 !important;
	}


	.big-title-block .big-title-wrapper .tt-heading,
	.big-title-block .big-title-wrapper .tt-heading-title {	
		margin-bottom: 0 !important;
	}
	
	.big-title-block,
	.big-title-block .tt-section-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	
}

.footer-meta {
	color: #fff;
	opacity: .7;
	font-size: 13px;
	margin-top: 12px;
}

/* Footer-nav peruslayout */
.footer-nav {
	display: block;
}

.footer-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

/* Kaksi saraketta isolla ruudulla, yksi mobiilissa */
@media (min-width: 768px) {
	.footer-nav__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}		
}

.footer-nav__list > li {
	margin: 0;
	padding: 0;
}

/* Linkkien ulkoasu */
.footer-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	text-decoration: none;
	color: rgba(255,255,255,.9);
	font-weight: 600;
	line-height: 1.35;
	border-radius: 6px;
}

/* Pieni nuolibullet pseudo-elementillä */
.footer-nav__list a::before {
	content: "›";
	font-weight: 700;
	transform: translateY(-1px);
	opacity: .75;
}

/* Hover/focus */
.footer-nav__list a:hover,
.footer-nav__list a:focus-visible {
	color: #ffffff;
}

.footer-nav__list a:focus-visible {
	outline: 2px solid #4DA6B3;
	outline-offset: 2px;
	border-radius: 6px;
}


/* Tiivistetään alatasoja, jos depth > 1 */
.footer-nav__list .sub-menu {
	margin: 6px 0 0 18px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.footer-nav__list .sub-menu a {
	font-weight: 500;
	opacity: .9;
}

/* Kontaktipalsta: ikonit linjaan */
.footer-contact {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 10px 12px;
}
.footer-contact .icon {
	width: 24px; height: 24px; display:grid; place-items:center;
	opacity: .9;
}
.footer-contact a { text-decoration: none; }
.footer-contact a:focus-visible {
	outline: 2px solid #4DA6B3; outline-offset: 2px; border-radius: 6px;
}

.footer-brand__tagline {
	font-size: 16px;
	opacity: 0.8;
	margin-top: 20px;
	max-width: 250px;
	padding-left: 10px;
}

.gradient-icon {
	font-size: 1.3em;
	margin-left: 6px;
	background: linear-gradient(135deg, #4DA6B3, #2C6975);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -15px;
	transition: transform 0.3s ease, filter 0.3s ease;
	filter: brightness(1.2); 
	
}


@media (max-width: 1199px) {
	.has-cta a {
		font-size: 12px !important;
		padding: 10px 10px !important;
		padding-right: 15px !important;
	}
	
	.tt-main-menu-list>li {
		padding: 0 5px;
	}
	
	.tt-main-menu-list>li>a {
		font-size: 16px;
	}
}

@media (max-width: 1024px) {
	.tt-main-menu-list>li>a {
		font-size: clamp(30px, 6vw, 70px);
	}

	.has-cta {
		margin-top: 60px !important;
	}
	
	.has-cta a {
		font-size: clamp(15px, 3vw, 35px) !important;
		padding: 5vw 10vw !important;
		font-weight: 800 !important;
		/*padding-left: 40px !important;*/
	}
	
	.has-cta a > i {
		margin-right: 8px;
	}

}


#bottom-footer {
	font-size: 14px;
}


@media (max-width: 991px) {
	.tt-section.remove-mobile-paddings .tt-section-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}


/* Purpose-Driven Path to Profitable Growth */

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.step {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.25rem 0;
	border-top: 1px solid #e4e8ed;
}

.step:first-child {
	border-top: none;
}

.step-number {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 2px solid #1aa3a3;
	color: #1aa3a3;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1;
}

.step-title {
	font-size: 24px;
	line-height: 1.3;
	font-weight: 700;
	color: #163b5a;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.step-title i {
	font-size: 22px;
	color: #1aa3a3;
	opacity: 0.95;
	transform: translateY(1px);
}

.step-desc {
	margin: 0.35rem 0 0;
	color: #2a3340;
	font-size: 20px;
	line-height: 1.6;
	max-width: 62ch;
}

/* mobiilisäätö */
@media (max-width: 720px) {
	.step {
		grid-template-columns: 2.5rem 1fr;
		gap: 0.75rem;
	}
	.step-number {
		width: 2.25rem;
		height: 2.25rem;
		font-size: 0.95rem;
	}
	.step-title {
		font-size: 22px;
	}
	.step-desc {
		font-size: 18px;
	}
}

/* / Purpose-Driven Path to Profitable Growth */







