:root {

}

html {scroll-behavior: smooth;}

:root :where(.is-layout-constrained) > * {margin-block-start: 20px;}
    :root :where(.is-layout-flow) > *:not(p) {margin-block-start: 80px;}

body :is(.is-root-container,.wp-site-blocks) {font-family:var(--wp--preset--font-family--body); font-size:var(--wp--preset--font-size--normal); font-weight:400; line-height: 155%; color:var(--wp--preset--color--black); }

body :is(.is-root-container,.wp-site-blocks) h1 {font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--heading-1); line-height: 116%; letter-spacing:-3%; font-weight:700; color:var(--wp--preset--color--blue); }
body :is(.is-root-container,.wp-site-blocks) h2 {font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--heading-2); line-height: 123%; letter-spacing:-3%; font-weight:700; color:var(--wp--preset--color--blue); }
body :is(.is-root-container,.wp-site-blocks) h3 {font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--heading-3); line-height:42px; letter-spacing: -3%; font-weight:700; color:var(--wp--preset--color--blue); }
body :is(.is-root-container,.wp-site-blocks) h4 {font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--heading-4); line-height:1.5; letter-spacing: -3%; font-weight:700; color:var(--wp--preset--color--blue); }
body :is(.is-root-container,.wp-site-blocks) h5 {font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--heading-5); line-height:1.5; letter-spacing: -3%; font-weight:700; color:var(--wp--preset--color--blue); }
body :is(.is-root-container,.wp-site-blocks) h6 {font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--heading-6); line-height:1.5; letter-spacing: -3%; font-weight:700; color:var(--wp--preset--color--blue); }

a:where(:not(.wp-element-button)) { color:var(--wp--preset--color--black); }
a:where(:not(.wp-element-button)):hover,
a:where(:not(.wp-element-button)):focus,
a:where(:not(.wp-element-button)):active {text-decoration:none;}

a[href^="http"]:not([href^="https://keskuspuhdistamo.fi"])::after { content:''; transition: transform 0.3s ease; display:inline-block; width: 18px; height: 21px; vertical-align: middle; margin-left: 4px; background-image: url("../../assets/images/External_Link.svg"); background-size: contain; background-repeat: no-repeat; }
.footer div:has(.some-icons) a[href^="http"]:not([href^="https://keskuspuhdistamo.fi"])::after { content:none;}


.wp-block-image img {border-radius:20px;}
iframe {border-radius: 20px;}
.wp-site-blocks > :is(.entry-content, footer) { overflow: hidden; }
iframe {margin-top:0;}
.wp-block-heading {margin-top: 0;}
p+.wp-block-heading {margin-top: 40px !important;}
ul.wp-block-list {margin-top: 1rem !important;}
ol.wp-block-list {row-gap: 0.5rem; display: flex; flex-direction: column;}

/* Container -leveyksien määritykset */
header.wp-block-template-part .main-navigation > .wp-block-group { max-width: 1520px; margin: 0 auto; padding: 0 40px; box-sizing: content-box;}
body :is(.is-root-container, .wp-site-blocks .entry-content) > .wp-block-group > :is(.wp-block-group, .wp-block-columns) { max-width: 1600px; margin: 0 auto; padding: 0 40px; box-sizing: border-box;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) > .wp-block-group > .wp-block-group { max-width: 1600px; margin: 0 auto; padding: 0 40px; box-sizing: border-box;}
body :is(.is-root-container, .wp-site-blocks) .entry-content {margin-top:0;}

@media (max-width: 781px) {
    header.wp-block-template-part .main-navigation > .wp-block-group { padding: 0 16px; }
    body :is(.is-root-container, .wp-site-blocks .entry-content) > .wp-block-group > :is(.wp-block-group, .wp-block-columns) { padding: 0 16px; }
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) > .wp-block-group > .wp-block-group { padding: 0 16px; }

    iframe {margin-top:20px;}
}
@media (max-width: 575px) {
    :root :where(.is-layout-flow) > *:not(p) {margin-block-start: 60px;}
}

/* Alert / Notifikaatti */
.notification-banner { max-width: 1600px; margin: 10px auto 0; padding: 0 40px; box-sizing: border-box; }
.notification-banner .notification-content { background: rgba(232, 166, 161, 0.6); padding:16px 30px; border-radius:8px; display: flex;}
.notification-banner .notification-content .notification-date {font-family: var(--wp--preset--font-family--body);font-size: 1.125rem;font-style: normal;font-weight: 500;line-height: 18px; /* 100% */letter-spacing: -0.18px; display:flex; align-items:center;}
.notification-banner .notification-content .notification-date::before {content:""; background-image:url("../../assets/images/alert.svg"); width: 24px; height:24px; background-repeat:no-repeat; background-size: cover; display:block; margin-right:11px; }
.notification-banner .notification-content .notification-messages {margin: 0 auto;}
.notification-banner .notification-content .notification-messages > a {display:flex; align-items:center; font-family: var(--wp--preset--font-family--body);font-size: 1.125rem;font-style: normal;font-weight: 500;line-height: 18px; /* 100% */letter-spacing: -0.18px;text-decoration-line: underline;text-decoration-style: solid;text-decoration-skip-ink: auto;text-decoration-thickness: auto;text-underline-offset: auto;text-underline-position: from-font;}
.notification-banner .notification-content .notification-messages > a::after {content:""; background-image:url("../../assets/images/black-round-arrow.svg"); width: 26px; height:26px; background-repeat:no-repeat; background-size: cover; display:block; margin-left:10px;}
.notification-banner .notification-content .notification-messages > a:is(:hover, :focus, :active) {text-decoration:none;}
@media (max-width: 575px) {
    .notification-banner .notification-content {padding: 10px 10px;}
    .notification-banner .notification-content .notification-messages > a, .notification-banner .notification-content .notification-date {font-size: 0.875rem; }
    .notification-banner { padding: 0 16px; }
}

