h1, h2 {
  word-spacing: 0.1em;
}

@media (max-width: 1023px) {
.has-8-x-large-font-size {
	font-size: var(--wp--preset--font-size--7-x-large) !important;
}
}
@media (max-width: 767px) {
.has-5-x-large-font-size {
	font-size: var(--wp--preset--font-size--3-x-large) !important;
}
.has-6-x-large-font-size {
	font-size: var(--wp--preset--font-size--5-x-large) !important;
}
.has-8-x-large-font-size {
	font-size: var(--wp--preset--font-size--6-x-large) !important;
}
}

/*hero*/
.hero-osio{
	height: 100vh
}

/*palvelunostot*/
.palvelu-osio{
	position: relative;
	top: 5rem;
}
.palvelut{
	align-items: start;
}
.palvelut > div{
	min-height: 289px;
}
.palvelut > div:has(.gb-accordion__item-open){
	min-height: 608px;
}
@media (max-width: 1100px) {
.palvelut > div:has(.gb-accordion__item-open){
	min-height: 520px;
}
}
.palvelut > div h3{
	height: 93px;
}
.palvelut div:has(>figure){
height: 6.2em;
  width: 6.2em;
  box-shadow: 0px 3px 3px #000A;
}

/*.gb-accordion__item-open > .gb-accordion__content{
	max-height: 300px;
}*/


.palvelut-monogrammi{
	position: absolute;
    z-index: -1;
    left: -40px;
    opacity: 0.05;
    top: -50px;
}
@media (max-width: 1100px) {
.palvelut {
	grid-template-columns: 1fr 1fr;
	gap: 4.5em 1.5em;
}
}
@media (max-width: 600px) {
.palvelut {
	grid-template-columns: 1fr;
	gap: 5em 1.5em;
}
}
@media (max-width: 1100px) {
.palvelut .has-small-font-size {
	font-size: var(--wp--preset--font-size--medium) !important;
}
}



/*yhteystiedot*/
div:has(.yhteystiedot){
	overflow: visible;
}
.yhteystiedot div:nth-of-type(2){
	margin-top: -4rem;
	margin-bottom: -4rem;
}
@media (max-width: 1023px) {
.yhteystiedot.wp-block-columns {
	flex-wrap: wrap !important;
	flex-direction: column;
}
#yhteydenotto {
	padding-top: 4em !important;
}
.yhteystiedot div:nth-of-type(2) {
	margin-top: 3rem;
}
}


/*referenssit*/
.logot{
	align-items: center;
	grid-row-gap: 2em;
}

/*footer*/

.kartta embed{
	filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
	opacity: 0.75;
}
.footer-logo{
	position: absolute;
 	 top: -30px;
}
.footer-logo figure{
	filter: opacity(0.08);
}