/*Valikko */
.main-navigation {padding-top:10px; padding-bottom:10px;}
.main-navigation .wp-block-columns {align-items:center !important;}
.main-navigation .wp-block-columns .wp-block-column:first-child {flex-basis:auto !important;}
.main-navigation .wp-block-columns .wp-block-column:not(:first-child, :last-child) {margin: 0 auto; flex-basis:auto; flex-grow:1; }
.main-navigation .wp-block-columns .wp-block-column:last-child {flex-basis:auto !important; display:flex; align-items: center; justify-content: flex-end; column-gap:27px;}
.main-navigation nav {margin-top: 0; }
.menu-navigations .navigation ul {list-style:none; padding: 0;}
.menu-navigations .navigation > ul {display:flex; column-gap: 50px; margin:0; justify-content:center; }
.menu-navigations .navigation > ul li {white-space:nowrap; }
.menu-navigations .navigation > ul li a {text-decoration:none; font-family:var(--wp--preset--font-family--heading); font-weight: 500; font-size: 1rem; color:var(--wp--preset--color--blue); line-height: 29px;}
.menu-navigations .navigation > ul li a:is(:hover, :focus, :active) {text-decoration:underline;}
.menu-navigations .navigation > ul li .dropdown-toggle {cursor: pointer; padding:0; width: 26px; height: 26px; background-color: transparent; border: none; background:url("../../assets/images/Caret_Down_MD.svg") no-repeat; background-size:cover; background-position:center center; vertical-align: middle; margin-left: 11px;}
.menu-navigations .navigation > ul li .dropdown-toggle[aria-expanded="true"] {transform: rotate(180deg);}
.menu-navigations .navigation > ul li .dropdown-toggle[aria-expanded="false"]+.dropdown {display:none;}
.menu-navigations .navigation > ul li > .dropdown {position:absolute; top:100%; z-index: 12; border-radius: 4px; border: 1px solid #F0F0F0; background: #FFF; box-shadow: 0 4px 14px 0 rgba(6, 25, 43, 0.10);}
.menu-navigations .navigation > ul li > .dropdown .dropdown-menu > li:first-child a {padding-top:30px;}
.menu-navigations .navigation > ul li > .dropdown .dropdown-menu > li:last-child a {padding-bottom:30px;}
.menu-navigations .navigation > ul li > .dropdown .dropdown-menu > li:not(:last-child) {border-bottom:1px solid #F0F0F0;}
.menu-navigations .navigation > ul li > .dropdown .dropdown-menu > li a {padding:20px 30px; display:block; line-height:100%;}

.main-navigation .language-switcher {margin-top: 0; margin-right: 21px;}
.main-navigation :is(.language-switcher, #mobile-language-switcher) ul {margin: 0; list-style: none; padding: 0;}
.main-navigation :is(.language-switcher, #mobile-language-switcher) ul li a {font-family:var(--wp--preset--font-family--heading); font-size: 0.875rem;font-style: normal;font-weight: 500;line-height: normal;text-transform: uppercase; display:flex; column-gap:6px; align-items:center; text-decoration:none; }
.main-navigation :is(.language-switcher, #mobile-language-switcher) ul li a::before {content:""; background:url("../../assets/images/language-switcher.svg") no-repeat; background-size:contain; width:20px; height: 20px; display:block;}

.main-navigation .wp-block-empa-button-group .wp-block-empa-button-group-item.blue-button > a {font-size: 0.875rem; letter-spacing: -0.14px;}

/* Mobiilimenu */
.mobile-menu-toggle {display:none; width:24px; height:18px; border:none; padding: 0;  background:url("../../assets/images/menu.svg") no-repeat; background-size:contain; background-position:center center;}
.mobile-nav-button-wrapper {display:none;}

@media (max-width: 1199px) {
    .menu-navigations .navigation > ul {column-gap: 24px;}
}
@media (max-width: 1024px) {
    .main-navigation .wp-block-image img {height:70px;}
    .main-navigation .wp-block-columns .wp-block-column:last-child {display:none;}
    .mobile-menu-toggle {display:block; position: absolute; right: 1px; top: 50%; transform: translateY(-50%); cursor: pointer; }
    nav {display:none;}
    .mobile-navigation-visible nav {display:block; position: absolute; z-index: 1234; background: #fff; width: 100%; left: 0; top: 100%; left: 0px; padding: 0; height:100vh; }
    .mobile-navigation-visible .mobile-nav-button-wrapper {display:flex; margin-top: 40px;align-items: center; justify-content: space-between;}
    .menu-navigations .navigation > ul {flex-direction:column;}
    .menu-navigations .navigation > ul li a {display: inline-block;width: calc(100% - 26px);}
    .menu-navigations .navigation > ul li .dropdown-toggle {margin-left: 0; display:inline-block;}
    .menu-navigations .navigation > ul > li { border-bottom:1px solid #F0F0F0;}
    .menu-navigations .navigation > ul > li > a {padding: 20px 0;}
    .menu-navigations .navigation > ul li > .dropdown {position:static; border:none; box-shadow:none; }
    .menu-navigations .navigation > ul li > .dropdown .dropdown-menu > li:not(:last-child) {border:none; }
    .menu-navigations .navigation > ul li > .dropdown .dropdown-menu > li a {padding: 20px 10px; }
    .menu-navigations .navigation > ul li > .dropdown .dropdown-menu > li:first-child a {padding-top:20px;}

}


/* Herobanneri, jossa valkoinen graafinen elementti */
.herobanner .wp-block-cover {padding: 0; height:559px; }
.herobanner .wp-block-cover .wp-block-cover__image-background { border-radius: 20px;}
.herobanner .wp-block-cover .wp-block-cover__background { background-color:unset !important;}
.herobanner .wp-block-cover::before {content:""; background:url("../../assets/images/valkoinen-elementti.svg") no-repeat; background-size: 100% auto; background-position: bottom left; position: absolute; bottom: 0; left: 0; width: 940px; height: 342px; z-index: 1; max-width:100%;}
.herobanner .wp-block-cover .wp-block-cover__inner-container {height:100%; }
.herobanner .heading-column {position:absolute; bottom:0; left: 0; background: #fff; padding: 0 0 40px 30px; border-radius: 0 40px 0 0; z-index:2;}
.herobanner .heading-column :is(p, h2) {font-size: 1.5rem; font-style: normal; font-weight: 500; line-height: 34px; letter-spacing: -0.24px; max-width: 360px; margin: 0 !important;}
.herobanner .alert-column {position:absolute; bottom:30px; right: 30px; padding: 30px !important; border-radius: 20px; z-index:2;}
.herobanner .alert-column p {font-size: 1.25rem; font-style: normal; font-weight: 700; line-height: 20px; letter-spacing: -0.4px; font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--cyan); text-align: center;}
.herobanner .alert-column .wp-block-empa-button-group {margin-top:10px;}
@media (max-width:781px) {
    .herobanner:has(.alert-column) {padding-bottom: 180px; }
    .wp-block-cover {overflow: unset; overflow: unset;}
    .herobanner .heading-column {padding-left:0; padding-bottom:0; }
    .herobanner .alert-column {bottom: -171px; left: 0; right:unset; width: 100%;}
    .herobanner .alert-column .wp-block-empa-button-group {justify-content:center;}
}
@media (max-width:575px) {
    .herobanner:has(.alert-column){padding-bottom: 160px; }
    .herobanner .wp-block-cover {height: 480px; }
    .herobanner .heading-column h1 {margin-bottom: 10px;}
    .herobanner .heading-column p {font-size: 1.125rem; max-width:300px;}
    .herobanner .alert-column {padding: 20px; bottom: -156px;}
    .herobanner .alert-column p {font-size: 1.125rem; }
    .herobanner .wp-block-cover::before {content:""; background:url("../../assets/images/valkoinen-elementti-mob.svg") no-repeat; background-size: 100% auto; background-position: left top; position: absolute; bottom: -80px; left: 0; width: 100%; height: 282px; z-index: 1; max-width:100%;}
    body:not(.home) .herobanner .wp-block-cover::before {content:""; background:url("../../assets/images/valkoinen-elementti-mob.svg") no-repeat; background-size: 110% auto; background-position: left top; position: absolute; bottom: -35px; left: 0; width: 100%; height: 282px; z-index: 1; max-width:100%;}
}
@media (max-width: 400px) {
      .herobanner .wp-block-cover::before {background-size: 110% auto;}
}

/* Tekstibanneri */
.text-banner {min-height: 316px;}
.text-banner > .wp-block-group {height: 100%; }
.text-banner > .wp-block-group > .wp-block-group {display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; border-radius: 20px; background: #E9F5FF; text-align: center; padding:16px;}
.text-banner > .wp-block-group p {font-family:var(--wp--preset--font-family--body); font-size:1.5rem; font-style: normal; font-weight: 500; line-height: 34px; letter-spacing: -0.24px;}

/* Pieni otsikko tekstipalstojen yllä */
.pre-heading {color:var(--wp--preset--color--blue); font-style: normal;font-weight: 500;font-size: 1.125rem; line-height:100%; letter-spacing: 0.9px; display:flex; align-items:center; column-gap:10px;  text-transform: uppercase; font-family: var(--wp--preset--font-family--heading);}
.has-mint-background-color .pre-heading {color:var(--wp--preset--color--cyan); font-style: normal;font-weight: 500;font-size: 1.125rem; line-height:100%; letter-spacing: 0.9px; display:flex; align-items:center; column-gap:10px;  text-transform: uppercase; font-family: var(--wp--preset--font-family--heading);}
.pre-heading.has-text-align-center {justify-content:center; }
.pre-heading::before {content:""; background:url("../../assets/images/aalto.svg") no-repeat; background-size:contain; width: 60px;height: 13px;aspect-ratio: 5/1; display:block;}
.has-mint-background-color .pre-heading::before {content:""; background:url("../../assets/images/aalto-vihrea.svg")no-repeat; background-size:contain; width: 60px;height: 13px; aspect-ratio: 5/1; display:block;}
.pre-heading+.wp-block-heading {margin-top:20px !important;}
@media (max-width: 575px) {
    .pre-heading {font-size: 1rem; letter-spacing: 0.8px;}
    .pre-heading::before, .has-mint-background-color .pre-heading::before {width:46px; height:9px;}
}

/* Kapea tekstipalsta */
.narrow-text-column > .wp-block-group {position:relative;}
.narrow-text-column > .wp-block-group::after {content:""; background:url("../../assets/images/vihrea-pallo.svg") no-repeat; background-size:contain; background-position:center center; height: 505.264px; width: 648.665px; position: absolute; left: -426px; top:60%; z-index: -1; }
.narrow-text-column .wp-block-empa-button-group {margin-top:40px;}

/* Kahden kuvan galleria */
.image-gallery > .wp-block-group {position:relative;}
.image-gallery > .wp-block-group::after {content:""; background:url("../../assets/images/sininen-pallo.svg") no-repeat; background-size:contain; background-position:center center; height: 505.264px; width: 648.665px; position: absolute; right: -222px; bottom: -50px; z-index: -1; }
.image-gallery figure.wp-block-image {height: 521px;}
.image-gallery figure.wp-block-image img {border-radius: 20px;}
.image-gallery figure.wp-block-image:last-child {width: calc(33.333% - var(--wp--style--unstable-gallery-gap, 16px)*.5) !important;}
@media (max-width: 781px) {
    .image-gallery figure.wp-block-image, .image-gallery figure.wp-block-image:last-child {width:100% !important; }
}
@media (max-width: 575px) {
    .image-gallery figure.wp-block-image, .image-gallery figure.wp-block-image:last-child {aspect-ratio: 1 / 1; height: auto;}
}

/* Artikkelinostot*/
.wp-block-empa-article-highlights .article-highlights-items {gap:20px;}
.wp-block-empa-article-highlights .article-highlights-heading {margin-bottom:20px; display:flex; align-items:center; }
.wp-block-empa-article-highlights .article-highlights-heading h2 {margin: 0; font-size: var(--wp--preset--font-size--heading-1); line-height: 120px;}
.wp-block-empa-article-highlights .article-highlights-more {margin-left: auto; }
.wp-block-empa-article-highlights .article-highlights-more.mobile {display:none;}
.wp-block-empa-article-highlights .article-highlights-more > a {color:var(--wp--preset--color--blue); display:flex; align-items:center; column-gap: 12px; padding:0; text-decoration:underline; text-decoration-line: underline; text-decoration-style: solid;text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font; font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem;  font-style: normal;  font-weight: 500;  line-height: 14px;  letter-spacing: -0.18px;}
.wp-block-empa-article-highlights .article-highlights-more > a:is(:hover, :focus, :active) {text-decoration:none;}
.wp-block-empa-article-highlights .article-highlights-more > a::before {content:""; background:url("../../assets/images/blue-round-arrow.svg") no-repeat; background-size:contain; width: 46px; height:46px; display:block;}
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) {flex: 0 0 calc(33.333% - 14px); display:flex; }
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a {width:100%; overflow:hidden; display: flex; background: var(--wp--preset--color--blue); color: #fff; border-radius: 20px; padding: 32px 30px 181px 30px; text-decoration:none; position:relative; font-size:1.125rem; color: #FFF;font-weight: 500; line-height: 28px; /* 155.556% */}
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a::before {content:""; mask-image:url("../../assets/images/sininen-pallo.svg"); mask-size:cover; mask-repeat:no-repeat; background-color:var(--wp--preset--color--light-blue); position:absolute; bottom: -105px; right: -224px; width: 368.355px; height: 286.984px; }
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a::after {content:""; background-image:url("../../assets/images/blue-round-arrow.svg"); width: 66px; height:66px; background-repeat:no-repeat; background-size: cover; display:block; position:absolute; right:30px; bottom:30px; z-index:1;}
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) .item-content .item-heading .item-tags {display:flex; align-items:center; margin-bottom:60px;}
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) .item-content .item-heading .item-tags .tag {padding: 8px 12px; font-size: 0.875rem; font-weight:700; font-family:var(--wp--preset--font-family--heading); color:var(--wp--preset--color--light-blue); border:1px solid var(--wp--preset--color--light-blue); border-radius: 20px; line-height: 100%; }
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) .item-content .item-heading .item-tags .date {margin-left:auto; font-size:1rem; font-style: normal;line-height: 34px; /* 212.5% */letter-spacing: -0.16px; color:var(--wp--preset--color--light-blue);}
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) .item-content h3 {color: var(--wp--preset--color--light-blue); margin-bottom:20px;}
.wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a:is(:hover, :focus, :active) .item-content h3 {text-decoration: underline;}

.wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) a {background: rgba(232, 166, 161, 0.60); color: var(--wp--preset--color--black);}
.wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) .item-content .item-heading .item-tags .tag {color: var(--wp--preset--color--black); border:1px solid var(--wp--preset--color--black); }
.wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) .item-content .item-heading .item-tags .date {color: var(--wp--preset--color--black);}
.wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) .item-content h3 {color: var(--wp--preset--color--black);}
.wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) a::before {content:""; mask-image:url("../../assets/images/sininen-pallo.svg"); mask-size:cover; mask-repeat:no-repeat; background-color: var(--wp--preset--color--black); position:absolute; bottom: -105px; right: -224px; width: 368.355px; height: 286.984px; }
.wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) a::after {content:""; background-image:url("../../assets/images/red-round-arrow.svg"); width: 66px; height:66px; background-repeat:no-repeat; background-size: cover; display:block; position:absolute; right:30px; bottom:30px; z-index:1;}

@media (min-width: 1024px) and (max-width: 1072px) {
    .wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a {padding: 32px 20px 181px 20px;}
}

@media (max-width: 1024px) {
    .wp-block-empa-article-highlights .article-highlights-items { row-gap:30px;}
    .wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) {flex: 0 0 100%;}
}
@media (max-width:575px) {
    .wp-block-empa-article-highlights .article-highlights-more:not(.mobile) {display:none;}
    .wp-block-empa-article-highlights .article-highlights-more.mobile {display:block; margin-top: 40px; text-align: center;}
    .wp-block-empa-article-highlights .article-highlights-more > a {font-size: 1rem; display:inline-flex;}
    .wp-block-empa-article-highlights .article-highlights-more > a::before {width: 30px; height:30px;}
    .wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) .item-content h3 {font-size: 1.25rem; line-height:28px;}
    .wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a {font-size: 1rem; }
    .wp-block-empa-article-highlights .article-highlights-heading {margin-bottom:40px;}
    .wp-block-empa-article-highlights .article-highlights-heading h2 {font-size: 2rem; line-height: 100%; letter-spacing: -0.32px; display:flex; align-items:center; column-gap: 10px; }
    .wp-block-empa-article-highlights .article-highlights-heading h2::before {content:""; background:url("../../assets/images/aalto.svg") no-repeat; background-size:contain; width:46px; height:9px; aspect-ratio: 5/1; display:block;}

    .wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) a::after,
    .wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a::after { width:50px; height:50px;}
    .wp-block-empa-article-highlights .article-highlights-item:not(.article-highlights-heading) a::before,
    .wp-block-empa-article-highlights .article-highlights-item.disruption:not(.article-highlights-heading) a::before { right: -68px;bottom: -108px; width: 200px; height: 257px;}
}

/* Kuva ja tekstipalsta vierekkäin*/
.image-and-text > .wp-block-group {display:flex; column-gap:58px;}
.image-and-text > .wp-block-group > div {width:50%; margin:0 !important;}
.image-and-text > .wp-block-group > .image .wp-block-image {height:100%;}
.image-and-text > .wp-block-group > .image .wp-block-image > img {aspect-ratio: 3 / 2; height: 100% !important; object-fit: cover;}
.image-and-text > .wp-block-group > .text {border-radius: 20px; display: flex; flex-direction: column; align-items: center; padding: 116px 20px 197px; text-align:center; position:relative; overflow: hidden;}
.image-and-text > .wp-block-group > .text .wp-block-heading {font-size: clamp(3rem, 1.1772rem + 3.7975vw, 4.5rem); font-style: normal;font-weight: 700;  line-height: 100%; letter-spacing: -1.44px; margin: 20px 0 0;}
.image-and-text > .wp-block-group > .text p {margin-top: 3px;}
.image-and-text > .wp-block-group > .text.has-mint-background-color {color:var(--wp--preset--color--cyan);}
.image-and-text > .wp-block-group > .text.has-mint-background-color .wp-block-heading {color:var(--wp--preset--color--cyan);}
.image-and-text > .wp-block-group > .text.has-mint-background-color::after {content:""; background:url("../../assets/images/vihrea-elementti.svg") no-repeat; background-size:contain; width:690px; height:151px; position:absolute; bottom:0; right:0; z-index:0;}
.image-and-text > .wp-block-group > .text.has-light-blue-background-color {color:var(--wp--preset--color--blue);}
.image-and-text > .wp-block-group > .text.has-light-blue-background-color .wp-block-heading {color:var(--wp--preset--color--blue);}
.image-and-text > .wp-block-group > .text.has-light-blue-background-color::after {content:""; background:url("../../assets/images/sininen-elementti.svg") no-repeat; background-size:contain; width:690px; height:151px; position:absolute; bottom:0; right:0; z-index:0;}
@media (max-width: 781px) {
    .image-and-text > .wp-block-group {flex-direction:column; row-gap:30px; }
    .image-and-text > .wp-block-group > div {width:100%;}
}
@media (max-width: 575px) {
    .image-and-text > .wp-block-group > .text {padding: 40px 20px 118px;}
    .image-and-text > .wp-block-group > .text.has-mint-background-color::after, .image-and-text > .wp-block-group > .text.has-light-blue-background-color::after {background-size: 100% auto; width:324px; height: 99px; position: absolute; bottom: 0; right: -10%; z-index: 0; max-width: 100%; background-position: bottom;}
}


/* Tekstinostot otsikolla */
.text-highlights .heading-group {margin-bottom: 45px; }
.text-highlights .heading-group .heading-column .pre-heading {margin-bottom:16px;}
.text-highlights .heading-group .heading-column .wp-block-heading {margin:0; }
.text-highlights .columns-group .wp-block-columns {counter-reset: my-counter;}
.text-highlights .columns-group .wp-block-columns .wp-block-column {padding: 60px; border-radius:20px; counter-increment: my-counter;}
.text-highlights .columns-group .wp-block-columns .wp-block-column p:not(.column-heading) {margin-top:14px; }
.text-highlights .columns-group .wp-block-columns .wp-block-column.has-mint-background-color p.column-heading {color:var(--wp--preset--color--cyan);}
.text-highlights .columns-group .wp-block-columns .wp-block-column.has-light-blue-background-color p.column-heading {color:var(--wp--preset--color--blue);}
.text-highlights .columns-group .wp-block-columns .wp-block-column .column-heading {font-family:var(--wp--preset--font-family--heading); font-size: 1.125rem; display:flex; align-items:center; column-gap:10px;}
.text-highlights .columns-group .wp-block-columns .wp-block-column .column-heading::before {content: counter(my-counter); color: #fff; width: 45px; height:45px; border-radius: 100%; display:block; font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; text-align: center; line-height: 45px; font-weight: 500;}

.text-highlights .columns-group .wp-block-columns .wp-block-column.has-light-blue-background-color p.column-heading::before { background-color: var(--wp--preset--color--blue); color:var(--wp--preset--color--light-blue); }
.text-highlights .columns-group .wp-block-columns .wp-block-column.has-mint-background-color p.column-heading::before {background-color: var(--wp--preset--color--cyan); color:var(--wp--preset--color--light-blue); }
@media (max-width: 991px) {
    .text-highlights .columns-group .wp-block-columns {flex-direction:column; }
}
@media (max-width: 575px) {
    .text-highlights .heading-group {margin-bottom: 40px;}
    .text-highlights .heading-group > .wp-block-columns {row-gap:10px;}
    .text-highlights .columns-group .wp-block-columns .wp-block-column {padding: 30px;}
    .text-highlights .columns-group .wp-block-columns .wp-block-column p:not(.column-heading) {margin-top:28px; }
}

/* Kolme tekstipalstaa */
.free-text-columns .heading-row .wp-block-heading::before {content:""; background:url("../../assets/images/aalto.svg") no-repeat; background-size:contain; width:46px; height:9px; aspect-ratio: 5/1; display:block; margin: 0px auto 23px;}
.free-text-columns .wp-block-columns .wp-block-column {padding: 40px; border-radius:20px; }
.free-text-columns .wp-block-columns .wp-block-column p {margin-top:14px; }
.free-text-columns .wp-block-columns .wp-block-column.has-light-blue-background-color .column-heading {color:var(--wp--preset--color--blue);}
.free-text-columns .wp-block-columns .wp-block-column.has-light-blue-background-color p a {color:var(--wp--preset--color--blue);}
.free-text-columns .wp-block-columns .wp-block-column.has-mint-background-color .column-heading {color:var(--wp--preset--color--cyan);}
.free-text-columns .wp-block-columns .wp-block-column.has-mint-background-color p a {color:var(--wp--preset--color--cyan);}
@media (max-width: 575px) {
    .free-text-columns .wp-block-columns .wp-block-column {padding: 30px;}
    .free-text-columns .wp-block-columns .wp-block-column.has-light-blue-background-color .column-heading {font-size: 2rem; }
    .free-text-columns .wp-block-columns .wp-block-column p {margin-top:9px;}

    .free-text-columns .heading-row :is(.wp-block-heading, p) {text-align:left !important;}
    .free-text-columns .heading-row .wp-block-heading::before {margin: 0 0 10px; width:40px; height:8px;}
}

/* Haitari */
.wp-block-accordion .wp-block-accordion-item {background-color:var(--wp--preset--color--blue); border-radius:20px;}
.wp-block-accordion .wp-block-accordion-item:not(:first-child) {margin-top: 20px;}
.wp-block-accordion .wp-block-accordion-item.is-open { background-color:var(--wp--preset--color--light-blue); }
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading {color:var(--wp--preset--color--light-blue); position:relative; font-weight: 700;line-height: 32px; /* 100% */letter-spacing: -0.96px;}
.wp-block-accordion .wp-block-accordion-item.is-open .wp-block-accordion-heading {color:var(--wp--preset--color--blue);}
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle {position:relative; padding: 40px 95px 40px 40px;}
.wp-block-accordion .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {text-decoration:none;}
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle[aria-expanded="true"] {padding-bottom:34px;}
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle::after {content:""; background:url("../../assets/images/plus.svg") no-repeat; background-size:cover; width:50px; height:50px; position:absolute; right:40px; top:50%; transform:translateY(-50%); }
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle[aria-expanded="true"]::after {content:""; background:url("../../assets/images/minus.svg") no-repeat; background-size: cover;}
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {display:none;}
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel {margin-top: 0; padding:0 40px 40px;}
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel .wp-block-file {margin-top: 20px; }
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel .wp-block-file a {display:inline-flex; column-gap:10px; font-size:var(--wp--preset--font-size--normal); font-style: normal; font-weight: 500; line-height: 28px; letter-spacing: -0.18px; color:var(--wp--preset--color--blue);}
.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel .wp-block-file a::before {content:url("../../assets/images/file.svg"); display:block;}

@media (max-width:575px) {
    .wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading {font-size:1rem; letter-spacing: -0.48px;}
    .wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle::after {width:30px; height:30px; right:20px;}
    .wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle {padding: 20px 55px 20px 20px;}
    .wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading .wp-block-accordion-heading__toggle[aria-expanded="true"] {padding-bottom: 28px;}
    .wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel {padding: 0 20px 20px;}
    .wp-block-accordion .wp-block-accordion-item:not(:first-child) {margin-top: 10px;}
}

/* Yksittäinen ajankohtainen / hanke */
.single :is(.news-tags, .project-tags) {margin-top: 60px; display: flex; justify-content: center; align-items: center; column-gap:12px; }
.single :is(.news-tags, .project-tags) .tag {padding: 8px 12px; font-size: 0.875rem; font-weight:700; font-family:var(--wp--preset--font-family--heading); color:var(--wp--preset--color--blue); background-color:var(--wp--preset--color--blue); color:var(--wp--preset--color--light-blue); border-radius: 20px; line-height: 100%; }
.single .wp-block-post-featured-image > img {height: 559px; border-radius: 20px;}
.single .news-tags .date {font-size:1rem; font-style: normal;line-height: 34px; /* 212.5% */letter-spacing: -0.16px; color:var(--wp--preset--color--blue);font-weight: 500;letter-spacing: -0.16px;}
.single .project-tags .date {font-size:1.125rem; font-style: normal;line-height: 34px; /* 212.5% */letter-spacing: -0.16px; color:var(--wp--preset--color--blue);font-weight: 500;letter-spacing: -0.16px;}
.single .project-tags .project-info {font-size:1.125rem; font-style: normal;line-height: 34px; /* 212.5% */letter-spacing: -0.16px; color:var(--wp--preset--color--blue);font-weight: 500;letter-spacing: -0.16px;}
.single .narrow .wp-block-post-title {max-width: 878px; text-align: center; margin: 32px auto 14px; position:relative;}
.ajankohtaista-template-default .narrow .wp-block-post-title::after {content:""; background:url("../../assets/images/sininen-pallo.svg"); background-repeat: no-repeat; background-size: contain; height: 509.658px; width: 654.167px; display: block; position: absolute; z-index: -1; bottom: -100%;max-width: 100%; left: 50%; transform: translateX(-50%) rotate(180deg) rotateZ(30deg); opacity: 0.6; }
.hankkeet-template-default .narrow .wp-block-post-title::after {content:""; background:url("../../assets/images/sininen-pallo.svg"); background-repeat: no-repeat; background-size: contain; height: 509.658px; width: 654.167px; display: block; position: absolute; z-index: -1; bottom: -250%;max-width: 100%; left: 50%; transform: translateX(-50%) rotate(180deg) rotateZ(30deg); opacity: 0.6; }
.single .narrow .text-column {max-width: 830px; margin: 80px auto 0; }
.hankkeet-template-default .narrow .wp-block-post-title {margin-top:60px;}
.hankkeet-template-default .project-tags {margin-top: 30px; column-gap: 40px;}
.hankkeet-template-default .narrow .text-column  {margin-top: 60px;}

.single .narrow .entry-content+.wp-block-group:has(.news-author) {max-width: 830px !important; margin:116px auto !important; box-sizing: border-box !important; }
.news-author {display: flex; align-items: center; column-gap:34px;}
.news-author .author-image {width:108px; height:auto; aspect-ratio: 1 / 1; border-radius: 100%; overflow:hidden; min-width: 80px;}
.news-author .author-image > img {width: 100%; height: 100%; object-fit: cover;}
.news-author .author-information {font-size:1.125rem; line-height: 36px; /* 150% */letter-spacing: -0.72px;}
.news-author .author-information .author-name {font-size:1.5rem; font-family: var(--wp--preset--font-family--heading); font-weight: 700;line-height: 36px; /* 150% */letter-spacing: -0.72px;}

@media (max-width:575px) {
    .single .narrow .wp-block-post-title {text-align:left !important;}
    .news-author {display: flex; align-items: center; column-gap:20px;}
    .news-author .author-information {font-size:1rem; line-height: 140%;}
    .news-author .author-information .author-name {font-size:1.25rem;line-height: 140%;}
    .single .project-tags .date,.single .project-tags .project-info {font-size:0.875rem; }
    .hankkeet-template-default .narrow .text-column, .single .narrow .text-column {margin-top: 47px; }
    .hankkeet-template-default .narrow .wp-block-post-title {margin-top: 32px !important; }
    .single :is(.news-tags, .project-tags) {justify-content:flex-start; margin-top: 32px;}
    .hankkeet-template-default .project-tags {margin-top: 22px; flex-direction:column; align-items:flex-start;}
    .single .narrow .wp-block-post-title {margin-top:22px;}
    .single .wp-block-post-featured-image > img {height: 225px; }
    .ajankohtaista-template-default .narrow .wp-block-post-title::after {width: 294px; height: 231px; bottom: 60%;}
    .hankkeet-template-default .narrow .wp-block-post-title::after {width: 294px; height: 231px; }


}

/* Ajankohtaista - arkisto */
.post-type-archive-ajankohtaista .wp-block-group.entry-content {margin-top:80px;}
.post-type-archive-ajankohtaista .wp-block-empa-article-highlights .article-highlights-heading {display:none;}
.post-type-archive-ajankohtaista .herobanner .wp-block-cover .wp-block-cover__background {background-color: unset !important;  opacity: 1; }

/* Kaksi palstaa taustavärillä */
.two-columns > .wp-block-group > .wp-block-group {border-radius: 20px; box-sizing: border-box !important; padding: 30px 40px;}
.two-columns .wp-block-group .wp-block-group:has(.light-green-icon-button, .green-link-button) {background: rgba(221, 254, 241, 0.30);}
.two-columns .wp-block-group .wp-block-group:has(.light-blue-icon-button, .blue-button, .blue-icon-button, .blue-link-button) {background-color: #E9F5FF;}
.two-columns .wp-block-group .wp-block-group:has(.light-green-icon-button, .green-link-button) .wp-block-heading {color:var(--wp--preset--color--cyan);}
.two-columns .wp-block-columns { margin-top: 10px;}
.two-columns .wp-block-column:last-child {margin-left:auto;}
.two-columns .wp-block-empa-button-group {margin-top:30px;}
.two-columns p:has(img) {display: flex; align-items: center; column-gap: 20px;}

/* Kaksi palstaa taustavärillä, teksti + kuva */
.two-columns-image .wp-block-group:where(.has-background) {border-radius: 20px; box-sizing: border-box !important; padding: 30px 40px; }
.two-columns-image .wp-block-column:last-child {margin-left:auto;}
.two-columns-image .wp-block-empa-button-group {margin-top:30px;}
@media (max-width: 575px) {
    .two-columns-image .wp-block-group:where(.has-background) {padding: 30px 30px; }
}

/* Kolme palstaa, teksti+kuva+teksti*/
.three-column-highlight .wp-block-columns .wp-block-column { border-radius: 20px; flex-basis: 33.333%; box-sizing: border-box;}
.three-column-highlight .wp-block-columns .wp-block-column .wp-block-image {height:100%;}
.three-column-highlight .wp-block-columns .wp-block-column .wp-block-image > img {height: 100%; object-fit: cover;}
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)) {padding: 17% 30px 30px; position:relative; overflow:hidden;}
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-light-blue-background-color::before {content:""; mask-image:url("../../assets/images/sininen-kolme-nostoa.svg"); mask-size:contain; mask-repeat:no-repeat; background-color: var(--wp--preset--color--blue); position:absolute; top:0; left: 0; width: 100%; height: 212px;  max-width: 100%; }
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-light-blue-background-color .pre-heading,
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-light-blue-background-color .wp-block-heading,
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-light-blue-background-color p,
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-light-blue-background-color .pre-heading {color:var(--wp--preset--color--blue);}
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-mint-background-color::before {content:""; mask-image:url("../../assets/images/vihrea-kolme-nostoa.svg"); mask-size:contain; mask-repeat:no-repeat; background-color: var(--wp--preset--color--cyan); position:absolute; top:0; left: 0;  width: 100%; height: 212px;  max-width: 100%;}
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-mint-background-color .pre-heading,
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-mint-background-color .wp-block-heading,
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-mint-background-color p,
.three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-mint-background-color .pre-heading {color:var(--wp--preset--color--cyan);}
@media (max-width: 781px) {
    .three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-light-blue-background-color::before, .three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-mint-background-color::before {height:150px; }
    .three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)) {padding-top: 200px;}
}
@media (max-width:575px) {
    .three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-light-blue-background-color::before, .three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)).has-mint-background-color::before {height:117px; }
    .three-column-highlight .wp-block-columns .wp-block-column:not(:has(.wp-block-image)) {padding: 140px 30px 30px;}
}

/* Prosessikaavio kuvalla  */
.process .image-group {margin-top: 60px;}
.process .image-group.has-background {padding: 60px 20px; border-radius: 20px;}


/* Formidable - lomake */
.frm_style_formidable-style.with_frm_style .form-field {margin-bottom:38px;}
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_primary_label {font-size:var(--wp--preset--font-size--heading-3); font-family:var(--wp--preset--font-family--heading); font-style: normal;font-weight: 700;line-height: 32px; /* 100% */letter-spacing: -0.96px; text-align:center; margin-bottom: 41px; }
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container {display:flex; column-gap:20px;}
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container .frm_radio {flex-grow:1; margin-right: 0;}
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container .frm_radio > label {display: flex;align-items: center;column-gap: 20px; padding: 30px; border-radius: 20px; background:var(--wp--preset--color--light-blue); font-size: 1.5rem; font-style: normal; font-weight: 500; letter-spacing: -0.24px;}
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container .frm_radio > label:has(input[type="radio"]:checked) {background:var(--wp--preset--color--blue); color: var(--wp--preset--color--light-blue);}
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container .frm_radio input[type="radio"] {background-color: #fff;border-color: #fff; width: 40px !important; min-width: 40px !important; height: 40px !important;  margin-right: 0 !important;}
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container input[type="radio"]::before {width: 20px; height: 20px; border-radius: 50%; background-color: #0D3B66; margin: 9px auto;}
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container input[type="radio"]:focus {box-shadow:unset !important; }
.with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container .frm_radio input[type="radio"]:not([disabled]):checked {border-color:transparent !important;}

.with_frm_style .frm_primary_label {margin-bottom:10px; font-weight: 500;letter-spacing: -0.2px;}
.frm_form_fields .frm_fields_container {grid-gap: 0 20px;}
.with_frm_style .frm_time_wrap > span {display: flex; align-items: center;}
.with_frm_style .frm_time_wrap span.frm_time_sep {margin: 0 5px;}
.with_frm_style select.frm_time_select {flex-grow: 1;}
.with_frm_style .vertical_radio .frm_checkbox label {display: flex; align-items: center; column-gap: 20px; font-size: 1.25rem;}
.with_frm_style .frm_checkbox label input[type="checkbox"] {margin-right: 0; border-radius: 0 !important; border: none; width: 40px !important; height: 40px !important; min-width: 40px !important; background-color:var(--wp--preset--color--light-blue) !important; }
.frm_forms.with_frm_style .frm_checkbox input[type="checkbox"]::before { background-size: 18px !important;background-color: var(--wp--preset--color--blue); }
.frm_style_formidable-style.with_frm_style .form-field.no-margin {margin-bottom:0; }
.frm_style_formidable-style.with_frm_style .frm_submit button {font-family: var(--wp--preset--font-family--heading);font-size: 1rem;font-style: normal;font-weight: 500;line-height: 16px; /* 100% */letter-spacing: -0.16px; text-transform: uppercase;transition: 0.2s ease-in; display: flex; align-items: center; column-gap: 10px;}
.frm_style_formidable-style.with_frm_style .frm_submit button::after {content:""; mask-image:url("../../assets/images/arrow-right.svg"); mask-repeat:no-repeat; mask-size:contain; width: 16px; height:16px; display:block; background-color:#fff; transition:0.2s ease-in;}
.frm_style_formidable-style.with_frm_style .frm_submit button:is(:hover, :focus, :active)::after {background-color:var(--wp--preset--color--blue); }

@media (max-width: 781px) {
    .with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container {flex-direction:column; row-gap:20px;}
    .with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container .frm_radio > label {font-size: 1.125rem; padding:20px; }
    .with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container input[type="radio"]::before {margin: 4px auto;}
    .with_frm_style .horizontal_radio.bg-radiobuttons > .frm_opt_container .frm_radio input[type="radio"] {width: 30px !important; min-width: 30px !important; height: 30px !important;}
    .with_frm_style .horizontal_radio.bg-radiobuttons > .frm_primary_label {margin-bottom:21px;}
    .with_frm_style .frm_primary_label {font-size:1rem; margin-bottom:5px;}
    .with_frm_style .vertical_radio .frm_checkbox label {font-size: 1rem; }
    .frm_style_formidable-style.with_frm_style .form-field.no-margin+.no-margin {margin-top: 38px;}
    .with_frm_style .frm_form_field.frm_html_container > p {font-size: 1rem !important;}
    .with_frm_style .frm_checkbox label input[type="checkbox"] {width: 30px !important; min-width: 30px !important; height: 30px !important;}
}
@media (max-width: 600px) {
    .with_frm_style input[type="text"], .with_frm_style input[type="password"], .with_frm_style input[type="email"], .with_frm_style input[type="number"], .with_frm_style input[type="url"], .with_frm_style input[type="tel"], .with_frm_style input[type="phone"], .with_frm_style input[type="search"], .with_frm_style select, .with_frm_style textarea, .frm_form_fields_style, .with_frm_style .frm_scroll_box .frm_opt_container, .frm_form_fields_active_style, .frm_form_fields_error_style, .with_frm_style .frm-card-element.StripeElement, .with_frm_style .frm_slimselect.ss-main {font-size:1rem; height:60px; min-height: unset; }
}


/* Alatunniste*/
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) {padding-top:80px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) > .wp-block-group  > .wp-block-group {position: relative;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) > .wp-block-group  > .wp-block-group::before {content:""; background:url("../../assets/images/footer-vihrea-elementti.svg") no-repeat; background-size:contain; width:1199px; height:366px; position:absolute; bottom:0; left:-700px; z-index:-1;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) > .wp-block-group  > .wp-block-group::after {content:""; background:url("../../assets/images/footer-sininen-elementti.svg") no-repeat; background-size:contain; width:762px; height:438px; position:absolute; bottom:0; right: -170px; z-index:-1;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .wp-block-group  > .wp-block-group > .wp-block-columns {padding-top: 61px; position:relative; }
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .wp-block-group > .wp-block-group > .wp-block-columns::before {content:""; height: 1px; width: 100%; background: rgba(13, 59, 102, 0.2); display: block; position: absolute; top: 0;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .contacts-column {max-width:490px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .contacts-column .wp-block-heading {margin-bottom:14px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .contacts-column p {margin-top:0; color:var(--wp--preset--color--blue); }
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column {max-width:480px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column ul {list-style:none; padding: 0; display: flex; flex-direction: column; row-gap: 10px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column ul li a {display:inline-flex; align-items:center; column-gap:16px; color: var(--wp--preset--color--blue);font-family: var(--wp--preset--font-family--body);font-size:1rem;font-style: normal;font-weight: 600;line-height: 34px; /* 212.5% */ text-decoration:none; }
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column ul li a:is(:hover, :focus, :active) {text-decoration:underline;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column ul li a::before {content:""; mask-image:url("../../assets/images/arrow-right.svg"); mask-repeat:no-repeat; mask-size:contain; width: 13.333px; height: 9.333px; display:block; background-color: var(--wp--preset--color--blue);}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column {max-width: 340px; margin-left: auto;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column .wp-block-heading::before {content:""; display: block; width: 40px; height: 8px; background: url("../../assets/images/aalto.svg"); background-repeat: no-repeat; background-size: contain; margin-bottom: 10px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column p {margin-top:0; color:var(--wp--preset--color--blue); max-width:340px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column .wp-block-empa-button-group {margin-top: 30px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column .wp-block-empa-button-group .button-group-item.blue-button a {border: 1px solid var(--wp--preset--color--blue);}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .some-icons {list-style: none; padding: 0; display: flex; column-gap: 36px; margin-top: 36px !important;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .some-icons li > a {display:block; transition: 0.2s ease-in; }
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .some-icons li > a:is(:hover, :focus, :active) {opacity: 0.8;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer)) .some-icons li > a::after { display: none; }

:is(footer.wp-block-template-part, .is-root-container:has(.footer))  .bottombar {margin-top: 33px !important; padding-bottom: 15px !important;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer))  .bottombar .wp-block-list {list-style:none; display:flex; justify-content:center; padding: 0; column-gap:40px;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer))  .bottombar .wp-block-list li a {color:var(--wp--preset--color--blue); font-size: 0.875rem; font-style: normal;font-weight: 500;line-height: 34px; /* 242.857% */letter-spacing: -0.14px;text-decoration-line: underline;text-decoration-style: solid;text-decoration-skip-ink: auto;text-decoration-thickness: auto; text-underline-offset: auto;text-underline-position: from-font;}
:is(footer.wp-block-template-part, .is-root-container:has(.footer))  .bottombar .wp-block-list li a:is(:hover, :focus, :active) {text-decoration:none; }

@media (max-width: 991px) {
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .wp-block-group > .wp-block-group > .wp-block-columns {flex-direction:column; row-gap:48px;}
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .contacts-column, :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column, :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column {max-width: unset; }
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column {margin-left: 0; }
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) {padding-top:0; margin-top: 40px;}
}
@media (max-width: 781px) {
        :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .wp-block-group > .wp-block-group > .wp-block-columns {flex-direction:column; row-gap:60px;}
        :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column ul {margin-top: 0 !important;}
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .links-column > .wp-block-columns {gap:10px;}
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .wp-block-group > .wp-block-group > .wp-block-columns {padding-top: 40px; }
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) > .wp-block-group > .wp-block-group::before { content:none; }
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .bottombar .wp-block-list {justify-content:space-between;}
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .contacts-column .wp-block-heading {line-height:133%; }
    :is(footer.wp-block-template-part, .is-root-container:has(.footer)) .disturb-column {margin-top: 13px; }
}



/* Painikkeet*/
.wp-block-empa-button-group {display: flex; column-gap: 10px; align-items:center; }
.wp-block-empa-button-group:where(.align-left) {justify-content:flex-start;}
.wp-block-empa-button-group:where(.align-center) {justify-content:center; }
.wp-block-empa-button-group:where(.align-right) {justify-content:flex-end; }
.wp-block-empa-button-group .wp-block-empa-button-group-item {display:inline-block;}
.wp-block-empa-button-group .wp-block-empa-button-group-item > a {cursor: pointer; font-family:var(--wp--preset--font-family--heading); font-size: 1.125rem;font-style: normal;font-weight: 500;line-height: 14px; /* 77.778% */letter-spacing: -0.18px; padding:12px 24px; border-radius:26px; text-decoration:none;}

.wp-block-empa-button-group .wp-block-empa-button-group-item:is(.green-link-button, .blue-link-button, .light-blue-icon-button, .blue-icon-button, .light-green-icon-button) > a[href^="#"]::before {transform: rotate(90deg);}

/* Sininen painike */
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-button > a {font-size: 0.875rem; background:var(--wp--preset--color--blue); color:#fff; display:flex; align-items:center; column-gap:10px; transition: 0.2s ease-in; text-transform:uppercase;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-button > a::after {content:""; mask-image:url("../../assets/images/arrow-right.svg"); mask-repeat:no-repeat; mask-size:contain; width: 16px; height:16px; display:block; background-color:#fff; transition:0.2s ease-in;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-button > a:is(:hover, :focus, :active) {background:var(--wp--preset--color--light-blue); color:var(--wp--preset--color--blue); }
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-button > a:is(:hover, :focus, :active)::after {background-color:var(--wp--preset--color--blue); }

/* Vihreä linkkipainike ikonilla*/
.wp-block-empa-button-group .wp-block-empa-button-group-item.green-link-button > a {color:var(--wp--preset--color--cyan); display:flex; align-items:center; column-gap: 12px; padding:0; text-decoration:underline; text-decoration-line: underline; text-decoration-style: solid;text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.green-link-button > a:is(:hover, :focus, :active) {text-decoration:none;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.green-link-button > a::before {content:""; background:url("../../assets/images/green-round-arrow.svg") no-repeat; background-size:contain; width: 46px; height:46px; display:block;}

/* Sininen linkkipainike ikonilla*/
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-link-button > a {color:var(--wp--preset--color--blue); display:flex; align-items:center; column-gap: 12px; padding:0; text-decoration:underline; text-decoration-line: underline; text-decoration-style: solid;text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-link-button > a:is(:hover, :focus, :active) {text-decoration:none;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-link-button > a::before {content:""; background:url("../../assets/images/blue-round-arrow.svg") no-repeat; background-size:contain; width: 46px; height:46px; display:block;}

/* Vaaleansininen painike ikonilla */
.wp-block-empa-button-group .wp-block-empa-button-group-item.light-blue-icon-button > a {color:var(--wp--preset--color--blue); background-color:var(--wp--preset--color--light-blue); border-radius: 80px; display:flex; align-items:center; column-gap: 12px; text-decoration:underline; text-decoration-line: underline; text-decoration-style: solid;text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.light-blue-icon-button > a:is(:hover, :focus, :active) {text-decoration:none;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.light-blue-icon-button > a::before {content:""; background:url("../../assets/images/blue-round-arrow.svg") no-repeat; background-size:contain; width: 46px; height:46px; display:block;}

/* Sininen painike ikonilla */
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-icon-button > a {color:var(--wp--preset--color--light-blue); background-color:var(--wp--preset--color--blue); border-radius: 80px; display:flex; align-items:center; column-gap: 12px;  text-decoration:underline; text-decoration-line: underline; text-decoration-style: solid;text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-icon-button > a:is(:hover, :focus, :active) {text-decoration:none;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.blue-icon-button > a::before {content:""; background:url("../../assets/images/light-blue-round-arrow.svg") no-repeat; background-size:contain; width: 46px; height:46px; display:block;}

/* Vaaleanvihreä painike ikonilla */
.wp-block-empa-button-group .wp-block-empa-button-group-item.light-green-icon-button > a {color:var(--wp--preset--color--cyan); background-color: var(--wp--preset--color--mint); border-radius: 80px; display:flex; align-items:center; column-gap: 12px; text-decoration:underline; text-decoration-line: underline; text-decoration-style: solid;text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.light-green-icon-button > a:is(:hover, :focus, :active) {text-decoration:none;}
.wp-block-empa-button-group .wp-block-empa-button-group-item.light-green-icon-button > a::before {content:""; background:url("../../assets/images/green-round-arrow.svg") no-repeat; background-size:contain; width: 46px; height:46px; display:block;}

@media (max-width: 781px) {
    .wp-block-empa-button-group.align-right {justify-content:flex-start !important;}
}
@media (max-width: 575px) {
    .wp-block-empa-button-group .wp-block-empa-button-group-item > a {font-size: 1rem;}
    .wp-block-empa-button-group .wp-block-empa-button-group-item.blue-button > a {font-size: 0.875rem;}

    .wp-block-empa-button-group .wp-block-empa-button-group-item:is(.green-link-button,.blue-link-button,.light-blue-icon-button,.blue-icon-button, .light-green-icon-button) > a::before { width: 30px; height:30px;}

}
